diff --git a/package-lock.json b/package-lock.json index 5eed111..e6c6bd8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -48,7 +48,7 @@ "markdownlint-cli2": "^0.15.0", "playwright": "^1.47.2", "storybook": "^8.4.5", - "ts-node": "^10.9.2", + "tsx": "^4.19.2", "typescript": "^5.7.2", "vite": "^5.4.2" }, @@ -713,26 +713,6 @@ "url": "https://github.com/chalk/strip-ansi?sponsor=1" } }, - "node_modules/@cspotcode/source-map-support": { - "version": "0.8.1", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/trace-mapping": "0.3.9" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { - "version": "0.3.9", - "dev": true, - "license": "MIT", - "dependencies": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - }, "node_modules/@drauu/core": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/@drauu/core/-/core-0.4.1.tgz", @@ -2429,35 +2409,6 @@ "storybook": "^8.4.6" } }, - "node_modules/@storybook/addon-docs/node_modules/@storybook/blocks": { - "version": "8.4.5", - "resolved": "https://registry.npmjs.org/@storybook/blocks/-/blocks-8.4.5.tgz", - "integrity": "sha512-Z+LHauSqm3A4HBR9pUEf9KQhD3/3xYMt0FXgA+GHCAyDa6lFeD1C6r9Y2nlT+9dt8gv9B9oygTZvV6GqFVyRSQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "@storybook/csf": "^0.1.11", - "@storybook/icons": "^1.2.12", - "ts-dedent": "^2.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/storybook" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta", - "storybook": "^8.4.5" - }, - "peerDependenciesMeta": { - "react": { - "optional": true - }, - "react-dom": { - "optional": true - } - } - }, "node_modules/@storybook/addon-docs/node_modules/@storybook/csf-plugin": { "version": "8.4.6", "resolved": "https://registry.npmjs.org/@storybook/csf-plugin/-/csf-plugin-8.4.6.tgz", @@ -3438,26 +3389,6 @@ "@testing-library/dom": ">=7.21.4" } }, - "node_modules/@tsconfig/node10": { - "version": "1.0.9", - "dev": true, - "license": "MIT" - }, - "node_modules/@tsconfig/node12": { - "version": "1.0.11", - "dev": true, - "license": "MIT" - }, - "node_modules/@tsconfig/node14": { - "version": "1.0.3", - "dev": true, - "license": "MIT" - }, - "node_modules/@tsconfig/node16": { - "version": "1.0.4", - "dev": true, - "license": "MIT" - }, "node_modules/@types/aria-query": { "version": "5.0.4", "resolved": "https://registry.npmjs.org/@types/aria-query/-/aria-query-5.0.4.tgz", @@ -4674,14 +4605,6 @@ "node": ">=0.4.0" } }, - "node_modules/acorn-walk": { - "version": "8.2.0", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.4.0" - } - }, "node_modules/ansi-escapes": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", @@ -4729,11 +4652,6 @@ "node": ">= 8" } }, - "node_modules/arg": { - "version": "4.1.3", - "dev": true, - "license": "MIT" - }, "node_modules/argparse": { "version": "2.0.1", "dev": true, @@ -5665,11 +5583,6 @@ "layout-base": "^1.0.0" } }, - "node_modules/create-require": { - "version": "1.1.1", - "dev": true, - "license": "MIT" - }, "node_modules/cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", @@ -6435,14 +6348,6 @@ "url": "https://github.com/sponsors/wooorm" } }, - "node_modules/diff": { - "version": "4.0.2", - "dev": true, - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.3.1" - } - }, "node_modules/diff-match-patch-es": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/diff-match-patch-es/-/diff-match-patch-es-0.1.0.tgz", @@ -8837,11 +8742,6 @@ "semver": "bin/semver.js" } }, - "node_modules/make-error": { - "version": "1.3.6", - "dev": true, - "license": "ISC" - }, "node_modules/map-or-similar": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/map-or-similar/-/map-or-similar-1.5.0.tgz", @@ -12053,58 +11953,17 @@ "integrity": "sha512-vDWbsl26LIcPGmDpoVzjEP6+hvHZkBkLW7JpvwbCv/5IYPJlsbzCVXY3wsCeAxAUeTclNOUZxnLdGh3VBD/J6w==", "dev": true }, - "node_modules/ts-node": { - "version": "10.9.2", - "dev": true, - "license": "MIT", - "dependencies": { - "@cspotcode/source-map-support": "^0.8.0", - "@tsconfig/node10": "^1.0.7", - "@tsconfig/node12": "^1.0.7", - "@tsconfig/node14": "^1.0.0", - "@tsconfig/node16": "^1.0.2", - "acorn": "^8.4.1", - "acorn-walk": "^8.1.1", - "arg": "^4.1.0", - "create-require": "^1.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "v8-compile-cache-lib": "^3.0.1", - "yn": "3.1.1" - }, - "bin": { - "ts-node": "dist/bin.js", - "ts-node-cwd": "dist/bin-cwd.js", - "ts-node-esm": "dist/bin-esm.js", - "ts-node-script": "dist/bin-script.js", - "ts-node-transpile-only": "dist/bin-transpile.js", - "ts-script": "dist/bin-script-deprecated.js" - }, - "peerDependencies": { - "@swc/core": ">=1.2.50", - "@swc/wasm": ">=1.2.50", - "@types/node": "*", - "typescript": ">=2.7" - }, - "peerDependenciesMeta": { - "@swc/core": { - "optional": true - }, - "@swc/wasm": { - "optional": true - } - } - }, "node_modules/tslib": { "version": "2.4.0", "dev": true, "license": "0BSD" }, "node_modules/tsx": { - "version": "4.19.0", - "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.19.0.tgz", - "integrity": "sha512-bV30kM7bsLZKZIOCHeMNVMJ32/LuJzLVajkQI/qf92J2Qr08ueLQvW00PUZGiuLPP760UINwupgUj8qrSCPUKg==", + "version": "4.19.2", + "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.19.2.tgz", + "integrity": "sha512-pOUl6Vo2LUq/bSa8S5q7b91cgNSjctn9ugq/+Mvow99qW6x/UZYwzxy/3NmqoT66eHYfCVvFvACC58UBPFf28g==", "dev": true, + "license": "MIT", "dependencies": { "esbuild": "~0.23.0", "get-tsconfig": "^4.7.5" @@ -12758,11 +12617,6 @@ "uuid": "dist/bin/uuid" } }, - "node_modules/v8-compile-cache-lib": { - "version": "3.0.1", - "dev": true, - "license": "MIT" - }, "node_modules/vary": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", @@ -13316,14 +13170,6 @@ "node": ">=12" } }, - "node_modules/yn": { - "version": "3.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/yoctocolors-cjs": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/yoctocolors-cjs/-/yoctocolors-cjs-2.1.2.tgz", diff --git a/package.json b/package.json index 565ed8c..a62117f 100644 --- a/package.json +++ b/package.json @@ -2,18 +2,15 @@ "name": "slide", "private": true, "scripts": { - "new": "ts-node \"./scripts/createWorkspace.ts\"", - "dev": "ts-node \"./scripts/runWorkspace.ts\" --command=dev", - "build": "ts-node \"./scripts/runWorkspace.ts\" --command=build", - "export": "ts-node \"./scripts/runWorkspace.ts\" --command=export", + "new": "tsx \"./scripts/createWorkspace.ts\"", + "dev": "tsx \"./scripts/runWorkspace.ts\" --command=dev", + "build": "tsx \"./scripts/runWorkspace.ts\" --command=build", + "export": "tsx \"./scripts/runWorkspace.ts\" --command=export", "lint": "markdownlint-cli2 \"**/*.md\" \"#node_modules\"", "storybook": "storybook dev -p 6006", "build-storybook": "storybook build" }, "type": "module", - "engines": { - "node": "^18.17.0" - }, "workspaces": [ "reuse", "2023-03-26", @@ -28,14 +25,10 @@ "ts-overload-function" ], "devDependencies": { + "@chromatic-com/storybook": "^2.0.2", "@slidev/cli": "^0.49.29", "@slidev/theme-default": "^0.25.0", "@slidev/theme-seriph": "^0.25.0", - "@swc/core": "^1.7.22", - "@types/inquirer": "^9.0.7", - "@types/node": "^22.7.5", - "inquirer": "^12.0.0", - "@chromatic-com/storybook": "^2.0.2", "@storybook/addon-essentials": "^8.4.6", "@storybook/addon-interactions": "^8.3.6", "@storybook/addon-links": "^8.2.9", @@ -44,12 +37,16 @@ "@storybook/test": "^8.2.8", "@storybook/vue3": "^8.3.6", "@storybook/vue3-vite": "^8.2.9", + "@swc/core": "^1.7.22", + "@types/inquirer": "^9.0.7", + "@types/node": "^22.7.5", "@types/qrcode": "^1.5.5", "@vitejs/plugin-vue": "^5.1.3", + "inquirer": "^12.0.0", "markdownlint-cli2": "^0.15.0", "playwright": "^1.47.2", "storybook": "^8.4.5", - "ts-node": "^10.9.2", + "tsx": "^4.19.2", "typescript": "^5.7.2", "vite": "^5.4.2" }, @@ -62,7 +59,10 @@ "vue": "^3.5.12" }, "volta": { - "node": "18.17.1" + "node": "22.11.0" + }, + "engines": { + "node": "^22.11.0" }, "optionalDependencies": { "@rollup/rollup-darwin-arm64": "^4.21.2"