@soybeanjs/cli 0.7.9 → 0.8.1

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/package.json CHANGED
@@ -1,6 +1,8 @@
1
1
  {
2
2
  "name": "@soybeanjs/cli",
3
- "version": "0.7.9",
3
+ "type": "module",
4
+ "version": "0.8.1",
5
+ "packageManager": "pnpm@8.11.0",
4
6
  "description": "SoybeanJS's command line tools",
5
7
  "author": {
6
8
  "name": "Soybean",
@@ -20,9 +22,9 @@
20
22
  },
21
23
  "exports": {
22
24
  ".": {
25
+ "types": "./dist/index.d.ts",
23
26
  "import": "./dist/index.mjs",
24
- "require": "./dist/index.cjs",
25
- "types": "./dist/index.d.ts"
27
+ "require": "./dist/index.cjs"
26
28
  }
27
29
  },
28
30
  "main": "dist/index.cjs",
@@ -45,33 +47,42 @@
45
47
  "enquirer": "2.4.1",
46
48
  "execa": "8.0.1",
47
49
  "kolorist": "1.8.0",
48
- "lint-staged": "15.1.0",
49
50
  "minimist": "1.2.8",
50
- "npm-check-updates": "16.14.6",
51
+ "npm-check-updates": "16.14.11",
51
52
  "rimraf": "5.0.5"
52
53
  },
53
54
  "devDependencies": {
54
55
  "@soybeanjs/cli": "link:",
56
+ "@soybeanjs/eslint-config": "1.0.5",
55
57
  "@types/crypto-js": "4.2.1",
56
- "@types/node": "20.9.0",
57
- "eslint": "8.53.0",
58
- "eslint-config-soybeanjs": "0.5.8",
58
+ "@types/node": "20.10.4",
59
+ "eslint": "8.55.0",
60
+ "lint-staged": "15.2.0",
61
+ "npm-run-all": "4.1.5",
59
62
  "simple-git-hooks": "2.9.0",
60
- "tsx": "4.1.2",
61
- "typescript": "5.2.2",
63
+ "tsx": "4.6.2",
64
+ "typescript": "5.3.3",
62
65
  "unbuild": "2.0.0"
63
66
  },
67
+ "simple-git-hooks": {
68
+ "commit-msg": "pnpm soy git-commit-verify",
69
+ "pre-commit": "pnpm typecheck && pnpm lint-staged"
70
+ },
71
+ "lint-staged": {
72
+ "*": "eslint --fix"
73
+ },
64
74
  "scripts": {
65
- "build": "pnpm typecheck && unbuild && pnpm build-pkg",
66
- "build-pkg": "pnpm -r --filter='./packages/*' run build",
67
75
  "stub": "pnpm -r run stub",
76
+ "build": "run-s typecheck build-only build-pkg",
77
+ "build-only": "unbuild",
78
+ "build-pkg": "pnpm -r --filter='./packages/*' run build",
68
79
  "lint": "eslint . --fix",
69
- "format": "soy prettier-write",
70
80
  "commit": "soy git-commit",
71
81
  "cleanup": "soy cleanup",
72
82
  "update-pkg": "soy ncu",
83
+ "typecheck": "tsc --noEmit --skipLibCheck",
73
84
  "publish-pkg": "pnpm -r publish --access public",
74
- "typecheck": "tsc --noEmit",
75
- "release": "soy release && pnpm build && pnpm publish-pkg"
85
+ "release-pkg": "soy release",
86
+ "release": "run-s release-pkg build publish-pkg"
76
87
  }
77
88
  }