@faststore/cli 2.1.49 → 2.1.53

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
@@ -12,7 +12,7 @@ $ npm install -g @faststore/cli
12
12
  $ faststore COMMAND
13
13
  running command...
14
14
  $ faststore (--version)
15
- @faststore/cli/2.1.49 linux-x64 node-v16.20.1
15
+ @faststore/cli/2.1.53 linux-x64 node-v16.20.1
16
16
  $ faststore --help [COMMAND]
17
17
  USAGE
18
18
  $ faststore COMMAND
@@ -34,7 +34,7 @@ USAGE
34
34
  $ faststore build
35
35
  ```
36
36
 
37
- _See code: [dist/commands/build.ts](https://github.com/vtex/faststore/blob/v2.1.49/dist/commands/build.ts)_
37
+ _See code: [dist/commands/build.ts](https://github.com/vtex/faststore/blob/v2.1.53/dist/commands/build.ts)_
38
38
 
39
39
  ## `faststore cms-sync`
40
40
 
@@ -43,7 +43,7 @@ USAGE
43
43
  $ faststore cms-sync
44
44
  ```
45
45
 
46
- _See code: [dist/commands/cms-sync.ts](https://github.com/vtex/faststore/blob/v2.1.49/dist/commands/cms-sync.ts)_
46
+ _See code: [dist/commands/cms-sync.ts](https://github.com/vtex/faststore/blob/v2.1.53/dist/commands/cms-sync.ts)_
47
47
 
48
48
  ## `faststore dev`
49
49
 
@@ -52,7 +52,7 @@ USAGE
52
52
  $ faststore dev
53
53
  ```
54
54
 
55
- _See code: [dist/commands/dev.ts](https://github.com/vtex/faststore/blob/v2.1.49/dist/commands/dev.ts)_
55
+ _See code: [dist/commands/dev.ts](https://github.com/vtex/faststore/blob/v2.1.53/dist/commands/dev.ts)_
56
56
 
57
57
  ## `faststore help [COMMAND]`
58
58
 
@@ -81,5 +81,5 @@ USAGE
81
81
  $ faststore start
82
82
  ```
83
83
 
84
- _See code: [dist/commands/start.ts](https://github.com/vtex/faststore/blob/v2.1.49/dist/commands/start.ts)_
84
+ _See code: [dist/commands/start.ts](https://github.com/vtex/faststore/blob/v2.1.53/dist/commands/start.ts)_
85
85
  <!-- commandsstop -->
@@ -2,14 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const core_1 = require("@oclif/core");
4
4
  const child_process_1 = require("child_process");
5
- const fs_extra_1 = require("fs-extra");
6
5
  const directory_1 = require("../utils/directory");
7
6
  const generate_1 = require("../utils/generate");
8
7
  class CmsSync extends core_1.Command {
9
8
  async run() {
10
- if (!(0, fs_extra_1.existsSync)(directory_1.tmpDir)) {
11
- await (0, generate_1.generate)({ setup: true });
12
- }
9
+ await (0, generate_1.generate)({ setup: true });
13
10
  return (0, child_process_1.spawn)(`vtex cms sync faststore`, {
14
11
  shell: true,
15
12
  cwd: directory_1.tmpDir,
@@ -1 +1 @@
1
- {"version":3,"file":"cms-sync.js","sourceRoot":"","sources":["../../src/commands/cms-sync.ts"],"names":[],"mappings":";;AAAA,sCAAqC;AACrC,iDAAqC;AACrC,uCAAqC;AACrC,kDAA2C;AAC3C,gDAA4C;AAE5C,MAAqB,OAAQ,SAAQ,cAAO;IAC1C,KAAK,CAAC,GAAG;QACP,IAAI,CAAC,IAAA,qBAAU,EAAC,kBAAM,CAAC,EAAE;YACvB,MAAM,IAAA,mBAAQ,EAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAA;SAChC;QAED,OAAO,IAAA,qBAAK,EAAC,yBAAyB,EAAE;YACtC,KAAK,EAAE,IAAI;YACX,GAAG,EAAE,kBAAM;YACX,KAAK,EAAE,SAAS;SACjB,CAAC,CAAA;IACJ,CAAC;CACF;AAZD,0BAYC"}
1
+ {"version":3,"file":"cms-sync.js","sourceRoot":"","sources":["../../src/commands/cms-sync.ts"],"names":[],"mappings":";;AAAA,sCAAqC;AACrC,iDAAqC;AACrC,kDAA2C;AAC3C,gDAA4C;AAC5C,MAAqB,OAAQ,SAAQ,cAAO;IAC1C,KAAK,CAAC,GAAG;QACP,MAAM,IAAA,mBAAQ,EAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAA;QAE/B,OAAO,IAAA,qBAAK,EAAC,yBAAyB,EAAE;YACtC,KAAK,EAAE,IAAI;YACX,GAAG,EAAE,kBAAM;YACX,KAAK,EAAE,SAAS;SACjB,CAAC,CAAA;IACJ,CAAC;CACF;AAVD,0BAUC"}
@@ -1 +1 @@
1
- {"version":"2.1.49","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":{},"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":[]}}}
1
+ {"version":"2.1.53","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":{},"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":[]}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/cli",
3
- "version": "2.1.49",
3
+ "version": "2.1.53",
4
4
  "description": "FastStore CLI",
5
5
  "author": "Emerson Laurentino @emersonlaurentino",
6
6
  "bin": {
@@ -28,8 +28,8 @@
28
28
  "stringify-object": "^3.3.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@faststore/eslint-config": "^2.1.33",
32
- "@faststore/shared": "^2.1.33",
31
+ "@faststore/eslint-config": "^2.1.53",
32
+ "@faststore/shared": "^2.1.53",
33
33
  "@types/chai": "^4",
34
34
  "@types/fs-extra": "^9.0.13",
35
35
  "@types/node": "^16.11.63",
@@ -69,5 +69,5 @@
69
69
  "oclif"
70
70
  ],
71
71
  "types": "dist/index.d.ts",
72
- "gitHead": "a3e738ad711415decf9afe396c9e1cb49e278c77"
72
+ "gitHead": "8a8ae487ebb12a99a5410a00ab9850a2a3eee031"
73
73
  }