@soybeanjs/cli 0.5.5 → 0.5.6
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/index.cjs +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.mjs +3 -2
- package/package.json +3 -1
package/dist/index.cjs
CHANGED
|
@@ -16,7 +16,7 @@ const cac__default = /*#__PURE__*/_interopDefaultCompat(cac);
|
|
|
16
16
|
const enquirer__default = /*#__PURE__*/_interopDefaultCompat(enquirer);
|
|
17
17
|
const versionBump__default = /*#__PURE__*/_interopDefaultCompat(versionBump);
|
|
18
18
|
|
|
19
|
-
const version = "0.5.
|
|
19
|
+
const version = "0.5.6";
|
|
20
20
|
|
|
21
21
|
async function execCommand(cmd, args, options) {
|
|
22
22
|
const { execa } = await import('execa');
|
|
@@ -201,6 +201,7 @@ async function loadCliOptions(overrides, cwd = process.cwd()) {
|
|
|
201
201
|
});
|
|
202
202
|
return config;
|
|
203
203
|
}
|
|
204
|
+
const SOYBEAN_GITHUB_TOKEN = "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";
|
|
204
205
|
|
|
205
206
|
async function setupCli() {
|
|
206
207
|
const cliOptions = await loadCliOptions();
|
|
@@ -308,4 +309,5 @@ function defineConfig(config) {
|
|
|
308
309
|
return config;
|
|
309
310
|
}
|
|
310
311
|
|
|
312
|
+
exports.SOYBEAN_GITHUB_TOKEN = SOYBEAN_GITHUB_TOKEN;
|
|
311
313
|
exports.defineConfig = defineConfig;
|
package/dist/index.d.ts
CHANGED
|
@@ -43,6 +43,8 @@ interface CliOption {
|
|
|
43
43
|
lintStagedConfig: Record<string, string | string[]>;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
declare const SOYBEAN_GITHUB_TOKEN = "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";
|
|
47
|
+
|
|
46
48
|
declare function defineConfig(config?: Partial<CliOption>): Partial<CliOption> | undefined;
|
|
47
49
|
|
|
48
|
-
export { CliOption, defineConfig };
|
|
50
|
+
export { CliOption, SOYBEAN_GITHUB_TOKEN, defineConfig };
|
package/dist/index.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import { generateTotalChangelog, generateChangelog } from '@soybeanjs/changelog'
|
|
|
8
8
|
import versionBump from 'bumpp';
|
|
9
9
|
import { loadConfig } from 'c12';
|
|
10
10
|
|
|
11
|
-
const version = "0.5.
|
|
11
|
+
const version = "0.5.6";
|
|
12
12
|
|
|
13
13
|
async function execCommand(cmd, args, options) {
|
|
14
14
|
const { execa } = await import('execa');
|
|
@@ -193,6 +193,7 @@ async function loadCliOptions(overrides, cwd = process.cwd()) {
|
|
|
193
193
|
});
|
|
194
194
|
return config;
|
|
195
195
|
}
|
|
196
|
+
const SOYBEAN_GITHUB_TOKEN = "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";
|
|
196
197
|
|
|
197
198
|
async function setupCli() {
|
|
198
199
|
const cliOptions = await loadCliOptions();
|
|
@@ -300,4 +301,4 @@ function defineConfig(config) {
|
|
|
300
301
|
return config;
|
|
301
302
|
}
|
|
302
303
|
|
|
303
|
-
export { defineConfig };
|
|
304
|
+
export { SOYBEAN_GITHUB_TOKEN, defineConfig };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soybeanjs/cli",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6",
|
|
4
4
|
"description": "SoybeanJS's command line tools",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Soybean",
|
|
@@ -20,6 +20,8 @@
|
|
|
20
20
|
},
|
|
21
21
|
"exports": {
|
|
22
22
|
".": {
|
|
23
|
+
"import": "./dist/index.mjs",
|
|
24
|
+
"require": "./dist/index.cjs",
|
|
23
25
|
"types": "./dist/index.d.ts"
|
|
24
26
|
}
|
|
25
27
|
},
|