From 14dd90952ac827fa6be1181ce0b08d341e3377ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20UB?= <22903142+adrian-ub@users.noreply.github.com> Date: Tue, 22 Oct 2024 00:03:59 -0500 Subject: [PATCH] chore: remove unused packages --- docs/package.json | 2 + package.json | 12 +--- pnpm-lock.yaml | 144 ++++------------------------------------------ 3 files changed, 13 insertions(+), 145 deletions(-) diff --git a/docs/package.json b/docs/package.json index 064c73d..68a73a5 100644 --- a/docs/package.json +++ b/docs/package.json @@ -47,6 +47,8 @@ "@angular/platform-browser-dynamic": "^18.2.8", "@angular/platform-server": "^18.2.8", "@shikijs/transformers": "^1.20.0", + "@types/lodash.template": "^4.5.3", + "lodash.template": "^4.5.0", "typescript": "~5.5.0" } } diff --git a/package.json b/package.json index a608938..d0c8b3f 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ ], "scripts": { "build": "unbuild", - "dev": "cross-env DEBUG=shadcn-ng REGISTRY_URL=http://localhost:4321/r esno src/cli.ts", + "dev": "cross-env REGISTRY_URL=http://localhost:4321/r esno src/cli.ts", "docs": "nr -C docs dev", "docs:build": "nr -C docs build", "lint": "eslint .", @@ -53,18 +53,13 @@ "@clack/prompts": "^0.7.0", "astro-eslint-parser": "^1.0.3", "commander": "^12.1.0", - "consola": "^3.2.3", - "cosmiconfig": "^8.1.3", "deepmerge": "^4.3.1", "diff": "^5.1.0", "eslint-plugin-astro": "^1.2.4", "execa": "^7.0.0", "fast-glob": "^3.3.2", - "fs-extra": "^11.1.0", "https-proxy-agent": "^6.2.0", - "lodash.template": "^4.5.0", "node-fetch": "^3.3.0", - "ora": "^6.1.2", "picocolors": "^1.1.0", "stringify-object": "^5.0.0", "ts-morph": "^18.0.0", @@ -74,17 +69,12 @@ }, "devDependencies": { "@antfu/eslint-config": "^3.3.2", - "@antfu/utils": "^0.7.10", "@prettier/plugin-xml": "^3.4.1", - "@types/debug": "^4.1.12", "@types/diff": "^5.0.3", - "@types/fs-extra": "^11.0.1", - "@types/lodash.template": "^4.5.1", "@types/node": "^22.5.4", "@types/stringify-object": "^4.0.5", "bumpp": "^9.5.2", "cross-env": "^7.0.3", - "debug": "^4.3.7", "eslint": "^9.9.1", "eslint-plugin-format": "^0.1.2", "esno": "^4.7.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 67f013c..7fc7f97 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,12 +23,6 @@ importers: commander: specifier: ^12.1.0 version: 12.1.0 - consola: - specifier: ^3.2.3 - version: 3.2.3 - cosmiconfig: - specifier: ^8.1.3 - version: 8.3.6(typescript@5.5.4) deepmerge: specifier: ^4.3.1 version: 4.3.1 @@ -44,21 +38,12 @@ importers: fast-glob: specifier: ^3.3.2 version: 3.3.2 - fs-extra: - specifier: ^11.1.0 - version: 11.2.0 https-proxy-agent: specifier: ^6.2.0 version: 6.2.1 - lodash.template: - specifier: ^4.5.0 - version: 4.5.0 node-fetch: specifier: ^3.3.0 version: 3.3.2 - ora: - specifier: ^6.1.2 - version: 6.3.1 picocolors: specifier: ^1.1.0 version: 1.1.0 @@ -81,24 +66,12 @@ importers: '@antfu/eslint-config': specifier: ^3.3.2 version: 3.3.2(@prettier/plugin-xml@3.4.1(prettier@3.3.3))(@typescript-eslint/utils@8.4.0(eslint@9.9.1(jiti@2.3.3))(typescript@5.5.4))(@vue/compiler-sfc@3.3.10)(astro-eslint-parser@1.0.3(typescript@5.5.4))(eslint-plugin-astro@1.2.4(eslint@9.9.1(jiti@2.3.3))(typescript@5.5.4))(eslint-plugin-format@0.1.2(eslint@9.9.1(jiti@2.3.3)))(eslint@9.9.1(jiti@2.3.3))(prettier-plugin-astro@0.14.1)(typescript@5.5.4)(vitest@2.0.5(@types/node@22.6.1)(less@4.2.0)(sass@1.77.6)(terser@5.31.6)) - '@antfu/utils': - specifier: ^0.7.10 - version: 0.7.10 '@prettier/plugin-xml': specifier: ^3.4.1 version: 3.4.1(prettier@3.3.3) - '@types/debug': - specifier: ^4.1.12 - version: 4.1.12 '@types/diff': specifier: ^5.0.3 version: 5.2.2 - '@types/fs-extra': - specifier: ^11.0.1 - version: 11.0.4 - '@types/lodash.template': - specifier: ^4.5.1 - version: 4.5.3 '@types/node': specifier: ^22.5.4 version: 22.6.1 @@ -111,9 +84,6 @@ importers: cross-env: specifier: ^7.0.3 version: 7.0.3 - debug: - specifier: ^4.3.7 - version: 4.3.7 eslint: specifier: ^9.9.1 version: 9.9.1(jiti@2.3.3) @@ -259,6 +229,12 @@ importers: '@shikijs/transformers': specifier: ^1.20.0 version: 1.20.0 + '@types/lodash.template': + specifier: ^4.5.3 + version: 4.5.3 + lodash.template: + specifier: ^4.5.0 + version: 4.5.0 typescript: specifier: ~5.5.0 version: 5.5.4 @@ -2534,9 +2510,6 @@ packages: '@types/express@4.17.21': resolution: {integrity: sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==} - '@types/fs-extra@11.0.4': - resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==} - '@types/hast@3.0.4': resolution: {integrity: sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==} @@ -2549,14 +2522,11 @@ packages: '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} - '@types/jsonfile@6.1.4': - resolution: {integrity: sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==} - '@types/lodash.template@4.5.3': resolution: {integrity: sha512-Mo0UYKLu1oXgkV9TVoXZLlXXjyIXlW7ZQRxi/4gQJmzJr63dmicE8gG0OkPjYTKBrBic852q0JzqrtNUWLBIyA==} - '@types/lodash@4.17.9': - resolution: {integrity: sha512-w9iWudx1XWOHW5lQRS9iKpK/XuRhnN+0T7HvdCCd802FYkT1AMTnxndJHGrNJwRoRHkslGr4S29tjm1cT7x/7w==} + '@types/lodash@4.17.12': + resolution: {integrity: sha512-sviUmCE8AYdaF/KIHLDJBQgeYzPBI0vf/17NaYehBJfYD1j6/L95Slh07NlyK2iNyBNaEkb3En2jRt+a8y3xZQ==} '@types/mdast@3.0.15': resolution: {integrity: sha512-LnwD+mUEfxWMa1QpDraczIn6k0Ee3SMicuYSSzS6ZYl2gKS09EClnJYGd8Du6rfc5r/GZEk5o1mRb8TaTj03sQ==} @@ -3063,9 +3033,6 @@ packages: bl@4.1.0: resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} - bl@5.1.0: - resolution: {integrity: sha512-tv1ZJHLfTDnXE6tMHv73YgSJaWR2AFuPwMntBe7XL/GBFHnT0CLnsHMogfk5+GzCDC5ZWarSCYaIGATZt9dNsQ==} - body-parser@1.20.3: resolution: {integrity: sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==} engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} @@ -3101,9 +3068,6 @@ packages: buffer@5.7.1: resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==} - buffer@6.0.3: - resolution: {integrity: sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==} - builtin-modules@3.3.0: resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} engines: {node: '>=6'} @@ -3264,10 +3228,6 @@ packages: resolution: {integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==} engines: {node: '>=8'} - cli-cursor@4.0.0: - resolution: {integrity: sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - cli-cursor@5.0.0: resolution: {integrity: sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==} engines: {node: '>=18'} @@ -3444,15 +3404,6 @@ packages: resolution: {integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==} engines: {node: '>= 0.10'} - cosmiconfig@8.3.6: - resolution: {integrity: sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==} - engines: {node: '>=14'} - peerDependencies: - typescript: '>=4.9.5' - peerDependenciesMeta: - typescript: - optional: true - cosmiconfig@9.0.0: resolution: {integrity: sha512-itvL5h8RETACmOTFc4UfIyB2RfEHi71Ax6E/PivVxq9NseKbOWpeyHEOIbmAw1rs8Ak0VursQNww7lf7YtUwzg==} engines: {node: '>=14'} @@ -5007,10 +4958,6 @@ packages: resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} engines: {node: '>=10'} - log-symbols@5.1.0: - resolution: {integrity: sha512-l0x2DvrW294C9uDCoQe1VSU4gf529FkSZ6leBl4TiqZH/e+0R7hSfHQBNut2mNygDgHwvYHfFLn6Oxb3VWj2rA==} - engines: {node: '>=12'} - log-symbols@6.0.0: resolution: {integrity: sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==} engines: {node: '>=18'} @@ -5624,10 +5571,6 @@ packages: resolution: {integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==} engines: {node: '>=10'} - ora@6.3.1: - resolution: {integrity: sha512-ERAyNnZOfqM+Ao3RAvIXkYh5joP220yf59gVe2X/cI6SiCxIdi4c9HZKZD8R6q/RDXEje1THBju6iExiSsgJaQ==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - ora@8.1.0: resolution: {integrity: sha512-GQEkNkH/GHOhPFXcqZs3IDahXEQcQxsSjEkK4KvEEST4t7eNzoMjxTzef+EZ+JluDEV+Raoi3WQ2CflnRdSVnQ==} engines: {node: '>=18'} @@ -6333,10 +6276,6 @@ packages: resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==} engines: {node: '>=8'} - restore-cursor@4.0.0: - resolution: {integrity: sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - restore-cursor@5.1.0: resolution: {integrity: sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==} engines: {node: '>=18'} @@ -6692,10 +6631,6 @@ packages: std-env@3.7.0: resolution: {integrity: sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg==} - stdin-discarder@0.1.0: - resolution: {integrity: sha512-xhV7w8S+bUwlPTb4bAOUQhv8/cSS5offJuX8GQGq32ONF0ZtDWKfkdomM3HMRA+LhX6um/FZ0COqlwsjD53LeQ==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - stdin-discarder@0.2.2: resolution: {integrity: sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==} engines: {node: '>=18'} @@ -10160,11 +10095,6 @@ snapshots: '@types/qs': 6.9.16 '@types/serve-static': 1.15.7 - '@types/fs-extra@11.0.4': - dependencies: - '@types/jsonfile': 6.1.4 - '@types/node': 22.6.1 - '@types/hast@3.0.4': dependencies: '@types/unist': 3.0.3 @@ -10177,15 +10107,11 @@ snapshots: '@types/json-schema@7.0.15': {} - '@types/jsonfile@6.1.4': - dependencies: - '@types/node': 22.6.1 - '@types/lodash.template@4.5.3': dependencies: - '@types/lodash': 4.17.9 + '@types/lodash': 4.17.12 - '@types/lodash@4.17.9': {} + '@types/lodash@4.17.12': {} '@types/mdast@3.0.15': dependencies: @@ -10872,12 +10798,6 @@ snapshots: inherits: 2.0.4 readable-stream: 3.6.2 - bl@5.1.0: - dependencies: - buffer: 6.0.3 - inherits: 2.0.4 - readable-stream: 3.6.2 - body-parser@1.20.3: dependencies: bytes: 3.1.2 @@ -10940,11 +10860,6 @@ snapshots: base64-js: 1.5.1 ieee754: 1.2.1 - buffer@6.0.3: - dependencies: - base64-js: 1.5.1 - ieee754: 1.2.1 - builtin-modules@3.3.0: {} bumpp@9.5.2(magicast@0.3.5): @@ -11120,10 +11035,6 @@ snapshots: dependencies: restore-cursor: 3.1.0 - cli-cursor@4.0.0: - dependencies: - restore-cursor: 4.0.0 - cli-cursor@5.0.0: dependencies: restore-cursor: 5.1.0 @@ -11291,15 +11202,6 @@ snapshots: vary: 1.1.2 optional: true - cosmiconfig@8.3.6(typescript@5.5.4): - dependencies: - import-fresh: 3.3.0 - js-yaml: 4.1.0 - parse-json: 5.2.0 - path-type: 4.0.0 - optionalDependencies: - typescript: 5.5.4 - cosmiconfig@9.0.0(typescript@5.5.4): dependencies: env-paths: 2.2.1 @@ -13201,11 +13103,6 @@ snapshots: chalk: 4.1.2 is-unicode-supported: 0.1.0 - log-symbols@5.1.0: - dependencies: - chalk: 5.3.0 - is-unicode-supported: 1.3.0 - log-symbols@6.0.0: dependencies: chalk: 5.3.0 @@ -14144,18 +14041,6 @@ snapshots: strip-ansi: 6.0.1 wcwidth: 1.0.1 - ora@6.3.1: - dependencies: - chalk: 5.3.0 - cli-cursor: 4.0.0 - cli-spinners: 2.9.2 - is-interactive: 2.0.0 - is-unicode-supported: 1.3.0 - log-symbols: 5.1.0 - stdin-discarder: 0.1.0 - strip-ansi: 7.1.0 - wcwidth: 1.0.1 - ora@8.1.0: dependencies: chalk: 5.3.0 @@ -14887,11 +14772,6 @@ snapshots: onetime: 5.1.2 signal-exit: 3.0.7 - restore-cursor@4.0.0: - dependencies: - onetime: 5.1.2 - signal-exit: 3.0.7 - restore-cursor@5.1.0: dependencies: onetime: 7.0.0 @@ -15351,10 +15231,6 @@ snapshots: std-env@3.7.0: {} - stdin-discarder@0.1.0: - dependencies: - bl: 5.1.0 - stdin-discarder@0.2.2: {} stream-replace-string@2.0.0: {}