@faststore/cli 3.72.1 → 3.74.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 CHANGED
@@ -30,7 +30,7 @@ $ npm install -g @faststore/cli
30
30
  $ faststore COMMAND
31
31
  running command...
32
32
  $ faststore (--version)
33
- @faststore/cli/3.72.1 linux-x64 node-v18.20.8
33
+ @faststore/cli/3.74.0 linux-x64 node-v18.20.8
34
34
  $ faststore --help [COMMAND]
35
35
  USAGE
36
36
  $ faststore COMMAND
@@ -65,7 +65,7 @@ FLAGS
65
65
  registry.
66
66
  ```
67
67
 
68
- _See code: [dist/commands/build.js](https://github.com/vtex/faststore/blob/v3.72.1/dist/commands/build.js)_
68
+ _See code: [dist/commands/build.js](https://github.com/vtex/faststore/blob/v3.74.0/dist/commands/build.js)_
69
69
 
70
70
  ## `faststore cms-sync [PATH]`
71
71
 
@@ -80,7 +80,7 @@ FLAGS
80
80
  -d, --dry-run
81
81
  ```
82
82
 
83
- _See code: [dist/commands/cms-sync.js](https://github.com/vtex/faststore/blob/v3.72.1/dist/commands/cms-sync.js)_
83
+ _See code: [dist/commands/cms-sync.js](https://github.com/vtex/faststore/blob/v3.74.0/dist/commands/cms-sync.js)_
84
84
 
85
85
  ## `faststore create [PATH]`
86
86
 
@@ -100,21 +100,24 @@ EXAMPLES
100
100
  $ yarn faststore create discovery
101
101
  ```
102
102
 
103
- _See code: [dist/commands/create.js](https://github.com/vtex/faststore/blob/v3.72.1/dist/commands/create.js)_
103
+ _See code: [dist/commands/create.js](https://github.com/vtex/faststore/blob/v3.74.0/dist/commands/create.js)_
104
104
 
105
105
  ## `faststore dev [ACCOUNT] [PATH] [PORT]`
106
106
 
107
107
  ```
108
108
  USAGE
109
- $ faststore dev [ACCOUNT] [PATH] [PORT]
109
+ $ faststore dev [ACCOUNT] [PATH] [PORT] [--watch-plugins]
110
110
 
111
111
  ARGUMENTS
112
112
  ACCOUNT The account for which the Discovery is running. Currently noop.
113
113
  PATH The path where the FastStore being run is. Defaults to cwd.
114
114
  PORT The port where FastStore should run. Defaults to 3000.
115
+
116
+ FLAGS
117
+ --watch-plugins Enable watching for plugin changes
115
118
  ```
116
119
 
117
- _See code: [dist/commands/dev.js](https://github.com/vtex/faststore/blob/v3.72.1/dist/commands/dev.js)_
120
+ _See code: [dist/commands/dev.js](https://github.com/vtex/faststore/blob/v3.74.0/dist/commands/dev.js)_
118
121
 
119
122
  ## `faststore generate-graphql [PATH]`
120
123
 
@@ -126,7 +129,7 @@ ARGUMENTS
126
129
  PATH The path where the FastStore GraphQL customization is. Defaults to cwd.
127
130
  ```
128
131
 
129
- _See code: [dist/commands/generate-graphql.js](https://github.com/vtex/faststore/blob/v3.72.1/dist/commands/generate-graphql.js)_
132
+ _See code: [dist/commands/generate-graphql.js](https://github.com/vtex/faststore/blob/v3.74.0/dist/commands/generate-graphql.js)_
130
133
 
131
134
  ## `faststore help [COMMAND]`
132
135
 
@@ -160,7 +163,7 @@ ARGUMENTS
160
163
  PORT The port where FastStore should run. Defaults to 3000.
161
164
  ```
162
165
 
163
- _See code: [dist/commands/start.js](https://github.com/vtex/faststore/blob/v3.72.1/dist/commands/start.js)_
166
+ _See code: [dist/commands/start.js](https://github.com/vtex/faststore/blob/v3.74.0/dist/commands/start.js)_
164
167
 
165
168
  ## `faststore test [PATH]`
166
169
 
@@ -172,5 +175,5 @@ ARGUMENTS
172
175
  PATH The path where the FastStore being tested is. Defaults to cwd.
173
176
  ```
174
177
 
175
- _See code: [dist/commands/test.js](https://github.com/vtex/faststore/blob/v3.72.1/dist/commands/test.js)_
178
+ _See code: [dist/commands/test.js](https://github.com/vtex/faststore/blob/v3.74.0/dist/commands/test.js)_
176
179
  <!-- commandsstop -->
@@ -4,6 +4,9 @@ export default class Dev extends Command {
4
4
  name: string;
5
5
  description: string;
6
6
  }[];
7
+ static flags: {
8
+ 'watch-plugins': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
9
+ };
7
10
  run(): Promise<unknown>;
8
11
  }
9
12
  //# sourceMappingURL=dev.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../src/commands/dev.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AA0HrC,MAAM,CAAC,OAAO,OAAO,GAAI,SAAQ,OAAO;IACtC,MAAM,CAAC,IAAI;;;QAeV;IAEK,GAAG;CA6CV"}
1
+ {"version":3,"file":"dev.d.ts","sourceRoot":"","sources":["../../src/commands/dev.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAS,MAAM,aAAa,CAAA;AA8H5C,MAAM,CAAC,OAAO,OAAO,GAAI,SAAQ,OAAO;IACtC,MAAM,CAAC,IAAI;;;QAeV;IAED,MAAM,CAAC,KAAK;;MAKX;IAEK,GAAG;CAmDV"}
@@ -26,12 +26,14 @@ const defaultIgnored = [
26
26
  'README.md',
27
27
  '.gitignore',
28
28
  'package.json',
29
- 'node_modules/**',
30
- '**/node_modules/**',
31
29
  '.git/**',
32
30
  '.faststore/**',
33
31
  '**/.faststore/**',
34
32
  ];
33
+ const defaultNodeModulesIgnored = ['node_modules/**', '**/node_modules/**'];
34
+ const defaultNodeModulesIgnoredExceptVtexPackages = [
35
+ '**/node_modules/!(@vtex)/**',
36
+ ];
35
37
  const devAbortController = new AbortController();
36
38
  async function storeDev(rootDir, tmpDir, coreDir, port) {
37
39
  // Only try to read vtex.env if it exists
@@ -108,10 +110,17 @@ class Dev extends core_1.Command {
108
110
  description: 'The port where FastStore should run. Defaults to 3000.',
109
111
  },
110
112
  ];
113
+ static flags = {
114
+ 'watch-plugins': core_1.Flags.boolean({
115
+ description: 'Enable watching for plugin changes',
116
+ default: false,
117
+ }),
118
+ };
111
119
  async run() {
112
- const { args } = await this.parse(Dev);
120
+ const { args, flags } = await this.parse(Dev);
113
121
  const basePath = args.path ?? process.cwd();
114
122
  const port = args.port ?? 3000;
123
+ const watchPlugins = flags['watch-plugins'];
115
124
  const { getRoot, tmpDir, coreDir } = (0, directory_1.withBasePath)(basePath);
116
125
  (0, deprecations_1.checkDeprecatedSecretFiles)(basePath);
117
126
  const queueChange = ( /* path: string, remove: boolean */) => {
@@ -124,7 +133,12 @@ class Dev extends core_1.Command {
124
133
  },
125
134
  cwd: getRoot(),
126
135
  ignoreInitial: true,
127
- ignored: defaultIgnored,
136
+ ignored: [
137
+ ...defaultIgnored,
138
+ ...(watchPlugins
139
+ ? defaultNodeModulesIgnoredExceptVtexPackages
140
+ : defaultNodeModulesIgnored),
141
+ ],
128
142
  persistent: true,
129
143
  usePolling: process.platform === 'win32',
130
144
  });
@@ -1 +1 @@
1
- {"version":3,"file":"dev.js","sourceRoot":"","sources":["../../src/commands/dev.ts"],"names":[],"mappings":";;;AAAA,sCAAqC;AACrC,iDAAqC;AACrC,0DAAyB;AACzB,gEAA+B;AAC/B,4DAA2B;AAE3B,2BAAqD;AACrD,wDAAuB;AACvB,kDAAiD;AACjD,gDAA4C;AAC5C,gDAA8D;AAC9D,4CAAwC;AACxC,4DAAwD;AACxD,wDAAkE;AAElE;;;;GAIG;AACH,MAAM,kBAAkB,GAAG,OAAO,CAAC,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,CAAA;AAEpE,MAAM,eAAe,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,CAAA;AAEtC,MAAM,cAAc,GAAG;IACrB,WAAW;IACX,WAAW;IACX,YAAY;IACZ,cAAc;IACd,iBAAiB;IACjB,oBAAoB;IACpB,SAAS;IACT,eAAe;IACf,kBAAkB;CACnB,CAAA;AAED,MAAM,kBAAkB,GAAG,IAAI,eAAe,EAAE,CAAA;AAEhD,KAAK,UAAU,QAAQ,CACrB,OAAe,EACf,MAAc,EACd,OAAe,EACf,IAAY;IAEZ,yCAAyC;IACzC,IAAI,OAAO,GAAG,EAAE,CAAA;IAChB,MAAM,WAAW,GAAG,cAA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AC,cAAc,CAAC,CAAC;iBACvD,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE;gBAChB,kBAAkB,CAAC,KAAK,EAAE,CAAA;gBAC1B,MAAM,EAAE,CAAA;YACV,CAAC,CAAC;iBACD,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,CAAA;QACzB,CAAC,CAAC,CAAA;IACJ,CAAC;;AA3EH,sBA4EC"}
@@ -1 +1 @@
1
- {"version":"3.72.1","commands":{"build":{"id":"build","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{"no-verify":{"name":"no-verify","type":"boolean","description":"Skips verification of faststore dependencies version string to prevent usage of packages outside npm registry.","allowNo":false}},"args":[{"name":"account","description":"The account for which the Discovery is running. Currently noop."},{"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."}]},"create":{"id":"create","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 create discovery"],"flags":{},"args":[{"name":"path","description":"The path where the Discovery folder will be created. Defaults to ./discovery."}]},"dev":{"id":"dev","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{},"args":[{"name":"account","description":"The account for which the Discovery is running. Currently noop."},{"name":"path","description":"The path where the FastStore being run is. Defaults to cwd."},{"name":"port","description":"The port where FastStore should run. Defaults to 3000."}]},"generate-graphql":{"id":"generate-graphql","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{"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":"account","description":"The account for which the Discovery is running. Currently noop."},{"name":"path","description":"The path where the FastStore being run is. Defaults to cwd."},{"name":"port","description":"The port where FastStore should run. Defaults to 3000."}]},"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."}]}}}
1
+ {"version":"3.74.0","commands":{"build":{"id":"build","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{"no-verify":{"name":"no-verify","type":"boolean","description":"Skips verification of faststore dependencies version string to prevent usage of packages outside npm registry.","allowNo":false}},"args":[{"name":"account","description":"The account for which the Discovery is running. Currently noop."},{"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."}]},"create":{"id":"create","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 create discovery"],"flags":{},"args":[{"name":"path","description":"The path where the Discovery folder will be created. Defaults to ./discovery."}]},"dev":{"id":"dev","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{"watch-plugins":{"name":"watch-plugins","type":"boolean","description":"Enable watching for plugin changes","allowNo":false}},"args":[{"name":"account","description":"The account for which the Discovery is running. Currently noop."},{"name":"path","description":"The path where the FastStore being run is. Defaults to cwd."},{"name":"port","description":"The port where FastStore should run. Defaults to 3000."}]},"generate-graphql":{"id":"generate-graphql","strict":true,"pluginName":"@faststore/cli","pluginAlias":"@faststore/cli","pluginType":"core","aliases":[],"flags":{"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":"account","description":"The account for which the Discovery is running. Currently noop."},{"name":"path","description":"The path where the FastStore being run is. Defaults to cwd."},{"name":"port","description":"The port where FastStore should run. Defaults to 3000."}]},"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."}]}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/cli",
3
- "version": "3.72.1",
3
+ "version": "3.74.0",
4
4
  "description": "FastStore CLI",
5
5
  "author": "Emerson Laurentino @emersonlaurentino",
6
6
  "bin": {
@@ -18,7 +18,7 @@
18
18
  ],
19
19
  "dependencies": {
20
20
  "@antfu/ni": "^0.21.12",
21
- "@faststore/core": "^3.72.1",
21
+ "@faststore/core": "^3.73.0",
22
22
  "@inquirer/prompts": "^5.1.2",
23
23
  "@oclif/core": "^1.16.4",
24
24
  "@oclif/plugin-help": "^5",
@@ -70,5 +70,5 @@
70
70
  "oclif"
71
71
  ],
72
72
  "types": "dist/index.d.ts",
73
- "gitHead": "0fea186218657d0b90320ac376072e7f65192782"
73
+ "gitHead": "b0efefa50ff50e09b98e2557d95deeee6218cfb5"
74
74
  }