react-native-update-cli 2.10.1 → 2.11.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/README.md +47 -497
- package/README.zh-CN.md +52 -500
- package/cli.json +2 -16
- package/lib/api.js +1 -1
- package/lib/app.d.ts +1 -1
- package/lib/app.js +42 -45
- package/lib/bin.d.ts +2 -0
- package/lib/bin.js +70 -0
- package/lib/bundle-runner.d.ts +1 -0
- package/lib/bundle-runner.js +46 -10
- package/lib/exports.d.ts +2 -9
- package/lib/exports.js +0 -31
- package/lib/index.d.ts +1 -5
- package/lib/index.js +12 -128
- package/lib/locales/en.d.ts +1 -0
- package/lib/locales/en.js +1 -0
- package/lib/locales/zh.d.ts +1 -0
- package/lib/locales/zh.js +1 -0
- package/lib/package.d.ts +1 -2
- package/lib/package.js +50 -10
- package/lib/provider.d.ts +1 -4
- package/lib/provider.js +6 -25
- package/lib/types.d.ts +0 -37
- package/lib/user.d.ts +1 -1
- package/lib/user.js +1 -1
- package/lib/utils/app-info-parser/aab.js +46 -5
- package/lib/utils/app-info-parser/resource-finder.js +5 -5
- package/lib/utils/app-info-parser/utils.js +3 -2
- package/lib/utils/check-lockfile.js +1 -1
- package/lib/utils/dep-versions.js +2 -2
- package/lib/utils/http-helper.js +2 -2
- package/lib/utils/index.d.ts +0 -1
- package/lib/utils/index.js +0 -13
- package/lib/utils/plugin-config.js +42 -6
- package/lib/versions.d.ts +1 -0
- package/lib/versions.js +19 -16
- package/package.json +8 -10
- package/src/api.ts +1 -1
- package/src/app.ts +40 -40
- package/src/bin.ts +86 -0
- package/src/bundle-runner.ts +70 -12
- package/src/exports.ts +1 -12
- package/src/index.ts +1 -159
- package/src/locales/en.ts +1 -0
- package/src/locales/zh.ts +1 -0
- package/src/package.ts +6 -10
- package/src/provider.ts +10 -29
- package/src/types.ts +0 -54
- package/src/user.ts +1 -1
- package/src/utils/app-info-parser/aab.ts +2 -2
- package/src/utils/app-info-parser/resource-finder.ts +5 -5
- package/src/utils/app-info-parser/utils.ts +2 -2
- package/src/utils/check-lockfile.ts +1 -1
- package/src/utils/dep-versions.ts +2 -2
- package/src/utils/http-helper.ts +2 -2
- package/src/utils/index.ts +1 -12
- package/src/utils/plugin-config.ts +1 -1
- package/src/versions.ts +25 -17
- package/lib/module-manager.d.ts +0 -20
- package/lib/module-manager.js +0 -118
- package/lib/modules/app-module.d.ts +0 -2
- package/lib/modules/app-module.js +0 -263
- package/lib/modules/bundle-module.d.ts +0 -2
- package/lib/modules/bundle-module.js +0 -187
- package/lib/modules/index.d.ts +0 -6
- package/lib/modules/index.js +0 -42
- package/lib/modules/package-module.d.ts +0 -2
- package/lib/modules/package-module.js +0 -16
- package/lib/modules/user-module.d.ts +0 -2
- package/lib/modules/user-module.js +0 -413
- package/lib/modules/version-module.d.ts +0 -2
- package/lib/modules/version-module.js +0 -16
- package/lib/workflow-runner.d.ts +0 -2
- package/lib/workflow-runner.js +0 -25
- package/src/module-manager.ts +0 -145
- package/src/modules/app-module.ts +0 -277
- package/src/modules/bundle-module.ts +0 -212
- package/src/modules/index.ts +0 -19
- package/src/modules/package-module.ts +0 -10
- package/src/modules/user-module.ts +0 -465
- package/src/modules/version-module.ts +0 -8
- package/src/workflow-runner.ts +0 -24
|
@@ -1,263 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "appModule", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return appModule;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
const _app = require("../app");
|
|
12
|
-
const _options = require("../utils/options");
|
|
13
|
-
const allPlatforms = [
|
|
14
|
-
'ios',
|
|
15
|
-
'android',
|
|
16
|
-
'harmony'
|
|
17
|
-
];
|
|
18
|
-
const emptyAppsData = {
|
|
19
|
-
ios: [],
|
|
20
|
-
android: [],
|
|
21
|
-
harmony: []
|
|
22
|
-
};
|
|
23
|
-
function isPlatform(value) {
|
|
24
|
-
return value === 'ios' || value === 'android' || value === 'harmony';
|
|
25
|
-
}
|
|
26
|
-
function normalizePlatformOption(value) {
|
|
27
|
-
return isPlatform(value) ? value : '';
|
|
28
|
-
}
|
|
29
|
-
const appModule = {
|
|
30
|
-
name: 'app',
|
|
31
|
-
version: '1.0.0',
|
|
32
|
-
commands: [],
|
|
33
|
-
workflows: [
|
|
34
|
-
{
|
|
35
|
-
name: 'setup-app',
|
|
36
|
-
description: 'Setup a new app with initial configuration',
|
|
37
|
-
steps: [
|
|
38
|
-
{
|
|
39
|
-
name: 'create',
|
|
40
|
-
description: 'Create the app',
|
|
41
|
-
execute: async (context)=>{
|
|
42
|
-
console.log('Creating app in workflow');
|
|
43
|
-
const name = (0, _options.getStringOption)(context.options, 'name');
|
|
44
|
-
const downloadUrl = (0, _options.getStringOption)(context.options, 'downloadUrl');
|
|
45
|
-
const platform = normalizePlatformOption(context.options.platform);
|
|
46
|
-
await _app.appCommands.createApp({
|
|
47
|
-
options: {
|
|
48
|
-
name,
|
|
49
|
-
downloadUrl,
|
|
50
|
-
platform
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
return {
|
|
54
|
-
appCreated: true
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
name: 'select',
|
|
60
|
-
description: 'Select the created app',
|
|
61
|
-
execute: async (context, previousResult)=>{
|
|
62
|
-
console.log('Selecting app in workflow');
|
|
63
|
-
const state = (0, _options.toObjectState)(previousResult, {});
|
|
64
|
-
const platform = normalizePlatformOption(context.options.platform);
|
|
65
|
-
await _app.appCommands.selectApp({
|
|
66
|
-
args: [],
|
|
67
|
-
options: {
|
|
68
|
-
platform
|
|
69
|
-
}
|
|
70
|
-
});
|
|
71
|
-
return {
|
|
72
|
-
...state,
|
|
73
|
-
appSelected: true
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
]
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
name: 'manage-apps',
|
|
81
|
-
description: 'Manage multiple apps',
|
|
82
|
-
steps: [
|
|
83
|
-
{
|
|
84
|
-
name: 'list-apps',
|
|
85
|
-
description: 'List all apps',
|
|
86
|
-
execute: async (context)=>{
|
|
87
|
-
console.log('Listing all apps');
|
|
88
|
-
const platform = normalizePlatformOption(context.options.platform);
|
|
89
|
-
await _app.appCommands.apps({
|
|
90
|
-
options: {
|
|
91
|
-
platform
|
|
92
|
-
}
|
|
93
|
-
});
|
|
94
|
-
return {
|
|
95
|
-
appsListed: true
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
name: 'select-target-app',
|
|
101
|
-
description: 'Select target app for operations',
|
|
102
|
-
execute: async (context, previousResult)=>{
|
|
103
|
-
console.log('Selecting target app');
|
|
104
|
-
const state = (0, _options.toObjectState)(previousResult, {});
|
|
105
|
-
const platform = normalizePlatformOption(context.options.platform);
|
|
106
|
-
await _app.appCommands.selectApp({
|
|
107
|
-
args: [],
|
|
108
|
-
options: {
|
|
109
|
-
platform
|
|
110
|
-
}
|
|
111
|
-
});
|
|
112
|
-
return {
|
|
113
|
-
...state,
|
|
114
|
-
targetAppSelected: true
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
]
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
name: 'multi-platform-app-management',
|
|
122
|
-
description: 'Multi-platform app unified management workflow',
|
|
123
|
-
steps: [
|
|
124
|
-
{
|
|
125
|
-
name: 'scan-platforms',
|
|
126
|
-
description: 'Scan apps on all platforms',
|
|
127
|
-
execute: async (context)=>{
|
|
128
|
-
console.log('🔍 Scanning apps on all platforms...');
|
|
129
|
-
const appsData = {
|
|
130
|
-
ios: [],
|
|
131
|
-
android: [],
|
|
132
|
-
harmony: []
|
|
133
|
-
};
|
|
134
|
-
for (const platform of allPlatforms){
|
|
135
|
-
console.log(` Scanning ${platform} platform...`);
|
|
136
|
-
try {
|
|
137
|
-
const rawApps = await (0, _app.listApp)(platform);
|
|
138
|
-
const apps = rawApps.map((app, index)=>{
|
|
139
|
-
var _app_id, _app_name, _app_platform, _app_version;
|
|
140
|
-
return {
|
|
141
|
-
id: String((_app_id = app.id) != null ? _app_id : `${platform}-app-${index + 1}`),
|
|
142
|
-
name: (_app_name = app.name) != null ? _app_name : `App ${index + 1}`,
|
|
143
|
-
platform: (_app_platform = app.platform) != null ? _app_platform : platform,
|
|
144
|
-
version: typeof app.version === 'string' ? (_app_version = app.version) != null ? _app_version : 'unknown' : 'unknown',
|
|
145
|
-
status: app.status === 'inactive' ? 'inactive' : 'active'
|
|
146
|
-
};
|
|
147
|
-
});
|
|
148
|
-
appsData[platform] = apps;
|
|
149
|
-
console.log(` ✅ Found ${apps.length} apps`);
|
|
150
|
-
} catch (error) {
|
|
151
|
-
appsData[platform] = [];
|
|
152
|
-
console.warn(` ⚠️ Failed to scan ${platform}:`, error);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
console.log('✅ Platform scanning completed');
|
|
156
|
-
return {
|
|
157
|
-
platforms: allPlatforms,
|
|
158
|
-
appsData,
|
|
159
|
-
scanned: true
|
|
160
|
-
};
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
name: 'analyze-apps',
|
|
165
|
-
description: 'Analyze app status',
|
|
166
|
-
execute: async (context, previousResult)=>{
|
|
167
|
-
var _state_appsData;
|
|
168
|
-
console.log('📊 Analyzing app status...');
|
|
169
|
-
const state = (0, _options.toObjectState)(previousResult, {});
|
|
170
|
-
const appsData = (_state_appsData = state.appsData) != null ? _state_appsData : emptyAppsData;
|
|
171
|
-
const analysis = {
|
|
172
|
-
totalApps: 0,
|
|
173
|
-
activeApps: 0,
|
|
174
|
-
inactiveApps: 0,
|
|
175
|
-
platformDistribution: {
|
|
176
|
-
ios: 0,
|
|
177
|
-
android: 0,
|
|
178
|
-
harmony: 0
|
|
179
|
-
},
|
|
180
|
-
issues: []
|
|
181
|
-
};
|
|
182
|
-
for (const platform of allPlatforms){
|
|
183
|
-
var _appsData_platform;
|
|
184
|
-
const platformApps = (_appsData_platform = appsData[platform]) != null ? _appsData_platform : [];
|
|
185
|
-
analysis.totalApps += platformApps.length;
|
|
186
|
-
analysis.platformDistribution[platform] = platformApps.length;
|
|
187
|
-
for (const app of platformApps){
|
|
188
|
-
if (app.status === 'active') {
|
|
189
|
-
analysis.activeApps++;
|
|
190
|
-
} else {
|
|
191
|
-
analysis.inactiveApps++;
|
|
192
|
-
analysis.issues.push(`${platform}/${app.name}: App is inactive`);
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
console.log('📈 Analysis results:');
|
|
197
|
-
console.log(` Total apps: ${analysis.totalApps}`);
|
|
198
|
-
console.log(` Active apps: ${analysis.activeApps}`);
|
|
199
|
-
console.log(` Inactive apps: ${analysis.inactiveApps}`);
|
|
200
|
-
if (analysis.issues.length > 0) {
|
|
201
|
-
console.log('⚠️ Issues found:');
|
|
202
|
-
for (const issue of analysis.issues){
|
|
203
|
-
console.log(` - ${issue}`);
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
return {
|
|
207
|
-
...state,
|
|
208
|
-
analysis
|
|
209
|
-
};
|
|
210
|
-
}
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
name: 'optimize-apps',
|
|
214
|
-
description: 'Optimize app configuration',
|
|
215
|
-
execute: async (context, previousResult)=>{
|
|
216
|
-
console.log('⚡ Optimizing app configuration...');
|
|
217
|
-
const state = (0, _options.toObjectState)(previousResult, {});
|
|
218
|
-
const analysis = state.analysis;
|
|
219
|
-
if (!analysis) {
|
|
220
|
-
console.log(' No analysis data, skip optimization');
|
|
221
|
-
return {
|
|
222
|
-
...state,
|
|
223
|
-
optimizations: [],
|
|
224
|
-
optimized: false
|
|
225
|
-
};
|
|
226
|
-
}
|
|
227
|
-
const optimizations = [];
|
|
228
|
-
if (analysis.inactiveApps > 0) {
|
|
229
|
-
console.log(' Handling inactive apps...');
|
|
230
|
-
optimizations.push('Reactivate inactive apps');
|
|
231
|
-
}
|
|
232
|
-
if (analysis.totalApps > 10) {
|
|
233
|
-
console.log(' Many apps detected, suggest grouping...');
|
|
234
|
-
optimizations.push('Create app groups');
|
|
235
|
-
}
|
|
236
|
-
for (const optimization of optimizations){
|
|
237
|
-
console.log(` Executing: ${optimization}...`);
|
|
238
|
-
console.log(` ✅ ${optimization} completed`);
|
|
239
|
-
}
|
|
240
|
-
console.log('✅ App optimization completed');
|
|
241
|
-
return {
|
|
242
|
-
...state,
|
|
243
|
-
optimizations,
|
|
244
|
-
optimized: true
|
|
245
|
-
};
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
],
|
|
249
|
-
options: {
|
|
250
|
-
includeInactive: {
|
|
251
|
-
hasValue: false,
|
|
252
|
-
default: true,
|
|
253
|
-
description: 'Include inactive apps'
|
|
254
|
-
},
|
|
255
|
-
autoOptimize: {
|
|
256
|
-
hasValue: false,
|
|
257
|
-
default: true,
|
|
258
|
-
description: 'Auto optimize configuration'
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
]
|
|
263
|
-
};
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "bundleModule", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return bundleModule;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
const _bundle = require("../bundle");
|
|
12
|
-
const bundleModule = {
|
|
13
|
-
name: 'bundle',
|
|
14
|
-
version: '1.0.0',
|
|
15
|
-
commands: [],
|
|
16
|
-
workflows: [
|
|
17
|
-
{
|
|
18
|
-
name: 'incremental-build',
|
|
19
|
-
description: 'Incremental build workflow - generate diff packages',
|
|
20
|
-
steps: [
|
|
21
|
-
{
|
|
22
|
-
name: 'detect-base-version',
|
|
23
|
-
description: 'Detect base version',
|
|
24
|
-
execute: async (context)=>{
|
|
25
|
-
console.log('🔍 Detecting base version...');
|
|
26
|
-
const { baseVersion } = context.options;
|
|
27
|
-
if (baseVersion) {
|
|
28
|
-
console.log(`✅ Using specified base version: ${baseVersion}`);
|
|
29
|
-
return {
|
|
30
|
-
baseVersion,
|
|
31
|
-
specified: true
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
const autoDetectedVersion = 'latest';
|
|
35
|
-
console.log(`✅ Auto detected base version: ${autoDetectedVersion}`);
|
|
36
|
-
return {
|
|
37
|
-
baseVersion: autoDetectedVersion,
|
|
38
|
-
specified: false
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
name: 'build-current-version',
|
|
44
|
-
description: 'Build current version',
|
|
45
|
-
execute: async (context, previousResult)=>{
|
|
46
|
-
console.log('🏗️ Building current version...');
|
|
47
|
-
const state = previousResult && typeof previousResult === 'object' ? previousResult : {};
|
|
48
|
-
const { platform, dev = false, sourcemap = false, bundleName = 'index.bundlejs', entryFile = 'index.js', intermediaDir, taro = false, expo = false, rncli = false, hermes = false, output } = context.options;
|
|
49
|
-
console.log(`Building ${platform} platform...`);
|
|
50
|
-
console.log(` Entry file: ${entryFile}`);
|
|
51
|
-
console.log(` Bundle name: ${bundleName}`);
|
|
52
|
-
console.log(` Development mode: ${dev}`);
|
|
53
|
-
console.log(` Source maps: ${sourcemap}`);
|
|
54
|
-
try {
|
|
55
|
-
const buildOptions = {
|
|
56
|
-
platform,
|
|
57
|
-
dev,
|
|
58
|
-
sourcemap,
|
|
59
|
-
bundleName,
|
|
60
|
-
entryFile,
|
|
61
|
-
taro,
|
|
62
|
-
expo,
|
|
63
|
-
rncli,
|
|
64
|
-
hermes,
|
|
65
|
-
intermediaDir: '${tempDir}/intermedia/${platform}',
|
|
66
|
-
output: '${tempDir}/output/${platform}.${time}.ppk'
|
|
67
|
-
};
|
|
68
|
-
if (intermediaDir) {
|
|
69
|
-
buildOptions.intermediaDir = intermediaDir;
|
|
70
|
-
}
|
|
71
|
-
await _bundle.bundleCommands.bundle({
|
|
72
|
-
args: [],
|
|
73
|
-
options: buildOptions
|
|
74
|
-
});
|
|
75
|
-
const bundlePath = typeof output === 'string' ? output : '${tempDir}/output/${platform}.${time}.ppk';
|
|
76
|
-
const currentBuild = {
|
|
77
|
-
version: typeof state.baseVersion === 'string' ? state.baseVersion : 'current',
|
|
78
|
-
platform,
|
|
79
|
-
bundlePath,
|
|
80
|
-
buildTime: Date.now()
|
|
81
|
-
};
|
|
82
|
-
console.log(`✅ Current version build completed: ${currentBuild.version}`);
|
|
83
|
-
return {
|
|
84
|
-
...state,
|
|
85
|
-
currentBuild
|
|
86
|
-
};
|
|
87
|
-
} catch (error) {
|
|
88
|
-
console.error('❌ Current version build failed:', error);
|
|
89
|
-
throw error;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
],
|
|
94
|
-
validate: (context)=>{
|
|
95
|
-
if (!context.options.platform) {
|
|
96
|
-
console.error('❌ Incremental build requires platform specification');
|
|
97
|
-
return false;
|
|
98
|
-
}
|
|
99
|
-
return true;
|
|
100
|
-
},
|
|
101
|
-
options: {
|
|
102
|
-
platform: {
|
|
103
|
-
hasValue: true,
|
|
104
|
-
description: 'Target platform (required)'
|
|
105
|
-
},
|
|
106
|
-
baseVersion: {
|
|
107
|
-
hasValue: true,
|
|
108
|
-
description: 'Base version (auto detect if not specified)'
|
|
109
|
-
},
|
|
110
|
-
skipValidation: {
|
|
111
|
-
hasValue: false,
|
|
112
|
-
default: false,
|
|
113
|
-
description: 'Skip diff package validation'
|
|
114
|
-
},
|
|
115
|
-
dev: {
|
|
116
|
-
hasValue: false,
|
|
117
|
-
default: false,
|
|
118
|
-
description: 'Development mode build'
|
|
119
|
-
},
|
|
120
|
-
bundleName: {
|
|
121
|
-
hasValue: true,
|
|
122
|
-
default: 'index.bundlejs',
|
|
123
|
-
description: 'Bundle file name'
|
|
124
|
-
},
|
|
125
|
-
entryFile: {
|
|
126
|
-
hasValue: true,
|
|
127
|
-
default: 'index.js',
|
|
128
|
-
description: 'Entry file'
|
|
129
|
-
},
|
|
130
|
-
sourcemap: {
|
|
131
|
-
hasValue: false,
|
|
132
|
-
default: false,
|
|
133
|
-
description: 'Generate source maps'
|
|
134
|
-
},
|
|
135
|
-
output: {
|
|
136
|
-
hasValue: true,
|
|
137
|
-
description: 'Custom output path for diff package'
|
|
138
|
-
},
|
|
139
|
-
intermediaDir: {
|
|
140
|
-
hasValue: true,
|
|
141
|
-
description: 'Intermediate directory'
|
|
142
|
-
},
|
|
143
|
-
taro: {
|
|
144
|
-
hasValue: false,
|
|
145
|
-
default: false,
|
|
146
|
-
description: 'Use Taro CLI'
|
|
147
|
-
},
|
|
148
|
-
expo: {
|
|
149
|
-
hasValue: false,
|
|
150
|
-
default: false,
|
|
151
|
-
description: 'Use Expo CLI'
|
|
152
|
-
},
|
|
153
|
-
rncli: {
|
|
154
|
-
hasValue: false,
|
|
155
|
-
default: false,
|
|
156
|
-
description: 'Use React Native CLI'
|
|
157
|
-
},
|
|
158
|
-
hermes: {
|
|
159
|
-
hasValue: false,
|
|
160
|
-
default: false,
|
|
161
|
-
description: 'Force enable Hermes'
|
|
162
|
-
},
|
|
163
|
-
name: {
|
|
164
|
-
hasValue: true,
|
|
165
|
-
description: 'Version name for publishing'
|
|
166
|
-
},
|
|
167
|
-
description: {
|
|
168
|
-
hasValue: true,
|
|
169
|
-
description: 'Version description for publishing'
|
|
170
|
-
},
|
|
171
|
-
metaInfo: {
|
|
172
|
-
hasValue: true,
|
|
173
|
-
description: 'Meta information for publishing'
|
|
174
|
-
},
|
|
175
|
-
rollout: {
|
|
176
|
-
hasValue: true,
|
|
177
|
-
description: 'Rollout percentage'
|
|
178
|
-
},
|
|
179
|
-
dryRun: {
|
|
180
|
-
hasValue: false,
|
|
181
|
-
default: false,
|
|
182
|
-
description: 'Dry run mode'
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
]
|
|
187
|
-
};
|
package/lib/modules/index.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { appModule } from './app-module';
|
|
2
|
-
export { bundleModule } from './bundle-module';
|
|
3
|
-
export { packageModule } from './package-module';
|
|
4
|
-
export { userModule } from './user-module';
|
|
5
|
-
export { versionModule } from './version-module';
|
|
6
|
-
export declare const builtinModules: import("..").CLIModule[];
|
package/lib/modules/index.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
function _export(target, all) {
|
|
6
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
_export(exports, {
|
|
12
|
-
get appModule () {
|
|
13
|
-
return _appmodule.appModule;
|
|
14
|
-
},
|
|
15
|
-
get builtinModules () {
|
|
16
|
-
return builtinModules;
|
|
17
|
-
},
|
|
18
|
-
get bundleModule () {
|
|
19
|
-
return _bundlemodule.bundleModule;
|
|
20
|
-
},
|
|
21
|
-
get packageModule () {
|
|
22
|
-
return _packagemodule.packageModule;
|
|
23
|
-
},
|
|
24
|
-
get userModule () {
|
|
25
|
-
return _usermodule.userModule;
|
|
26
|
-
},
|
|
27
|
-
get versionModule () {
|
|
28
|
-
return _versionmodule.versionModule;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
const _appmodule = require("./app-module");
|
|
32
|
-
const _bundlemodule = require("./bundle-module");
|
|
33
|
-
const _packagemodule = require("./package-module");
|
|
34
|
-
const _usermodule = require("./user-module");
|
|
35
|
-
const _versionmodule = require("./version-module");
|
|
36
|
-
const builtinModules = [
|
|
37
|
-
_bundlemodule.bundleModule,
|
|
38
|
-
_versionmodule.versionModule,
|
|
39
|
-
_appmodule.appModule,
|
|
40
|
-
_usermodule.userModule,
|
|
41
|
-
_packagemodule.packageModule
|
|
42
|
-
];
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "packageModule", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return packageModule;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
const packageModule = {
|
|
12
|
-
name: 'package',
|
|
13
|
-
version: '1.0.0',
|
|
14
|
-
commands: [],
|
|
15
|
-
workflows: []
|
|
16
|
-
};
|