update-workspace-root-version 1.0.1 → 1.0.2
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/LICENSE.md +1 -1
- package/README.md +2 -0
- package/package.json +26 -22
package/LICENSE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2025 Isaac J. Lee
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
6
|
|
package/README.md
CHANGED
|
@@ -46,6 +46,8 @@ Then, run the codemod before you create a tag. For example, after [changesets](h
|
|
|
46
46
|
|
|
47
47
|
<summary>Optional: Specify the algorithm</summary>
|
|
48
48
|
|
|
49
|
+
Learn more about the algorithms at https://crunchingnumbers.live/2024/09/15/moving-mountains/.
|
|
50
|
+
|
|
49
51
|
```sh
|
|
50
52
|
# Highest version (default)
|
|
51
53
|
update-workspace-root-version --algorithm highest-version
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "update-workspace-root-version",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Update the workspace root version in a monorepo",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"codemod",
|
|
@@ -24,45 +24,49 @@
|
|
|
24
24
|
"dist"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@codemod-utils/files": "^2.0.
|
|
28
|
-
"@codemod-utils/json": "^1.1.
|
|
27
|
+
"@codemod-utils/files": "^2.0.7",
|
|
28
|
+
"@codemod-utils/json": "^1.1.12",
|
|
29
29
|
"yargs": "^17.7.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@babel/core": "^7.
|
|
33
|
-
"@
|
|
32
|
+
"@babel/core": "^7.26.7",
|
|
33
|
+
"@babel/eslint-parser": "^7.26.5",
|
|
34
|
+
"@babel/plugin-proposal-decorators": "^7.25.9",
|
|
35
|
+
"@changesets/cli": "^2.27.12",
|
|
34
36
|
"@changesets/get-github-info": "^0.6.0",
|
|
35
|
-
"@codemod-utils/tests": "^1.1.
|
|
37
|
+
"@codemod-utils/tests": "^1.1.10",
|
|
38
|
+
"@eslint/js": "^9.19.0",
|
|
36
39
|
"@sondr3/minitest": "^0.1.2",
|
|
37
40
|
"@tsconfig/node18": "^18.2.4",
|
|
38
41
|
"@tsconfig/strictest": "^2.0.5",
|
|
39
|
-
"@types/
|
|
42
|
+
"@types/eslint__js": "^8.42.3",
|
|
43
|
+
"@types/node": "^18.19.75",
|
|
40
44
|
"@types/yargs": "^17.0.33",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"eslint": "^
|
|
45
|
-
"eslint-
|
|
46
|
-
"eslint-
|
|
47
|
-
"eslint-plugin-
|
|
48
|
-
"eslint-plugin-n": "^17.10.2",
|
|
49
|
-
"eslint-plugin-prettier": "^5.2.1",
|
|
45
|
+
"concurrently": "^9.1.2",
|
|
46
|
+
"eslint": "^9.19.0",
|
|
47
|
+
"eslint-config-prettier": "^10.0.1",
|
|
48
|
+
"eslint-import-resolver-typescript": "^3.7.0",
|
|
49
|
+
"eslint-plugin-import": "^2.31.0",
|
|
50
|
+
"eslint-plugin-n": "^17.15.1",
|
|
51
|
+
"eslint-plugin-prettier": "^5.2.3",
|
|
50
52
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
51
|
-
"eslint-plugin-typescript-sort-keys": "^3.
|
|
52
|
-
"
|
|
53
|
-
"
|
|
53
|
+
"eslint-plugin-typescript-sort-keys": "^3.3.0",
|
|
54
|
+
"globals": "^15.14.0",
|
|
55
|
+
"prettier": "^3.4.2",
|
|
56
|
+
"typescript": "^5.7.3",
|
|
57
|
+
"typescript-eslint": "^8.23.0"
|
|
54
58
|
},
|
|
55
59
|
"engines": {
|
|
56
60
|
"node": "18.* || >= 20"
|
|
57
61
|
},
|
|
58
62
|
"scripts": {
|
|
59
63
|
"build": "./build.sh --production",
|
|
60
|
-
"lint": "concurrently
|
|
61
|
-
"lint:fix": "concurrently
|
|
64
|
+
"lint": "concurrently \"pnpm:lint:*(!fix)\" --names \"lint:\"",
|
|
65
|
+
"lint:fix": "concurrently \"pnpm:lint:*:fix\" --names \"fix:\"",
|
|
62
66
|
"lint:js": "eslint . --cache",
|
|
63
67
|
"lint:js:fix": "eslint . --fix",
|
|
64
68
|
"lint:types": "tsc --noEmit",
|
|
65
|
-
"release:
|
|
69
|
+
"release:prepare": "changeset version",
|
|
66
70
|
"release:publish": "pnpm build && changeset publish",
|
|
67
71
|
"test": "./build.sh --test && mt dist-for-testing --quiet"
|
|
68
72
|
}
|