@modern-js/plugin-changeset 1.18.1 → 1.20.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @modern-js/plugin-changeset
|
|
2
2
|
|
|
3
|
+
## 1.20.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8c05089: fix: support monorepo deploy in pnpm 7
|
|
8
|
+
fix: 修复 monorepo deploy 命令在 pnpm 7 下的问题
|
|
9
|
+
- Updated dependencies [d5d570b]
|
|
10
|
+
- Updated dependencies [4ddc185]
|
|
11
|
+
- Updated dependencies [df8ee7e]
|
|
12
|
+
- Updated dependencies [8c05089]
|
|
13
|
+
- @modern-js/utils@1.20.0
|
|
14
|
+
- @modern-js/plugin-i18n@1.20.0
|
|
15
|
+
|
|
16
|
+
## 1.19.0
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- d2fbefc: feat: release command support pnpm v7
|
|
21
|
+
|
|
22
|
+
feat: release 命令支持 pnpm v7
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- @modern-js/plugin-i18n@1.19.0
|
|
27
|
+
- @modern-js/utils@1.19.0
|
|
28
|
+
|
|
3
29
|
## 1.18.1
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import path from 'path';
|
|
2
|
-
import { getPackageManager, isMonorepo, fs } from '@modern-js/utils';
|
|
2
|
+
import { getPackageManager, isMonorepo, fs, getPnpmVersion } from '@modern-js/utils';
|
|
3
3
|
import { tag as gitTag } from '@changesets/git';
|
|
4
4
|
import { CHANGESET_PATH, execaWithStreamLog } from "../utils";
|
|
5
5
|
export async function release(options) {
|
|
@@ -30,7 +30,14 @@ export async function release(options) {
|
|
|
30
30
|
|
|
31
31
|
params.push('-r');
|
|
32
32
|
params.push('--filter');
|
|
33
|
-
|
|
33
|
+
const pnpmVersion = await getPnpmVersion();
|
|
34
|
+
|
|
35
|
+
if (pnpmVersion.startsWith('6')) {
|
|
36
|
+
params.push('./packages/');
|
|
37
|
+
} else {
|
|
38
|
+
params.push('{./packages/**}');
|
|
39
|
+
}
|
|
40
|
+
|
|
34
41
|
params.push('--report-summary');
|
|
35
42
|
|
|
36
43
|
if (ignoreScripts) {
|
|
@@ -43,7 +43,14 @@ async function release(options) {
|
|
|
43
43
|
|
|
44
44
|
params.push('-r');
|
|
45
45
|
params.push('--filter');
|
|
46
|
-
|
|
46
|
+
const pnpmVersion = await (0, _utils.getPnpmVersion)();
|
|
47
|
+
|
|
48
|
+
if (pnpmVersion.startsWith('6')) {
|
|
49
|
+
params.push('./packages/');
|
|
50
|
+
} else {
|
|
51
|
+
params.push('{./packages/**}');
|
|
52
|
+
}
|
|
53
|
+
|
|
47
54
|
params.push('--report-summary');
|
|
48
55
|
|
|
49
56
|
if (ignoreScripts) {
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "1.
|
|
14
|
+
"version": "1.20.0",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./dist/types/index.d.ts",
|
|
17
17
|
"main": "./dist/js/node/index.js",
|
|
@@ -35,19 +35,19 @@
|
|
|
35
35
|
"@changesets/cli": "^2.23.0",
|
|
36
36
|
"@changesets/git": "^1.3.2",
|
|
37
37
|
"@changesets/read": "^0.5.5",
|
|
38
|
-
"@modern-js/plugin-i18n": "1.
|
|
39
|
-
"@modern-js/utils": "1.
|
|
38
|
+
"@modern-js/plugin-i18n": "1.20.0",
|
|
39
|
+
"@modern-js/utils": "1.20.0",
|
|
40
40
|
"execa": "^5.1.1",
|
|
41
41
|
"resolve-from": "^5.0.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@modern-js/core": "1.
|
|
45
|
-
"@scripts/build": "1.
|
|
44
|
+
"@modern-js/core": "1.20.0",
|
|
45
|
+
"@scripts/build": "1.20.0",
|
|
46
46
|
"@types/jest": "^27",
|
|
47
47
|
"@types/node": "^14",
|
|
48
48
|
"typescript": "^4",
|
|
49
49
|
"jest": "^27",
|
|
50
|
-
"@scripts/jest-config": "1.
|
|
50
|
+
"@scripts/jest-config": "1.20.0"
|
|
51
51
|
},
|
|
52
52
|
"sideEffects": false,
|
|
53
53
|
"publishConfig": {
|
|
@@ -82,6 +82,5 @@
|
|
|
82
82
|
"dev": "modern build --watch",
|
|
83
83
|
"build": "wireit",
|
|
84
84
|
"test": "wireit"
|
|
85
|
-
}
|
|
86
|
-
"readme": "\n<p align=\"center\">\n <a href=\"https://modernjs.dev\" target=\"blank\"><img src=\"https://lf3-static.bytednsdoc.com/obj/eden-cn/ylaelkeh7nuhfnuhf/modernjs-cover.png\" width=\"300\" alt=\"Modern.js Logo\" /></a>\n</p>\n<p align=\"center\">\n现代 Web 工程体系\n <br/>\n <a href=\"https://modernjs.dev\" target=\"blank\">\n modernjs.dev\n </a>\n</p>\n<p align=\"center\">\n The meta-framework suite designed from scratch for frontend-focused modern web development\n</p>\n\n# Introduction\n\n> The doc site ([modernjs.dev](https://modernjs.dev)) and articles are only available in Chinese for now, we are planning to add English versions soon.\n\n- [Modern.js: Hello, World!](https://zhuanlan.zhihu.com/p/426707646)\n\n## Getting Started\n\n- [Quick Start](https://modernjs.dev/docs/start)\n- [Guides](https://modernjs.dev/docs/guides)\n- [API References](https://modernjs.dev/docs/apis)\n\n## Contributing\n\n- [Contributing Guide](https://github.com/modern-js-dev/modern.js/blob/main/CONTRIBUTING.md)\n"
|
|
85
|
+
}
|
|
87
86
|
}
|