jiek 2.0.2-alpha.6 → 2.0.2-alpha.7
Sign up to get free protection for your applications and to get access to all the features.
- package/cli-only-build.cjs +1 -1
- package/cli-only-build.js +1 -1
- package/cli.cjs +8 -2
- package/cli.js +8 -2
- package/package.json +25 -28
package/cli-only-build.cjs
CHANGED
@@ -116,7 +116,7 @@ async function getSelectedProjectsGraph(filter = commander.program.getOptionValu
|
|
116
116
|
|
117
117
|
var name = "jiek";
|
118
118
|
var type = "module";
|
119
|
-
var version = "2.0.2-alpha.
|
119
|
+
var version = "2.0.2-alpha.6";
|
120
120
|
var description$1 = "A lightweight toolkit for compiling and managing libraries based on `package.json` metadata and suitable for `Monorepo`.";
|
121
121
|
var author = "YiJie <yijie4188@gmail.com>";
|
122
122
|
var repository = {
|
package/cli-only-build.js
CHANGED
@@ -108,7 +108,7 @@ async function getSelectedProjectsGraph(filter = program.getOptionValue("filter"
|
|
108
108
|
|
109
109
|
var name = "jiek";
|
110
110
|
var type = "module";
|
111
|
-
var version = "2.0.2-alpha.
|
111
|
+
var version = "2.0.2-alpha.6";
|
112
112
|
var description$1 = "A lightweight toolkit for compiling and managing libraries based on `package.json` metadata and suitable for `Monorepo`.";
|
113
113
|
var author = "YiJie <yijie4188@gmail.com>";
|
114
114
|
var repository = {
|
package/cli.cjs
CHANGED
@@ -4548,6 +4548,8 @@ async function prepublish() {
|
|
4548
4548
|
)
|
4549
4549
|
);
|
4550
4550
|
for (const [key, value] of Object.entries(manifest)) {
|
4551
|
+
if (key === "version")
|
4552
|
+
continue;
|
4551
4553
|
if (JSON.stringify(value) === JSON.stringify(oldJSON[key]))
|
4552
4554
|
continue;
|
4553
4555
|
if (key !== "exports") {
|
@@ -4615,7 +4617,7 @@ async function prepublish() {
|
|
4615
4617
|
newJSONString,
|
4616
4618
|
jsoncParser.modify(
|
4617
4619
|
newJSONString,
|
4618
|
-
["
|
4620
|
+
["peerDependenciesMeta"],
|
4619
4621
|
peerDependenciesMeta,
|
4620
4622
|
{ formattingOptions }
|
4621
4623
|
)
|
@@ -4685,8 +4687,12 @@ async function postpublish() {
|
|
4685
4687
|
if (fs__default.default.existsSync(jiekTempPackageJSON)) {
|
4686
4688
|
fs__default.default.copyFileSync(jiekTempPackageJSON, packageJSON);
|
4687
4689
|
fs__default.default.rmSync(jiekTempPackageJSON);
|
4690
|
+
console.log(`
|
4691
|
+
${dir}/package.json has been restored`);
|
4688
4692
|
} else {
|
4689
|
-
throw new Error(
|
4693
|
+
throw new Error(
|
4694
|
+
`jiek temp \`${dir}/package.json\` not found, please confirm the jiek pre-publish command has been executed`
|
4695
|
+
);
|
4690
4696
|
}
|
4691
4697
|
});
|
4692
4698
|
}
|
package/cli.js
CHANGED
@@ -4518,6 +4518,8 @@ async function prepublish() {
|
|
4518
4518
|
)
|
4519
4519
|
);
|
4520
4520
|
for (const [key, value] of Object.entries(manifest)) {
|
4521
|
+
if (key === "version")
|
4522
|
+
continue;
|
4521
4523
|
if (JSON.stringify(value) === JSON.stringify(oldJSON[key]))
|
4522
4524
|
continue;
|
4523
4525
|
if (key !== "exports") {
|
@@ -4585,7 +4587,7 @@ async function prepublish() {
|
|
4585
4587
|
newJSONString,
|
4586
4588
|
modify(
|
4587
4589
|
newJSONString,
|
4588
|
-
["
|
4590
|
+
["peerDependenciesMeta"],
|
4589
4591
|
peerDependenciesMeta,
|
4590
4592
|
{ formattingOptions }
|
4591
4593
|
)
|
@@ -4655,8 +4657,12 @@ async function postpublish() {
|
|
4655
4657
|
if (fs.existsSync(jiekTempPackageJSON)) {
|
4656
4658
|
fs.copyFileSync(jiekTempPackageJSON, packageJSON);
|
4657
4659
|
fs.rmSync(jiekTempPackageJSON);
|
4660
|
+
console.log(`
|
4661
|
+
${dir}/package.json has been restored`);
|
4658
4662
|
} else {
|
4659
|
-
throw new Error(
|
4663
|
+
throw new Error(
|
4664
|
+
`jiek temp \`${dir}/package.json\` not found, please confirm the jiek pre-publish command has been executed`
|
4665
|
+
);
|
4660
4666
|
}
|
4661
4667
|
});
|
4662
4668
|
}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "jiek",
|
3
3
|
"type": "module",
|
4
|
-
"version": "2.0.2-alpha.
|
4
|
+
"version": "2.0.2-alpha.7",
|
5
5
|
"description": "A lightweight toolkit for compiling and managing libraries based on `package.json` metadata and suitable for `Monorepo`.",
|
6
6
|
"author": "YiJie <yijie4188@gmail.com>",
|
7
7
|
"repository": {
|
@@ -85,33 +85,30 @@
|
|
85
85
|
"rollup-plugin-esbuild": "^6.1.0",
|
86
86
|
"rollup-plugin-swc3": "^0.12.1"
|
87
87
|
},
|
88
|
-
"
|
89
|
-
"
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
"typescript": {
|
113
|
-
"optional": true
|
114
|
-
}
|
88
|
+
"peerDependenciesMeta": {
|
89
|
+
"@rollup/plugin-terser": {
|
90
|
+
"optional": true
|
91
|
+
},
|
92
|
+
"@pnpm/filter-workspace-packages": {
|
93
|
+
"optional": true
|
94
|
+
},
|
95
|
+
"esbuild-register": {
|
96
|
+
"optional": true
|
97
|
+
},
|
98
|
+
"postcss": {
|
99
|
+
"optional": true
|
100
|
+
},
|
101
|
+
"rollup-plugin-postcss": {
|
102
|
+
"optional": true
|
103
|
+
},
|
104
|
+
"rollup-plugin-esbuild": {
|
105
|
+
"optional": true
|
106
|
+
},
|
107
|
+
"rollup-plugin-swc3": {
|
108
|
+
"optional": true
|
109
|
+
},
|
110
|
+
"typescript": {
|
111
|
+
"optional": true
|
115
112
|
}
|
116
113
|
},
|
117
114
|
"scripts": {
|