diff --git a/.prettierrc b/.prettierrc index 52b07ce..95152c7 100644 --- a/.prettierrc +++ b/.prettierrc @@ -7,5 +7,5 @@ "semi": false, "tabWidth": 2, "useTabs": false, - "plugins": ["./node_modules/prettier-plugin-svelte"] + "plugins": ["prettier-plugin-svelte"] } diff --git a/CHANGELOG.md b/CHANGELOG.md index 018b23a..3cd2d25 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,10 @@ Summary 5. version timestamp follow the yyyy.MM.dd format ``` +## 0.8.9 [2023.10.09] + +- feat: support side panel for chrome extension(stencil) + ## 0.8.8 [2023.10.08] - feat: support side panel for chrome extension(alpine \ vanilla \ preact \ svelte \ solid \ inferno \ lit) diff --git a/README.md b/README.md index d66feee..870f2dd 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ - ๐ Lightning Fast HMR(use [Vite2](https://vitejs.dev)) - ๐ฅก Out of Box -- ๐ Multiple Frontend Framework Supported (9+) +- ๐ Multiple Frontend Framework Supported (10+) - ๐ฅข Multiple Language Supported (TypeScript & JavaScript) - ๐งถ Optimized Builds - ๐ Light & Dark Mode diff --git a/README_zh.md b/README_zh.md index c87b638..11f6e2f 100644 --- a/README_zh.md +++ b/README_zh.md @@ -12,7 +12,7 @@ - ๐ ๆๆท็็ญๆด่ฝๅ(้็จ [Vite2](https://vitejs.dev)) - ๐ฅก ๅผ็ฎฑๅณ็จ -- ๐ ๅค็งๅ็ซฏๆกๆถๆฏๆ (9+) +- ๐ ๅค็งๅ็ซฏๆกๆถๆฏๆ (10+) - ๐ฅข ๆฏๆ TypeScript ไปฅๅ JavaScript - ๐ ๆไบฎไปฅๅๆ้ปๆจกๅผ diff --git a/index.ts b/index.ts index 360e8c1..a0837c4 100644 --- a/index.ts +++ b/index.ts @@ -128,12 +128,19 @@ const Boilerplates = [ }, ], }, - // { - // name: 'stencil', // star:11 wd:419 - // kolor: ansi256(69), - // }, { - name: 'inferno', // star:15.5 wd:88 + name: 'stencil', // star:11.9 wd:655 + kolor: ansi256(69), + variants: [ + { + name: 'stencil-ts', + display: 'TypeScript', + kolor: ansi256(25), + }, + ], + }, + { + name: 'inferno', // star:15.9 wd:88 kolor: ansi256(202), variants: [ { diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 09e91da..57962a0 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,16 +1,16 @@ { "name": "create-chrome-ext", - "version": "0.8.7", - "lockfileVersion": 2, + "version": "0.8.8", + "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "create-chrome-ext", - "version": "0.8.7", + "version": "0.8.8", "license": "MIT", "dependencies": { - "kolorist": "^1.5.1", - "minimist": "^1.2.6", + "kolorist": "^1.8.0", + "minimist": "^1.2.8", "mustache": "^4.2.0", "prompts": "^2.4.2" }, @@ -22,188 +22,668 @@ "node": ">=14.18.0" }, "optionalDependencies": { - "@types/minimist": "^1.2.2", - "@types/mustache": "^4.2.1", - "@types/node": "^14.18.18", - "@types/prompts": "^2.4.0", - "prettier": "^2.7.1", - "prettier-plugin-svelte": "^2.7.0", - "svelte": "^3.44.0", - "typescript": "^4.9.5" + "@types/minimist": "^1.2.3", + "@types/mustache": "^4.2.3", + "@types/node": "^20.8.3", + "@types/prompts": "^2.4.5", + "prettier": "^3.0.3", + "prettier-plugin-svelte": "^3.0.3", + "svelte": "^4.2.1", + "typescript": "^5.2.2" } }, - "node_modules/@types/minimist": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", - "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", - "optional": true + "node_modules/.pnpm": {}, + "node_modules/.pnpm/@ampproject+remapping@2.2.1": {}, + "node_modules/.pnpm/@ampproject+remapping@2.2.1/node_modules/@ampproject/remapping": { + "version": "2.2.1", + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.0", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } }, - "node_modules/@types/mustache": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@types/mustache/-/mustache-4.2.1.tgz", - "integrity": "sha512-gFAlWL9Ik21nJioqjlGCnNYbf9zHi0sVbaZ/1hQEBcCEuxfLJDvz4bVJSV6v6CUaoLOz0XEIoP7mSrhJ6o237w==", + "node_modules/.pnpm/@ampproject+remapping@2.2.1/node_modules/@jridgewell/gen-mapping": { + "resolved": "node_modules/.pnpm/@jridgewell+gen-mapping@0.3.3/node_modules/@jridgewell/gen-mapping", + "link": true + }, + "node_modules/.pnpm/@ampproject+remapping@2.2.1/node_modules/@jridgewell/trace-mapping": { + "resolved": "node_modules/.pnpm/@jridgewell+trace-mapping@0.3.19/node_modules/@jridgewell/trace-mapping", + "link": true + }, + "node_modules/.pnpm/@jridgewell+gen-mapping@0.3.3": {}, + "node_modules/.pnpm/@jridgewell+gen-mapping@0.3.3/node_modules/@jridgewell/gen-mapping": { + "version": "0.3.3", + "license": "MIT", + "optional": true, + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/.pnpm/@jridgewell+gen-mapping@0.3.3/node_modules/@jridgewell/set-array": { + "resolved": "node_modules/.pnpm/@jridgewell+set-array@1.1.2/node_modules/@jridgewell/set-array", + "link": true + }, + "node_modules/.pnpm/@jridgewell+gen-mapping@0.3.3/node_modules/@jridgewell/sourcemap-codec": { + "resolved": "node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec", + "link": true + }, + "node_modules/.pnpm/@jridgewell+gen-mapping@0.3.3/node_modules/@jridgewell/trace-mapping": { + "resolved": "node_modules/.pnpm/@jridgewell+trace-mapping@0.3.19/node_modules/@jridgewell/trace-mapping", + "link": true + }, + "node_modules/.pnpm/@jridgewell+resolve-uri@3.1.1/node_modules/@jridgewell/resolve-uri": { + "version": "3.1.1", + "license": "MIT", + "optional": true, + "devDependencies": { + "@jridgewell/resolve-uri-latest": "npm:@jridgewell/resolve-uri@*", + "@rollup/plugin-typescript": "8.3.0", + "@typescript-eslint/eslint-plugin": "5.10.0", + "@typescript-eslint/parser": "5.10.0", + "c8": "7.11.0", + "eslint": "8.7.0", + "eslint-config-prettier": "8.3.0", + "mocha": "9.2.0", + "npm-run-all": "4.1.5", + "prettier": "2.5.1", + "rollup": "2.66.0", + "typescript": "4.5.5" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/.pnpm/@jridgewell+set-array@1.1.2/node_modules/@jridgewell/set-array": { + "version": "1.1.2", + "license": "MIT", + "optional": true, + "devDependencies": { + "@rollup/plugin-typescript": "8.3.0", + "@types/mocha": "9.1.1", + "@types/node": "17.0.29", + "@typescript-eslint/eslint-plugin": "5.10.0", + "@typescript-eslint/parser": "5.10.0", + "c8": "7.11.0", + "eslint": "8.7.0", + "eslint-config-prettier": "8.3.0", + "mocha": "9.2.0", + "npm-run-all": "4.1.5", + "prettier": "2.5.1", + "rollup": "2.66.0", + "typescript": "4.5.5" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "license": "MIT", + "optional": true, + "devDependencies": { + "@rollup/plugin-typescript": "8.3.0", + "@types/node": "17.0.15", + "@typescript-eslint/eslint-plugin": "5.10.0", + "@typescript-eslint/parser": "5.10.0", + "benchmark": "2.1.4", + "c8": "7.11.2", + "eslint": "8.7.0", + "eslint-config-prettier": "8.3.0", + "mocha": "9.2.0", + "npm-run-all": "4.1.5", + "prettier": "2.5.1", + "rollup": "2.64.0", + "source-map": "0.6.1", + "source-map-js": "1.0.2", + "sourcemap-codec": "1.4.8", + "typescript": "4.5.4" + } + }, + "node_modules/.pnpm/@jridgewell+trace-mapping@0.3.19": {}, + "node_modules/.pnpm/@jridgewell+trace-mapping@0.3.19/node_modules/@jridgewell/resolve-uri": { + "resolved": "node_modules/.pnpm/@jridgewell+resolve-uri@3.1.1/node_modules/@jridgewell/resolve-uri", + "link": true + }, + "node_modules/.pnpm/@jridgewell+trace-mapping@0.3.19/node_modules/@jridgewell/sourcemap-codec": { + "resolved": "node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec", + "link": true + }, + "node_modules/.pnpm/@jridgewell+trace-mapping@0.3.19/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.19", + "license": "MIT", + "optional": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/.pnpm/@types+estree@1.0.2/node_modules/@types/estree": { + "version": "1.0.2", + "license": "MIT", "optional": true }, - "node_modules/@types/node": { - "version": "14.18.25", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.25.tgz", - "integrity": "sha512-9pLfceRSrKIsv/MISN6RoFWTIzka36Uk2Uuf5a8cHyDYhEgl5Hm5dXoe621KULeBjt+cFsY18mILsWWtJeG80w==", + "node_modules/.pnpm/@types+minimist@1.2.3/node_modules/@types/minimist": { + "version": "1.2.3", + "license": "MIT", "optional": true }, - "node_modules/@types/prompts": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@types/prompts/-/prompts-2.4.0.tgz", - "integrity": "sha512-7th8Opn+0XlN0O6qzO7dXOPwL6rigq/EwRS2DntaTHwSw8cLaYKeAPt5dWEKHSL+ffVSUl1itTPUC06+FlsV4Q==", + "node_modules/.pnpm/@types+mustache@4.2.3/node_modules/@types/mustache": { + "version": "4.2.3", + "license": "MIT", "optional": true }, - "node_modules/kleur": { + "node_modules/.pnpm/@types+node@20.8.3/node_modules/@types/node": { + "version": "20.8.3", + "devOptional": true, + "license": "MIT" + }, + "node_modules/.pnpm/@types+prompts@2.4.5": {}, + "node_modules/.pnpm/@types+prompts@2.4.5/node_modules/@types/node": { + "resolved": "node_modules/.pnpm/@types+node@20.8.3/node_modules/@types/node", + "link": true + }, + "node_modules/.pnpm/@types+prompts@2.4.5/node_modules/@types/prompts": { + "version": "2.4.5", + "license": "MIT", + "optional": true, + "dependencies": { + "@types/node": "*", + "kleur": "^3.0.3" + } + }, + "node_modules/.pnpm/@types+prompts@2.4.5/node_modules/kleur": { + "resolved": "node_modules/.pnpm/kleur@3.0.3/node_modules/kleur", + "link": true + }, + "node_modules/.pnpm/acorn@8.10.0/node_modules/acorn": { + "version": "8.10.0", + "license": "MIT", + "optional": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/.pnpm/aria-query@5.3.0": {}, + "node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query": { + "version": "5.3.0", + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "dequal": "^2.0.3" + } + }, + "node_modules/.pnpm/aria-query@5.3.0/node_modules/dequal": { + "resolved": "node_modules/.pnpm/dequal@2.0.3/node_modules/dequal", + "link": true + }, + "node_modules/.pnpm/axobject-query@3.2.1": {}, + "node_modules/.pnpm/axobject-query@3.2.1/node_modules/axobject-query": { + "version": "3.2.1", + "license": "Apache-2.0", + "optional": true, + "dependencies": { + "dequal": "^2.0.3" + } + }, + "node_modules/.pnpm/axobject-query@3.2.1/node_modules/dequal": { + "resolved": "node_modules/.pnpm/dequal@2.0.3/node_modules/dequal", + "link": true + }, + "node_modules/.pnpm/code-red@1.0.4": {}, + "node_modules/.pnpm/code-red@1.0.4/node_modules/@jridgewell/sourcemap-codec": { + "resolved": "node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec", + "link": true + }, + "node_modules/.pnpm/code-red@1.0.4/node_modules/@types/estree": { + "resolved": "node_modules/.pnpm/@types+estree@1.0.2/node_modules/@types/estree", + "link": true + }, + "node_modules/.pnpm/code-red@1.0.4/node_modules/acorn": { + "resolved": "node_modules/.pnpm/acorn@8.10.0/node_modules/acorn", + "link": true + }, + "node_modules/.pnpm/code-red@1.0.4/node_modules/code-red": { + "version": "1.0.4", + "license": "MIT", + "optional": true, + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.4.15", + "@types/estree": "^1.0.1", + "acorn": "^8.10.0", + "estree-walker": "^3.0.3", + "periscopic": "^3.1.0" + } + }, + "node_modules/.pnpm/code-red@1.0.4/node_modules/estree-walker": { + "resolved": "node_modules/.pnpm/estree-walker@3.0.3/node_modules/estree-walker", + "link": true + }, + "node_modules/.pnpm/code-red@1.0.4/node_modules/periscopic": { + "resolved": "node_modules/.pnpm/periscopic@3.1.0/node_modules/periscopic", + "link": true + }, + "node_modules/.pnpm/css-tree@2.3.1": {}, + "node_modules/.pnpm/css-tree@2.3.1/node_modules/css-tree": { + "version": "2.3.1", + "license": "MIT", + "optional": true, + "dependencies": { + "mdn-data": "2.0.30", + "source-map-js": "^1.0.1" + }, + "engines": { + "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0" + } + }, + "node_modules/.pnpm/css-tree@2.3.1/node_modules/mdn-data": { + "resolved": "node_modules/.pnpm/mdn-data@2.0.30/node_modules/mdn-data", + "link": true + }, + "node_modules/.pnpm/css-tree@2.3.1/node_modules/source-map-js": { + "resolved": "node_modules/.pnpm/source-map-js@1.0.2/node_modules/source-map-js", + "link": true + }, + "node_modules/.pnpm/dequal@2.0.3/node_modules/dequal": { + "version": "2.0.3", + "license": "MIT", + "optional": true, + "devDependencies": { + "bundt": "1.0.2", + "esm": "3.2.25", + "uvu": "0.3.2" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/.pnpm/estree-walker@3.0.3": {}, + "node_modules/.pnpm/estree-walker@3.0.3/node_modules/@types/estree": { + "resolved": "node_modules/.pnpm/@types+estree@1.0.2/node_modules/@types/estree", + "link": true + }, + "node_modules/.pnpm/estree-walker@3.0.3/node_modules/estree-walker": { "version": "3.0.3", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", - "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==" + "license": "MIT", + "optional": true, + "dependencies": { + "@types/estree": "^1.0.0" + } }, - "node_modules/kolorist": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/kolorist/-/kolorist-1.5.1.tgz", - "integrity": "sha512-lxpCM3HTvquGxKGzHeknB/sUjuVoUElLlfYnXZT73K8geR9jQbroGlSCFBax9/0mpGoD3kzcMLnOlGQPJJNyqQ==" + "node_modules/.pnpm/is-reference@3.0.2": {}, + "node_modules/.pnpm/is-reference@3.0.2/node_modules/@types/estree": { + "resolved": "node_modules/.pnpm/@types+estree@1.0.2/node_modules/@types/estree", + "link": true }, - "node_modules/minimist": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" + "node_modules/.pnpm/is-reference@3.0.2/node_modules/is-reference": { + "version": "3.0.2", + "license": "MIT", + "optional": true, + "dependencies": { + "@types/estree": "*" + } }, - "node_modules/mustache": { + "node_modules/.pnpm/kleur@3.0.3/node_modules/kleur": { + "version": "3.0.3", + "license": "MIT", + "devDependencies": { + "tap-spec": "^5.0.0", + "tape": "^4.9.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/.pnpm/kolorist@1.8.0/node_modules/kolorist": { + "version": "1.8.0", + "license": "MIT", + "devDependencies": { + "@changesets/cli": "^2.26.0", + "@esbuild-kit/cjs-loader": "^2.4.1", + "@types/mocha": "^8.2.1", + "@types/node": "^14.14.35", + "mocha": "^8.3.2", + "node-pty": "^0.10.0", + "prettier": "^2.2.1", + "rimraf": "^3.0.2", + "typescript": "^4.2.3" + } + }, + "node_modules/.pnpm/locate-character@3.0.0/node_modules/locate-character": { + "version": "3.0.0", + "license": "MIT", + "optional": true, + "devDependencies": { + "dts-buddy": "^0.1.6", + "typescript": "^5.1.3" + } + }, + "node_modules/.pnpm/magic-string@0.30.4": {}, + "node_modules/.pnpm/magic-string@0.30.4/node_modules/@jridgewell/sourcemap-codec": { + "resolved": "node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec", + "link": true + }, + "node_modules/.pnpm/magic-string@0.30.4/node_modules/magic-string": { + "version": "0.30.4", + "license": "MIT", + "optional": true, + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.4.15" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/.pnpm/mdn-data@2.0.30/node_modules/mdn-data": { + "version": "2.0.30", + "license": "CC0-1.0", + "optional": true, + "devDependencies": { + "ajv": "^6.12.6", + "better-ajv-errors": "^1.1.2" + } + }, + "node_modules/.pnpm/minimist@1.2.8/node_modules/minimist": { + "version": "1.2.8", + "license": "MIT", + "devDependencies": { + "@ljharb/eslint-config": "^21.0.1", + "aud": "^2.0.2", + "auto-changelog": "^2.4.0", + "eslint": "=8.8.0", + "in-publish": "^2.0.1", + "npmignore": "^0.3.0", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.6.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/.pnpm/mustache@4.2.0/node_modules/mustache": { "version": "4.2.0", - "resolved": "https://registry.npmjs.org/mustache/-/mustache-4.2.0.tgz", - "integrity": "sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==" + "license": "MIT", + "bin": { + "mustache": "bin/mustache" + }, + "devDependencies": { + "chai": "^3.4.0", + "eslint": "^6.5.1", + "esm": "^3.2.25", + "jshint": "^2.9.5", + "mocha": "^3.0.2", + "puppeteer": "^2.0.0", + "rollup": "^1.26.3", + "uglify-js": "^3.4.6", + "zuul": "^3.11.0", + "zuul-ngrok": "nolanlawson/zuul-ngrok#patch-1" + } }, - "node_modules/prettier": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", - "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", - "optional": true + "node_modules/.pnpm/node_modules/@types/estree": { + "resolved": "node_modules/.pnpm/@types+estree@1.0.2/node_modules/@types/estree", + "link": true }, - "node_modules/prettier-plugin-svelte": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/prettier-plugin-svelte/-/prettier-plugin-svelte-2.7.0.tgz", - "integrity": "sha512-fQhhZICprZot2IqEyoiUYLTRdumULGRvw0o4dzl5jt0jfzVWdGqeYW27QTWAeXhoupEZJULmNoH3ueJwUWFLIA==", - "optional": true + "node_modules/.pnpm/node_modules/acorn": { + "resolved": "node_modules/.pnpm/acorn@8.10.0/node_modules/acorn", + "link": true }, - "node_modules/prompts": { + "node_modules/.pnpm/node_modules/estree-walker": { + "resolved": "node_modules/.pnpm/estree-walker@3.0.3/node_modules/estree-walker", + "link": true + }, + "node_modules/.pnpm/node_modules/kleur": { + "resolved": "node_modules/.pnpm/kleur@3.0.3/node_modules/kleur", + "link": true + }, + "node_modules/.pnpm/node_modules/source-map-js": { + "resolved": "node_modules/.pnpm/source-map-js@1.0.2/node_modules/source-map-js", + "link": true + }, + "node_modules/.pnpm/periscopic@3.1.0": {}, + "node_modules/.pnpm/periscopic@3.1.0/node_modules/@types/estree": { + "resolved": "node_modules/.pnpm/@types+estree@1.0.2/node_modules/@types/estree", + "link": true + }, + "node_modules/.pnpm/periscopic@3.1.0/node_modules/estree-walker": { + "resolved": "node_modules/.pnpm/estree-walker@3.0.3/node_modules/estree-walker", + "link": true + }, + "node_modules/.pnpm/periscopic@3.1.0/node_modules/is-reference": { + "resolved": "node_modules/.pnpm/is-reference@3.0.2/node_modules/is-reference", + "link": true + }, + "node_modules/.pnpm/periscopic@3.1.0/node_modules/periscopic": { + "version": "3.1.0", + "license": "MIT", + "optional": true, + "dependencies": { + "@types/estree": "^1.0.0", + "estree-walker": "^3.0.0", + "is-reference": "^3.0.0" + } + }, + "node_modules/.pnpm/prettier-plugin-svelte@3.0.3_prettier@3.0.3_svelte@4.2.1": {}, + "node_modules/.pnpm/prettier-plugin-svelte@3.0.3_prettier@3.0.3_svelte@4.2.1/node_modules/prettier": { + "resolved": "node_modules/.pnpm/prettier@3.0.3/node_modules/prettier", + "link": true + }, + "node_modules/.pnpm/prettier-plugin-svelte@3.0.3_prettier@3.0.3_svelte@4.2.1/node_modules/prettier-plugin-svelte": { + "version": "3.0.3", + "license": "MIT", + "optional": true, + "peerDependencies": { + "prettier": "^3.0.0", + "svelte": "^3.2.0 || ^4.0.0-next.0" + } + }, + "node_modules/.pnpm/prettier-plugin-svelte@3.0.3_prettier@3.0.3_svelte@4.2.1/node_modules/svelte": { + "resolved": "node_modules/.pnpm/svelte@4.2.1/node_modules/svelte", + "link": true + }, + "node_modules/.pnpm/prettier@3.0.3/node_modules/prettier": { + "version": "3.0.3", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/.pnpm/prompts@2.4.2": {}, + "node_modules/.pnpm/prompts@2.4.2/node_modules/kleur": { + "resolved": "node_modules/.pnpm/kleur@3.0.3/node_modules/kleur", + "link": true + }, + "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts": { "version": "2.4.2", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", - "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", + "license": "MIT", "dependencies": { "kleur": "^3.0.3", "sisteransi": "^1.0.5" + }, + "engines": { + "node": ">= 6" } }, - "node_modules/sisteransi": { + "node_modules/.pnpm/prompts@2.4.2/node_modules/sisteransi": { + "resolved": "node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi", + "link": true + }, + "node_modules/.pnpm/sisteransi@1.0.5/node_modules/sisteransi": { "version": "1.0.5", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", - "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==" + "license": "MIT", + "devDependencies": { + "tap-spec": "^5.0.0", + "tape": "^4.13.2" + } }, - "node_modules/svelte": { - "version": "3.49.0", - "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.49.0.tgz", - "integrity": "sha512-+lmjic1pApJWDfPCpUUTc1m8azDqYCG1JN9YEngrx/hUyIcFJo6VZhj0A1Ai0wqoHcEIuQy+e9tk+4uDgdtsFA==", - "optional": true + "node_modules/.pnpm/source-map-js@1.0.2/node_modules/source-map-js": { + "version": "1.0.2", + "license": "BSD-3-Clause", + "optional": true, + "devDependencies": { + "clean-publish": "^3.1.0", + "doctoc": "^0.15.0", + "webpack": "^1.12.0" + }, + "engines": { + "node": ">=0.10.0" + } }, - "node_modules/typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "node_modules/.pnpm/svelte@4.2.1": {}, + "node_modules/.pnpm/svelte@4.2.1/node_modules/@ampproject/remapping": { + "resolved": "node_modules/.pnpm/@ampproject+remapping@2.2.1/node_modules/@ampproject/remapping", + "link": true + }, + "node_modules/.pnpm/svelte@4.2.1/node_modules/@jridgewell/sourcemap-codec": { + "resolved": "node_modules/.pnpm/@jridgewell+sourcemap-codec@1.4.15/node_modules/@jridgewell/sourcemap-codec", + "link": true + }, + "node_modules/.pnpm/svelte@4.2.1/node_modules/@jridgewell/trace-mapping": { + "resolved": "node_modules/.pnpm/@jridgewell+trace-mapping@0.3.19/node_modules/@jridgewell/trace-mapping", + "link": true + }, + "node_modules/.pnpm/svelte@4.2.1/node_modules/acorn": { + "resolved": "node_modules/.pnpm/acorn@8.10.0/node_modules/acorn", + "link": true + }, + "node_modules/.pnpm/svelte@4.2.1/node_modules/aria-query": { + "resolved": "node_modules/.pnpm/aria-query@5.3.0/node_modules/aria-query", + "link": true + }, + "node_modules/.pnpm/svelte@4.2.1/node_modules/axobject-query": { + "resolved": "node_modules/.pnpm/axobject-query@3.2.1/node_modules/axobject-query", + "link": true + }, + "node_modules/.pnpm/svelte@4.2.1/node_modules/code-red": { + "resolved": "node_modules/.pnpm/code-red@1.0.4/node_modules/code-red", + "link": true + }, + "node_modules/.pnpm/svelte@4.2.1/node_modules/css-tree": { + "resolved": "node_modules/.pnpm/css-tree@2.3.1/node_modules/css-tree", + "link": true + }, + "node_modules/.pnpm/svelte@4.2.1/node_modules/estree-walker": { + "resolved": "node_modules/.pnpm/estree-walker@3.0.3/node_modules/estree-walker", + "link": true + }, + "node_modules/.pnpm/svelte@4.2.1/node_modules/is-reference": { + "resolved": "node_modules/.pnpm/is-reference@3.0.2/node_modules/is-reference", + "link": true + }, + "node_modules/.pnpm/svelte@4.2.1/node_modules/locate-character": { + "resolved": "node_modules/.pnpm/locate-character@3.0.0/node_modules/locate-character", + "link": true + }, + "node_modules/.pnpm/svelte@4.2.1/node_modules/magic-string": { + "resolved": "node_modules/.pnpm/magic-string@0.30.4/node_modules/magic-string", + "link": true + }, + "node_modules/.pnpm/svelte@4.2.1/node_modules/periscopic": { + "resolved": "node_modules/.pnpm/periscopic@3.1.0/node_modules/periscopic", + "link": true + }, + "node_modules/.pnpm/svelte@4.2.1/node_modules/svelte": { + "version": "4.2.1", + "dev": true, + "license": "MIT", "optional": true, + "dependencies": { + "@ampproject/remapping": "^2.2.1", + "@jridgewell/sourcemap-codec": "^1.4.15", + "@jridgewell/trace-mapping": "^0.3.18", + "acorn": "^8.9.0", + "aria-query": "^5.3.0", + "axobject-query": "^3.2.1", + "code-red": "^1.0.3", + "css-tree": "^2.3.1", + "estree-walker": "^3.0.3", + "is-reference": "^3.0.1", + "locate-character": "^3.0.0", + "magic-string": "^0.30.0", + "periscopic": "^3.1.0" + }, + "engines": { + "node": ">=16" + } + }, + "node_modules/.pnpm/typescript@5.2.2": {}, + "node_modules/.pnpm/typescript@5.2.2/node_modules/typescript": { + "version": "5.2.2", + "devOptional": true, + "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" }, "engines": { - "node": ">=4.2.0" + "node": ">=14.17" } - } - }, - "dependencies": { - "@types/minimist": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", - "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", - "optional": true - }, - "@types/mustache": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@types/mustache/-/mustache-4.2.1.tgz", - "integrity": "sha512-gFAlWL9Ik21nJioqjlGCnNYbf9zHi0sVbaZ/1hQEBcCEuxfLJDvz4bVJSV6v6CUaoLOz0XEIoP7mSrhJ6o237w==", - "optional": true }, - "@types/node": { - "version": "14.18.25", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.25.tgz", - "integrity": "sha512-9pLfceRSrKIsv/MISN6RoFWTIzka36Uk2Uuf5a8cHyDYhEgl5Hm5dXoe621KULeBjt+cFsY18mILsWWtJeG80w==", - "optional": true + "node_modules/@types/minimist": { + "resolved": "node_modules/.pnpm/@types+minimist@1.2.3/node_modules/@types/minimist", + "link": true }, - "@types/prompts": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/@types/prompts/-/prompts-2.4.0.tgz", - "integrity": "sha512-7th8Opn+0XlN0O6qzO7dXOPwL6rigq/EwRS2DntaTHwSw8cLaYKeAPt5dWEKHSL+ffVSUl1itTPUC06+FlsV4Q==", - "optional": true + "node_modules/@types/mustache": { + "resolved": "node_modules/.pnpm/@types+mustache@4.2.3/node_modules/@types/mustache", + "link": true }, - "kleur": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", - "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==" + "node_modules/@types/node": { + "resolved": "node_modules/.pnpm/@types+node@20.8.3/node_modules/@types/node", + "link": true }, - "kolorist": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/kolorist/-/kolorist-1.5.1.tgz", - "integrity": "sha512-lxpCM3HTvquGxKGzHeknB/sUjuVoUElLlfYnXZT73K8geR9jQbroGlSCFBax9/0mpGoD3kzcMLnOlGQPJJNyqQ==" + "node_modules/@types/prompts": { + "resolved": "node_modules/.pnpm/@types+prompts@2.4.5/node_modules/@types/prompts", + "link": true }, - "minimist": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz", - "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==" + "node_modules/kolorist": { + "resolved": "node_modules/.pnpm/kolorist@1.8.0/node_modules/kolorist", + "link": true }, - "mustache": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/mustache/-/mustache-4.2.0.tgz", - "integrity": "sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==" + "node_modules/minimist": { + "resolved": "node_modules/.pnpm/minimist@1.2.8/node_modules/minimist", + "link": true }, - "prettier": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz", - "integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==", - "optional": true + "node_modules/mustache": { + "resolved": "node_modules/.pnpm/mustache@4.2.0/node_modules/mustache", + "link": true }, - "prettier-plugin-svelte": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/prettier-plugin-svelte/-/prettier-plugin-svelte-2.7.0.tgz", - "integrity": "sha512-fQhhZICprZot2IqEyoiUYLTRdumULGRvw0o4dzl5jt0jfzVWdGqeYW27QTWAeXhoupEZJULmNoH3ueJwUWFLIA==", - "optional": true + "node_modules/prettier": { + "resolved": "node_modules/.pnpm/prettier@3.0.3/node_modules/prettier", + "link": true }, - "prompts": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", - "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", - "requires": { - "kleur": "^3.0.3", - "sisteransi": "^1.0.5" - } + "node_modules/prettier-plugin-svelte": { + "resolved": "node_modules/.pnpm/prettier-plugin-svelte@3.0.3_prettier@3.0.3_svelte@4.2.1/node_modules/prettier-plugin-svelte", + "link": true }, - "sisteransi": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", - "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==" + "node_modules/prompts": { + "resolved": "node_modules/.pnpm/prompts@2.4.2/node_modules/prompts", + "link": true }, - "svelte": { - "version": "3.49.0", - "resolved": "https://registry.npmjs.org/svelte/-/svelte-3.49.0.tgz", - "integrity": "sha512-+lmjic1pApJWDfPCpUUTc1m8azDqYCG1JN9YEngrx/hUyIcFJo6VZhj0A1Ai0wqoHcEIuQy+e9tk+4uDgdtsFA==", - "optional": true + "node_modules/svelte": { + "resolved": "node_modules/.pnpm/svelte@4.2.1/node_modules/svelte", + "link": true }, - "typescript": { - "version": "4.9.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", - "optional": true + "node_modules/typescript": { + "resolved": "node_modules/.pnpm/typescript@5.2.2/node_modules/typescript", + "link": true } } } diff --git a/package.json b/package.json index dbd87d6..4c780f3 100644 --- a/package.json +++ b/package.json @@ -54,19 +54,19 @@ }, "homepage": "https://github.com/guocaoyi", "dependencies": { - "kolorist": "^1.5.1", - "minimist": "^1.2.6", + "kolorist": "^1.8.0", + "minimist": "^1.2.8", "mustache": "^4.2.0", "prompts": "^2.4.2" }, "optionalDependencies": { - "@types/minimist": "^1.2.2", - "@types/mustache": "^4.2.1", - "@types/node": "^14.18.18", - "@types/prompts": "^2.4.0", - "prettier": "^2.7.1", - "prettier-plugin-svelte": "^2.7.0", - "svelte": "^3.44.0", - "typescript": "^4.9.5" + "@types/minimist": "^1.2.3", + "@types/mustache": "^4.2.3", + "@types/node": "^20.8.3", + "@types/prompts": "^2.4.5", + "prettier": "^3.0.3", + "prettier-plugin-svelte": "^3.0.3", + "svelte": "^4.2.1", + "typescript": "^5.2.2" } } diff --git a/template-alpine-js/options.html b/template-alpine-js/options.html index 5019460..ac5dd3c 100644 --- a/template-alpine-js/options.html +++ b/template-alpine-js/options.html @@ -1,4 +1,4 @@ - +
diff --git a/template-alpine-js/package.json b/template-alpine-js/package.json index d271a44..4353361 100644 --- a/template-alpine-js/package.json +++ b/template-alpine-js/package.json @@ -25,6 +25,6 @@ }, "devDependencies": { "@crxjs/vite-plugin": "^2.0.0-beta.19", - "vite": "^4.4.11" + "vite": "^3.2.7" } } diff --git a/template-alpine-js/popup.html b/template-alpine-js/popup.html index ef35107..d391f23 100644 --- a/template-alpine-js/popup.html +++ b/template-alpine-js/popup.html @@ -1,4 +1,4 @@ - + diff --git a/template-alpine-js/sidepanel.html b/template-alpine-js/sidepanel.html index 598a288..c3d923d 100644 --- a/template-alpine-js/sidepanel.html +++ b/template-alpine-js/sidepanel.html @@ -1,4 +1,4 @@ - + diff --git a/template-alpine-ts/options.html b/template-alpine-ts/options.html index a0cd11c..b61f763 100644 --- a/template-alpine-ts/options.html +++ b/template-alpine-ts/options.html @@ -1,4 +1,4 @@ - + diff --git a/template-alpine-ts/popup.html b/template-alpine-ts/popup.html index f80138e..43ba855 100644 --- a/template-alpine-ts/popup.html +++ b/template-alpine-ts/popup.html @@ -1,4 +1,4 @@ - + diff --git a/template-alpine-ts/sidepanel.html b/template-alpine-ts/sidepanel.html index bbcbc5f..9656e11 100644 --- a/template-alpine-ts/sidepanel.html +++ b/template-alpine-ts/sidepanel.html @@ -1,4 +1,4 @@ - + diff --git a/template-inferno-js/options.html b/template-inferno-js/options.html index fb0bcd8..2cd3641 100644 --- a/template-inferno-js/options.html +++ b/template-inferno-js/options.html @@ -1,4 +1,4 @@ - + diff --git a/template-inferno-js/package.json b/template-inferno-js/package.json index 139fe68..75b0cbf 100644 --- a/template-inferno-js/package.json +++ b/template-inferno-js/package.json @@ -27,7 +27,7 @@ "@babel/core": "7.x", "@babel/parser": "7.x", "@crxjs/vite-plugin": "^2.0.0-beta.19", - "vite": "^2.9.13", - "vite-plugin-inferno": "0.0.0" + "vite": "^3.2.7", + "vite-plugin-inferno": "0.0.1" } } diff --git a/template-inferno-js/popup.html b/template-inferno-js/popup.html index 2b114dd..4b3045b 100644 --- a/template-inferno-js/popup.html +++ b/template-inferno-js/popup.html @@ -1,4 +1,4 @@ - + diff --git a/template-inferno-js/sidepanel.html b/template-inferno-js/sidepanel.html index f045912..44dec13 100644 --- a/template-inferno-js/sidepanel.html +++ b/template-inferno-js/sidepanel.html @@ -1,4 +1,4 @@ - + diff --git a/template-inferno-ts/options.html b/template-inferno-ts/options.html index 2dd294e..dbba76d 100644 --- a/template-inferno-ts/options.html +++ b/template-inferno-ts/options.html @@ -1,4 +1,4 @@ - + diff --git a/template-inferno-ts/package.json b/template-inferno-ts/package.json index ff19aa6..7655122 100644 --- a/template-inferno-ts/package.json +++ b/template-inferno-ts/package.json @@ -27,9 +27,9 @@ "@babel/core": "7.x", "@babel/parser": "7.x", "@crxjs/vite-plugin": "^2.0.0-beta.19", - "@types/chrome": "^0.0.236", - "typescript": "^4.6.4", - "vite": "^2.9.13", - "vite-plugin-inferno": "0.0.0" + "@types/chrome": "^0.0.246", + "typescript": "^5.2.2", + "vite": "^3.2.7", + "vite-plugin-inferno": "0.0.1" } } diff --git a/template-inferno-ts/popup.html b/template-inferno-ts/popup.html index 15d6734..92c41f1 100644 --- a/template-inferno-ts/popup.html +++ b/template-inferno-ts/popup.html @@ -1,4 +1,4 @@ - + diff --git a/template-inferno-ts/sidepanel.html b/template-inferno-ts/sidepanel.html index 6c804fe..a7bde14 100644 --- a/template-inferno-ts/sidepanel.html +++ b/template-inferno-ts/sidepanel.html @@ -1,4 +1,4 @@ - + diff --git a/template-lit-js/options.html b/template-lit-js/options.html index 06a7fb5..0825036 100644 --- a/template-lit-js/options.html +++ b/template-lit-js/options.html @@ -1,4 +1,4 @@ - + diff --git a/template-lit-js/popup.html b/template-lit-js/popup.html index 919c81c..ea92fd6 100644 --- a/template-lit-js/popup.html +++ b/template-lit-js/popup.html @@ -1,4 +1,4 @@ - + diff --git a/template-lit-js/sidepanel.html b/template-lit-js/sidepanel.html index 966c1c6..ec1daa4 100644 --- a/template-lit-js/sidepanel.html +++ b/template-lit-js/sidepanel.html @@ -1,4 +1,4 @@ - + diff --git a/template-lit-ts/options.html b/template-lit-ts/options.html index eba7e66..fa6bc0f 100644 --- a/template-lit-ts/options.html +++ b/template-lit-ts/options.html @@ -1,4 +1,4 @@ - + diff --git a/template-lit-ts/popup.html b/template-lit-ts/popup.html index ceaf579..5736715 100644 --- a/template-lit-ts/popup.html +++ b/template-lit-ts/popup.html @@ -1,4 +1,4 @@ - + diff --git a/template-lit-ts/sidepanel.html b/template-lit-ts/sidepanel.html index fd1c65f..093d06e 100644 --- a/template-lit-ts/sidepanel.html +++ b/template-lit-ts/sidepanel.html @@ -1,4 +1,4 @@ - + diff --git a/template-preact-js/options.html b/template-preact-js/options.html index 495ba28..b6f99c0 100644 --- a/template-preact-js/options.html +++ b/template-preact-js/options.html @@ -1,4 +1,4 @@ - + diff --git a/template-preact-js/package.json b/template-preact-js/package.json index 4a0428b..baca2f9 100644 --- a/template-preact-js/package.json +++ b/template-preact-js/package.json @@ -27,6 +27,6 @@ "@crxjs/vite-plugin": "^2.0.0-beta.19", "@preact/preset-vite": "^2.3.0", "prettier": "^2.7.1", - "vite": "^2.9.13" + "vite": "^3.2.7" } } diff --git a/template-preact-js/popup.html b/template-preact-js/popup.html index 817267c..b8e7bb0 100644 --- a/template-preact-js/popup.html +++ b/template-preact-js/popup.html @@ -1,4 +1,4 @@ - + diff --git a/template-preact-js/sidepanel.html b/template-preact-js/sidepanel.html index 400b084..34bed45 100644 --- a/template-preact-js/sidepanel.html +++ b/template-preact-js/sidepanel.html @@ -1,4 +1,4 @@ - + diff --git a/template-preact-ts/options.html b/template-preact-ts/options.html index 2c4e803..ed2c2b4 100644 --- a/template-preact-ts/options.html +++ b/template-preact-ts/options.html @@ -1,4 +1,4 @@ - + diff --git a/template-preact-ts/package.json b/template-preact-ts/package.json index 49e69da..20e355e 100644 --- a/template-preact-ts/package.json +++ b/template-preact-ts/package.json @@ -26,10 +26,9 @@ "devDependencies": { "@crxjs/vite-plugin": "^2.0.0-beta.19", "@preact/preset-vite": "^2.3.0", - "@types/chrome": "^0.0.236", + "@types/chrome": "^0.0.246", "prettier": "^2.7.1", - "typescript": "^4.7.4", - "vite": "^2.9.13", - "vite-plugin-zip-pack": "^1.0.5" + "typescript": "^5.2.2", + "vite": "^3.2.7" } } diff --git a/template-preact-ts/popup.html b/template-preact-ts/popup.html index 5728885..da08950 100644 --- a/template-preact-ts/popup.html +++ b/template-preact-ts/popup.html @@ -1,4 +1,4 @@ - + diff --git a/template-preact-ts/sidepanel.html b/template-preact-ts/sidepanel.html index d0a2c41..fef0c13 100644 --- a/template-preact-ts/sidepanel.html +++ b/template-preact-ts/sidepanel.html @@ -1,4 +1,4 @@ - + diff --git a/template-preact-ts/vite.config.ts b/template-preact-ts/vite.config.ts index 7a3a0da..960f23d 100644 --- a/template-preact-ts/vite.config.ts +++ b/template-preact-ts/vite.config.ts @@ -1,7 +1,6 @@ import { defineConfig } from 'vite' import { crx } from '@crxjs/vite-plugin' import preact from '@preact/preset-vite' -import zipPack from 'vite-plugin-zip-pack' import manifest from './src/manifest' // https://vitejs.dev/config/ @@ -16,18 +15,6 @@ export default defineConfig(({ mode }) => { }, }, }, - - plugins: [ - crx({ manifest }), - preact(), - zipPack({ - outDir: `package`, - inDir: 'build', - // @ts-ignore - outFileName: `${manifest.short_name ?? manifest.name.replaceAll(' ', '-')}-extension-v${ - manifest.version - }.zip`, - }), - ], + plugins: [crx({ manifest }), preact()], } }) diff --git a/template-react-js/options.html b/template-react-js/options.html index 6d4b969..7b51df4 100644 --- a/template-react-js/options.html +++ b/template-react-js/options.html @@ -1,4 +1,4 @@ - + diff --git a/template-react-js/package.json b/template-react-js/package.json index 8c1b013..f67cd98 100644 --- a/template-react-js/package.json +++ b/template-react-js/package.json @@ -32,7 +32,6 @@ "@vitejs/plugin-react": "^1.3.2", "glob": "^9.3.0", "prettier": "^2.7.1", - "vite": "^2.9.13", - "vite-plugin-zip-pack": "^1.0.5" + "vite": "^3.2.7" } } diff --git a/template-react-js/pages/page.html b/template-react-js/pages/page.html index 12fa100..cef2489 100644 --- a/template-react-js/pages/page.html +++ b/template-react-js/pages/page.html @@ -1,4 +1,4 @@ - + diff --git a/template-react-js/popup.html b/template-react-js/popup.html index 5ad08ec..db83518 100644 --- a/template-react-js/popup.html +++ b/template-react-js/popup.html @@ -1,4 +1,4 @@ - + diff --git a/template-react-js/sidepanel.html b/template-react-js/sidepanel.html index 0d72dae..fd1ce87 100644 --- a/template-react-js/sidepanel.html +++ b/template-react-js/sidepanel.html @@ -1,4 +1,4 @@ - + diff --git a/template-react-js/vite.config.js b/template-react-js/vite.config.js index 8092804..7126e55 100644 --- a/template-react-js/vite.config.js +++ b/template-react-js/vite.config.js @@ -1,7 +1,6 @@ import { defineConfig } from 'vite' import { crx } from '@crxjs/vite-plugin' import react from '@vitejs/plugin-react' -import zipPack from 'vite-plugin-zip-pack' import manifest from './src/manifest.js' import { config } from './src/read_pages_folder.js' @@ -19,17 +18,6 @@ export default defineConfig(({ mode }) => { }, }, - plugins: [ - crx({ manifest }), - react(), - zipPack({ - outDir: `package`, - inDir: 'build', - // @ts-ignore - outFileName: `${manifest.short_name ?? manifest.name.replaceAll(' ', '-')}-extension-v${ - manifest.version - }.zip`, - }), - ], + plugins: [crx({ manifest }), react()], } }) diff --git a/template-react-ts/options.html b/template-react-ts/options.html index 88051fc..9157b59 100644 --- a/template-react-ts/options.html +++ b/template-react-ts/options.html @@ -1,4 +1,4 @@ - + diff --git a/template-react-ts/package.json b/template-react-ts/package.json index d740bca..7a633e2 100644 --- a/template-react-ts/package.json +++ b/template-react-ts/package.json @@ -27,14 +27,13 @@ }, "devDependencies": { "@crxjs/vite-plugin": "^2.0.0-beta.19", - "@types/chrome": "^0.0.236", + "@types/chrome": "^0.0.246", "@types/react": "^18.0.14", "@types/react-dom": "^18.0.5", "@vitejs/plugin-react": "^1.3.2", "glob": "^9.2.1", "prettier": "^2.7.1", - "typescript": "^4.6.4", - "vite": "^2.9.13", - "vite-plugin-zip-pack": "^1.0.5" + "typescript": "^5.2.2", + "vite": "^3.2.7" } } diff --git a/template-react-ts/pages/page.html b/template-react-ts/pages/page.html index d80e4f3..5f39d63 100644 --- a/template-react-ts/pages/page.html +++ b/template-react-ts/pages/page.html @@ -1,4 +1,4 @@ - + diff --git a/template-react-ts/popup.html b/template-react-ts/popup.html index f7b60a2..5b956c9 100644 --- a/template-react-ts/popup.html +++ b/template-react-ts/popup.html @@ -1,4 +1,4 @@ - + diff --git a/template-react-ts/sidepanel.html b/template-react-ts/sidepanel.html index f97ba30..5e34f2e 100644 --- a/template-react-ts/sidepanel.html +++ b/template-react-ts/sidepanel.html @@ -1,4 +1,4 @@ - + diff --git a/template-react-ts/vite.config.ts b/template-react-ts/vite.config.ts index e4a57e5..a23b6dc 100644 --- a/template-react-ts/vite.config.ts +++ b/template-react-ts/vite.config.ts @@ -1,7 +1,6 @@ import { defineConfig } from 'vite' import { crx } from '@crxjs/vite-plugin' import react from '@vitejs/plugin-react' -import zipPack from 'vite-plugin-zip-pack' import manifest from './src/manifest' //@ts-ignore @@ -21,17 +20,6 @@ export default defineConfig(({ mode }) => { }, }, - plugins: [ - crx({ manifest }), - react(), - zipPack({ - outDir: `package`, - inDir: 'build', - // @ts-ignore - outFileName: `${manifest.short_name ?? manifest.name.replaceAll(' ', '-')}-extension-v${ - manifest.version - }.zip`, - }), - ], + plugins: [crx({ manifest }), react()], } }) diff --git a/template-solid-js/options.html b/template-solid-js/options.html index 874804f..2ceb24b 100644 --- a/template-solid-js/options.html +++ b/template-solid-js/options.html @@ -1,4 +1,4 @@ - + diff --git a/template-solid-js/package.json b/template-solid-js/package.json index 3663612..495d40f 100644 --- a/template-solid-js/package.json +++ b/template-solid-js/package.json @@ -25,8 +25,7 @@ "@crxjs/vite-plugin": "^2.0.0-beta.19", "prettier": "^2.7.1", "vite": "^3.2.7", - "vite-plugin-solid": "^2.7.0", - "vite-plugin-zip-pack": "^1.0.6" + "vite-plugin-solid": "^2.7.0" }, "dependencies": { "solid-js": "^1.4.2" diff --git a/template-solid-js/popup.html b/template-solid-js/popup.html index c15af1a..c69f197 100644 --- a/template-solid-js/popup.html +++ b/template-solid-js/popup.html @@ -1,4 +1,4 @@ - + diff --git a/template-solid-js/sidepanel.html b/template-solid-js/sidepanel.html index 49dfa1b..514b422 100644 --- a/template-solid-js/sidepanel.html +++ b/template-solid-js/sidepanel.html @@ -1,4 +1,4 @@ - + diff --git a/template-solid-js/vite.config.js b/template-solid-js/vite.config.js index 31482ee..6530dce 100644 --- a/template-solid-js/vite.config.js +++ b/template-solid-js/vite.config.js @@ -1,7 +1,6 @@ import { defineConfig } from 'vite' import { crx } from '@crxjs/vite-plugin' import solidPlugin from 'vite-plugin-solid' -import zipPack from 'vite-plugin-zip-pack' import manifest from './src/manifest.js' export default defineConfig(({ mode }) => { @@ -17,17 +16,6 @@ export default defineConfig(({ mode }) => { }, }, }, - plugins: [ - crx({ manifest }), - solidPlugin(), - zipPack({ - outDir: `package`, - inDir: 'build', - // @ts-ignore - outFileName: `${manifest.short_name ?? manifest.name.replaceAll(' ', '-')}-extension-v${ - manifest.version - }.zip`, - }), - ], + plugins: [crx({ manifest }), solidPlugin()], } }) diff --git a/template-solid-ts/options.html b/template-solid-ts/options.html index 4ef07b3..49fed0a 100644 --- a/template-solid-ts/options.html +++ b/template-solid-ts/options.html @@ -1,4 +1,4 @@ - + diff --git a/template-solid-ts/package.json b/template-solid-ts/package.json index c829e7e..0044434 100644 --- a/template-solid-ts/package.json +++ b/template-solid-ts/package.json @@ -23,12 +23,11 @@ }, "devDependencies": { "@crxjs/vite-plugin": "^2.0.0-beta.19", - "@types/chrome": "^0.0.236", + "@types/chrome": "^0.0.246", "prettier": "^2.7.1", - "typescript": "^4.6.4", + "typescript": "^5.2.2", "vite": "^3.2.7", - "vite-plugin-solid": "^2.7.0", - "vite-plugin-zip-pack": "^1.0.6" + "vite-plugin-solid": "^2.7.0" }, "dependencies": { "solid-js": "^1.4.2" diff --git a/template-solid-ts/popup.html b/template-solid-ts/popup.html index 2721fe8..d75ae1d 100644 --- a/template-solid-ts/popup.html +++ b/template-solid-ts/popup.html @@ -1,4 +1,4 @@ - + diff --git a/template-solid-ts/sidepanel.html b/template-solid-ts/sidepanel.html index 1ed2c7f..6edbff1 100644 --- a/template-solid-ts/sidepanel.html +++ b/template-solid-ts/sidepanel.html @@ -1,4 +1,4 @@ - + diff --git a/template-solid-ts/vite.config.ts b/template-solid-ts/vite.config.ts index 22e9ed4..72b7823 100644 --- a/template-solid-ts/vite.config.ts +++ b/template-solid-ts/vite.config.ts @@ -1,7 +1,6 @@ import { defineConfig } from 'vite' import { crx } from '@crxjs/vite-plugin' import solidPlugin from 'vite-plugin-solid' -import zipPack from 'vite-plugin-zip-pack' import manifest from './src/manifest.jsx' export default defineConfig(({ mode }) => { @@ -17,17 +16,6 @@ export default defineConfig(({ mode }) => { }, }, }, - plugins: [ - crx({ manifest }), - solidPlugin(), - zipPack({ - outDir: `package`, - inDir: 'build', - // @ts-ignore - outFileName: `${manifest.short_name ?? manifest.name.replaceAll(' ', '-')}-extension-v${ - manifest.version - }.zip`, - }), - ], + plugins: [crx({ manifest }), solidPlugin()], } }) diff --git a/template-stencil-js/jsconfig.json b/template-stencil-js/jsconfig.json deleted file mode 100644 index 3f6d5bd..0000000 --- a/template-stencil-js/jsconfig.json +++ /dev/null @@ -1 +0,0 @@ -{ "typeAcquisition": { "include": ["chrome"] } } diff --git a/template-stencil-js/package.json b/template-stencil-js/package.json deleted file mode 100644 index 6e6460b..0000000 --- a/template-stencil-js/package.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "name": "chrome-extension-stencil-js", - "version": "0.0.0", - "author": "", - "description": "", - "type": "module", - "license": "MIT", - "keywords": [ - "chrome-extension", - "stencil", - "vite", - "create-chrome-ext" - ], - "engines": { - "node": ">=14.18.0" - }, - "scripts": { - "s:build": "stencil build", - "s:start": "stencil build --dev --watch --serve", - "s:test": "stencil test --spec --e2e", - "s:test.watch": "stencil test --spec --e2e --watchAll", - "s:generate": "stencil generate", - "dev": "vite", - "build": "vite build", - "build.client": "vite build --outDir server/public", - "preview": "vite preview", - "fmt": "prettier --write '**/*.{jsx,js,json,css,md}'" - }, - "devDependencies": { - "@crxjs/vite-plugin": "^2.0.0-beta.19", - "@stencil/core": "2.13.0", - "express": "4.17.2", - "prettier": "^2.7.1", - "vite": "^2.9.13", - "vite-plugin-zip-pack": "^1.0.5" - } -} diff --git a/template-stencil-js/src/assets/logo.png b/template-stencil-js/src/assets/logo.png deleted file mode 100644 index 5d28df6..0000000 Binary files a/template-stencil-js/src/assets/logo.png and /dev/null differ diff --git a/template-stencil-js/src/background/index.js b/template-stencil-js/src/background/index.js deleted file mode 100644 index dfd2da5..0000000 --- a/template-stencil-js/src/background/index.js +++ /dev/null @@ -1,3 +0,0 @@ -console.info('chrome-ext template-stencil-js background script') - -export {} diff --git a/template-stencil-js/src/components/app-options/app-options.css b/template-stencil-js/src/components/app-options/app-options.css deleted file mode 100644 index 0337edf..0000000 --- a/template-stencil-js/src/components/app-options/app-options.css +++ /dev/null @@ -1,33 +0,0 @@ -main { - text-align: center; - padding: 1em; - margin: 0 auto; -} - -h3 { - color: #673ab8; - text-transform: uppercase; - font-size: 1.5rem; - font-weight: 200; - line-height: 1.2rem; - margin: 2rem auto; -} - -h6 { - font-size: 0.5rem; - color: #333333; - margin: 0.5rem; -} - -a { - font-size: 0.5rem; - margin: 0.5rem; - color: #cccccc; - text-decoration: none; -} - -@media (min-width: 480px) { - h3 { - max-width: none; - } -} diff --git a/template-stencil-js/src/components/app-options/app-options.jsx b/template-stencil-js/src/components/app-options/app-options.jsx deleted file mode 100644 index 6109ee2..0000000 --- a/template-stencil-js/src/components/app-options/app-options.jsx +++ /dev/null @@ -1,25 +0,0 @@ -import { Component, Prop, h } from '@stencil/core' - -@Component({ - tag: 'app-options', - styleUrl: 'app-options.css', -}) -export class AppOptions { - @Prop() crx: string = '' - - render() { - return ( -