@contentstack/cli-cm-bootstrap 1.7.1 → 1.9.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/LICENSE +1 -1
- package/README.md +1 -1
- package/lib/bootstrap/github/client.js +1 -1
- package/lib/bootstrap/index.js +1 -1
- package/lib/bootstrap/interactive.d.ts +1 -0
- package/lib/bootstrap/interactive.js +12 -1
- package/lib/bootstrap/utils.js +63 -29
- package/lib/config.js +6 -1
- package/oclif.manifest.json +1 -1
- package/package.json +6 -6
package/LICENSE
CHANGED
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ $ npm install -g @contentstack/cli-cm-bootstrap
|
|
|
15
15
|
$ csdx COMMAND
|
|
16
16
|
running command...
|
|
17
17
|
$ csdx (--version)
|
|
18
|
-
@contentstack/cli-cm-bootstrap/1.
|
|
18
|
+
@contentstack/cli-cm-bootstrap/1.9.0 linux-x64 node-v18.19.1
|
|
19
19
|
$ csdx --help [COMMAND]
|
|
20
20
|
USAGE
|
|
21
21
|
$ csdx COMMAND
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const zlib = require("zlib");
|
|
4
4
|
const tar = require("tar");
|
|
5
|
-
const mkdirp = require(
|
|
5
|
+
const mkdirp = require('mkdirp');
|
|
6
6
|
const cli_utilities_1 = require("@contentstack/cli-utilities");
|
|
7
7
|
const github_error_1 = require("./github-error");
|
|
8
8
|
const messages_1 = require("../../messages");
|
package/lib/bootstrap/index.js
CHANGED
|
@@ -72,7 +72,7 @@ class Bootstrap {
|
|
|
72
72
|
throw new Error(messages_1.default.parse('CLI_BOOTSTRAP_NO_API_KEY_FOUND'));
|
|
73
73
|
}
|
|
74
74
|
if (this.options.livePreviewEnabled) {
|
|
75
|
-
cli_utilities_1.cliux.print('
|
|
75
|
+
cli_utilities_1.cliux.print('Note: Before running the app, please configure a preview token, preview host, and app host in the environment file', {
|
|
76
76
|
color: 'yellow',
|
|
77
77
|
});
|
|
78
78
|
}
|
|
@@ -9,3 +9,4 @@ export declare function inquireCloneDirectory(): Promise<string>;
|
|
|
9
9
|
export declare function inquireGithubAccessToken(): Promise<any>;
|
|
10
10
|
export declare function inquireAppType(): Promise<string>;
|
|
11
11
|
export declare function inquireLivePreviewSupport(): Promise<any>;
|
|
12
|
+
export declare function continueBootstrapCommand(): Promise<any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.inquireLivePreviewSupport = exports.inquireAppType = exports.inquireGithubAccessToken = exports.inquireCloneDirectory = exports.inquireApp = void 0;
|
|
3
|
+
exports.continueBootstrapCommand = exports.inquireLivePreviewSupport = exports.inquireAppType = exports.inquireGithubAccessToken = exports.inquireCloneDirectory = exports.inquireApp = void 0;
|
|
4
4
|
const path = require("path");
|
|
5
5
|
const inquirer = require('inquirer');
|
|
6
6
|
const cli_utilities_1 = require("@contentstack/cli-utilities");
|
|
@@ -96,3 +96,14 @@ async function inquireLivePreviewSupport() {
|
|
|
96
96
|
return livePreviewEnabled;
|
|
97
97
|
}
|
|
98
98
|
exports.inquireLivePreviewSupport = inquireLivePreviewSupport;
|
|
99
|
+
async function continueBootstrapCommand() {
|
|
100
|
+
const { shouldContinue } = await inquirer.prompt({
|
|
101
|
+
type: 'list',
|
|
102
|
+
name: 'shouldContinue',
|
|
103
|
+
message: `To continue with the Bootstrap command without Live Preview, please select Yes.`,
|
|
104
|
+
choices: ['yes', 'no'],
|
|
105
|
+
loop: false,
|
|
106
|
+
});
|
|
107
|
+
return shouldContinue;
|
|
108
|
+
}
|
|
109
|
+
exports.continueBootstrapCommand = continueBootstrapCommand;
|
package/lib/bootstrap/utils.js
CHANGED
|
@@ -4,6 +4,7 @@ exports.setupEnvironments = void 0;
|
|
|
4
4
|
const fs = require("fs");
|
|
5
5
|
const path = require("path");
|
|
6
6
|
const cli_utilities_1 = require("@contentstack/cli-utilities");
|
|
7
|
+
const interactive_1 = require("../bootstrap/interactive");
|
|
7
8
|
const messages_1 = require("../messages");
|
|
8
9
|
/**
|
|
9
10
|
* @description Setup the environment for a given app for each environment
|
|
@@ -12,6 +13,7 @@ const messages_1 = require("../messages");
|
|
|
12
13
|
* Create enviroment
|
|
13
14
|
*/
|
|
14
15
|
const setupEnvironments = async (managementAPIClient, api_key, appConfig, clonedDirectory, region, livePreviewEnabled, managementToken) => {
|
|
16
|
+
var _a, _b;
|
|
15
17
|
const environmentResult = await managementAPIClient
|
|
16
18
|
.stack({ api_key, management_token: managementToken })
|
|
17
19
|
.environment()
|
|
@@ -38,27 +40,39 @@ const setupEnvironments = async (managementAPIClient, api_key, appConfig, cloned
|
|
|
38
40
|
],
|
|
39
41
|
},
|
|
40
42
|
};
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
cli_utilities_1.cliux.print(messages_1.default.parse('CLI_BOOTSTRAP_APP_FAILED_TO_CREATE_TOKEN_FOR_ENV', environment.name));
|
|
43
|
+
try {
|
|
44
|
+
const tokenResult = !managementToken
|
|
45
|
+
? await managementAPIClient
|
|
46
|
+
.stack({ api_key })
|
|
47
|
+
.deliveryToken()
|
|
48
|
+
.create(body, livePreviewEnabled ? { create_with_preview_token: true } : {})
|
|
49
|
+
: {};
|
|
50
|
+
if (livePreviewEnabled && !tokenResult.preview_token && !managementToken) {
|
|
51
|
+
cli_utilities_1.cliux.print(`Info: Failed to generate a preview token for the ${environment.name} environment.\nNote: Live Preview using a preview token is not available in your plan. Please contact the admin for support.`, {
|
|
52
|
+
color: 'yellow',
|
|
53
|
+
});
|
|
54
|
+
if ((await (0, interactive_1.continueBootstrapCommand)()) === 'no') {
|
|
55
|
+
return;
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
if (tokenResult.token) {
|
|
59
|
+
const environmentVariables = {
|
|
60
|
+
api_key,
|
|
61
|
+
deliveryToken: (_a = tokenResult.token) !== null && _a !== void 0 ? _a : '',
|
|
62
|
+
environment: environment.name,
|
|
63
|
+
livePreviewEnabled,
|
|
64
|
+
preview_token: (_b = tokenResult.preview_token) !== null && _b !== void 0 ? _b : '',
|
|
65
|
+
};
|
|
66
|
+
await envFileHandler(appConfig.appConfigKey || '', environmentVariables, clonedDirectory, region, livePreviewEnabled);
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
cli_utilities_1.cliux.print(messages_1.default.parse('CLI_BOOTSTRAP_APP_FAILED_TO_CREATE_TOKEN_FOR_ENV', environment.name));
|
|
60
70
|
}
|
|
61
71
|
}
|
|
72
|
+
catch (error) {
|
|
73
|
+
console.log('error', error);
|
|
74
|
+
cli_utilities_1.cliux.print(messages_1.default.parse('CLI_BOOTSTRAP_APP_FAILED_TO_CREATE_ENV_FILE_FOR_ENV', environment.name));
|
|
75
|
+
}
|
|
62
76
|
}
|
|
63
77
|
else {
|
|
64
78
|
cli_utilities_1.cliux.print('No environments name found for the environment');
|
|
@@ -90,6 +104,7 @@ const writeEnvFile = (content, fileName) => {
|
|
|
90
104
|
* TBD: moving the content to config file
|
|
91
105
|
*/
|
|
92
106
|
const envFileHandler = async (appConfigKey, environmentVariables, clonedDirectory, region, livePreviewEnabled) => {
|
|
107
|
+
var _a, _b, _c, _d, _e;
|
|
93
108
|
if (!appConfigKey || !environmentVariables) {
|
|
94
109
|
return;
|
|
95
110
|
}
|
|
@@ -98,11 +113,15 @@ const envFileHandler = async (appConfigKey, environmentVariables, clonedDirector
|
|
|
98
113
|
let filePath;
|
|
99
114
|
let fileName;
|
|
100
115
|
let customHost;
|
|
116
|
+
let previewHost;
|
|
117
|
+
let appHost;
|
|
118
|
+
const managementAPIHost = (_a = region === null || region === void 0 ? void 0 : region.cma) === null || _a === void 0 ? void 0 : _a.substring('8');
|
|
101
119
|
const regionName = region && region.name && region.name.toLowerCase();
|
|
102
|
-
|
|
120
|
+
previewHost = (_c = (_b = region === null || region === void 0 ? void 0 : region.uiHost) === null || _b === void 0 ? void 0 : _b.substring(8)) === null || _c === void 0 ? void 0 : _c.replace('app', 'rest-preview');
|
|
121
|
+
appHost = (_d = region === null || region === void 0 ? void 0 : region.uiHost) === null || _d === void 0 ? void 0 : _d.substring(8);
|
|
103
122
|
const isUSRegion = regionName === 'us' || regionName === 'na';
|
|
104
123
|
if (regionName !== 'eu' && !isUSRegion) {
|
|
105
|
-
customHost = region
|
|
124
|
+
customHost = (_e = region === null || region === void 0 ? void 0 : region.cma) === null || _e === void 0 ? void 0 : _e.substring(8);
|
|
106
125
|
}
|
|
107
126
|
const production = environmentVariables.environment === 'production' ? true : false;
|
|
108
127
|
switch (appConfigKey) {
|
|
@@ -110,48 +129,63 @@ const envFileHandler = async (appConfigKey, environmentVariables, clonedDirector
|
|
|
110
129
|
case 'reactjs-starter':
|
|
111
130
|
fileName = `.env.${environmentVariables.environment}.local`;
|
|
112
131
|
filePath = path.join(clonedDirectory, fileName);
|
|
113
|
-
content = `REACT_APP_CONTENTSTACK_API_KEY=${environmentVariables.api_key}\nREACT_APP_CONTENTSTACK_DELIVERY_TOKEN=${environmentVariables.deliveryToken}
|
|
132
|
+
content = `REACT_APP_CONTENTSTACK_API_KEY=${environmentVariables.api_key}\nREACT_APP_CONTENTSTACK_DELIVERY_TOKEN=${environmentVariables.deliveryToken}${livePreviewEnabled
|
|
133
|
+
? `\nREACT_APP_CONTENTSTACK_PREVIEW_TOKEN=${environmentVariables.preview_token || `''`}\nREACT_APP_CONTENTSTACK_PREVIEW_HOST=${previewHost}\nREACT_APP_CONTENTSTACK_APP_HOST=${appHost}\n`
|
|
134
|
+
: '\n'}\nREACT_APP_CONTENTSTACK_ENVIRONMENT=${environmentVariables.environment}\n${customHost ? '\nREACT_APP_CONTENTSTACK_API_HOST=' + customHost : ''}${!isUSRegion && !customHost ? '\nREACT_APP_CONTENTSTACK_REGION=' + region.name : ''}\nSKIP_PREFLIGHT_CHECK=true\nREACT_APP_CONTENTSTACK_LIVE_PREVIEW=${livePreviewEnabled}`;
|
|
114
135
|
result = await writeEnvFile(content, filePath);
|
|
115
136
|
break;
|
|
116
137
|
case 'nextjs':
|
|
117
138
|
case 'nextjs-starter':
|
|
118
139
|
fileName = `.env.${environmentVariables.environment}.local`;
|
|
119
140
|
filePath = path.join(clonedDirectory, fileName);
|
|
120
|
-
content = `CONTENTSTACK_API_KEY=${environmentVariables.api_key}\nCONTENTSTACK_DELIVERY_TOKEN=${environmentVariables.deliveryToken}\
|
|
141
|
+
content = `CONTENTSTACK_API_KEY=${environmentVariables.api_key}\nCONTENTSTACK_DELIVERY_TOKEN=${environmentVariables.deliveryToken}\n${livePreviewEnabled
|
|
142
|
+
? `\nCONTENTSTACK_PREVIEW_TOKEN=${environmentVariables.preview_token || `''`}\nCONTENTSTACK_PREVIEW_HOST=${previewHost}\nCONTENTSTACK_APP_HOST=${appHost}\n`
|
|
143
|
+
: '\n'}CONTENTSTACK_ENVIRONMENT=${environmentVariables.environment}\nCONTENTSTACK_API_HOST=${customHost ? customHost : managementAPIHost}${!isUSRegion && !customHost ? '\nCONTENTSTACK_REGION=' + region.name : ''}\nCONTENTSTACK_LIVE_PREVIEW=${livePreviewEnabled}\nCONTENTSTACK_LIVE_EDIT_TAGS=false`;
|
|
121
144
|
result = await writeEnvFile(content, filePath);
|
|
122
145
|
break;
|
|
123
146
|
case 'gatsby':
|
|
124
147
|
case 'gatsby-starter':
|
|
125
148
|
fileName = `.env.${environmentVariables.environment}`;
|
|
126
149
|
filePath = path.join(clonedDirectory, fileName);
|
|
127
|
-
content = `CONTENTSTACK_API_KEY=${environmentVariables.api_key}\nCONTENTSTACK_DELIVERY_TOKEN=${environmentVariables.deliveryToken}\
|
|
150
|
+
content = `CONTENTSTACK_API_KEY=${environmentVariables.api_key}\nCONTENTSTACK_DELIVERY_TOKEN=${environmentVariables.deliveryToken}\n${livePreviewEnabled
|
|
151
|
+
? `\nCONTENTSTACK_PREVIEW_TOKEN=${environmentVariables.preview_token || `''`}\nCONTENTSTACK_PREVIEW_HOST=${previewHost}\nCONTENTSTACK_APP_HOST=${appHost}\n`
|
|
152
|
+
: '\n'}\nCONTENTSTACK_ENVIRONMENT=${environmentVariables.environment}\nCONTENTSTACK_API_HOST=${managementAPIHost}\nCONTENTSTACK_LIVE_PREVIEW=${livePreviewEnabled}`;
|
|
128
153
|
result = await writeEnvFile(content, filePath);
|
|
129
154
|
break;
|
|
130
155
|
case 'angular':
|
|
131
|
-
content = `export const environment = { \n\tproduction:${environmentVariables.environment === 'production' ? true : false}, \n\tconfig : { \n\t\tapi_key: '${environmentVariables.api_key}', \n\t\tdelivery_token: '${environmentVariables.deliveryToken}'
|
|
132
|
-
|
|
156
|
+
content = `export const environment = { \n\tproduction:${environmentVariables.environment === 'production' ? true : false}, \n\tconfig : { \n\t\tapi_key: '${environmentVariables.api_key}', \n\t\tdelivery_token: '${environmentVariables.deliveryToken}',\n${livePreviewEnabled
|
|
157
|
+
? `\n\tpreivew_token:'${environmentVariables.preview_token || `''`}'\n\tpreview_host:'${previewHost}'\n\tapp_host:'${appHost}'\n`
|
|
158
|
+
: '\n'},\n\t\tenvironment: '${environmentVariables.environment}'${!isUSRegion && !customHost ? `,\n\t\tregion: '${region.name}'` : ''} \n\t } \n };`;
|
|
159
|
+
fileName = `.env${environmentVariables.environment === 'production' ? '.prod' : ''}`;
|
|
133
160
|
filePath = path.join(clonedDirectory, 'src', 'environments', fileName);
|
|
134
161
|
result = await writeEnvFile(content, filePath);
|
|
135
162
|
break;
|
|
136
163
|
case 'angular-starter':
|
|
137
|
-
content = `
|
|
138
|
-
|
|
139
|
-
|
|
164
|
+
content = `CONTENTSTACK_API_KEY=${environmentVariables.api_key}\nCONTENTSTACK_DELIVERY_TOKEN=${environmentVariables.deliveryToken}\n${livePreviewEnabled
|
|
165
|
+
? `\nCONTENTSTACK_PREVIEW_TOKEN=${environmentVariables.preview_token || `''`}\nCONTENTSTACK_PREVIEW_HOST=${previewHost}\nCONTENTSTACK_APP_HOST=${appHost}\n`
|
|
166
|
+
: '\n'}CONTENTSTACK_ENVIRONMENT=${environmentVariables.environment}\nCONTENTSTACK_API_HOST=${customHost ? customHost : managementAPIHost}${!isUSRegion && !customHost ? '\nCONTENTSTACK_REGION=' + region.name : ''}\nCONTENTSTACK_LIVE_PREVIEW=${livePreviewEnabled}\nCONTENTSTACK_LIVE_EDIT_TAGS=false`;
|
|
167
|
+
fileName = `.env${environmentVariables.environment === 'production' ? '.prod' : ''}`;
|
|
168
|
+
filePath = path.join(clonedDirectory, fileName);
|
|
140
169
|
result = await writeEnvFile(content, filePath);
|
|
141
170
|
break;
|
|
142
171
|
case 'nuxtjs':
|
|
143
172
|
case 'nuxt-starter':
|
|
173
|
+
case 'nuxt3-starter':
|
|
144
174
|
case 'stencil-starter':
|
|
145
175
|
fileName = production ? '.env.production' : '.env';
|
|
146
176
|
filePath = path.join(clonedDirectory, fileName);
|
|
147
177
|
// Note: Stencil app needs all the env variables, even if they are not having values otherwise the rollup does not work properly and throws process in undefined error.
|
|
148
|
-
content = `CONTENTSTACK_API_KEY=${environmentVariables.api_key}\nCONTENTSTACK_DELIVERY_TOKEN=${environmentVariables.deliveryToken}\
|
|
178
|
+
content = `CONTENTSTACK_API_KEY=${environmentVariables.api_key}\nCONTENTSTACK_DELIVERY_TOKEN=${environmentVariables.deliveryToken}\n${livePreviewEnabled
|
|
179
|
+
? `\nCONTENTSTACK_PREVIEW_TOKEN=${environmentVariables.preview_token || `''`}\nCONTENTSTACK_PREVIEW_HOST=${customHost !== null && customHost !== void 0 ? customHost : previewHost}\nCONTENTSTACK_APP_HOST=${appHost}`
|
|
180
|
+
: '\n'}\nCONTENTSTACK_ENVIRONMENT=${environmentVariables.environment}${!isUSRegion && !customHost ? '\nCONTENTSTACK_REGION=' + region.name : ''}\nCONTENTSTACK_API_HOST=${customHost ? customHost : managementAPIHost}\nCONTENTSTACK_LIVE_PREVIEW=${livePreviewEnabled}\n\nCONTENTSTACK_LIVE_EDIT_TAGS=false`;
|
|
149
181
|
result = await writeEnvFile(content, filePath);
|
|
150
182
|
break;
|
|
151
183
|
case 'vue-starter':
|
|
152
184
|
fileName = '.env';
|
|
153
185
|
filePath = path.join(clonedDirectory, fileName);
|
|
154
|
-
content = `VUE_APP_CONTENTSTACK_API_KEY=${environmentVariables.api_key}\nVUE_APP_CONTENTSTACK_DELIVERY_TOKEN=${environmentVariables.deliveryToken}\
|
|
186
|
+
content = `VUE_APP_CONTENTSTACK_API_KEY=${environmentVariables.api_key}\nVUE_APP_CONTENTSTACK_DELIVERY_TOKEN=${environmentVariables.deliveryToken}\n${livePreviewEnabled
|
|
187
|
+
? `\nVUE_APP_CONTENTSTACK_PREVIEW_TOKEN=${environmentVariables.preview_token || `''`}\nVUE_APP_CONTENTSTACK_PREVIEW_HOST=${previewHost}\nVUE_APP_CONTENTSTACK_APP_HOST=${appHost}\n`
|
|
188
|
+
: '\n'}\nVUE_APP_CONTENTSTACK_ENVIRONMENT=${environmentVariables.environment}${customHost ? '\nVUE_APP_CONTENTSTACK_API_HOST=' + customHost : ''}${!isUSRegion && !customHost ? '\nVUE_APP_CONTENTSTACK_REGION=' + region.name : ''}\nVUE_APP_CONTENTSTACK_LIVE_PREVIEW=${livePreviewEnabled}`;
|
|
155
189
|
result = await writeEnvFile(content, filePath);
|
|
156
190
|
break;
|
|
157
191
|
default:
|
package/lib/config.js
CHANGED
|
@@ -14,9 +14,10 @@ const config = {
|
|
|
14
14
|
{ displayName: 'Next JS', configKey: 'nextjs-starter' },
|
|
15
15
|
{ displayName: 'Gatsby', configKey: 'gatsby-starter' },
|
|
16
16
|
{ displayName: 'Angular', configKey: 'angular-starter' },
|
|
17
|
-
{ displayName: 'Nuxt JS', configKey: 'nuxt-starter' },
|
|
17
|
+
{ displayName: 'Nuxt JS (To be Deprecated)', configKey: 'nuxt-starter' },
|
|
18
18
|
{ displayName: 'Vue JS', configKey: 'vue-starter' },
|
|
19
19
|
{ displayName: 'Stencil', configKey: 'stencil-starter' },
|
|
20
|
+
{ displayName: 'Nuxt3', configKey: 'nuxt3-starter' },
|
|
20
21
|
],
|
|
21
22
|
appLevelConfig: {
|
|
22
23
|
nextjs: {
|
|
@@ -67,6 +68,10 @@ const config = {
|
|
|
67
68
|
source: 'contentstack/contentstack-stencil-starter-app',
|
|
68
69
|
stack: 'contentstack/stack-starter-app',
|
|
69
70
|
},
|
|
71
|
+
'nuxt3-starter': {
|
|
72
|
+
source: 'contentstack/contentstack-nuxt3-starter-app',
|
|
73
|
+
stack: 'contentstack/stack-starter-app',
|
|
74
|
+
},
|
|
70
75
|
},
|
|
71
76
|
};
|
|
72
77
|
exports.default = config;
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentstack/cli-cm-bootstrap",
|
|
3
3
|
"description": "Bootstrap contentstack apps",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.9.0",
|
|
5
5
|
"author": "Contentstack",
|
|
6
6
|
"bugs": "https://github.com/contentstack/cli/issues",
|
|
7
7
|
"scripts": {
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@contentstack/cli-cm-seed": "~1.7.0",
|
|
21
21
|
"@contentstack/cli-command": "~1.2.16",
|
|
22
|
-
"@contentstack/cli-utilities": "~1.5.
|
|
22
|
+
"@contentstack/cli-utilities": "~1.5.12",
|
|
23
23
|
"inquirer": "8.2.4",
|
|
24
24
|
"mkdirp": "^1.0.4",
|
|
25
25
|
"tar": "^6.1.13"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@oclif/test": "^2.
|
|
28
|
+
"@oclif/test": "^2.5.6",
|
|
29
29
|
"@types/inquirer": "^9.0.3",
|
|
30
30
|
"@types/mkdirp": "^1.0.1",
|
|
31
31
|
"@types/node": "^14.14.32",
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"chai": "^4.3.4",
|
|
34
34
|
"eslint": "^8.18.0",
|
|
35
35
|
"eslint-config-oclif": "^4.0.0",
|
|
36
|
-
"eslint-config-oclif-typescript": "^0.
|
|
36
|
+
"eslint-config-oclif-typescript": "^3.0.8",
|
|
37
37
|
"globby": "^10.0.2",
|
|
38
38
|
"mocha": "10.1.0",
|
|
39
39
|
"nyc": "^15.1.0",
|
|
40
40
|
"oclif": "^3.8.1",
|
|
41
41
|
"rimraf": "^2.7.1",
|
|
42
|
-
"tmp": "^0.2.
|
|
42
|
+
"tmp": "^0.2.2",
|
|
43
43
|
"ts-node": "^8.10.2",
|
|
44
44
|
"typescript": "^4.9.3"
|
|
45
45
|
},
|
|
@@ -73,4 +73,4 @@
|
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
"repository": "contentstack/cli"
|
|
76
|
-
}
|
|
76
|
+
}
|