chore: remove a couple of dependencies (#12249)

pull/12255/head
Ben McCann 6 months ago committed by GitHub
parent 6c214d6736
commit 71a4bce9e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -9,8 +9,6 @@
"lint": "prettier --check . && eslint" "lint": "prettier --check . && eslint"
}, },
"dependencies": { "dependencies": {
"@types/minimist": "^1.2.5",
"minimist": "^1.2.8",
"svelte": "workspace:^", "svelte": "workspace:^",
"tiny-glob": "^0.2.9" "tiny-glob": "^0.2.9"
} }

@ -1,11 +1,11 @@
import * as fs from 'node:fs'; import * as fs from 'node:fs';
import * as path from 'node:path'; import * as path from 'node:path';
import { fileURLToPath } from 'node:url'; import { fileURLToPath } from 'node:url';
import { parseArgs } from 'node:util';
import glob from 'tiny-glob/sync.js'; import glob from 'tiny-glob/sync.js';
import minimist from 'minimist';
import { compile, compileModule, parse, migrate } from 'svelte/compiler'; import { compile, compileModule, parse, migrate } from 'svelte/compiler';
const argv = minimist(process.argv.slice(2)); const argv = parseArgs({ options: { runes: { type: 'boolean' } }, args: process.argv.slice(2) });
const cwd = fileURLToPath(new URL('.', import.meta.url)).slice(0, -1); const cwd = fileURLToPath(new URL('.', import.meta.url)).slice(0, -1);
@ -60,7 +60,7 @@ for (const generate of /** @type {const} */ (['client', 'server'])) {
dev: true, dev: true,
filename: input, filename: input,
generate, generate,
runes: argv.runes runes: argv.values.runes
}); });
fs.writeFileSync( fs.writeFileSync(

@ -16,7 +16,7 @@ importers:
version: 2.27.6 version: 2.27.6
'@sveltejs/eslint-config': '@sveltejs/eslint-config':
specifier: ^8.0.1 specifier: ^8.0.1
version: 8.0.1(@stylistic/eslint-plugin-js@1.8.0(eslint@9.6.0))(eslint-config-prettier@9.1.0(eslint@9.6.0))(eslint-plugin-n@17.9.0(eslint@9.6.0))(eslint-plugin-svelte@2.38.0(eslint@9.6.0)(svelte@5.0.0-next.166))(eslint@9.6.0)(typescript-eslint@8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2))(typescript@5.5.2) version: 8.0.1(@stylistic/eslint-plugin-js@1.8.0(eslint@9.6.0))(eslint-config-prettier@9.1.0(eslint@9.6.0))(eslint-plugin-n@17.9.0(eslint@9.6.0))(eslint-plugin-svelte@2.38.0(eslint@9.6.0)(svelte@5.0.0-next.168))(eslint@9.6.0)(typescript-eslint@8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2))(typescript@5.5.2)
'@svitejs/changesets-changelog-github-compact': '@svitejs/changesets-changelog-github-compact':
specifier: ^1.1.0 specifier: ^1.1.0
version: 1.1.0 version: 1.1.0
@ -43,7 +43,7 @@ importers:
version: 3.2.4 version: 3.2.4
prettier-plugin-svelte: prettier-plugin-svelte:
specifier: ^3.1.2 specifier: ^3.1.2
version: 3.1.2(prettier@3.2.4)(svelte@5.0.0-next.166) version: 3.1.2(prettier@3.2.4)(svelte@5.0.0-next.168)
typescript: typescript:
specifier: ^5.5.2 specifier: ^5.5.2
version: 5.5.2 version: 5.5.2
@ -159,12 +159,6 @@ importers:
playgrounds/sandbox: playgrounds/sandbox:
dependencies: dependencies:
'@types/minimist':
specifier: ^1.2.5
version: 1.2.5
minimist:
specifier: ^1.2.8
version: 1.2.8
svelte: svelte:
specifier: workspace:^ specifier: workspace:^
version: link:../../packages/svelte version: link:../../packages/svelte
@ -1503,9 +1497,6 @@ packages:
'@types/json-schema@7.0.15': '@types/json-schema@7.0.15':
resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==}
'@types/minimist@1.2.5':
resolution: {integrity: sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==}
'@types/node@12.20.55': '@types/node@12.20.55':
resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==} resolution: {integrity: sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ==}
@ -3565,8 +3556,8 @@ packages:
resolution: {integrity: sha512-hsoB/WZGEPFXeRRLPhPrbRz67PhP6sqYgvwcAs+gWdSQSvNDw+/lTeUJSWe5h2xC97Fz/8QxAOqItwBzNJPU8w==} resolution: {integrity: sha512-hsoB/WZGEPFXeRRLPhPrbRz67PhP6sqYgvwcAs+gWdSQSvNDw+/lTeUJSWe5h2xC97Fz/8QxAOqItwBzNJPU8w==}
engines: {node: '>=16'} engines: {node: '>=16'}
svelte@5.0.0-next.166: svelte@5.0.0-next.168:
resolution: {integrity: sha512-s1anY8eTprp42QyHGdbfIT7pO+gYgwnS6hkMmvd8ayW5krV9HLYjbQcVUb8/GyQSIlWtewvmZVZ58rpKjRmdTg==} resolution: {integrity: sha512-uOtEGeop8bsGOsH/duogEzFkR1DE8IRjSf/kSsKPYt9JLdrlIBTbhE2FSEXsUKWybrtTCV8bwBuBQRoR2ld90g==}
engines: {node: '>=18'} engines: {node: '>=18'}
symbol-tree@3.2.4: symbol-tree@3.2.4:
@ -5090,13 +5081,13 @@ snapshots:
- encoding - encoding
- supports-color - supports-color
'@sveltejs/eslint-config@8.0.1(@stylistic/eslint-plugin-js@1.8.0(eslint@9.6.0))(eslint-config-prettier@9.1.0(eslint@9.6.0))(eslint-plugin-n@17.9.0(eslint@9.6.0))(eslint-plugin-svelte@2.38.0(eslint@9.6.0)(svelte@5.0.0-next.166))(eslint@9.6.0)(typescript-eslint@8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2))(typescript@5.5.2)': '@sveltejs/eslint-config@8.0.1(@stylistic/eslint-plugin-js@1.8.0(eslint@9.6.0))(eslint-config-prettier@9.1.0(eslint@9.6.0))(eslint-plugin-n@17.9.0(eslint@9.6.0))(eslint-plugin-svelte@2.38.0(eslint@9.6.0)(svelte@5.0.0-next.168))(eslint@9.6.0)(typescript-eslint@8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2))(typescript@5.5.2)':
dependencies: dependencies:
'@stylistic/eslint-plugin-js': 1.8.0(eslint@9.6.0) '@stylistic/eslint-plugin-js': 1.8.0(eslint@9.6.0)
eslint: 9.6.0 eslint: 9.6.0
eslint-config-prettier: 9.1.0(eslint@9.6.0) eslint-config-prettier: 9.1.0(eslint@9.6.0)
eslint-plugin-n: 17.9.0(eslint@9.6.0) eslint-plugin-n: 17.9.0(eslint@9.6.0)
eslint-plugin-svelte: 2.38.0(eslint@9.6.0)(svelte@5.0.0-next.166) eslint-plugin-svelte: 2.38.0(eslint@9.6.0)(svelte@5.0.0-next.168)
globals: 15.6.0 globals: 15.6.0
typescript: 5.5.2 typescript: 5.5.2
typescript-eslint: 8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2) typescript-eslint: 8.0.0-alpha.34(eslint@9.6.0)(typescript@5.5.2)
@ -5266,8 +5257,6 @@ snapshots:
'@types/json-schema@7.0.15': {} '@types/json-schema@7.0.15': {}
'@types/minimist@1.2.5': {}
'@types/node@12.20.55': {} '@types/node@12.20.55': {}
'@types/node@16.9.1': {} '@types/node@16.9.1': {}
@ -5925,7 +5914,7 @@ snapshots:
minimatch: 9.0.4 minimatch: 9.0.4
semver: 7.6.0 semver: 7.6.0
eslint-plugin-svelte@2.38.0(eslint@9.6.0)(svelte@5.0.0-next.166): eslint-plugin-svelte@2.38.0(eslint@9.6.0)(svelte@5.0.0-next.168):
dependencies: dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@9.6.0) '@eslint-community/eslint-utils': 4.4.0(eslint@9.6.0)
'@jridgewell/sourcemap-codec': 1.4.15 '@jridgewell/sourcemap-codec': 1.4.15
@ -5939,9 +5928,9 @@ snapshots:
postcss-safe-parser: 6.0.0(postcss@8.4.38) postcss-safe-parser: 6.0.0(postcss@8.4.38)
postcss-selector-parser: 6.0.16 postcss-selector-parser: 6.0.16
semver: 7.6.0 semver: 7.6.0
svelte-eslint-parser: 0.35.0(svelte@5.0.0-next.166) svelte-eslint-parser: 0.35.0(svelte@5.0.0-next.168)
optionalDependencies: optionalDependencies:
svelte: 5.0.0-next.166 svelte: 5.0.0-next.168
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
- ts-node - ts-node
@ -6955,10 +6944,10 @@ snapshots:
prettier: 3.2.4 prettier: 3.2.4
svelte: 4.2.9 svelte: 4.2.9
prettier-plugin-svelte@3.1.2(prettier@3.2.4)(svelte@5.0.0-next.166): prettier-plugin-svelte@3.1.2(prettier@3.2.4)(svelte@5.0.0-next.168):
dependencies: dependencies:
prettier: 3.2.4 prettier: 3.2.4
svelte: 5.0.0-next.166 svelte: 5.0.0-next.168
prettier@2.8.8: {} prettier@2.8.8: {}
@ -7357,7 +7346,7 @@ snapshots:
- stylus - stylus
- sugarss - sugarss
svelte-eslint-parser@0.35.0(svelte@5.0.0-next.166): svelte-eslint-parser@0.35.0(svelte@5.0.0-next.168):
dependencies: dependencies:
eslint-scope: 7.2.2 eslint-scope: 7.2.2
eslint-visitor-keys: 3.4.3 eslint-visitor-keys: 3.4.3
@ -7365,7 +7354,7 @@ snapshots:
postcss: 8.4.38 postcss: 8.4.38
postcss-scss: 4.0.9(postcss@8.4.38) postcss-scss: 4.0.9(postcss@8.4.38)
optionalDependencies: optionalDependencies:
svelte: 5.0.0-next.166 svelte: 5.0.0-next.168
svelte-hmr@0.16.0(svelte@4.2.9): svelte-hmr@0.16.0(svelte@4.2.9):
dependencies: dependencies:
@ -7440,7 +7429,7 @@ snapshots:
magic-string: 0.30.5 magic-string: 0.30.5
periscopic: 3.1.0 periscopic: 3.1.0
svelte@5.0.0-next.166: svelte@5.0.0-next.168:
dependencies: dependencies:
'@ampproject/remapping': 2.2.1 '@ampproject/remapping': 2.2.1
'@jridgewell/sourcemap-codec': 1.4.15 '@jridgewell/sourcemap-codec': 1.4.15

Loading…
Cancel
Save