@vitejs/release-scripts 1.2.0 → 1.2.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/dist/index.js +2 -2
- package/package.json +12 -16
package/dist/index.js
CHANGED
|
@@ -7,8 +7,8 @@ import path from "node:path";
|
|
|
7
7
|
import colors from "picocolors";
|
|
8
8
|
import { execa } from "execa";
|
|
9
9
|
import semver from "semver";
|
|
10
|
-
import
|
|
11
|
-
var args =
|
|
10
|
+
import mri from "mri";
|
|
11
|
+
var args = mri(process.argv.slice(2));
|
|
12
12
|
var isDryRun = !!args.dry;
|
|
13
13
|
if (isDryRun) {
|
|
14
14
|
console.log(colors.inverse(colors.yellow(" DRY RUN ")));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitejs/release-scripts",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "@vitejs release scripts",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -15,31 +15,27 @@
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
|
-
"build": "
|
|
18
|
+
"build": "tnode scripts/build.ts",
|
|
19
19
|
"prettier": "pnpm prettier-ci --write",
|
|
20
20
|
"prettier-ci": "prettier --cache --ignore-path=.gitignore --check '**/*.{ts,json,md,yml}'",
|
|
21
21
|
"qa": "tsc && pnpm prettier-ci && pnpm build",
|
|
22
|
-
"release": "
|
|
23
|
-
},
|
|
24
|
-
"prettier": {
|
|
25
|
-
"trailingComma": "all"
|
|
22
|
+
"release": "tnode scripts/release.ts"
|
|
26
23
|
},
|
|
27
24
|
"dependencies": {
|
|
28
25
|
"execa": "^7.1.1",
|
|
29
|
-
"
|
|
26
|
+
"mri": "^1.2.0",
|
|
30
27
|
"picocolors": "^1.0.0",
|
|
31
28
|
"prompts": "^2.4.2",
|
|
32
|
-
"publint": "^0.1.
|
|
33
|
-
"semver": "^7.5.
|
|
29
|
+
"publint": "^0.1.16",
|
|
30
|
+
"semver": "^7.5.4"
|
|
34
31
|
},
|
|
35
32
|
"devDependencies": {
|
|
36
|
-
"@
|
|
37
|
-
"@types/node": "^18.16.
|
|
33
|
+
"@arnaud-barre/tnode": "^0.18.0",
|
|
34
|
+
"@types/node": "^18.16.19",
|
|
38
35
|
"@types/prompts": "^2.4.4",
|
|
39
|
-
"@types/semver": "^7.
|
|
40
|
-
"esbuild": "^0.
|
|
41
|
-
"prettier": "^
|
|
42
|
-
"
|
|
43
|
-
"typescript": "^5.0.4"
|
|
36
|
+
"@types/semver": "^7.5.0",
|
|
37
|
+
"esbuild": "^0.18.13",
|
|
38
|
+
"prettier": "^3.0.0",
|
|
39
|
+
"typescript": "^5.1.6"
|
|
44
40
|
}
|
|
45
41
|
}
|