@faststore/cli
Advanced tools
Comparing version 2.1.1 to 2.1.9
@@ -14,3 +14,3 @@ "use strict"; | ||
await (0, generate_1.generate)({ setup: true }); | ||
(0, child_process_1.spawnSync)(`yarn build`, { | ||
const yarnBuildResult = (0, child_process_1.spawnSync)(`yarn build`, { | ||
shell: true, | ||
@@ -20,2 +20,5 @@ cwd: directory_1.tmpDir, | ||
}); | ||
if (yarnBuildResult.status && yarnBuildResult.status !== 0) { | ||
process.exit(yarnBuildResult.status); | ||
} | ||
await copyResource(`${directory_1.tmpDir}/.next`, `${directory_1.userDir}/.next`); | ||
@@ -22,0 +25,0 @@ await copyResource(`${directory_1.tmpDir}/faststore.config.js`, `${directory_1.userDir}/faststore.config.js`); |
@@ -1,1 +0,1 @@ | ||
{"version":"2.1.1","commands":{"build":{"id":"build","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"dev":{"id":"dev","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"start":{"id":"start","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[]}}} | ||
{"version":"2.1.9","commands":{"build":{"id":"build","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"dev":{"id":"dev","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"start":{"id":"start","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[]}}} |
{ | ||
"name": "@faststore/cli", | ||
"version": "2.1.1", | ||
"version": "2.1.9", | ||
"description": "FastStore CLI", | ||
@@ -31,4 +31,4 @@ "author": "Emerson Laurentino @emersonlaurentino", | ||
"devDependencies": { | ||
"@faststore/eslint-config": "^2.1.1", | ||
"@faststore/shared": "^2.1.1", | ||
"@faststore/eslint-config": "^2.1.9", | ||
"@faststore/shared": "^2.1.9", | ||
"@types/chai": "^4", | ||
@@ -73,3 +73,3 @@ "@types/fs-extra": "^9.0.13", | ||
"types": "dist/index.d.ts", | ||
"gitHead": "1f8deb367b972ca4e63b397fcaa773e8771c9bb3" | ||
"gitHead": "e8c0051ff4e990fcf9375bc8a22f76570967e1af" | ||
} |
@@ -15,3 +15,3 @@ FastStore CLI | ||
$ faststore (--version) | ||
@faststore/cli/2.1.1 linux-x64 node-v16.20.0 | ||
@faststore/cli/2.1.9 linux-x64 node-v16.20.0 | ||
$ faststore --help [COMMAND] | ||
@@ -37,3 +37,3 @@ USAGE | ||
_See code: [dist/commands/build.ts](https://github.com/vtex/faststore/blob/v2.1.1/dist/commands/build.ts)_ | ||
_See code: [dist/commands/build.ts](https://github.com/vtex/faststore/blob/v2.1.9/dist/commands/build.ts)_ | ||
@@ -47,3 +47,3 @@ ## `faststore dev` | ||
_See code: [dist/commands/dev.ts](https://github.com/vtex/faststore/blob/v2.1.1/dist/commands/dev.ts)_ | ||
_See code: [dist/commands/dev.ts](https://github.com/vtex/faststore/blob/v2.1.9/dist/commands/dev.ts)_ | ||
@@ -77,3 +77,3 @@ ## `faststore help [COMMAND]` | ||
_See code: [dist/commands/start.ts](https://github.com/vtex/faststore/blob/v2.1.1/dist/commands/start.ts)_ | ||
_See code: [dist/commands/start.ts](https://github.com/vtex/faststore/blob/v2.1.9/dist/commands/start.ts)_ | ||
<!-- commandsstop --> |
Sorry, the diff of this file is not supported yet
34476
405