jiek 2.2.3-alpha.5 → 2.2.4
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-only-build.cjs
CHANGED
@@ -118,7 +118,7 @@ async function getSelectedProjectsGraph(filter = commander.program.getOptionValu
|
|
118
118
|
|
119
119
|
var name = "jiek";
|
120
120
|
var type = "module";
|
121
|
-
var version = "2.2.3-alpha.
|
121
|
+
var version = "2.2.3-alpha.5";
|
122
122
|
var description$1 = "A lightweight toolkit for compiling and managing libraries based on `package.json` metadata and suitable for `Monorepo`.";
|
123
123
|
var author = "YiJie <yijie4188@gmail.com>";
|
124
124
|
var homepage = "https://github.com/NWYLZW/jiek/tree/master/packages/jiek#readme";
|
@@ -381,8 +381,8 @@ async function checkDependency(dependency) {
|
|
381
381
|
} catch {
|
382
382
|
console.error(`The package '${dependency}' is not installed, please install it first.`);
|
383
383
|
const { notWorkspace } = getWD();
|
384
|
-
const command = `pnpm
|
385
|
-
if (await prompts.confirm({ message: `Do you want to
|
384
|
+
const command = `pnpm add -${notWorkspace ? "" : "w"}D ${dependency}`;
|
385
|
+
if (await prompts.confirm({ message: `Do you want to add it now? (${command})` })) {
|
386
386
|
node_child_process.execSync(command, {
|
387
387
|
stdio: "inherit",
|
388
388
|
cwd: process__default.default.cwd(),
|
package/dist/cli-only-build.js
CHANGED
@@ -110,7 +110,7 @@ async function getSelectedProjectsGraph(filter = program.getOptionValue("filter"
|
|
110
110
|
|
111
111
|
var name = "jiek";
|
112
112
|
var type = "module";
|
113
|
-
var version = "2.2.3-alpha.
|
113
|
+
var version = "2.2.3-alpha.5";
|
114
114
|
var description$1 = "A lightweight toolkit for compiling and managing libraries based on `package.json` metadata and suitable for `Monorepo`.";
|
115
115
|
var author = "YiJie <yijie4188@gmail.com>";
|
116
116
|
var homepage = "https://github.com/NWYLZW/jiek/tree/master/packages/jiek#readme";
|
@@ -373,8 +373,8 @@ async function checkDependency(dependency) {
|
|
373
373
|
} catch {
|
374
374
|
console.error(`The package '${dependency}' is not installed, please install it first.`);
|
375
375
|
const { notWorkspace } = getWD();
|
376
|
-
const command = `pnpm
|
377
|
-
if (await confirm({ message: `Do you want to
|
376
|
+
const command = `pnpm add -${notWorkspace ? "" : "w"}D ${dependency}`;
|
377
|
+
if (await confirm({ message: `Do you want to add it now? (${command})` })) {
|
378
378
|
execSync(command, {
|
379
379
|
stdio: "inherit",
|
380
380
|
cwd: process$1.cwd(),
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "jiek",
|
3
3
|
"type": "module",
|
4
|
-
"version": "2.2.
|
4
|
+
"version": "2.2.4",
|
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
|
"homepage": "https://github.com/NWYLZW/jiek/tree/master/packages/jiek#readme",
|
@@ -86,8 +86,8 @@
|
|
86
86
|
"jsonc-parser": "^3.2.1",
|
87
87
|
"koa": "^2.15.3",
|
88
88
|
"rollup": "^4.0.0",
|
89
|
-
"@jiek/
|
90
|
-
"@jiek/
|
89
|
+
"@jiek/utils": "^0.2.3",
|
90
|
+
"@jiek/pkger": "^0.2.1"
|
91
91
|
},
|
92
92
|
"peerDependenciesMeta": {
|
93
93
|
"@pnpm/filter-workspace-packages": {
|
@@ -11,8 +11,8 @@ export async function checkDependency(dependency: string) {
|
|
11
11
|
} catch {
|
12
12
|
console.error(`The package '${dependency}' is not installed, please install it first.`)
|
13
13
|
const { notWorkspace } = getWD()
|
14
|
-
const command = `pnpm
|
15
|
-
if (await confirm({ message: `Do you want to
|
14
|
+
const command = `pnpm add -${notWorkspace ? '' : 'w'}D ${dependency}`
|
15
|
+
if (await confirm({ message: `Do you want to add it now? (${command})` })) {
|
16
16
|
execSync(command, {
|
17
17
|
stdio: 'inherit',
|
18
18
|
cwd: process.cwd(),
|