ts-builds 2.7.3 → 2.8.0

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/cli.js CHANGED
Binary file
@@ -47,11 +47,11 @@
47
47
  "required": false
48
48
  },
49
49
  "build": {
50
- "command": "rimraf dist && cross-env NODE_ENV=production tsdown",
51
- "description": "Production build (tsdown variant)",
50
+ "command": "ts-builds build",
51
+ "description": "Production build (cleans dist + sets NODE_ENV=production internally)",
52
52
  "required": true,
53
53
  "variants": {
54
- "vite": "rimraf dist && vite build"
54
+ "vite": "ts-builds build"
55
55
  }
56
56
  },
57
57
  "build:watch": {
@@ -89,7 +89,7 @@
89
89
  "format": "prettier --write .",
90
90
  "lint": "eslint ./src --fix",
91
91
  "test": "vitest run",
92
- "build": "rimraf dist && cross-env NODE_ENV=production tsdown"
92
+ "build": "ts-builds build"
93
93
  }
94
94
  }
95
95
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-builds",
3
- "version": "2.7.3",
3
+ "version": "2.8.0",
4
4
  "description": "Shared TypeScript configuration files for library templates. Provides standardized ESLint, Prettier, Vitest, TypeScript, and build configs.",
5
5
  "keywords": [
6
6
  "typescript",
@@ -57,7 +57,6 @@
57
57
  "@types/node": "~24.10.15",
58
58
  "@vitest/coverage-v8": "^4.1.5",
59
59
  "@vitest/ui": "^4.1.5",
60
- "cross-env": "^10.1.0",
61
60
  "eslint": "^10.3.0",
62
61
  "eslint-config-functype": "^2.3.0",
63
62
  "eslint-config-prettier": "^10.1.8",
@@ -68,13 +67,13 @@
68
67
  "functype-os": "^0.60.0",
69
68
  "globals": "^17.6.0",
70
69
  "prettier": "^3.8.3",
71
- "rimraf": "^6.1.3",
72
70
  "ts-node": "^10.9.2",
73
71
  "typescript": "^6.0.3",
74
72
  "typescript-eslint": "^8.59.2",
75
73
  "vitest": "^4.1.5"
76
74
  },
77
75
  "devDependencies": {
76
+ "rimraf": "^6.1.3",
78
77
  "tsdown": "^0.21.10"
79
78
  },
80
79
  "peerDependencies": {