@faststore/cli
Advanced tools
Comparing version 3.0.82 to 3.0.83
export { run } from '@oclif/core'; | ||
import { default as Init } from './commands/init'; | ||
import { default as Dev } from './commands/dev'; | ||
@@ -9,2 +10,3 @@ import { default as Build } from './commands/build'; | ||
export declare const commands: { | ||
init: typeof Init; | ||
dev: typeof Dev; | ||
@@ -11,0 +13,0 @@ build: typeof Build; |
@@ -7,2 +7,3 @@ "use strict"; | ||
Object.defineProperty(exports, "run", { enumerable: true, get: function () { return core_1.run; } }); | ||
const init_1 = tslib_1.__importDefault(require("./commands/init")); | ||
const dev_1 = tslib_1.__importDefault(require("./commands/dev")); | ||
@@ -15,2 +16,3 @@ const build_1 = tslib_1.__importDefault(require("./commands/build")); | ||
exports.commands = { | ||
init: init_1.default, | ||
dev: dev_1.default, | ||
@@ -17,0 +19,0 @@ build: build_1.default, |
@@ -1,1 +0,1 @@ | ||
{"version":"3.0.82","commands":{"build":{"id":"build","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"path","description":"The path where the FastStore being built is. Defaults to cwd."}]},"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":[{"name":"path","description":"The path where the FastStore being synched with the CMS is. Defaults to cwd."}]},"dev":{"id":"dev","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"path","description":"The path where the FastStore being run is. Defaults to cwd."}]},"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":[{"name":"path","description":"The path where the FastStore GraphQL customization is. Defaults to cwd."}]},"start":{"id":"start","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"path","description":"The path where the FastStore being run is. Defaults to cwd."}]},"test":{"id":"test","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"path","description":"The path where the FastStore being tested is. Defaults to cwd."}]}}} | ||
{"version":"3.0.83","commands":{"build":{"id":"build","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"path","description":"The path where the FastStore being built is. Defaults to cwd."}]},"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":[{"name":"path","description":"The path where the FastStore being synched with the CMS is. Defaults to cwd."}]},"dev":{"id":"dev","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"path","description":"The path where the FastStore being run is. Defaults to cwd."}]},"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":[{"name":"path","description":"The path where the FastStore GraphQL customization is. Defaults to cwd."}]},"init":{"id":"init","description":"Creates a discovery folder based on the starter.store template.","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"examples":["$ yarn faststore init discovery"],"flags":{},"args":[{"name":"path","description":"The path where the Discovery folder will be created. Defaults to ./discovery."}]},"start":{"id":"start","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"path","description":"The path where the FastStore being run is. Defaults to cwd."}]},"test":{"id":"test","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"path","description":"The path where the FastStore being tested is. Defaults to cwd."}]}}} |
{ | ||
"name": "@faststore/cli", | ||
"version": "3.0.82", | ||
"version": "3.0.83", | ||
"description": "FastStore CLI", | ||
@@ -20,2 +20,3 @@ "author": "Emerson Laurentino @emersonlaurentino", | ||
"dependencies": { | ||
"@inquirer/prompts": "^5.1.2", | ||
"@oclif/core": "^1.16.4", | ||
@@ -26,2 +27,3 @@ "@oclif/plugin-help": "^5", | ||
"chokidar": "^3.5.3", | ||
"degit": "^2.8.4", | ||
"dotenv": "^16.4.5", | ||
@@ -35,2 +37,3 @@ "fs-extra": "^10.1.0", | ||
"@types/chai": "^4", | ||
"@types/degit": "^2.8.6", | ||
"@types/fs-extra": "^9.0.13", | ||
@@ -75,3 +78,3 @@ "@types/node": "^16.11.63", | ||
"types": "dist/index.d.ts", | ||
"gitHead": "1fad72c2407848819a84644178257e250ea8cb5f" | ||
"gitHead": "8d76597df9b3940d4d3fb22462e479798a61a6fb" | ||
} |
@@ -33,3 +33,3 @@ <p align="center"> | ||
$ faststore (--version) | ||
@faststore/cli/3.0.82 linux-x64 node-v18.20.3 | ||
@faststore/cli/3.0.83 linux-x64 node-v18.20.3 | ||
$ faststore --help [COMMAND] | ||
@@ -50,2 +50,3 @@ USAGE | ||
* [`faststore help [COMMAND]`](#faststore-help-command) | ||
* [`faststore init [PATH]`](#faststore-init-path) | ||
* [`faststore start [PATH]`](#faststore-start-path) | ||
@@ -64,3 +65,3 @@ * [`faststore test [PATH]`](#faststore-test-path) | ||
_See code: [dist/commands/build.ts](https://github.com/vtex/faststore/blob/v3.0.82/dist/commands/build.ts)_ | ||
_See code: [dist/commands/build.ts](https://github.com/vtex/faststore/blob/v3.0.83/dist/commands/build.ts)_ | ||
@@ -80,3 +81,3 @@ ## `faststore cms-sync [PATH]` | ||
_See code: [dist/commands/cms-sync.ts](https://github.com/vtex/faststore/blob/v3.0.82/dist/commands/cms-sync.ts)_ | ||
_See code: [dist/commands/cms-sync.ts](https://github.com/vtex/faststore/blob/v3.0.83/dist/commands/cms-sync.ts)_ | ||
@@ -93,3 +94,3 @@ ## `faststore dev [PATH]` | ||
_See code: [dist/commands/dev.ts](https://github.com/vtex/faststore/blob/v3.0.82/dist/commands/dev.ts)_ | ||
_See code: [dist/commands/dev.ts](https://github.com/vtex/faststore/blob/v3.0.83/dist/commands/dev.ts)_ | ||
@@ -109,3 +110,3 @@ ## `faststore generate-graphql [PATH]` | ||
_See code: [dist/commands/generate-graphql.ts](https://github.com/vtex/faststore/blob/v3.0.82/dist/commands/generate-graphql.ts)_ | ||
_See code: [dist/commands/generate-graphql.ts](https://github.com/vtex/faststore/blob/v3.0.83/dist/commands/generate-graphql.ts)_ | ||
@@ -132,2 +133,22 @@ ## `faststore help [COMMAND]` | ||
## `faststore init [PATH]` | ||
Creates a discovery folder based on the starter.store template. | ||
``` | ||
USAGE | ||
$ faststore init [PATH] | ||
ARGUMENTS | ||
PATH The path where the Discovery folder will be created. Defaults to ./discovery. | ||
DESCRIPTION | ||
Creates a discovery folder based on the starter.store template. | ||
EXAMPLES | ||
$ yarn faststore init discovery | ||
``` | ||
_See code: [dist/commands/init.ts](https://github.com/vtex/faststore/blob/v3.0.83/dist/commands/init.ts)_ | ||
## `faststore start [PATH]` | ||
@@ -143,3 +164,3 @@ | ||
_See code: [dist/commands/start.ts](https://github.com/vtex/faststore/blob/v3.0.82/dist/commands/start.ts)_ | ||
_See code: [dist/commands/start.ts](https://github.com/vtex/faststore/blob/v3.0.83/dist/commands/start.ts)_ | ||
@@ -156,3 +177,3 @@ ## `faststore test [PATH]` | ||
_See code: [dist/commands/test.ts](https://github.com/vtex/faststore/blob/v3.0.82/dist/commands/test.ts)_ | ||
_See code: [dist/commands/test.ts](https://github.com/vtex/faststore/blob/v3.0.83/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
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
110481
53
1520
171
10
15
+ Added@inquirer/prompts@^5.1.2
+ Addeddegit@^2.8.4
+ Added@inquirer/checkbox@2.5.0(transitive)
+ Added@inquirer/confirm@3.2.0(transitive)
+ Added@inquirer/core@9.2.1(transitive)
+ Added@inquirer/editor@2.2.0(transitive)
+ Added@inquirer/expand@2.3.0(transitive)
+ Added@inquirer/figures@1.0.6(transitive)
+ Added@inquirer/input@2.3.0(transitive)
+ Added@inquirer/number@1.1.0(transitive)
+ Added@inquirer/password@2.2.0(transitive)
+ Added@inquirer/prompts@5.5.0(transitive)
+ Added@inquirer/rawlist@2.3.0(transitive)
+ Added@inquirer/search@1.1.0(transitive)
+ Added@inquirer/select@2.5.0(transitive)
+ Added@inquirer/type@1.5.52.0.0(transitive)
+ Added@types/mute-stream@0.0.4(transitive)
+ Added@types/wrap-ansi@3.0.0(transitive)
+ Addedchardet@0.7.0(transitive)
+ Addedcli-width@4.1.0(transitive)
+ Addeddegit@2.8.4(transitive)
+ Addedexternal-editor@3.1.0(transitive)
+ Addediconv-lite@0.4.24(transitive)
+ Addedmute-stream@1.0.0(transitive)
+ Addedos-tmpdir@1.0.2(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsignal-exit@4.1.0(transitive)
+ Addedtmp@0.0.33(transitive)
+ Addedwrap-ansi@6.2.0(transitive)
+ Addedyoctocolors-cjs@2.1.2(transitive)