diff --git a/package.json b/package.json index be0ff48..3d56478 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "figures": "^5.0.0", "inquirer": "^9.1.1", "jsonc-parser": "^3.2.0", - "lodash": "^4.17.21", + "lodash-es": "^4.17.21", "node-fetch": "^3.2.10", "ora": "^6.1.2", "rxjs": "^7.5.6", @@ -58,7 +58,7 @@ "@sxzz/eslint-config-prettier": "^2.4.1", "@sxzz/eslint-config-ts": "^2.4.1", "@types/inquirer": "^9.0.1", - "@types/lodash": "^4.14.184", + "@types/lodash-es": "^4.17.6", "@types/node": "*", "@types/semver": "^7.3.12", "bumpp": "^8.2.1", @@ -74,4 +74,4 @@ "engines": { "node": ">=16" } -} +} \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 20d75c6..c2158d2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,6 +5,7 @@ specifiers: '@sxzz/eslint-config-ts': ^2.4.1 '@types/inquirer': ^9.0.1 '@types/lodash': ^4.14.184 + '@types/lodash-es': ^4.17.6 '@types/node': '*' '@types/semver': ^7.3.12 bin-version: ^6.0.0 @@ -20,7 +21,7 @@ specifiers: figures: ^5.0.0 inquirer: ^9.1.1 jsonc-parser: ^3.2.0 - lodash: ^4.17.21 + lodash-es: ^4.17.21 node-fetch: ^3.2.10 ora: ^6.1.2 prettier: ^2.7.1 @@ -33,6 +34,7 @@ specifiers: vitest: ^0.22.1 dependencies: + '@types/lodash-es': 4.17.6 bin-version: 6.0.0 cac: 6.7.14 chalk: 5.0.1 @@ -42,7 +44,7 @@ dependencies: figures: 5.0.0 inquirer: 9.1.1 jsonc-parser: 3.2.0 - lodash: 4.17.21 + lodash-es: 4.17.21 node-fetch: 3.2.10 ora: 6.1.2 rxjs: 7.5.6 @@ -269,9 +271,14 @@ packages: resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} dev: true + /@types/lodash-es/4.17.6: + resolution: {integrity: sha512-R+zTeVUKDdfoRxpAryaQNRKk3105Rrgx2CFRClIgRGaqDTdjsm8h6IYA8ir584W3ePzkZfst5xIgDwYrlh9HLg==} + dependencies: + '@types/lodash': 4.14.184 + dev: false + /@types/lodash/4.14.184: resolution: {integrity: sha512-RoZphVtHbxPZizt4IcILciSWiC6dcn+eZ8oX9IWEYfDMcocdd42f7NPI6fQj+6zI8y4E0L7gu2pcZKLGTRaV9Q==} - dev: true /@types/mdast/3.0.10: resolution: {integrity: sha512-W864tg/Osz1+9f4lrGTZpCSO5/z4608eUp19tbozkq2HJK6i3z1kT0H9tlADXuYIb1YYOBByU4Jsqkk75q48qA==} @@ -2337,6 +2344,10 @@ packages: p-locate: 5.0.0 dev: true + /lodash-es/4.17.21: + resolution: {integrity: sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==} + dev: false + /lodash.merge/4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} dev: true diff --git a/src/index.ts b/src/index.ts index ab15a93..47a48d0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,7 +4,7 @@ import chokidar from 'chokidar' import cac from 'cac' import chalk from 'chalk' import inquirer from 'inquirer' -import { last } from 'lodash' +import { last } from 'lodash-es' import inquirerFileTreeSelection from '../lib/inquirer-file-tree-selection-prompt' import ensureTscVersion from './check-tsc-version' import { showAppHeader } from './show-console-print'