@faststore/cli
Advanced tools
Comparing version 3.0.24 to 3.0.31
@@ -7,2 +7,5 @@ "use strict"; | ||
const chokidar_1 = tslib_1.__importDefault(require("chokidar")); | ||
const dotenv_1 = tslib_1.__importDefault(require("dotenv")); | ||
const fs_1 = require("fs"); | ||
const path_1 = tslib_1.__importDefault(require("path")); | ||
const directory_1 = require("../utils/directory"); | ||
@@ -30,2 +33,3 @@ const generate_1 = require("../utils/generate"); | ||
async function storeDev() { | ||
const envVars = dotenv_1.default.parse((0, fs_1.readFileSync)(path_1.default.join((0, directory_1.getRoot)(), 'vtex.env'))); | ||
const devProcess = (0, child_process_1.spawn)('yarn dev', { | ||
@@ -36,2 +40,6 @@ shell: true, | ||
stdio: 'inherit', | ||
env: { | ||
...process.env, | ||
...envVars, | ||
} | ||
}); | ||
@@ -38,0 +46,0 @@ devProcess.on('close', () => { |
@@ -1,1 +0,1 @@ | ||
{"version":"3.0.24","commands":{"build":{"id":"build","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"cms-sync":{"id":"cms-sync","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{"dry-run":{"name":"dry-run","type":"boolean","char":"d","allowNo":false}},"args":[]},"dev":{"id":"dev","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"generate-graphql":{"id":"generate-graphql","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{"debug":{"name":"debug","type":"boolean","char":"d","allowNo":false},"core":{"name":"core","type":"boolean","char":"c","hidden":true,"allowNo":false}},"args":[]},"start":{"id":"start","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"test":{"id":"test","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[]}}} | ||
{"version":"3.0.31","commands":{"build":{"id":"build","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"cms-sync":{"id":"cms-sync","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{"dry-run":{"name":"dry-run","type":"boolean","char":"d","allowNo":false}},"args":[]},"dev":{"id":"dev","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"generate-graphql":{"id":"generate-graphql","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{"debug":{"name":"debug","type":"boolean","char":"d","allowNo":false},"core":{"name":"core","type":"boolean","char":"c","hidden":true,"allowNo":false}},"args":[]},"start":{"id":"start","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[]},"test":{"id":"test","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[]}}} |
{ | ||
"name": "@faststore/cli", | ||
"version": "3.0.24", | ||
"version": "3.0.31", | ||
"description": "FastStore CLI", | ||
@@ -25,2 +25,3 @@ "author": "Emerson Laurentino @emersonlaurentino", | ||
"chokidar": "^3.5.3", | ||
"dotenv": "^16.4.5", | ||
"fs-extra": "^10.1.0", | ||
@@ -72,3 +73,3 @@ "path": "^0.12.7" | ||
"types": "dist/index.d.ts", | ||
"gitHead": "1cbf5056e2fd6d1b3e85268f585709c59ec9f63f" | ||
"gitHead": "71edd96f9f974dc6b1a586e0c3bb326f20ba810f" | ||
} |
@@ -33,3 +33,3 @@ <p align="center"> | ||
$ faststore (--version) | ||
@faststore/cli/3.0.24 linux-x64 node-v18.19.1 | ||
@faststore/cli/3.0.31 linux-x64 node-v18.19.1 | ||
$ faststore --help [COMMAND] | ||
@@ -60,3 +60,3 @@ USAGE | ||
_See code: [dist/commands/build.ts](https://github.com/vtex/faststore/blob/v3.0.24/dist/commands/build.ts)_ | ||
_See code: [dist/commands/build.ts](https://github.com/vtex/faststore/blob/v3.0.31/dist/commands/build.ts)_ | ||
@@ -73,3 +73,3 @@ ## `faststore cms-sync` | ||
_See code: [dist/commands/cms-sync.ts](https://github.com/vtex/faststore/blob/v3.0.24/dist/commands/cms-sync.ts)_ | ||
_See code: [dist/commands/cms-sync.ts](https://github.com/vtex/faststore/blob/v3.0.31/dist/commands/cms-sync.ts)_ | ||
@@ -83,3 +83,3 @@ ## `faststore dev` | ||
_See code: [dist/commands/dev.ts](https://github.com/vtex/faststore/blob/v3.0.24/dist/commands/dev.ts)_ | ||
_See code: [dist/commands/dev.ts](https://github.com/vtex/faststore/blob/v3.0.31/dist/commands/dev.ts)_ | ||
@@ -96,3 +96,3 @@ ## `faststore generate-graphql` | ||
_See code: [dist/commands/generate-graphql.ts](https://github.com/vtex/faststore/blob/v3.0.24/dist/commands/generate-graphql.ts)_ | ||
_See code: [dist/commands/generate-graphql.ts](https://github.com/vtex/faststore/blob/v3.0.31/dist/commands/generate-graphql.ts)_ | ||
@@ -126,3 +126,3 @@ ## `faststore help [COMMAND]` | ||
_See code: [dist/commands/start.ts](https://github.com/vtex/faststore/blob/v3.0.24/dist/commands/start.ts)_ | ||
_See code: [dist/commands/start.ts](https://github.com/vtex/faststore/blob/v3.0.31/dist/commands/start.ts)_ | ||
@@ -136,3 +136,3 @@ ## `faststore test` | ||
_See code: [dist/commands/test.ts](https://github.com/vtex/faststore/blob/v3.0.24/dist/commands/test.ts)_ | ||
_See code: [dist/commands/test.ts](https://github.com/vtex/faststore/blob/v3.0.31/dist/commands/test.ts)_ | ||
<!-- commandsstop --> |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
82524
1212
8
14
+ Addeddotenv@^16.4.5
+ Addeddotenv@16.4.5(transitive)