cmyr-template-cli 1.30.2 → 1.30.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/plopfile.js CHANGED
@@ -250,6 +250,7 @@ const COMMON_DEPENDENCIES = {
250
250
  '@types/md5': '^2.3.1',
251
251
  },
252
252
  dependencies: {
253
+ 'await-to-js': '^3.0.0',
253
254
  axios: '^1.0.0',
254
255
  'cmyr-error-collection': '^1.5.0',
255
256
  'cmyr-sign': '^1.1.0',
@@ -258,14 +259,18 @@ const COMMON_DEPENDENCIES = {
258
259
  'isomorphic-unfetch': '^3.1.0',
259
260
  lodash: '^4.17.20',
260
261
  'lodash-es': '^4.17.21',
262
+ 'p-limit': '^3.1.0',
261
263
  'push-all-in-one': '^2.2.0',
262
264
  'leancloud-storage': '^4.15.0',
263
265
  yaml: '^2.3.3',
264
266
  },
265
267
  };
266
268
  const NODE_DEPENDENCIES = {
267
- devDependencies: {},
269
+ devDependencies: {
270
+ tsx: '^4.15.7',
271
+ },
268
272
  dependencies: {
273
+ cron: '^3.1.7',
269
274
  dotenv: '^16.3.1',
270
275
  log4js: '^6.9.1',
271
276
  md5: '^2.3.0',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cmyr-template-cli",
3
- "version": "1.30.2",
3
+ "version": "1.30.4",
4
4
  "description": "草梅友仁自制的项目模板创建器",
5
5
  "author": "CaoMeiYouRen",
6
6
  "license": "MIT",
@@ -44,10 +44,10 @@
44
44
  "@types/fs-extra": "^11.0.0",
45
45
  "@types/inquirer": "^9.0.3",
46
46
  "@types/lodash": "^4.14.165",
47
- "@types/node": "^20.0.0",
47
+ "@types/node": "^22.0.0",
48
48
  "@types/promise.any": "^2.0.0",
49
- "@typescript-eslint/eslint-plugin": "7.16.1",
50
- "@typescript-eslint/parser": "7.16.1",
49
+ "@typescript-eslint/eslint-plugin": "7.18.0",
50
+ "@typescript-eslint/parser": "7.17.0",
51
51
  "commitizen": "^4.2.2",
52
52
  "conventional-changelog-cli": "^5.0.0",
53
53
  "conventional-changelog-cmyr-config": "^2.1.1",
@@ -1,4 +1,3 @@
1
1
  #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
2
 
4
3
  npx --no-install commitlint --edit "$1"
@@ -1,4 +1,3 @@
1
1
  #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
2
 
4
3
  npx --no-install lint-staged
@@ -15,6 +15,7 @@ const { nodeFileTrace } = require('@vercel/nft');
15
15
  const fullPath = path.join(projectRoot, key)
16
16
  if (await fs.pathExists(fullPath)) {
17
17
  mainPath = fullPath
18
+ break
18
19
  }
19
20
  }
20
21
  if (!mainPath) {