From 4192aa13c90a839fc3033e8a242c25d61c6cc7cf Mon Sep 17 00:00:00 2001 From: terwer Date: Mon, 15 May 2023 14:09:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=89=88=E6=9C=AC=E5=8F=B7=E5=90=8C?= =?UTF-8?q?=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release-please.yml | 2 +- README.md | 8 +- README_zh_CN.md | 8 +- apps/publisher-app/.eslintrc.cjs | 38 - apps/publisher-app/.gitignore | 24 - apps/publisher-app/.prettierignore | 11 - apps/publisher-app/.vscode/extensions.json | 3 - apps/publisher-app/README.md | 47 - apps/publisher-app/index.html | 13 - apps/publisher-app/package.json | 22 - apps/publisher-app/pnpm-lock.yaml | 880 ------------------ apps/publisher-app/public/favicon.png | Bin 13645 -> 0 bytes apps/publisher-app/public/vite.svg | 1 - apps/publisher-app/src/App.svelte | 48 - apps/publisher-app/src/app.css | 80 -- apps/publisher-app/src/assets/svelte.svg | 1 - apps/publisher-app/src/lib/Counter.svelte | 10 - apps/publisher-app/src/main.ts | 8 - apps/publisher-app/src/vite-env.d.ts | 2 - apps/publisher-app/svelte.config.js | 7 - apps/publisher-app/tsconfig.json | 20 - apps/publisher-app/tsconfig.node.json | 9 - apps/publisher-app/vite.config.ts | 7 - package.json | 12 +- .../.env.development.local.example | 4 +- .../.env.production.local.example | 4 +- plugins/publisher-main/package.json | 7 +- plugins/publisher-main/public/plugin.json | 2 +- plugins/publisher-main/src/index.ts | 8 +- plugins/publisher-main/vite.config.ts | 15 +- pnpm-lock.yaml | 3 + .../.prettierrc.cjs => tools/packageApp.ts | 12 +- tools/syncVersion.ts | 12 +- 33 files changed, 57 insertions(+), 1271 deletions(-) delete mode 100644 apps/publisher-app/.eslintrc.cjs delete mode 100644 apps/publisher-app/.gitignore delete mode 100644 apps/publisher-app/.prettierignore delete mode 100644 apps/publisher-app/.vscode/extensions.json delete mode 100644 apps/publisher-app/README.md delete mode 100644 apps/publisher-app/index.html delete mode 100644 apps/publisher-app/package.json delete mode 100644 apps/publisher-app/pnpm-lock.yaml delete mode 100644 apps/publisher-app/public/favicon.png delete mode 100644 apps/publisher-app/public/vite.svg delete mode 100644 apps/publisher-app/src/App.svelte delete mode 100644 apps/publisher-app/src/app.css delete mode 100644 apps/publisher-app/src/assets/svelte.svg delete mode 100644 apps/publisher-app/src/lib/Counter.svelte delete mode 100644 apps/publisher-app/src/main.ts delete mode 100644 apps/publisher-app/src/vite-env.d.ts delete mode 100644 apps/publisher-app/svelte.config.js delete mode 100644 apps/publisher-app/tsconfig.json delete mode 100644 apps/publisher-app/tsconfig.node.json delete mode 100644 apps/publisher-app/vite.config.ts rename apps/publisher-app/.prettierrc.cjs => tools/packageApp.ts (90%) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 29669f4a..cf61025d 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -78,7 +78,7 @@ jobs: - name: Prepare new version if: ${{ steps.release.outputs.release_created }} run: | - pnpm syncVersion ${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }} + pnpm prepareRelease # Build for production and Archive package - name: Build for production diff --git a/README.md b/README.md index 18a38b7f..fcb4df9e 100644 --- a/README.md +++ b/README.md @@ -56,9 +56,13 @@ to [Latest Adaptation](https://terwergreen.feishu.cn/share/base/view/shrcnWT2IGI ## FAQ -* Q1:How to install the Publish Tool plugin? +* Q1:How to install the publishing tool plugin? Where can I find his entrance after installation? - A1:Find `Bazaar->Plugins->Publish Tools` Download and enable. No other action required. This is no different from the download and installation of other plugins. + A1:Find **`Bazaar->Plugins->Publishing Tools`** to download and enable. + + The installation process requires no further action. This is no different from the download and installation of other plugins. + + After the installation is complete, find the ✈️ icon on the top right toolbar, click the menu, and follow the corresponding instructions to use it. ‍ diff --git a/README_zh_CN.md b/README_zh_CN.md index b2021e2f..b4edc3e1 100644 --- a/README_zh_CN.md +++ b/README_zh_CN.md @@ -47,9 +47,13 @@ ## FAQ -* Q1:发布工具插件怎么安装? +* Q1:发布工具插件怎么安装?安装之后在哪里找到他的入口? - A1:找到 `集市->插件->发布工具` 下载启用即可。无需其他任何操作。这个跟其他插件的下载安装无任何区别。 + A1:找到 **`集市->插件->发布工具`** 下载启用即可。 + + 安装过程无需其他任何操作。这个跟其他插件的下载安装无任何区别。 + + 安装完成后,在顶部右侧工具栏找到 ✈️ 图标,点击菜单,按照对应说明操作使用即可。 ‍ diff --git a/apps/publisher-app/.eslintrc.cjs b/apps/publisher-app/.eslintrc.cjs deleted file mode 100644 index 07816050..00000000 --- a/apps/publisher-app/.eslintrc.cjs +++ /dev/null @@ -1,38 +0,0 @@ -module.exports = { - extends: [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended", - "plugin:svelte/recommended", - "turbo", - "prettier", - ], - - parser: "@typescript-eslint/parser", - - overrides: [ - { - files: ["*.svelte"], - parser: "svelte-eslint-parser", - // Parse the script in `.svelte` as TypeScript by adding the following configuration. - parserOptions: { - parser: "@typescript-eslint/parser", - }, - }, - ], - - plugins: ["@typescript-eslint", "prettier"], - - rules: { - // Note: you must disable the base rule as it can report incorrect errors - semi: "off", - quotes: "off", - "no-undef": "off", - "@typescript-eslint/no-var-requires": "off", - "@typescript-eslint/no-this-alias": "off", - "@typescript-eslint/no-non-null-assertion": "off", - "@typescript-eslint/no-unused-vars": "off", - "@typescript-eslint/no-explicit-any": "off", - "turbo/no-undeclared-env-vars": "off", - "prettier/prettier": "error", - }, -} diff --git a/apps/publisher-app/.gitignore b/apps/publisher-app/.gitignore deleted file mode 100644 index a547bf36..00000000 --- a/apps/publisher-app/.gitignore +++ /dev/null @@ -1,24 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -pnpm-debug.log* -lerna-debug.log* - -node_modules -dist -dist-ssr -*.local - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -.DS_Store -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/apps/publisher-app/.prettierignore b/apps/publisher-app/.prettierignore deleted file mode 100644 index 8f9d2dfa..00000000 --- a/apps/publisher-app/.prettierignore +++ /dev/null @@ -1,11 +0,0 @@ -# platform - -# Ignore artifacts: -dist -node_modules - -# Ignore all dts files: -*.d.ts - -# lib -/pnpm-lock.yaml diff --git a/apps/publisher-app/.vscode/extensions.json b/apps/publisher-app/.vscode/extensions.json deleted file mode 100644 index bdef8201..00000000 --- a/apps/publisher-app/.vscode/extensions.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "recommendations": ["svelte.svelte-vscode"] -} diff --git a/apps/publisher-app/README.md b/apps/publisher-app/README.md deleted file mode 100644 index 7cb37133..00000000 --- a/apps/publisher-app/README.md +++ /dev/null @@ -1,47 +0,0 @@ -# publisher-app - -app module for publisher - -## Recommended IDE Setup - -[VS Code](https://code.visualstudio.com/) + [Svelte](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode). - -## Need an official Svelte framework? - -Check out [SvelteKit](https://github.com/sveltejs/kit#readme), which is also powered by Vite. Deploy anywhere with its serverless-first approach and adapt to various platforms, with out of the box support for TypeScript, SCSS, and Less, and easily-added support for mdsvex, GraphQL, PostCSS, Tailwind CSS, and more. - -## Technical considerations - -**Why use this over SvelteKit?** - -- It brings its own routing solution which might not be preferable for some users. -- It is first and foremost a framework that just happens to use Vite under the hood, not a Vite app. - -This template contains as little as possible to get started with Vite + TypeScript + Svelte, while taking into account the developer experience with regards to HMR and intellisense. It demonstrates capabilities on par with the other `create-vite` templates and is a good starting point for beginners dipping their toes into a Vite + Svelte project. - -Should you later need the extended capabilities and extensibility provided by SvelteKit, the template has been structured similarly to SvelteKit so that it is easy to migrate. - -**Why `global.d.ts` instead of `compilerOptions.types` inside `jsconfig.json` or `tsconfig.json`?** - -Setting `compilerOptions.types` shuts out all other types not explicitly listed in the configuration. Using triple-slash references keeps the default TypeScript setting of accepting type information from the entire workspace, while also adding `svelte` and `vite/client` type information. - -**Why include `.vscode/extensions.json`?** - -Other templates indirectly recommend extensions via the README, but this file allows VS Code to prompt the user to install the recommended extension upon opening the project. - -**Why enable `allowJs` in the TS template?** - -While `allowJs: false` would indeed prevent the use of `.js` files in the project, it does not prevent the use of JavaScript syntax in `.svelte` files. In addition, it would force `checkJs: false`, bringing the worst of both worlds: not being able to guarantee the entire codebase is TypeScript, and also having worse typechecking for the existing JavaScript. In addition, there are valid use cases in which a mixed codebase may be relevant. - -**Why is HMR not preserving my local component state?** - -HMR state preservation comes with a number of gotchas! It has been disabled by default in both `svelte-hmr` and `@sveltejs/vite-plugin-svelte` due to its often surprising behavior. You can read the details [here](https://github.com/rixo/svelte-hmr#svelte-hmr). - -If you have state that's important to retain within a component, consider creating an external store which would not be replaced by HMR. - -```ts -// store.ts -// An extremely simple external store -import { writable } from 'svelte/store' -export default writable(0) -``` diff --git a/apps/publisher-app/index.html b/apps/publisher-app/index.html deleted file mode 100644 index b5b12526..00000000 --- a/apps/publisher-app/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - Vite + Svelte + TS - - -
- - - diff --git a/apps/publisher-app/package.json b/apps/publisher-app/package.json deleted file mode 100644 index bf8fe174..00000000 --- a/apps/publisher-app/package.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "publisher-app", - "private": true, - "version": "1.1.3", - "type": "module", - "scripts": { - "serve": "vite", - "dev": "vite build --watch", - "build": "vite build", - "preview": "vite preview", - "check": "svelte-check --tsconfig ./tsconfig.json", - "syncVersion": "echo 'syncVersion in app'" - }, - "devDependencies": { - "@sveltejs/vite-plugin-svelte": "^2.0.3", - "@terwer/eslint-config-custom": "^1.2.0", - "@terwer/vite-config-custom": "^0.4.0", - "@tsconfig/svelte": "^4.0.1", - "svelte": "^3.57.0", - "svelte-check": "^2.10.3" - } -} diff --git a/apps/publisher-app/pnpm-lock.yaml b/apps/publisher-app/pnpm-lock.yaml deleted file mode 100644 index eb298354..00000000 --- a/apps/publisher-app/pnpm-lock.yaml +++ /dev/null @@ -1,880 +0,0 @@ -lockfileVersion: '6.0' - -devDependencies: - '@sveltejs/vite-plugin-svelte': - specifier: ^2.0.3 - version: 2.0.3(svelte@3.57.0)(vite@4.3.2) - '@tsconfig/svelte': - specifier: ^4.0.1 - version: 4.0.1 - svelte: - specifier: ^3.57.0 - version: 3.57.0 - svelte-check: - specifier: ^2.10.3 - version: 2.10.3(svelte@3.57.0) - tslib: - specifier: ^2.5.0 - version: 2.5.0 - typescript: - specifier: ^5.0.2 - version: 5.0.2 - vite: - specifier: ^4.3.2 - version: 4.3.2 - -packages: - - /@esbuild/android-arm64@0.17.18: - resolution: {integrity: sha512-/iq0aK0eeHgSC3z55ucMAHO05OIqmQehiGay8eP5l/5l+iEr4EIbh4/MI8xD9qRFjqzgkc0JkX0LculNC9mXBw==} - engines: {node: '>=12'} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - /@esbuild/android-arm@0.17.18: - resolution: {integrity: sha512-EmwL+vUBZJ7mhFCs5lA4ZimpUH3WMAoqvOIYhVQwdIgSpHC8ImHdsRyhHAVxpDYUSm0lWvd63z0XH1IlImS2Qw==} - engines: {node: '>=12'} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - /@esbuild/android-x64@0.17.18: - resolution: {integrity: sha512-x+0efYNBF3NPW2Xc5bFOSFW7tTXdAcpfEg2nXmxegm4mJuVeS+i109m/7HMiOQ6M12aVGGFlqJX3RhNdYM2lWg==} - engines: {node: '>=12'} - cpu: [x64] - os: [android] - requiresBuild: true - dev: true - optional: true - - /@esbuild/darwin-arm64@0.17.18: - resolution: {integrity: sha512-6tY+djEAdF48M1ONWnQb1C+6LiXrKjmqjzPNPWXhu/GzOHTHX2nh8Mo2ZAmBFg0kIodHhciEgUBtcYCAIjGbjQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /@esbuild/darwin-x64@0.17.18: - resolution: {integrity: sha512-Qq84ykvLvya3dO49wVC9FFCNUfSrQJLbxhoQk/TE1r6MjHo3sFF2tlJCwMjhkBVq3/ahUisj7+EpRSz0/+8+9A==} - engines: {node: '>=12'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /@esbuild/freebsd-arm64@0.17.18: - resolution: {integrity: sha512-fw/ZfxfAzuHfaQeMDhbzxp9mc+mHn1Y94VDHFHjGvt2Uxl10mT4CDavHm+/L9KG441t1QdABqkVYwakMUeyLRA==} - engines: {node: '>=12'} - cpu: [arm64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - /@esbuild/freebsd-x64@0.17.18: - resolution: {integrity: sha512-FQFbRtTaEi8ZBi/A6kxOC0V0E9B/97vPdYjY9NdawyLd4Qk5VD5g2pbWN2VR1c0xhzcJm74HWpObPszWC+qTew==} - engines: {node: '>=12'} - cpu: [x64] - os: [freebsd] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-arm64@0.17.18: - resolution: {integrity: sha512-R7pZvQZFOY2sxUG8P6A21eq6q+eBv7JPQYIybHVf1XkQYC+lT7nDBdC7wWKTrbvMXKRaGudp/dzZCwL/863mZQ==} - engines: {node: '>=12'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-arm@0.17.18: - resolution: {integrity: sha512-jW+UCM40LzHcouIaqv3e/oRs0JM76JfhHjCavPxMUti7VAPh8CaGSlS7cmyrdpzSk7A+8f0hiedHqr/LMnfijg==} - engines: {node: '>=12'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-ia32@0.17.18: - resolution: {integrity: sha512-ygIMc3I7wxgXIxk6j3V00VlABIjq260i967Cp9BNAk5pOOpIXmd1RFQJQX9Io7KRsthDrQYrtcx7QCof4o3ZoQ==} - engines: {node: '>=12'} - cpu: [ia32] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-loong64@0.17.18: - resolution: {integrity: sha512-bvPG+MyFs5ZlwYclCG1D744oHk1Pv7j8psF5TfYx7otCVmcJsEXgFEhQkbhNW8otDHL1a2KDINW20cfCgnzgMQ==} - engines: {node: '>=12'} - cpu: [loong64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-mips64el@0.17.18: - resolution: {integrity: sha512-oVqckATOAGuiUOa6wr8TXaVPSa+6IwVJrGidmNZS1cZVx0HqkTMkqFGD2HIx9H1RvOwFeWYdaYbdY6B89KUMxA==} - engines: {node: '>=12'} - cpu: [mips64el] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-ppc64@0.17.18: - resolution: {integrity: sha512-3dLlQO+b/LnQNxgH4l9rqa2/IwRJVN9u/bK63FhOPB4xqiRqlQAU0qDU3JJuf0BmaH0yytTBdoSBHrb2jqc5qQ==} - engines: {node: '>=12'} - cpu: [ppc64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-riscv64@0.17.18: - resolution: {integrity: sha512-/x7leOyDPjZV3TcsdfrSI107zItVnsX1q2nho7hbbQoKnmoeUWjs+08rKKt4AUXju7+3aRZSsKrJtaRmsdL1xA==} - engines: {node: '>=12'} - cpu: [riscv64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-s390x@0.17.18: - resolution: {integrity: sha512-cX0I8Q9xQkL/6F5zWdYmVf5JSQt+ZfZD2bJudZrWD+4mnUvoZ3TDDXtDX2mUaq6upMFv9FlfIh4Gfun0tbGzuw==} - engines: {node: '>=12'} - cpu: [s390x] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/linux-x64@0.17.18: - resolution: {integrity: sha512-66RmRsPlYy4jFl0vG80GcNRdirx4nVWAzJmXkevgphP1qf4dsLQCpSKGM3DUQCojwU1hnepI63gNZdrr02wHUA==} - engines: {node: '>=12'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@esbuild/netbsd-x64@0.17.18: - resolution: {integrity: sha512-95IRY7mI2yrkLlTLb1gpDxdC5WLC5mZDi+kA9dmM5XAGxCME0F8i4bYH4jZreaJ6lIZ0B8hTrweqG1fUyW7jbg==} - engines: {node: '>=12'} - cpu: [x64] - os: [netbsd] - requiresBuild: true - dev: true - optional: true - - /@esbuild/openbsd-x64@0.17.18: - resolution: {integrity: sha512-WevVOgcng+8hSZ4Q3BKL3n1xTv5H6Nb53cBrtzzEjDbbnOmucEVcZeGCsCOi9bAOcDYEeBZbD2SJNBxlfP3qiA==} - engines: {node: '>=12'} - cpu: [x64] - os: [openbsd] - requiresBuild: true - dev: true - optional: true - - /@esbuild/sunos-x64@0.17.18: - resolution: {integrity: sha512-Rzf4QfQagnwhQXVBS3BYUlxmEbcV7MY+BH5vfDZekU5eYpcffHSyjU8T0xucKVuOcdCsMo+Ur5wmgQJH2GfNrg==} - engines: {node: '>=12'} - cpu: [x64] - os: [sunos] - requiresBuild: true - dev: true - optional: true - - /@esbuild/win32-arm64@0.17.18: - resolution: {integrity: sha512-Kb3Ko/KKaWhjeAm2YoT/cNZaHaD1Yk/pa3FTsmqo9uFh1D1Rfco7BBLIPdDOozrObj2sahslFuAQGvWbgWldAg==} - engines: {node: '>=12'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /@esbuild/win32-ia32@0.17.18: - resolution: {integrity: sha512-0/xUMIdkVHwkvxfbd5+lfG7mHOf2FRrxNbPiKWg9C4fFrB8H0guClmaM3BFiRUYrznVoyxTIyC/Ou2B7QQSwmw==} - engines: {node: '>=12'} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /@esbuild/win32-x64@0.17.18: - resolution: {integrity: sha512-qU25Ma1I3NqTSHJUOKi9sAH1/Mzuvlke0ioMJRthLXKm7JiSKVwFghlGbDLOO2sARECGhja4xYfRAZNPAkooYg==} - engines: {node: '>=12'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /@jridgewell/resolve-uri@3.1.0: - resolution: {integrity: sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==} - engines: {node: '>=6.0.0'} - dev: true - - /@jridgewell/sourcemap-codec@1.4.14: - resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} - dev: true - - /@jridgewell/sourcemap-codec@1.4.15: - resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} - dev: true - - /@jridgewell/trace-mapping@0.3.18: - resolution: {integrity: sha512-w+niJYzMHdd7USdiH2U6869nqhD2nbfZXND5Yp93qIbEmnDNk7PD48o+YchRVpzMU7M6jVCbenTR7PA1FLQ9pA==} - dependencies: - '@jridgewell/resolve-uri': 3.1.0 - '@jridgewell/sourcemap-codec': 1.4.14 - dev: true - - /@nodelib/fs.scandir@2.1.5: - resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} - engines: {node: '>= 8'} - dependencies: - '@nodelib/fs.stat': 2.0.5 - run-parallel: 1.2.0 - dev: true - - /@nodelib/fs.stat@2.0.5: - resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} - engines: {node: '>= 8'} - dev: true - - /@nodelib/fs.walk@1.2.8: - resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} - engines: {node: '>= 8'} - dependencies: - '@nodelib/fs.scandir': 2.1.5 - fastq: 1.15.0 - dev: true - - /@sveltejs/vite-plugin-svelte@2.0.3(svelte@3.57.0)(vite@4.3.2): - resolution: {integrity: sha512-o+cguBFdwIGtRbNkYOyqTM7KvRUffxh5bfK4oJsWKG2obu+v/cbpT03tJrGl58C7tRXo/aEC0/axN5FVHBj0nA==} - engines: {node: ^14.18.0 || >= 16} - peerDependencies: - svelte: ^3.54.0 - vite: ^4.0.0 - dependencies: - debug: 4.3.4 - deepmerge: 4.3.1 - kleur: 4.1.5 - magic-string: 0.29.0 - svelte: 3.57.0 - svelte-hmr: 0.15.1(svelte@3.57.0) - vite: 4.3.2 - vitefu: 0.2.4(vite@4.3.2) - transitivePeerDependencies: - - supports-color - dev: true - - /@tsconfig/svelte@4.0.1: - resolution: {integrity: sha512-B+XlGpmuAQzJqDoBATNCvEPqQg0HkO7S8pM14QDI5NsmtymzRexQ1N+nX2H6RTtFbuFgaZD4I8AAi8voGg0GLg==} - dev: true - - /@types/pug@2.0.6: - resolution: {integrity: sha512-SnHmG9wN1UVmagJOnyo/qkk0Z7gejYxOYYmaAwr5u2yFYfsupN3sg10kyzN8Hep/2zbHxCnsumxOoRIRMBwKCg==} - dev: true - - /@types/sass@1.45.0: - resolution: {integrity: sha512-jn7qwGFmJHwUSphV8zZneO3GmtlgLsmhs/LQyVvQbIIa+fzGMUiHI4HXJZL3FT8MJmgXWbLGiVVY7ElvHq6vDA==} - deprecated: This is a stub types definition. sass provides its own type definitions, so you do not need this installed. - dependencies: - sass: 1.62.1 - dev: true - - /anymatch@3.1.3: - resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} - engines: {node: '>= 8'} - dependencies: - normalize-path: 3.0.0 - picomatch: 2.3.1 - dev: true - - /balanced-match@1.0.2: - resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} - dev: true - - /binary-extensions@2.2.0: - resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} - engines: {node: '>=8'} - dev: true - - /brace-expansion@1.1.11: - resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} - dependencies: - balanced-match: 1.0.2 - concat-map: 0.0.1 - dev: true - - /braces@3.0.2: - resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} - engines: {node: '>=8'} - dependencies: - fill-range: 7.0.1 - dev: true - - /buffer-crc32@0.2.13: - resolution: {integrity: sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==} - dev: true - - /callsites@3.1.0: - resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} - engines: {node: '>=6'} - dev: true - - /chokidar@3.5.3: - resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==} - engines: {node: '>= 8.10.0'} - dependencies: - anymatch: 3.1.3 - braces: 3.0.2 - glob-parent: 5.1.2 - is-binary-path: 2.1.0 - is-glob: 4.0.3 - normalize-path: 3.0.0 - readdirp: 3.6.0 - optionalDependencies: - fsevents: 2.3.2 - dev: true - - /concat-map@0.0.1: - resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} - dev: true - - /debug@4.3.4: - resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} - engines: {node: '>=6.0'} - peerDependencies: - supports-color: '*' - peerDependenciesMeta: - supports-color: - optional: true - dependencies: - ms: 2.1.2 - dev: true - - /deepmerge@4.3.1: - resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} - engines: {node: '>=0.10.0'} - dev: true - - /detect-indent@6.1.0: - resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} - engines: {node: '>=8'} - dev: true - - /es6-promise@3.3.1: - resolution: {integrity: sha512-SOp9Phqvqn7jtEUxPWdWfWoLmyt2VaJ6MpvP9Comy1MceMXqE6bxvaTu4iaxpYYPzhny28Lc+M87/c2cPK6lDg==} - dev: true - - /esbuild@0.17.18: - resolution: {integrity: sha512-z1lix43jBs6UKjcZVKOw2xx69ffE2aG0PygLL5qJ9OS/gy0Ewd1gW/PUQIOIQGXBHWNywSc0floSKoMFF8aK2w==} - engines: {node: '>=12'} - hasBin: true - requiresBuild: true - optionalDependencies: - '@esbuild/android-arm': 0.17.18 - '@esbuild/android-arm64': 0.17.18 - '@esbuild/android-x64': 0.17.18 - '@esbuild/darwin-arm64': 0.17.18 - '@esbuild/darwin-x64': 0.17.18 - '@esbuild/freebsd-arm64': 0.17.18 - '@esbuild/freebsd-x64': 0.17.18 - '@esbuild/linux-arm': 0.17.18 - '@esbuild/linux-arm64': 0.17.18 - '@esbuild/linux-ia32': 0.17.18 - '@esbuild/linux-loong64': 0.17.18 - '@esbuild/linux-mips64el': 0.17.18 - '@esbuild/linux-ppc64': 0.17.18 - '@esbuild/linux-riscv64': 0.17.18 - '@esbuild/linux-s390x': 0.17.18 - '@esbuild/linux-x64': 0.17.18 - '@esbuild/netbsd-x64': 0.17.18 - '@esbuild/openbsd-x64': 0.17.18 - '@esbuild/sunos-x64': 0.17.18 - '@esbuild/win32-arm64': 0.17.18 - '@esbuild/win32-ia32': 0.17.18 - '@esbuild/win32-x64': 0.17.18 - dev: true - - /fast-glob@3.2.12: - resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==} - engines: {node: '>=8.6.0'} - dependencies: - '@nodelib/fs.stat': 2.0.5 - '@nodelib/fs.walk': 1.2.8 - glob-parent: 5.1.2 - merge2: 1.4.1 - micromatch: 4.0.5 - dev: true - - /fastq@1.15.0: - resolution: {integrity: sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==} - dependencies: - reusify: 1.0.4 - dev: true - - /fill-range@7.0.1: - resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} - engines: {node: '>=8'} - dependencies: - to-regex-range: 5.0.1 - dev: true - - /fs.realpath@1.0.0: - resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} - dev: true - - /fsevents@2.3.2: - resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} - engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /glob-parent@5.1.2: - resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} - engines: {node: '>= 6'} - dependencies: - is-glob: 4.0.3 - dev: true - - /glob@7.2.3: - resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} - dependencies: - fs.realpath: 1.0.0 - inflight: 1.0.6 - inherits: 2.0.4 - minimatch: 3.1.2 - once: 1.4.0 - path-is-absolute: 1.0.1 - dev: true - - /graceful-fs@4.2.11: - resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} - dev: true - - /immutable@4.3.0: - resolution: {integrity: sha512-0AOCmOip+xgJwEVTQj1EfiDDOkPmuyllDuTuEX+DDXUgapLAsBIfkg3sxCYyCEA8mQqZrrxPUGjcOQ2JS3WLkg==} - dev: true - - /import-fresh@3.3.0: - resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} - engines: {node: '>=6'} - dependencies: - parent-module: 1.0.1 - resolve-from: 4.0.0 - dev: true - - /inflight@1.0.6: - resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} - dependencies: - once: 1.4.0 - wrappy: 1.0.2 - dev: true - - /inherits@2.0.4: - resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} - dev: true - - /is-binary-path@2.1.0: - resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} - engines: {node: '>=8'} - dependencies: - binary-extensions: 2.2.0 - dev: true - - /is-extglob@2.1.1: - resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} - engines: {node: '>=0.10.0'} - dev: true - - /is-glob@4.0.3: - resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} - engines: {node: '>=0.10.0'} - dependencies: - is-extglob: 2.1.1 - dev: true - - /is-number@7.0.0: - resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} - engines: {node: '>=0.12.0'} - dev: true - - /kleur@4.1.5: - resolution: {integrity: sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==} - engines: {node: '>=6'} - dev: true - - /magic-string@0.25.9: - resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==} - dependencies: - sourcemap-codec: 1.4.8 - dev: true - - /magic-string@0.29.0: - resolution: {integrity: sha512-WcfidHrDjMY+eLjlU+8OvwREqHwpgCeKVBUpQ3OhYYuvfaYCUgcbuBzappNzZvg/v8onU3oQj+BYpkOJe9Iw4Q==} - engines: {node: '>=12'} - dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 - dev: true - - /merge2@1.4.1: - resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} - engines: {node: '>= 8'} - dev: true - - /micromatch@4.0.5: - resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} - engines: {node: '>=8.6'} - dependencies: - braces: 3.0.2 - picomatch: 2.3.1 - dev: true - - /min-indent@1.0.1: - resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} - engines: {node: '>=4'} - dev: true - - /minimatch@3.1.2: - resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} - dependencies: - brace-expansion: 1.1.11 - dev: true - - /minimist@1.2.8: - resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} - dev: true - - /mkdirp@0.5.6: - resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} - hasBin: true - dependencies: - minimist: 1.2.8 - dev: true - - /mri@1.2.0: - resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} - engines: {node: '>=4'} - dev: true - - /ms@2.1.2: - resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} - dev: true - - /nanoid@3.3.6: - resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==} - engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} - hasBin: true - dev: true - - /normalize-path@3.0.0: - resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} - engines: {node: '>=0.10.0'} - dev: true - - /once@1.4.0: - resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} - dependencies: - wrappy: 1.0.2 - dev: true - - /parent-module@1.0.1: - resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} - engines: {node: '>=6'} - dependencies: - callsites: 3.1.0 - dev: true - - /path-is-absolute@1.0.1: - resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} - engines: {node: '>=0.10.0'} - dev: true - - /picocolors@1.0.0: - resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} - dev: true - - /picomatch@2.3.1: - resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} - engines: {node: '>=8.6'} - dev: true - - /postcss@8.4.23: - resolution: {integrity: sha512-bQ3qMcpF6A/YjR55xtoTr0jGOlnPOKAIMdOWiv0EIT6HVPEaJiJB4NLljSbiHoC2RX7DN5Uvjtpbg1NPdwv1oA==} - engines: {node: ^10 || ^12 || >=14} - dependencies: - nanoid: 3.3.6 - picocolors: 1.0.0 - source-map-js: 1.0.2 - dev: true - - /queue-microtask@1.2.3: - resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} - dev: true - - /readdirp@3.6.0: - resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} - engines: {node: '>=8.10.0'} - dependencies: - picomatch: 2.3.1 - dev: true - - /resolve-from@4.0.0: - resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} - engines: {node: '>=4'} - dev: true - - /reusify@1.0.4: - resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} - engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - dev: true - - /rimraf@2.7.1: - resolution: {integrity: sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==} - hasBin: true - dependencies: - glob: 7.2.3 - dev: true - - /rollup@3.21.6: - resolution: {integrity: sha512-SXIICxvxQxR3D4dp/3LDHZIJPC8a4anKMHd4E3Jiz2/JnY+2bEjqrOokAauc5ShGVNFHlEFjBXAXlaxkJqIqSg==} - engines: {node: '>=14.18.0', npm: '>=8.0.0'} - hasBin: true - optionalDependencies: - fsevents: 2.3.2 - dev: true - - /run-parallel@1.2.0: - resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} - dependencies: - queue-microtask: 1.2.3 - dev: true - - /sade@1.8.1: - resolution: {integrity: sha512-xal3CZX1Xlo/k4ApwCFrHVACi9fBqJ7V+mwhBsuf/1IOKbBy098Fex+Wa/5QMubw09pSZ/u8EY8PWgevJsXp1A==} - engines: {node: '>=6'} - dependencies: - mri: 1.2.0 - dev: true - - /sander@0.5.1: - resolution: {integrity: sha512-3lVqBir7WuKDHGrKRDn/1Ye3kwpXaDOMsiRP1wd6wpZW56gJhsbp5RqQpA6JG/P+pkXizygnr1dKR8vzWaVsfA==} - dependencies: - es6-promise: 3.3.1 - graceful-fs: 4.2.11 - mkdirp: 0.5.6 - rimraf: 2.7.1 - dev: true - - /sass@1.62.1: - resolution: {integrity: sha512-NHpxIzN29MXvWiuswfc1W3I0N8SXBd8UR26WntmDlRYf0bSADnwnOjsyMZ3lMezSlArD33Vs3YFhp7dWvL770A==} - engines: {node: '>=14.0.0'} - hasBin: true - dependencies: - chokidar: 3.5.3 - immutable: 4.3.0 - source-map-js: 1.0.2 - dev: true - - /sorcery@0.10.0: - resolution: {integrity: sha512-R5ocFmKZQFfSTstfOtHjJuAwbpGyf9qjQa1egyhvXSbM7emjrtLXtGdZsDJDABC85YBfVvrOiGWKSYXPKdvP1g==} - hasBin: true - dependencies: - buffer-crc32: 0.2.13 - minimist: 1.2.8 - sander: 0.5.1 - sourcemap-codec: 1.4.8 - dev: true - - /source-map-js@1.0.2: - resolution: {integrity: sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==} - engines: {node: '>=0.10.0'} - dev: true - - /sourcemap-codec@1.4.8: - resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} - deprecated: Please use @jridgewell/sourcemap-codec instead - dev: true - - /strip-indent@3.0.0: - resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} - engines: {node: '>=8'} - dependencies: - min-indent: 1.0.1 - dev: true - - /svelte-check@2.10.3(svelte@3.57.0): - resolution: {integrity: sha512-Nt1aWHTOKFReBpmJ1vPug0aGysqPwJh2seM1OvICfM2oeyaA62mOiy5EvkXhltGfhCcIQcq2LoE0l1CwcWPjlw==} - hasBin: true - peerDependencies: - svelte: ^3.24.0 - dependencies: - '@jridgewell/trace-mapping': 0.3.18 - chokidar: 3.5.3 - fast-glob: 3.2.12 - import-fresh: 3.3.0 - picocolors: 1.0.0 - sade: 1.8.1 - svelte: 3.57.0 - svelte-preprocess: 4.10.7(svelte@3.57.0)(typescript@5.0.2) - typescript: 5.0.2 - transitivePeerDependencies: - - '@babel/core' - - coffeescript - - less - - node-sass - - postcss - - postcss-load-config - - pug - - sass - - stylus - - sugarss - dev: true - - /svelte-hmr@0.15.1(svelte@3.57.0): - resolution: {integrity: sha512-BiKB4RZ8YSwRKCNVdNxK/GfY+r4Kjgp9jCLEy0DuqAKfmQtpL38cQK3afdpjw4sqSs4PLi3jIPJIFp259NkZtA==} - engines: {node: ^12.20 || ^14.13.1 || >= 16} - peerDependencies: - svelte: '>=3.19.0' - dependencies: - svelte: 3.57.0 - dev: true - - /svelte-preprocess@4.10.7(svelte@3.57.0)(typescript@5.0.2): - resolution: {integrity: sha512-sNPBnqYD6FnmdBrUmBCaqS00RyCsCpj2BG58A1JBswNF7b0OKviwxqVrOL/CKyJrLSClrSeqQv5BXNg2RUbPOw==} - engines: {node: '>= 9.11.2'} - requiresBuild: true - peerDependencies: - '@babel/core': ^7.10.2 - coffeescript: ^2.5.1 - less: ^3.11.3 || ^4.0.0 - node-sass: '*' - postcss: ^7 || ^8 - postcss-load-config: ^2.1.0 || ^3.0.0 || ^4.0.0 - pug: ^3.0.0 - sass: ^1.26.8 - stylus: ^0.55.0 - sugarss: ^2.0.0 - svelte: ^3.23.0 - typescript: ^3.9.5 || ^4.0.0 - peerDependenciesMeta: - '@babel/core': - optional: true - coffeescript: - optional: true - less: - optional: true - node-sass: - optional: true - postcss: - optional: true - postcss-load-config: - optional: true - pug: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - typescript: - optional: true - dependencies: - '@types/pug': 2.0.6 - '@types/sass': 1.45.0 - detect-indent: 6.1.0 - magic-string: 0.25.9 - sorcery: 0.10.0 - strip-indent: 3.0.0 - svelte: 3.57.0 - typescript: 5.0.2 - dev: true - - /svelte@3.57.0: - resolution: {integrity: sha512-WMXEvF+RtAaclw0t3bPDTUe19pplMlfyKDsixbHQYgCWi9+O9VN0kXU1OppzrB9gPAvz4NALuoca2LfW2bOjTQ==} - engines: {node: '>= 8'} - dev: true - - /to-regex-range@5.0.1: - resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} - engines: {node: '>=8.0'} - dependencies: - is-number: 7.0.0 - dev: true - - /tslib@2.5.0: - resolution: {integrity: sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==} - dev: true - - /typescript@5.0.2: - resolution: {integrity: sha512-wVORMBGO/FAs/++blGNeAVdbNKtIh1rbBL2EyQ1+J9lClJ93KiiKe8PmFIVdXhHcyv44SL9oglmfeSsndo0jRw==} - engines: {node: '>=12.20'} - hasBin: true - dev: true - - /vite@4.3.2: - resolution: {integrity: sha512-9R53Mf+TBoXCYejcL+qFbZde+eZveQLDYd9XgULILLC1a5ZwPaqgmdVpL8/uvw2BM/1TzetWjglwm+3RO+xTyw==} - engines: {node: ^14.18.0 || >=16.0.0} - hasBin: true - peerDependencies: - '@types/node': '>= 14' - less: '*' - sass: '*' - stylus: '*' - sugarss: '*' - terser: ^5.4.0 - peerDependenciesMeta: - '@types/node': - optional: true - less: - optional: true - sass: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - dependencies: - esbuild: 0.17.18 - postcss: 8.4.23 - rollup: 3.21.6 - optionalDependencies: - fsevents: 2.3.2 - dev: true - - /vitefu@0.2.4(vite@4.3.2): - resolution: {integrity: sha512-fanAXjSaf9xXtOOeno8wZXIhgia+CZury481LsDaV++lSvcU2R9Ch2bPh3PYFyoHW+w9LqAeYRISVQjUIew14g==} - peerDependencies: - vite: ^3.0.0 || ^4.0.0 - peerDependenciesMeta: - vite: - optional: true - dependencies: - vite: 4.3.2 - dev: true - - /wrappy@1.0.2: - resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} - dev: true diff --git a/apps/publisher-app/public/favicon.png b/apps/publisher-app/public/favicon.png deleted file mode 100644 index 6a87e79e20f07ff43afaeda2674d8640456025d0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 13645 zcmcJ#by$|)vo8LCAfW=%(jWp-FWn`b0@B^_(%mJXlz@QJp@?)yBi%?hNSAaf-Dlxv zpZ(qY?7e@#KhAZ$E`;}8>zQZPteJae?zO^{UP?VeCqjoH=#h-H_$vrP0DmGtsQ1Ay zU8h`g2tulYt7^JvD#-Jh*xNE2nc5qhF?-lLfN=;C5cY5|GO;#up)fYHfZGXD?bkI? zQNT?FsWdnhSQH$@%q-#3UQT8zUN2QmysS-lO{s*1&;>mBfB;)F7b6M}TN^uPJ`X{v zzjFD&-*;cbs3`tUaj_Pp(o|5Q5VLnOqu^xbWM-ifLZ=XLGBxLWB`*1I4}(vFRF*C- z4ty|}ySqEHJ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yY};bq6y%Hly_uAZDn!3meS}>2Tg-<=tvL)4oD7`??S~K^nO0vBh8|ZNO8v zSrDW;Tx{es_@wgu81ZL>+KX z2@#rYxxKVPb|8Qd7n@)>S*?MOh@-Ua=4vH;*W~l)%eC(A`fSkknM@6VXpkO=pkG`? zIzYNlbE_vwwH&0SI`*Q#cBV=JoasCUI}3IQ@|3wJ>6UPfLP9h_5vm>}vnbfQ(oNuZJU-*AD51k!*kJisr)^Ai%?qyw9n5e8Ge{}Kix+!g zw?ntOH4;IxakQt3hbKZ9!q?)?!5hf(kTfG*`0``X`L*NYZi3zE%HpP!{g5ZOGoZrG z1jolR#;BN&T9E?U%~{Z{5Kv=afWETzSB$2xzn}KH%eVViI-1sNU^F}lTDR9h+y4wu6BYF&lf$ZzS^P`kLm+jj29i69+#ICa#yqa0pH>T~1*jEMb{ zC6k7YYA+A2EK-9uUr6+aw!VLpPj~eKGwpSW0Y`3r!Ho6Bt}oKb-bce=6C4_dniW^# z7+X{nE!sW%sBS;Lff-Hy_~1v{-fkMx(m^MvfTc6(!nY`cgWuoWl+QL@nLS^+K1CFc zuNMG^bGiYEgm0bd&^1G6y;Z?K5e$mVM~OPQGmA~$*dZ|;9@{JD)D_N>Wm T+c5+M3M3=(QoLByFz|l?R8mN7 diff --git a/apps/publisher-app/public/vite.svg b/apps/publisher-app/public/vite.svg deleted file mode 100644 index e7b8dfb1..00000000 --- a/apps/publisher-app/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/apps/publisher-app/src/App.svelte b/apps/publisher-app/src/App.svelte deleted file mode 100644 index 112980c3..00000000 --- a/apps/publisher-app/src/App.svelte +++ /dev/null @@ -1,48 +0,0 @@ - - -
- -

