jiek 2.2.7-alpha.4 → 2.2.7-alpha.5
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/.internal/.chunks/index.BHuJRlvZ.js +9059 -0
- package/dist/.internal/.chunks/index.Daihq2aI.cjs +9071 -0
- package/dist/.internal/bin/common.cjs +19 -5
- package/dist/.internal/bin/common.js +18 -4
- package/dist/.internal/bridge.cjs +20 -2
- package/dist/.internal/bridge.js +19 -1
- package/package.json +2 -3
@@ -6,7 +6,7 @@ var fs = require('node:fs');
|
|
6
6
|
var path = require('node:path');
|
7
7
|
var process = require('node:process');
|
8
8
|
var cliProgress = require('cli-progress');
|
9
|
-
var
|
9
|
+
var index = require('../.chunks/index.Daihq2aI.cjs');
|
10
10
|
var node_child_process = require('node:child_process');
|
11
11
|
var prompts = require('@inquirer/prompts');
|
12
12
|
var base = require('../rollup/base.cjs');
|
@@ -14,6 +14,20 @@ var Koa = require('koa');
|
|
14
14
|
var loadConfig = require('../.chunks/loadConfig.OOKddvHF.cjs');
|
15
15
|
require('js-yaml');
|
16
16
|
require('@jiek/utils/getWorkspaceDir');
|
17
|
+
require('node:url');
|
18
|
+
require('node:string_decoder');
|
19
|
+
require('node:util');
|
20
|
+
require('node:tty');
|
21
|
+
require('child_process');
|
22
|
+
require('path');
|
23
|
+
require('fs');
|
24
|
+
require('node:timers/promises');
|
25
|
+
require('node:os');
|
26
|
+
require('node:events');
|
27
|
+
require('node:v8');
|
28
|
+
require('node:stream');
|
29
|
+
require('node:buffer');
|
30
|
+
require('node:stream/promises');
|
17
31
|
|
18
32
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
19
33
|
|
@@ -23,7 +37,7 @@ var Koa__default = /*#__PURE__*/_interopDefault(Koa);
|
|
23
37
|
|
24
38
|
var name = "jiek";
|
25
39
|
var type = "module";
|
26
|
-
var version = "2.2.7-alpha.
|
40
|
+
var version = "2.2.7-alpha.4";
|
27
41
|
var description$1 = "A lightweight toolkit for compiling and managing libraries based on `package.json` metadata and suitable for `Monorepo`.";
|
28
42
|
var author = "YiJie <yijie4188@gmail.com>";
|
29
43
|
var homepage = "https://github.com/NWYLZW/jiek/tree/master/packages/jiek#readme";
|
@@ -69,7 +83,7 @@ var files = [
|
|
69
83
|
"src"
|
70
84
|
];
|
71
85
|
var scripts = {
|
72
|
-
prepublish: "jb -nm && jk",
|
86
|
+
prepublish: "pnpm test && jb -nm && jk",
|
73
87
|
postpublish: "jk",
|
74
88
|
test: "vitest run"
|
75
89
|
};
|
@@ -96,7 +110,6 @@ var dependencies = {
|
|
96
110
|
"cli-progress": "^3.12.0",
|
97
111
|
commander: "^12.0.0",
|
98
112
|
"detect-indent": "^6.1.0",
|
99
|
-
execa: "~9.3.1",
|
100
113
|
"js-yaml": "^4.1.0",
|
101
114
|
"jsonc-parser": "^3.2.1",
|
102
115
|
koa: "^2.15.3",
|
@@ -114,6 +127,7 @@ var devDependencies = {
|
|
114
127
|
"@types/micromatch": "^4.0.6",
|
115
128
|
"@types/react": "^18.3.14",
|
116
129
|
"esbuild-register": "^3.5.0",
|
130
|
+
execa: "~9.3.1",
|
117
131
|
micromatch: "^4.0.5",
|
118
132
|
"node-sass": "^9.0.0",
|
119
133
|
postcss: "^8.4.47",
|
@@ -586,7 +600,7 @@ command.action(async (commandFiltersOrEntries, options) => {
|
|
586
600
|
command2.push("--watch");
|
587
601
|
}
|
588
602
|
command2.push(...passThroughOptions);
|
589
|
-
const child =
|
603
|
+
const child = index.execaCommand(command2.join(" "), {
|
590
604
|
ipc: true,
|
591
605
|
cwd: pkgCWD,
|
592
606
|
windowsHide: true,
|
@@ -4,7 +4,7 @@ import { existsSync, mkdirSync, writeFileSync, statSync } from 'node:fs';
|
|
4
4
|
import path from 'node:path';
|
5
5
|
import process from 'node:process';
|
6
6
|
import { MultiBar, Presets } from 'cli-progress';
|
7
|
-
import { execaCommand } from '
|
7
|
+
import { e as execaCommand } from '../.chunks/index.BHuJRlvZ.js';
|
8
8
|
import { execSync } from 'node:child_process';
|
9
9
|
import { confirm } from '@inquirer/prompts';
|
10
10
|
import { BUILDER_TYPE_PACKAGE_NAME_MAP, BUILDER_TYPES } from '../rollup/base.js';
|
@@ -13,10 +13,24 @@ import { l as loadConfig, t as tsRegisterName } from '../.chunks/loadConfig.CFfz
|
|
13
13
|
import 'node:module';
|
14
14
|
import 'js-yaml';
|
15
15
|
import '@jiek/utils/getWorkspaceDir';
|
16
|
+
import 'node:url';
|
17
|
+
import 'node:string_decoder';
|
18
|
+
import 'node:util';
|
19
|
+
import 'node:tty';
|
20
|
+
import 'child_process';
|
21
|
+
import 'path';
|
22
|
+
import 'fs';
|
23
|
+
import 'node:timers/promises';
|
24
|
+
import 'node:os';
|
25
|
+
import 'node:events';
|
26
|
+
import 'node:v8';
|
27
|
+
import 'node:stream';
|
28
|
+
import 'node:buffer';
|
29
|
+
import 'node:stream/promises';
|
16
30
|
|
17
31
|
var name = "jiek";
|
18
32
|
var type = "module";
|
19
|
-
var version = "2.2.7-alpha.
|
33
|
+
var version = "2.2.7-alpha.4";
|
20
34
|
var description$1 = "A lightweight toolkit for compiling and managing libraries based on `package.json` metadata and suitable for `Monorepo`.";
|
21
35
|
var author = "YiJie <yijie4188@gmail.com>";
|
22
36
|
var homepage = "https://github.com/NWYLZW/jiek/tree/master/packages/jiek#readme";
|
@@ -62,7 +76,7 @@ var files = [
|
|
62
76
|
"src"
|
63
77
|
];
|
64
78
|
var scripts = {
|
65
|
-
prepublish: "jb -nm && jk",
|
79
|
+
prepublish: "pnpm test && jb -nm && jk",
|
66
80
|
postpublish: "jk",
|
67
81
|
test: "vitest run"
|
68
82
|
};
|
@@ -89,7 +103,6 @@ var dependencies = {
|
|
89
103
|
"cli-progress": "^3.12.0",
|
90
104
|
commander: "^12.0.0",
|
91
105
|
"detect-indent": "^6.1.0",
|
92
|
-
execa: "~9.3.1",
|
93
106
|
"js-yaml": "^4.1.0",
|
94
107
|
"jsonc-parser": "^3.2.1",
|
95
108
|
koa: "^2.15.3",
|
@@ -107,6 +120,7 @@ var devDependencies = {
|
|
107
120
|
"@types/micromatch": "^4.0.6",
|
108
121
|
"@types/react": "^18.3.14",
|
109
122
|
"esbuild-register": "^3.5.0",
|
123
|
+
execa: "~9.3.1",
|
110
124
|
micromatch: "^4.0.5",
|
111
125
|
"node-sass": "^9.0.0",
|
112
126
|
postcss: "^8.4.47",
|
@@ -1,11 +1,29 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
var
|
3
|
+
var index = require('./.chunks/index.Daihq2aI.cjs');
|
4
|
+
require('node:url');
|
5
|
+
require('node:child_process');
|
6
|
+
require('node:string_decoder');
|
7
|
+
require('node:util');
|
8
|
+
require('node:process');
|
9
|
+
require('node:fs');
|
10
|
+
require('node:tty');
|
11
|
+
require('node:path');
|
12
|
+
require('child_process');
|
13
|
+
require('path');
|
14
|
+
require('fs');
|
15
|
+
require('node:timers/promises');
|
16
|
+
require('node:os');
|
17
|
+
require('node:events');
|
18
|
+
require('node:v8');
|
19
|
+
require('node:stream');
|
20
|
+
require('node:buffer');
|
21
|
+
require('node:stream/promises');
|
4
22
|
|
5
23
|
const bridgeDisabledRef = { value: false };
|
6
24
|
const publish = async (type, data) => {
|
7
25
|
if (bridgeDisabledRef.value) return Promise.resolve();
|
8
|
-
return
|
26
|
+
return index.sendMessage({ type, data });
|
9
27
|
};
|
10
28
|
|
11
29
|
exports.bridgeDisabledRef = bridgeDisabledRef;
|
package/dist/.internal/bridge.js
CHANGED
@@ -1,4 +1,22 @@
|
|
1
|
-
import { sendMessage } from '
|
1
|
+
import { s as sendMessage } from './.chunks/index.BHuJRlvZ.js';
|
2
|
+
import 'node:url';
|
3
|
+
import 'node:child_process';
|
4
|
+
import 'node:string_decoder';
|
5
|
+
import 'node:util';
|
6
|
+
import 'node:process';
|
7
|
+
import 'node:fs';
|
8
|
+
import 'node:tty';
|
9
|
+
import 'node:path';
|
10
|
+
import 'child_process';
|
11
|
+
import 'path';
|
12
|
+
import 'fs';
|
13
|
+
import 'node:timers/promises';
|
14
|
+
import 'node:os';
|
15
|
+
import 'node:events';
|
16
|
+
import 'node:v8';
|
17
|
+
import 'node:stream';
|
18
|
+
import 'node:buffer';
|
19
|
+
import 'node:stream/promises';
|
2
20
|
|
3
21
|
const bridgeDisabledRef = { value: false };
|
4
22
|
const publish = async (type, data) => {
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "jiek",
|
3
3
|
"type": "module",
|
4
|
-
"version": "2.2.7-alpha.
|
4
|
+
"version": "2.2.7-alpha.5",
|
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",
|
@@ -71,7 +71,6 @@
|
|
71
71
|
"cli-progress": "^3.12.0",
|
72
72
|
"commander": "^12.0.0",
|
73
73
|
"detect-indent": "^6.1.0",
|
74
|
-
"execa": "~9.3.1",
|
75
74
|
"js-yaml": "^4.1.0",
|
76
75
|
"jsonc-parser": "^3.2.1",
|
77
76
|
"koa": "^2.15.3",
|
@@ -112,7 +111,7 @@
|
|
112
111
|
}
|
113
112
|
},
|
114
113
|
"scripts": {
|
115
|
-
"prepublish": "jb -nm && jk",
|
114
|
+
"prepublish": "pnpm test && jb -nm && jk",
|
116
115
|
"test": "vitest run"
|
117
116
|
},
|
118
117
|
"typesVersions": {
|