From d778560dbd1b6274e020270018ba1f1e18f80c49 Mon Sep 17 00:00:00 2001 From: Soybean Date: Thu, 14 Dec 2023 21:54:10 +0800 Subject: [PATCH] chore(projects): update @sa/scripts --- package.json | 10 +- packages/scripts/bin.cjs | 6 - packages/scripts/bin.ts | 3 + packages/scripts/package.json | 4 +- packages/scripts/src/commands/index.ts | 2 - packages/scripts/src/commands/lint-staged.ts | 5 - packages/scripts/src/commands/prettier.ts | 7 - packages/scripts/src/index.ts | 16 +- pnpm-lock.yaml | 413 ++++++++++++++++++- 9 files changed, 419 insertions(+), 47 deletions(-) delete mode 100755 packages/scripts/bin.cjs create mode 100755 packages/scripts/bin.ts delete mode 100644 packages/scripts/src/commands/lint-staged.ts delete mode 100644 packages/scripts/src/commands/prettier.ts diff --git a/package.json b/package.json index ee3bbc855..357eb1d16 100644 --- a/package.json +++ b/package.json @@ -15,10 +15,10 @@ "cleanup": "sa cleanup", "commit": "sa git-commit", "dev": "vite", - "format": "sa prettier-write", "lint": "eslint . --fix", "prepare": "simple-git-hooks", "preview": "vite preview", + "release": "soy release", "typecheck": "vue-tsc --noEmit --skipLibCheck", "update-pkg": "sa update-pkg" }, @@ -46,6 +46,7 @@ "@iconify/json": "2.2.157", "@sa/scripts": "workspace:*", "@sa/uno-preset": "workspace:*", + "@soybeanjs/cli": "1.0.0-beta.7", "@soybeanjs/eslint-config": "1.1.3", "@types/lodash-es": "4.17.12", "@types/node": "20.10.4", @@ -60,9 +61,11 @@ "cross-env": "7.0.3", "eslint": "8.55.0", "eslint-plugin-vue": "9.19.2", + "lint-staged": "15.2.0", "npm-run-all": "4.1.5", "sass": "1.69.5", "simple-git-hooks": "2.9.0", + "tsx": "4.6.2", "typescript": "5.3.3", "unplugin-icons": "0.18.1", "unplugin-vue-components": "0.26.0", @@ -75,6 +78,9 @@ }, "simple-git-hooks": { "commit-msg": "pnpm sa git-commit-verify", - "pre-commit": "pnpm typecheck" + "pre-commit": "pnpm typecheck && pnpm lint-staged" + }, + "lint-staged": { + "*": "eslint --fix" } } diff --git a/packages/scripts/bin.cjs b/packages/scripts/bin.cjs deleted file mode 100755 index fabbd7dfd..000000000 --- a/packages/scripts/bin.cjs +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env node - -const path = require('node:path'); -const jiti = require('jiti')(__filename); - -jiti(path.resolve(__dirname, './src/index.ts')); diff --git a/packages/scripts/bin.ts b/packages/scripts/bin.ts new file mode 100755 index 000000000..1a1817b3f --- /dev/null +++ b/packages/scripts/bin.ts @@ -0,0 +1,3 @@ +#!/usr/bin/env tsx + +import './src/index.ts'; diff --git a/packages/scripts/package.json b/packages/scripts/package.json index 334ed039f..9d60eb7e5 100644 --- a/packages/scripts/package.json +++ b/packages/scripts/package.json @@ -2,7 +2,7 @@ "name": "@sa/scripts", "version": "1.0.0", "bin": { - "sa": "./bin.cjs" + "sa": "./bin.ts" }, "exports": { ".": "./src/index.ts" @@ -18,8 +18,6 @@ "consola": "3.2.3", "enquirer": "2.4.1", "execa": "8.0.1", - "jiti": "1.21.0", - "lint-staged": "15.2.0", "npm-check-updates": "16.14.12", "rimraf": "5.0.5" } diff --git a/packages/scripts/src/commands/index.ts b/packages/scripts/src/commands/index.ts index 99a1bbaab..908483245 100644 --- a/packages/scripts/src/commands/index.ts +++ b/packages/scripts/src/commands/index.ts @@ -1,5 +1,3 @@ export * from './git-commit'; export * from './cleanup'; export * from './update-pkg'; -export * from './prettier'; -export * from './lint-staged'; diff --git a/packages/scripts/src/commands/lint-staged.ts b/packages/scripts/src/commands/lint-staged.ts deleted file mode 100644 index aa9744d80..000000000 --- a/packages/scripts/src/commands/lint-staged.ts +++ /dev/null @@ -1,5 +0,0 @@ -export async function execLintStaged(config: Record) { - const lintStaged = (await import('lint-staged')).default; - - return lintStaged({ config, allowEmpty: true }); -} diff --git a/packages/scripts/src/commands/prettier.ts b/packages/scripts/src/commands/prettier.ts deleted file mode 100644 index 314af4ad9..000000000 --- a/packages/scripts/src/commands/prettier.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { execCommand } from '../shared'; - -export async function prettierWrite(writeGlob: string[]) { - await execCommand('npx', ['prettier', '--write', '.', ...writeGlob], { - stdio: 'inherit' - }); -} diff --git a/packages/scripts/src/index.ts b/packages/scripts/src/index.ts index 05b00b561..e72df4da0 100755 --- a/packages/scripts/src/index.ts +++ b/packages/scripts/src/index.ts @@ -1,10 +1,10 @@ import cac from 'cac'; import { blue, lightGreen } from 'kolorist'; import { version } from '../package.json'; -import { cleanup, execLintStaged, gitCommit, gitCommitVerify, prettierWrite, updatePkg } from './commands'; +import { cleanup, gitCommit, gitCommitVerify, updatePkg } from './commands'; import { loadCliOptions } from './config'; -type Command = 'cleanup' | 'update-pkg' | 'git-commit' | 'git-commit-verify' | 'prettier-write' | 'lint-staged'; +type Command = 'cleanup' | 'update-pkg' | 'git-commit' | 'git-commit-verify'; type CommandAction = (args?: A) => Promise | void; @@ -45,18 +45,6 @@ export async function setupCli() { action: async () => { await gitCommitVerify(); } - }, - 'prettier-write': { - desc: 'run prettier --write', - action: async () => { - await prettierWrite(cliOptions.prettierWriteGlob); - } - }, - 'lint-staged': { - desc: 'run lint-staged', - action: async () => { - await execLintStaged(cliOptions.lintStagedConfig); - } } }; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f0df66ae8..6c092c5d8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -72,6 +72,9 @@ importers: '@sa/uno-preset': specifier: workspace:* version: link:packages/uno-preset + '@soybeanjs/cli': + specifier: 1.0.0-beta.7 + version: 1.0.0-beta.7(eslint-plugin-vue@9.19.2)(eslint@8.55.0)(typescript@5.3.3)(vue-eslint-parser@9.3.2) '@soybeanjs/eslint-config': specifier: 1.1.3 version: 1.1.3(eslint-plugin-vue@9.19.2)(eslint@8.55.0)(typescript@5.3.3)(vue-eslint-parser@9.3.2) @@ -114,6 +117,9 @@ importers: eslint-plugin-vue: specifier: 9.19.2 version: 9.19.2(eslint@8.55.0) + lint-staged: + specifier: 15.2.0 + version: 15.2.0 npm-run-all: specifier: 4.1.5 version: 4.1.5 @@ -123,6 +129,9 @@ importers: simple-git-hooks: specifier: 2.9.0 version: 2.9.0 + tsx: + specifier: 4.6.2 + version: 4.6.2 typescript: specifier: 5.3.3 version: 5.3.3 @@ -207,12 +216,6 @@ importers: execa: specifier: 8.0.1 version: 8.0.1 - jiti: - specifier: 1.21.0 - version: 1.21.0 - lint-staged: - specifier: 15.2.0 - version: 15.2.0 npm-check-updates: specifier: 16.14.12 version: 16.14.12 @@ -846,6 +849,15 @@ packages: resolution: {integrity: sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==} dev: false + /@esbuild/android-arm64@0.18.20: + resolution: {integrity: sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + /@esbuild/android-arm64@0.19.9: resolution: {integrity: sha512-q4cR+6ZD0938R19MyEW3jEsMzbb/1rulLXiNAJQADD/XYp7pT+rOS5JGxvpRW8dFDEfjW4wLgC/3FXIw4zYglQ==} engines: {node: '>=12'} @@ -855,6 +867,15 @@ packages: dev: true optional: true + /@esbuild/android-arm@0.18.20: + resolution: {integrity: sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + /@esbuild/android-arm@0.19.9: resolution: {integrity: sha512-jkYjjq7SdsWuNI6b5quymW0oC83NN5FdRPuCbs9HZ02mfVdAP8B8eeqLSYU3gb6OJEaY5CQabtTFbqBf26H3GA==} engines: {node: '>=12'} @@ -864,6 +885,15 @@ packages: dev: true optional: true + /@esbuild/android-x64@0.18.20: + resolution: {integrity: sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + /@esbuild/android-x64@0.19.9: resolution: {integrity: sha512-KOqoPntWAH6ZxDwx1D6mRntIgZh9KodzgNOy5Ebt9ghzffOk9X2c1sPwtM9P+0eXbefnDhqYfkh5PLP5ULtWFA==} engines: {node: '>=12'} @@ -873,6 +903,15 @@ packages: dev: true optional: true + /@esbuild/darwin-arm64@0.18.20: + resolution: {integrity: sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@esbuild/darwin-arm64@0.19.9: resolution: {integrity: sha512-KBJ9S0AFyLVx2E5D8W0vExqRW01WqRtczUZ8NRu+Pi+87opZn5tL4Y0xT0mA4FtHctd0ZgwNoN639fUUGlNIWw==} engines: {node: '>=12'} @@ -882,6 +921,15 @@ packages: dev: true optional: true + /@esbuild/darwin-x64@0.18.20: + resolution: {integrity: sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@esbuild/darwin-x64@0.19.9: resolution: {integrity: sha512-vE0VotmNTQaTdX0Q9dOHmMTao6ObjyPm58CHZr1UK7qpNleQyxlFlNCaHsHx6Uqv86VgPmR4o2wdNq3dP1qyDQ==} engines: {node: '>=12'} @@ -891,6 +939,15 @@ packages: dev: true optional: true + /@esbuild/freebsd-arm64@0.18.20: + resolution: {integrity: sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/freebsd-arm64@0.19.9: resolution: {integrity: sha512-uFQyd/o1IjiEk3rUHSwUKkqZwqdvuD8GevWF065eqgYfexcVkxh+IJgwTaGZVu59XczZGcN/YMh9uF1fWD8j1g==} engines: {node: '>=12'} @@ -900,6 +957,15 @@ packages: dev: true optional: true + /@esbuild/freebsd-x64@0.18.20: + resolution: {integrity: sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/freebsd-x64@0.19.9: resolution: {integrity: sha512-WMLgWAtkdTbTu1AWacY7uoj/YtHthgqrqhf1OaEWnZb7PQgpt8eaA/F3LkV0E6K/Lc0cUr/uaVP/49iE4M4asA==} engines: {node: '>=12'} @@ -909,6 +975,15 @@ packages: dev: true optional: true + /@esbuild/linux-arm64@0.18.20: + resolution: {integrity: sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-arm64@0.19.9: resolution: {integrity: sha512-PiPblfe1BjK7WDAKR1Cr9O7VVPqVNpwFcPWgfn4xu0eMemzRp442hXyzF/fSwgrufI66FpHOEJk0yYdPInsmyQ==} engines: {node: '>=12'} @@ -918,6 +993,15 @@ packages: dev: true optional: true + /@esbuild/linux-arm@0.18.20: + resolution: {integrity: sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-arm@0.19.9: resolution: {integrity: sha512-C/ChPohUYoyUaqn1h17m/6yt6OB14hbXvT8EgM1ZWaiiTYz7nWZR0SYmMnB5BzQA4GXl3BgBO1l8MYqL/He3qw==} engines: {node: '>=12'} @@ -927,6 +1011,15 @@ packages: dev: true optional: true + /@esbuild/linux-ia32@0.18.20: + resolution: {integrity: sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-ia32@0.19.9: resolution: {integrity: sha512-f37i/0zE0MjDxijkPSQw1CO/7C27Eojqb+r3BbHVxMLkj8GCa78TrBZzvPyA/FNLUMzP3eyHCVkAopkKVja+6Q==} engines: {node: '>=12'} @@ -936,6 +1029,15 @@ packages: dev: true optional: true + /@esbuild/linux-loong64@0.18.20: + resolution: {integrity: sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-loong64@0.19.9: resolution: {integrity: sha512-t6mN147pUIf3t6wUt3FeumoOTPfmv9Cc6DQlsVBpB7eCpLOqQDyWBP1ymXn1lDw4fNUSb/gBcKAmvTP49oIkaA==} engines: {node: '>=12'} @@ -945,6 +1047,15 @@ packages: dev: true optional: true + /@esbuild/linux-mips64el@0.18.20: + resolution: {integrity: sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-mips64el@0.19.9: resolution: {integrity: sha512-jg9fujJTNTQBuDXdmAg1eeJUL4Jds7BklOTkkH80ZgQIoCTdQrDaHYgbFZyeTq8zbY+axgptncko3v9p5hLZtw==} engines: {node: '>=12'} @@ -954,6 +1065,15 @@ packages: dev: true optional: true + /@esbuild/linux-ppc64@0.18.20: + resolution: {integrity: sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-ppc64@0.19.9: resolution: {integrity: sha512-tkV0xUX0pUUgY4ha7z5BbDS85uI7ABw3V1d0RNTii7E9lbmV8Z37Pup2tsLV46SQWzjOeyDi1Q7Wx2+QM8WaCQ==} engines: {node: '>=12'} @@ -963,6 +1083,15 @@ packages: dev: true optional: true + /@esbuild/linux-riscv64@0.18.20: + resolution: {integrity: sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-riscv64@0.19.9: resolution: {integrity: sha512-DfLp8dj91cufgPZDXr9p3FoR++m3ZJ6uIXsXrIvJdOjXVREtXuQCjfMfvmc3LScAVmLjcfloyVtpn43D56JFHg==} engines: {node: '>=12'} @@ -972,6 +1101,15 @@ packages: dev: true optional: true + /@esbuild/linux-s390x@0.18.20: + resolution: {integrity: sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-s390x@0.19.9: resolution: {integrity: sha512-zHbglfEdC88KMgCWpOl/zc6dDYJvWGLiUtmPRsr1OgCViu3z5GncvNVdf+6/56O2Ca8jUU+t1BW261V6kp8qdw==} engines: {node: '>=12'} @@ -981,6 +1119,15 @@ packages: dev: true optional: true + /@esbuild/linux-x64@0.18.20: + resolution: {integrity: sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-x64@0.19.9: resolution: {integrity: sha512-JUjpystGFFmNrEHQnIVG8hKwvA2DN5o7RqiO1CVX8EN/F/gkCjkUMgVn6hzScpwnJtl2mPR6I9XV1oW8k9O+0A==} engines: {node: '>=12'} @@ -990,6 +1137,15 @@ packages: dev: true optional: true + /@esbuild/netbsd-x64@0.18.20: + resolution: {integrity: sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/netbsd-x64@0.19.9: resolution: {integrity: sha512-GThgZPAwOBOsheA2RUlW5UeroRfESwMq/guy8uEe3wJlAOjpOXuSevLRd70NZ37ZrpO6RHGHgEHvPg1h3S1Jug==} engines: {node: '>=12'} @@ -999,6 +1155,15 @@ packages: dev: true optional: true + /@esbuild/openbsd-x64@0.18.20: + resolution: {integrity: sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/openbsd-x64@0.19.9: resolution: {integrity: sha512-Ki6PlzppaFVbLnD8PtlVQfsYw4S9n3eQl87cqgeIw+O3sRr9IghpfSKY62mggdt1yCSZ8QWvTZ9jo9fjDSg9uw==} engines: {node: '>=12'} @@ -1008,6 +1173,15 @@ packages: dev: true optional: true + /@esbuild/sunos-x64@0.18.20: + resolution: {integrity: sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + /@esbuild/sunos-x64@0.19.9: resolution: {integrity: sha512-MLHj7k9hWh4y1ddkBpvRj2b9NCBhfgBt3VpWbHQnXRedVun/hC7sIyTGDGTfsGuXo4ebik2+3ShjcPbhtFwWDw==} engines: {node: '>=12'} @@ -1017,6 +1191,15 @@ packages: dev: true optional: true + /@esbuild/win32-arm64@0.18.20: + resolution: {integrity: sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@esbuild/win32-arm64@0.19.9: resolution: {integrity: sha512-GQoa6OrQ8G08guMFgeXPH7yE/8Dt0IfOGWJSfSH4uafwdC7rWwrfE6P9N8AtPGIjUzdo2+7bN8Xo3qC578olhg==} engines: {node: '>=12'} @@ -1026,6 +1209,15 @@ packages: dev: true optional: true + /@esbuild/win32-ia32@0.18.20: + resolution: {integrity: sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@esbuild/win32-ia32@0.19.9: resolution: {integrity: sha512-UOozV7Ntykvr5tSOlGCrqU3NBr3d8JqPes0QWN2WOXfvkWVGRajC+Ym0/Wj88fUgecUCLDdJPDF0Nna2UK3Qtg==} engines: {node: '>=12'} @@ -1035,6 +1227,15 @@ packages: dev: true optional: true + /@esbuild/win32-x64@0.18.20: + resolution: {integrity: sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@esbuild/win32-x64@0.19.9: resolution: {integrity: sha512-oxoQgglOP7RH6iasDrhY+R/3cHrfwIDvRlT4CGChflq6twk8iENeVvMJjmvBb94Ik1Z+93iGO27err7w6l54GQ==} engines: {node: '>=12'} @@ -1199,6 +1400,16 @@ packages: '@jridgewell/sourcemap-codec': 1.4.15 dev: true + /@jsdevtools/ez-spawn@3.0.4: + resolution: {integrity: sha512-f5DRIOZf7wxogefH03RjMPMdBF7ADTWUMoOs9kaJo06EfwF+aFhMZMDZxHg/Xe12hptN9xoZjGso2fdjapBRIA==} + engines: {node: '>=10'} + dependencies: + call-me-maybe: 1.0.2 + cross-spawn: 7.0.3 + string-argv: 0.3.2 + type-detect: 4.0.8 + dev: true + /@juggle/resize-observer@3.4.0: resolution: {integrity: sha512-dfLbk+PwWvFzSxwk3n5ySL0hfBog779o8h68wK/7/APo/7cgyWp5jcXockbxdk5kFRkbeXWm4Fbi9FrdN381sA==} dev: false @@ -1511,6 +1722,76 @@ packages: engines: {node: '>=14.16'} dev: true + /@soybeanjs/changelog@0.3.8(eslint-plugin-vue@9.19.2)(eslint@8.55.0)(typescript@5.3.3)(vue-eslint-parser@9.3.2): + resolution: {integrity: sha512-1zGtt7rtqIDWRgmrv9ygiTPlptMFLc2ihyj2eQbZpDvZUtp2Ur+gi8l0YCoW/ZF3GglRQUwkIEDfpp6lq5wq/g==} + dependencies: + '@soybeanjs/eslint-config': 1.1.3(eslint-plugin-vue@9.19.2)(eslint@8.55.0)(typescript@5.3.3)(vue-eslint-parser@9.3.2) + cli-progress: 3.12.0 + convert-gitmoji: 0.1.3 + dayjs: 1.11.10 + execa: 8.0.1 + ofetch: 1.3.3 + transitivePeerDependencies: + - '@toml-tools/parser' + - '@types/eslint' + - eslint + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - eslint-plugin-astro + - eslint-plugin-react + - eslint-plugin-react-hooks + - eslint-plugin-react-native + - eslint-plugin-react-refresh + - eslint-plugin-solid + - eslint-plugin-svelte + - eslint-plugin-vue + - prettier-plugin-astro + - prettier-plugin-svelte + - prettier-plugin-toml + - supports-color + - typescript + - vue-eslint-parser + dev: true + + /@soybeanjs/cli@1.0.0-beta.7(eslint-plugin-vue@9.19.2)(eslint@8.55.0)(typescript@5.3.3)(vue-eslint-parser@9.3.2): + resolution: {integrity: sha512-v0z68MsaY82+aveMVOMo7vvonFGKuv0ms9Pl6/kQkW1x2gJmtHbw6QClqE1M/DyOGBT65mI3ijzQHyXpFqQYIg==} + hasBin: true + dependencies: + '@soybeanjs/changelog': 0.3.8(eslint-plugin-vue@9.19.2)(eslint@8.55.0)(typescript@5.3.3)(vue-eslint-parser@9.3.2) + bumpp: 9.2.1 + c12: 1.5.1 + cac: 6.7.14 + consola: 3.2.3 + crypto-js: 4.2.0 + enquirer: 2.4.1 + execa: 8.0.1 + kolorist: 1.8.0 + minimist: 1.2.8 + npm-check-updates: 16.14.11 + rimraf: 5.0.5 + transitivePeerDependencies: + - '@toml-tools/parser' + - '@types/eslint' + - bluebird + - eslint + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - eslint-plugin-astro + - eslint-plugin-react + - eslint-plugin-react-hooks + - eslint-plugin-react-native + - eslint-plugin-react-refresh + - eslint-plugin-solid + - eslint-plugin-svelte + - eslint-plugin-vue + - prettier-plugin-astro + - prettier-plugin-svelte + - prettier-plugin-toml + - supports-color + - typescript + - vue-eslint-parser + dev: true + /@soybeanjs/eslint-config@1.1.3(eslint-plugin-vue@9.19.2)(eslint@8.55.0)(typescript@5.3.3)(vue-eslint-parser@9.3.2): resolution: {integrity: sha512-QLPULErI9otbtygkfG/wjOeG/Uk5YdES1TJFrueow6YJKba9IkAmwc6BGAa6L9r5RxZLZ70AnflV8bGVXk+fMg==} peerDependencies: @@ -2634,6 +2915,21 @@ packages: semver: 7.5.4 dev: true + /bumpp@9.2.1: + resolution: {integrity: sha512-mq6/e8+bnIsOMy1VceTLC49WucMIZqd2nYn0e7Et5LhTO3yYQ8OWJsTl/B+uJDs5eywZmJ4Yt1WTEd2HCI35pw==} + engines: {node: '>=10'} + hasBin: true + dependencies: + '@jsdevtools/ez-spawn': 3.0.4 + c12: 1.5.1 + cac: 6.7.14 + fast-glob: 3.3.2 + prompts: 2.4.2 + semver: 7.5.4 + transitivePeerDependencies: + - supports-color + dev: true + /bundle-name@3.0.0: resolution: {integrity: sha512-PKA4BeSvBpQKQ8iPOGCSiell+N8P+Tf1DlwqmYhpe2gAhKPHn8EYOxVT+ShuGmhg8lN8XiSlS80yiExKXrURlw==} engines: {node: '>=12'} @@ -2749,6 +3045,10 @@ packages: set-function-length: 1.1.1 dev: true + /call-me-maybe@1.0.2: + resolution: {integrity: sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==} + dev: true + /callsites@3.1.0: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} @@ -2886,6 +3186,13 @@ packages: restore-cursor: 4.0.0 dev: true + /cli-progress@3.12.0: + resolution: {integrity: sha512-tRkV3HJ1ASwm19THiiLIXLO7Im7wlTuKnvkYaTkyoAPefqjNg7W7DHKUlGRxy9vxDvbyCYQkQozvptuMkGCg8A==} + engines: {node: '>=4'} + dependencies: + string-width: 4.2.3 + dev: true + /cli-table3@0.6.3: resolution: {integrity: sha512-w5Jac5SykAeZJKntOxJCrm63Eg5/4dhMWIcuTbo9rpE+brgaSZo0RuNJZeOyMgsUdhDeojvgyQLmjI+K50ZGyg==} engines: {node: 10.* || >= 12.*} @@ -3044,6 +3351,10 @@ packages: '@babel/types': 7.23.6 dev: true + /convert-gitmoji@0.1.3: + resolution: {integrity: sha512-t5yxPyI8h8KPvRwrS/sRrfIpT2gJbmBAY0TFokyUBy3PM44RuFRpZwHdACz+GTSPLRLo3s4qsscOMLjHiXBwzw==} + dev: true + /convert-source-map@2.0.0: resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} dev: true @@ -3096,7 +3407,6 @@ packages: /crypto-js@4.2.0: resolution: {integrity: sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==} - dev: false /crypto-random-string@4.0.0: resolution: {integrity: sha512-x8dy3RnvYdlUcPOjkEHqozhiwzKNSq7GcPuXFbnyMOCHxX8V3OgIg/pYuabl2sbUPfIJaeAQB7PMOK8DFIdoRA==} @@ -3180,7 +3490,6 @@ packages: /dayjs@1.11.10: resolution: {integrity: sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ==} - dev: false /de-indent@1.0.2: resolution: {integrity: sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==} @@ -3574,6 +3883,36 @@ packages: is-symbol: 1.0.4 dev: true + /esbuild@0.18.20: + resolution: {integrity: sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@esbuild/android-arm': 0.18.20 + '@esbuild/android-arm64': 0.18.20 + '@esbuild/android-x64': 0.18.20 + '@esbuild/darwin-arm64': 0.18.20 + '@esbuild/darwin-x64': 0.18.20 + '@esbuild/freebsd-arm64': 0.18.20 + '@esbuild/freebsd-x64': 0.18.20 + '@esbuild/linux-arm': 0.18.20 + '@esbuild/linux-arm64': 0.18.20 + '@esbuild/linux-ia32': 0.18.20 + '@esbuild/linux-loong64': 0.18.20 + '@esbuild/linux-mips64el': 0.18.20 + '@esbuild/linux-ppc64': 0.18.20 + '@esbuild/linux-riscv64': 0.18.20 + '@esbuild/linux-s390x': 0.18.20 + '@esbuild/linux-x64': 0.18.20 + '@esbuild/netbsd-x64': 0.18.20 + '@esbuild/openbsd-x64': 0.18.20 + '@esbuild/sunos-x64': 0.18.20 + '@esbuild/win32-arm64': 0.18.20 + '@esbuild/win32-ia32': 0.18.20 + '@esbuild/win32-x64': 0.18.20 + dev: true + /esbuild@0.19.9: resolution: {integrity: sha512-U9CHtKSy+EpPsEBa+/A2gMs/h3ylBC0H0KSqIg7tpztHerLi6nrrcoUJAkNCEPumx8yJ+Byic4BVwHgRbN0TBg==} engines: {node: '>=12'} @@ -6233,6 +6572,48 @@ packages: npm-normalize-package-bin: 3.0.1 dev: true + /npm-check-updates@16.14.11: + resolution: {integrity: sha512-0MMWGbGci22Pu77bR9jRsy5qgxdQSJVqNtSyyFeubDPtbcU36z4gjEDITu26PMabFWPNkAoVfKF31M3uKUvzFg==} + engines: {node: '>=14.14'} + hasBin: true + dependencies: + chalk: 5.3.0 + cli-table3: 0.6.3 + commander: 10.0.1 + fast-memoize: 2.5.2 + find-up: 5.0.0 + fp-and-or: 0.1.4 + get-stdin: 8.0.0 + globby: 11.1.0 + hosted-git-info: 5.2.1 + ini: 4.1.1 + js-yaml: 4.1.0 + json-parse-helpfulerror: 1.0.3 + jsonlines: 0.1.1 + lodash: 4.17.21 + make-fetch-happen: 11.1.1 + minimatch: 9.0.3 + p-map: 4.0.0 + pacote: 15.2.0 + parse-github-url: 1.0.2 + progress: 2.0.3 + prompts-ncu: 3.0.0 + rc-config-loader: 4.1.3 + remote-git-tags: 3.0.0 + rimraf: 5.0.5 + semver: 7.5.4 + semver-utils: 1.1.4 + source-map-support: 0.5.21 + spawn-please: 2.0.2 + strip-ansi: 7.1.0 + strip-json-comments: 5.0.1 + untildify: 4.0.0 + update-notifier: 6.0.2 + transitivePeerDependencies: + - bluebird + - supports-color + dev: true + /npm-check-updates@16.14.12: resolution: {integrity: sha512-5FvqaDX8AqWWTDQFbBllgLwoRXTvzlqVIRSKl9Kg8bYZTfNwMnrp1Zlmb5e/ocf11UjPTc+ShBFjYQ7kg6FL0w==} engines: {node: '>=14.14'} @@ -8100,6 +8481,17 @@ packages: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} dev: true + /tsx@4.6.2: + resolution: {integrity: sha512-QPpBdJo+ZDtqZgAnq86iY/PD2KYCUPSUGIunHdGwyII99GKH+f3z3FZ8XNFLSGQIA4I365ui8wnQpl8OKLqcsg==} + engines: {node: '>=18.0.0'} + hasBin: true + dependencies: + esbuild: 0.18.20 + get-tsconfig: 4.7.2 + optionalDependencies: + fsevents: 2.3.3 + dev: true + /tuf-js@1.1.7: resolution: {integrity: sha512-i3P9Kgw3ytjELUfpuKVDNBJvk4u5bXL6gskv572mcevPbSKCV3zt3djhmlEQ65yERjIbOSncy7U4cQJaB1CBCg==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} @@ -8118,6 +8510,11 @@ packages: prelude-ls: 1.2.1 dev: true + /type-detect@4.0.8: + resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} + engines: {node: '>=4'} + dev: true + /type-fest@0.20.2: resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} engines: {node: '>=10'}