merge interface with main script
@@ -1,26 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
root: true,
|
|
||||||
env: { browser: true, es2020: true },
|
|
||||||
extends: [
|
|
||||||
'eslint:recommended',
|
|
||||||
'plugin:@typescript-eslint/recommended',
|
|
||||||
'plugin:react-hooks/recommended',
|
|
||||||
],
|
|
||||||
ignorePatterns: ['dist', '.eslintrc.cjs'],
|
|
||||||
parser: '@typescript-eslint/parser',
|
|
||||||
plugins: ['react-refresh'],
|
|
||||||
rules: {
|
|
||||||
'react-refresh/only-export-components': [
|
|
||||||
'warn',
|
|
||||||
{ allowConstantExport: true },
|
|
||||||
],
|
|
||||||
},
|
|
||||||
overrides: [
|
|
||||||
{
|
|
||||||
files: ['*.ts', '*.tsx'],
|
|
||||||
rules: {
|
|
||||||
'@typescript-eslint/no-explicit-any': 'off',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
|
|
||||||
# Sentry Config File
|
|
||||||
.env.sentry-build-plugin
|
|
||||||
|
|
||||||
# Sentry Config File
|
|
||||||
.env.sentry-build-plugin
|
|
||||||
|
|
||||||
# Sentry Config File
|
|
||||||
.env.sentry-build-plugin
|
|
||||||
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 591 KiB After Width: | Height: | Size: 591 KiB |
@@ -8,7 +8,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body class="">
|
<body class="">
|
||||||
<div id="ExtensionPopup"></div>
|
<div id="ExtensionPopup"></div>
|
||||||
<script type="module" src="./src/main.tsx"></script>
|
<script type="module" src="./main.tsx"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|||||||
@@ -1,40 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "popup",
|
|
||||||
"private": true,
|
|
||||||
"version": "0.0.0",
|
|
||||||
"type": "module",
|
|
||||||
"scripts": {
|
|
||||||
"dev": "vite build --watch",
|
|
||||||
"build": "tsc && vite build",
|
|
||||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
||||||
"preview": "vite preview"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@sentry/react": "^7.85.0",
|
|
||||||
"@sentry/vite-plugin": "^2.10.2",
|
|
||||||
"@types/chrome": "^0.0.246",
|
|
||||||
"@types/webextension-polyfill": "^0.10.7",
|
|
||||||
"framer-motion": "^10.16.4",
|
|
||||||
"react": "^18.2.0",
|
|
||||||
"react-best-gradient-color-picker": "2.2.24",
|
|
||||||
"react-dom": "^18.2.0",
|
|
||||||
"react-router-dom": "latest",
|
|
||||||
"tinycolor2": "^1.6.0",
|
|
||||||
"webextension-polyfill": "^0.10.0"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@types/react": "^18.2.15",
|
|
||||||
"@types/react-dom": "^18.2.7",
|
|
||||||
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
||||||
"@typescript-eslint/parser": "^6.0.0",
|
|
||||||
"@vitejs/plugin-react": "^4.0.3",
|
|
||||||
"autoprefixer": "^10.4.15",
|
|
||||||
"eslint": "^8.45.0",
|
|
||||||
"eslint-plugin-react-hooks": "^4.6.0",
|
|
||||||
"eslint-plugin-react-refresh": "^0.4.3",
|
|
||||||
"postcss": "^8.4.29",
|
|
||||||
"tailwindcss": "^3.3.3",
|
|
||||||
"typescript": "^5.0.2",
|
|
||||||
"vite": "^4.4.5"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
import tailwindcss from "tailwindcss";
|
|
||||||
import autoprefixer from "autoprefixer";
|
|
||||||
|
|
||||||
export default {
|
|
||||||
plugins: [
|
|
||||||
tailwindcss,
|
|
||||||
autoprefixer,
|
|
||||||
],
|
|
||||||
};
|
|
||||||
@@ -1,37 +0,0 @@
|
|||||||
/** @type {import('tailwindcss').Config} */
|
|
||||||
export default {
|
|
||||||
content: [
|
|
||||||
"./index.html",
|
|
||||||
"./src/**/*.{js,ts,jsx,tsx}",
|
|
||||||
],
|
|
||||||
darkMode: "class",
|
|
||||||
theme: {
|
|
||||||
fontSize: {
|
|
||||||
"xs": ".65rem",
|
|
||||||
"sm": ".775rem",
|
|
||||||
"base": "0.65rem",
|
|
||||||
"md": "0.65rem",
|
|
||||||
"lg": "1rem",
|
|
||||||
"xl": "1.25rem",
|
|
||||||
"2xl": "1.5rem",
|
|
||||||
"3xl": "1.875rem",
|
|
||||||
"4xl": "2.25rem",
|
|
||||||
"5xl": "3rem",
|
|
||||||
"6xl": "4rem",
|
|
||||||
"7xl": "5rem",
|
|
||||||
"8xl": "6rem",
|
|
||||||
"9xl": "8rem",
|
|
||||||
"10xl": "10rem",
|
|
||||||
"11xl": "12rem",
|
|
||||||
"12xl": "14rem",
|
|
||||||
"13xl": "16rem",
|
|
||||||
"14xl": "18rem",
|
|
||||||
},
|
|
||||||
extend: {
|
|
||||||
fontFamily: {
|
|
||||||
"IconFamily": "IconFamily"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
plugins: [],
|
|
||||||
};
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"target": "ES2020",
|
|
||||||
"useDefineForClassFields": true,
|
|
||||||
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
||||||
"module": "ESNext",
|
|
||||||
"skipLibCheck": true,
|
|
||||||
|
|
||||||
/* Bundler mode */
|
|
||||||
"moduleResolution": "bundler",
|
|
||||||
"allowImportingTsExtensions": true,
|
|
||||||
"resolveJsonModule": true,
|
|
||||||
"isolatedModules": true,
|
|
||||||
"noEmit": true,
|
|
||||||
"jsx": "react-jsx",
|
|
||||||
|
|
||||||
/* Linting */
|
|
||||||
"strict": true,
|
|
||||||
"noUnusedLocals": true,
|
|
||||||
"noUnusedParameters": true,
|
|
||||||
"noFallthroughCasesInSwitch": true
|
|
||||||
},
|
|
||||||
"include": ["src"]
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
declare const _default: import("vite").UserConfig;
|
|
||||||
export default _default;
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
import { sentryVitePlugin } from "@sentry/vite-plugin";
|
|
||||||
import { defineConfig } from 'vite'
|
|
||||||
import react from '@vitejs/plugin-react'
|
|
||||||
|
|
||||||
// https://vitejs.dev/config/
|
|
||||||
export default defineConfig({
|
|
||||||
plugins: [react(), sentryVitePlugin({
|
|
||||||
org: "betterseqta-plus",
|
|
||||||
project: "betterseqtaplus-popup"
|
|
||||||
})],
|
|
||||||
build: {
|
|
||||||
//outDir: '../../public/popup-dist',
|
|
||||||
rollupOptions: {
|
|
||||||
output: {
|
|
||||||
assetFileNames: 'client/rsc/[ext]/[name][extname]',
|
|
||||||
chunkFileNames: 'client/rsc/[chunks]/[name].[hash].js',
|
|
||||||
entryFileNames: 'client/public/client.js'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
sourcemap: true
|
|
||||||
}
|
|
||||||
})
|
|
||||||
@@ -35,6 +35,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@sentry/browser": "^7.85.0",
|
"@sentry/browser": "^7.85.0",
|
||||||
|
"@sentry/react": "^7.88.0",
|
||||||
"@sentry/webpack-plugin": "^2.10.2",
|
"@sentry/webpack-plugin": "^2.10.2",
|
||||||
"@types/color": "^3.0.4",
|
"@types/color": "^3.0.4",
|
||||||
"@types/dompurify": "^3.0.5",
|
"@types/dompurify": "^3.0.5",
|
||||||
@@ -43,12 +44,16 @@
|
|||||||
"@types/webextension-polyfill": "^0.10.7",
|
"@types/webextension-polyfill": "^0.10.7",
|
||||||
"autoprefixer": "^10.4.15",
|
"autoprefixer": "^10.4.15",
|
||||||
"color": "^4.2.3",
|
"color": "^4.2.3",
|
||||||
|
"framer-motion": "^10.16.16",
|
||||||
"install": "^0.13.0",
|
"install": "^0.13.0",
|
||||||
"localforage": "^1.10.0",
|
"localforage": "^1.10.0",
|
||||||
"motion": "^10.16.4",
|
"motion": "^10.16.4",
|
||||||
"npm": "^10.1.0",
|
"npm": "^10.1.0",
|
||||||
"postcss": "^8.4.29",
|
"postcss": "^8.4.29",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
|
"react-best-gradient-color-picker": "^2.3.5",
|
||||||
|
"react-dom": "^18.2.0",
|
||||||
|
"react-router-dom": "^6.21.0",
|
||||||
"sortablejs": "^1.15.0",
|
"sortablejs": "^1.15.0",
|
||||||
"tailwindcss": "^3.3.3",
|
"tailwindcss": "^3.3.3",
|
||||||
"ts-loader": "^9.5.1",
|
"ts-loader": "^9.5.1",
|
||||||
|
|||||||
@@ -1,20 +1,36 @@
|
|||||||
/** @type {import('tailwindcss').Config} */
|
/** @type {import('tailwindcss').Config} */
|
||||||
export default {
|
export default {
|
||||||
content: [
|
content: [
|
||||||
'./index.html',
|
"./interface/index.html",
|
||||||
'./src/**/*.{js,ts,jsx,tsx}',
|
"./interface/**/*.{js,ts,jsx,tsx}",
|
||||||
],
|
],
|
||||||
darkMode: 'class',
|
darkMode: "class",
|
||||||
theme: {
|
theme: {
|
||||||
fontSize: {
|
fontSize: {
|
||||||
'xs': '.65rem',
|
"xs": ".65rem",
|
||||||
'sm': '.775rem',
|
"sm": ".775rem",
|
||||||
'base': '0.65rem',
|
"base": "0.65rem",
|
||||||
'md': '0.65rem',
|
"md": "0.65rem",
|
||||||
'lg': '1rem',
|
"lg": "1rem",
|
||||||
'xl': '1.25rem',
|
"xl": "1.25rem",
|
||||||
'2xl': '1.5rem',
|
"2xl": "1.5rem",
|
||||||
'3xl': '1.875rem',
|
"3xl": "1.875rem",
|
||||||
|
"4xl": "2.25rem",
|
||||||
|
"5xl": "3rem",
|
||||||
|
"6xl": "4rem",
|
||||||
|
"7xl": "5rem",
|
||||||
|
"8xl": "6rem",
|
||||||
|
"9xl": "8rem",
|
||||||
|
"10xl": "10rem",
|
||||||
|
"11xl": "12rem",
|
||||||
|
"12xl": "14rem",
|
||||||
|
"13xl": "16rem",
|
||||||
|
"14xl": "18rem",
|
||||||
|
},
|
||||||
|
extend: {
|
||||||
|
fontFamily: {
|
||||||
|
"IconFamily": "IconFamily"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
plugins: [],
|
plugins: [],
|
||||||
|
|||||||