Vite + Svelte

- -
- -
- -

- Check out SvelteKit, the - official Svelte app framework powered by Vite! -

- -

Click on the Vite and Svelte logos to learn more

-
- - diff --git a/apps/publisher-app/src/app.css b/apps/publisher-app/src/app.css deleted file mode 100644 index b87aec72..00000000 --- a/apps/publisher-app/src/app.css +++ /dev/null @@ -1,80 +0,0 @@ -:root { - font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; - line-height: 1.5; - font-weight: 400; - - color-scheme: light dark; - color: rgba(255, 255, 255, 0.87); - background-color: #242424; - - font-synthesis: none; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - -webkit-text-size-adjust: 100%; -} - -a { - font-weight: 500; - color: #646cff; - text-decoration: inherit; -} -a:hover { - color: #535bf2; -} - -body { - margin: 0; - display: flex; - place-items: center; - min-width: 320px; - min-height: 100vh; -} - -h1 { - font-size: 3.2em; - line-height: 1.1; -} - -.card { - padding: 2em; -} - -#app { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; -} - -button { - border-radius: 8px; - border: 1px solid transparent; - padding: 0.6em 1.2em; - font-size: 1em; - font-weight: 500; - font-family: inherit; - background-color: #1a1a1a; - cursor: pointer; - transition: border-color 0.25s; -} -button:hover { - border-color: #646cff; -} -button:focus, -button:focus-visible { - outline: 4px auto -webkit-focus-ring-color; -} - -@media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - a:hover { - color: #747bff; - } - button { - background-color: #f9f9f9; - } -} diff --git a/apps/publisher-app/src/assets/svelte.svg b/apps/publisher-app/src/assets/svelte.svg deleted file mode 100644 index c5e08481..00000000 --- a/apps/publisher-app/src/assets/svelte.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/apps/publisher-app/src/lib/Counter.svelte b/apps/publisher-app/src/lib/Counter.svelte deleted file mode 100644 index 979b4dfc..00000000 --- a/apps/publisher-app/src/lib/Counter.svelte +++ /dev/null @@ -1,10 +0,0 @@ - - - diff --git a/apps/publisher-app/src/main.ts b/apps/publisher-app/src/main.ts deleted file mode 100644 index da8c1136..00000000 --- a/apps/publisher-app/src/main.ts +++ /dev/null @@ -1,8 +0,0 @@ -import "./app.css" -import App from "./App.svelte" - -const app = new App({ - target: document.getElementById("app"), -}) - -export default app diff --git a/apps/publisher-app/src/vite-env.d.ts b/apps/publisher-app/src/vite-env.d.ts deleted file mode 100644 index 4078e747..00000000 --- a/apps/publisher-app/src/vite-env.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -/// -/// diff --git a/apps/publisher-app/svelte.config.js b/apps/publisher-app/svelte.config.js deleted file mode 100644 index dc6efba2..00000000 --- a/apps/publisher-app/svelte.config.js +++ /dev/null @@ -1,7 +0,0 @@ -import { vitePreprocess } from "@sveltejs/vite-plugin-svelte" - -export default { - // Consult https://svelte.dev/docs#compile-time-svelte-preprocess - // for more information about preprocessors - preprocess: vitePreprocess(), -} diff --git a/apps/publisher-app/tsconfig.json b/apps/publisher-app/tsconfig.json deleted file mode 100644 index c4e1c5fe..00000000 --- a/apps/publisher-app/tsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "extends": "@tsconfig/svelte/tsconfig.json", - "compilerOptions": { - "target": "ESNext", - "useDefineForClassFields": true, - "module": "ESNext", - "resolveJsonModule": true, - /** - * Typecheck JS in `.svelte` and `.js` files by default. - * Disable checkJs if you'd like to use dynamic types in JS. - * Note that setting allowJs false does not prevent the use - * of JS in `.svelte` files. - */ - "allowJs": true, - "checkJs": true, - "isolatedModules": true - }, - "include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.js", "src/**/*.svelte"], - "references": [{ "path": "./tsconfig.node.json" }] -} diff --git a/apps/publisher-app/tsconfig.node.json b/apps/publisher-app/tsconfig.node.json deleted file mode 100644 index 494bfe08..00000000 --- a/apps/publisher-app/tsconfig.node.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "compilerOptions": { - "composite": true, - "skipLibCheck": true, - "module": "ESNext", - "moduleResolution": "bundler" - }, - "include": ["vite.config.ts"] -} diff --git a/apps/publisher-app/vite.config.ts b/apps/publisher-app/vite.config.ts deleted file mode 100644 index c8717db5..00000000 --- a/apps/publisher-app/vite.config.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { defineConfig } from "vite" -import { svelte } from "@sveltejs/vite-plugin-svelte" - -// https://vitejs.dev/config/ -export default defineConfig({ - plugins: [svelte()], -}) diff --git a/package.json b/package.json index 856ee8c7..21c14b1b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "siyuan-plugin-publisher", "version": "0.8.0", + "type": "module", "description": "Publishing articles from siyuan-note to platforms such as Yuque, Cnblogs, WordPress, Typecho, HUGO, HEXO, etc.", "private": true, "workspaces": [ @@ -15,8 +16,10 @@ "dockerBuild": "turbo run dockerBuild", "vercelBuild": "turbo run vercelBuild", "siyuanBuild": "turbo run siyuanBuild", - "syncVersion": "turbo run syncVersion", - "package": "echo 'package in root'", + "syncVersion": "ts-node-esm --experimental-specifier-resolution=node tools/syncVersion.ts", + "parseChangelog": "ts-node-esm --experimental-specifier-resolution=node tools/changelogParser.ts", + "prepareRelease": "pnpm syncVersion && pnpm parseChangelog", + "package": "ts-node-esm --experimental-specifier-resolution=node tools/packageApp.ts", "test": "turbo run test", "start": "turbo run start", "lint": "turbo run lint", @@ -30,10 +33,11 @@ } }, "devDependencies": { - "turbo": "^1.9.4", "@terwer/changelog-parser": "^1.1.0", "@terwer/commit-config-custom": "latest", - "@terwer/eslint-config-custom": "latest" + "@terwer/eslint-config-custom": "latest", + "execa": "^7.1.1", + "turbo": "^1.9.4" }, "engines": { "node": ">=16.0.0" diff --git a/plugins/publisher-main/.env.development.local.example b/plugins/publisher-main/.env.development.local.example index efbacfb6..0208b886 100644 --- a/plugins/publisher-main/.env.development.local.example +++ b/plugins/publisher-main/.env.development.local.example @@ -1,4 +1,4 @@ -# 是否开启info日志,true | false,建议生产环境设置为false -VITE_LOG_INFO_ENABLED=true +# 日志级别 +VITE_LOG_LEVEL=debug # 是否开始调试模式 VITE_DEBUG_MODE=true \ No newline at end of file diff --git a/plugins/publisher-main/.env.production.local.example b/plugins/publisher-main/.env.production.local.example index 592bcb58..1fd74429 100644 --- a/plugins/publisher-main/.env.production.local.example +++ b/plugins/publisher-main/.env.production.local.example @@ -1,4 +1,4 @@ -# 是否开启info日志,true | false,建议生产环境设置为false -VITE_LOG_INFO_ENABLED=true +# 日志级别 +VITE_LOG_LEVEL=info # 是否开始调试模式 VITE_DEBUG_MODE=false \ No newline at end of file diff --git a/plugins/publisher-main/package.json b/plugins/publisher-main/package.json index 00ecf32c..f3a9fa7d 100644 --- a/plugins/publisher-main/package.json +++ b/plugins/publisher-main/package.json @@ -1,15 +1,14 @@ { "name": "publisher-main", "private": true, - "version": "1.1.3", + "version": "0.8.0", "type": "module", "scripts": { "serve": "vite", "dev": "vite build --watch", "build": "vite build", "start": "vite preview", - "test": "vitest --watch", - "syncVersion": "echo 'syncVersion in main'" + "test": "vitest --watch" }, "devDependencies": { "@sveltejs/vite-plugin-svelte": "^2.0.3", @@ -23,4 +22,4 @@ "zhi-device": "^0.5.0", "zhi-log": "^1.13.0" } -} +} \ No newline at end of file diff --git a/plugins/publisher-main/public/plugin.json b/plugins/publisher-main/public/plugin.json index fc435daa..c165eaa1 100644 --- a/plugins/publisher-main/public/plugin.json +++ b/plugins/publisher-main/public/plugin.json @@ -2,7 +2,7 @@ "name": "publish-tool", "author": "terwer", "url": "https://github.com/terwer/siyuan-plugin-publisher", - "version": "1.1.3", + "version": "0.8.0", "displayName": { "default": "Publish Tool", "zh_CN": "发布工具" diff --git a/plugins/publisher-main/src/index.ts b/plugins/publisher-main/src/index.ts index 70c909d7..0f8bb2c7 100644 --- a/plugins/publisher-main/src/index.ts +++ b/plugins/publisher-main/src/index.ts @@ -2,17 +2,15 @@ import { Dialog, isMobile, Menu, Plugin } from "siyuan" import App from "./App.svelte" import { DeviceDetection, DeviceTypeEnum } from "zhi-device" import { Env } from "zhi-env" -import { CustomLogFactory, DefaultLogger, LogLevelEnum } from "zhi-log" +import { CustomLogFactory, DefaultLogger } from "zhi-log" const STORAGE_NAME = "menu-config" const SETTING_CONTAINER = "publish-tool-setting" // https://github.com/sveltejs/svelte-preprocess/issues/91#issuecomment-548527600 export default class PublishTool extends Plugin { - private env: Env = new Env(import.meta.env) - private logger: DefaultLogger = new CustomLogFactory(LogLevelEnum.LOG_LEVEL_INFO, "publish-tool", this.env).getLogger( - "main" - ) + private env: Env = new Env(process.env) + private logger: DefaultLogger = new CustomLogFactory(undefined, "publish-tool", this.env).getLogger("main") // lifecycle public onload() { diff --git a/plugins/publisher-main/vite.config.ts b/plugins/publisher-main/vite.config.ts index 3dbd2326..46130c21 100644 --- a/plugins/publisher-main/vite.config.ts +++ b/plugins/publisher-main/vite.config.ts @@ -7,11 +7,12 @@ import { viteStaticCopy } from "vite-plugin-static-copy" import livereload from "rollup-plugin-livereload" import { svelte } from "@sveltejs/vite-plugin-svelte" -const mode = process.env.NODE_ENV const args = minimist(process.argv.slice(2)) const isWatch = args.watch || args.w const devDistDir = "/Users/terwer/Documents/mydocs/SiYuanWorkspace/public/data/plugins/publish-tool" const distDir = isWatch ? devDistDir : "./dist" +// const mode = process.env.NODE_ENV +const mode = isWatch ? "development" : "production" const defineEnv = () => { const env = loadEnv(mode, process.cwd()) @@ -70,6 +71,7 @@ export default defineConfig({ // 输出路径 outDir: distDir, + emptyOutDir: false, // 生成静态资源的存放路径 // assetsDir: "./assets", @@ -84,14 +86,7 @@ export default defineConfig({ // 或是用来指定是应用哪种混淆器 // boolean | 'terser' | 'esbuild' // 不压缩,用于调试 - minify: isWatch ? false : "terser", - terserOptions: { - compress: { - // 生产环境时移除console - drop_console: true, - drop_debugger: true, - }, - }, + minify: isWatch, lib: { // Could also be a dictionary or array of multiple entry points @@ -106,7 +101,7 @@ export default defineConfig({ // make sure to externalize deps that shouldn't be bundled // into your library - external: ["siyuan", "/plugins/publish-tool/lib/bridge/index.js"], + external: ["siyuan", "process", "/plugins/publish-tool/lib/bridge/index.js"], output: { chunkFileNames: "static/js/[name]-[hash].js", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7be8265f..4c6ef96a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,6 +13,9 @@ importers: '@terwer/eslint-config-custom': specifier: latest version: registry.npmjs.org/@terwer/eslint-config-custom@1.2.0(@nuxt/eslint-config@0.1.1)(@typescript-eslint/eslint-plugin@5.59.5)(astro-eslint-parser@0.13.3)(eslint-config-prettier@8.8.0)(eslint-config-turbo@1.9.4)(eslint-plugin-prettier@4.2.1)(eslint-plugin-svelte@2.28.0)(eslint-plugin-vue@9.12.0)(eslint@8.40.0)(prettier-plugin-svelte@2.10.0)(prettier@2.8.8)(typescript@5.0.4) + execa: + specifier: ^7.1.1 + version: registry.npmjs.org/execa@7.1.1 turbo: specifier: ^1.9.4 version: registry.npmjs.org/turbo@1.9.4 diff --git a/apps/publisher-app/.prettierrc.cjs b/tools/packageApp.ts similarity index 90% rename from apps/publisher-app/.prettierrc.cjs rename to tools/packageApp.ts index e75550a8..2b42f481 100644 --- a/apps/publisher-app/.prettierrc.cjs +++ b/tools/packageApp.ts @@ -23,9 +23,11 @@ * questions. */ -module.exports = { - semi: false, - singleQuote: false, - printWidth: 120, - plugins: ["prettier-plugin-svelte"] +class PackageApp { + } + + +;(async () => { + console.log("app packaged.") +})() \ No newline at end of file diff --git a/tools/syncVersion.ts b/tools/syncVersion.ts index a2f7e04f..92c23355 100644 --- a/tools/syncVersion.ts +++ b/tools/syncVersion.ts @@ -2,6 +2,13 @@ import fs from "fs" import minimist from "minimist" class SyncVersion { + /** + * 同步根目录的版本号到指定指定文件 + * + * @param filename - 问号路径,相对于根目录 + * @param versionField - 版本字段名 + * @param newVersion - 可选,传递之后将使用传递的版本号,不使用默认的 package.json 版本号 + */ async parseJSON(filename: string, versionField: string, newVersion: string | undefined): Promise { try { // Read JSON from file @@ -24,7 +31,7 @@ class SyncVersion { // Write modified JSON back to file await fs.promises.writeFile(filename, JSON.stringify(data, null, 2)) - console.log(`修改完毕,新版本为:${newVersion}`) + console.log(`${filename} 修改完毕,新版本为:${newVersion}`) } catch (err) { console.error(`Error parsing JSON file: ${err}`) } @@ -36,5 +43,6 @@ class SyncVersion { const newVersion = args.version || args.v || undefined const syncVersion = new SyncVersion() - await syncVersion.parseJSON("plugin.json", "version", newVersion) + await syncVersion.parseJSON("plugins/publisher-main/package.json", "version", newVersion) + await syncVersion.parseJSON("plugins/publisher-main/public/plugin.json", "version", newVersion) })()