@faststore/cli 3.0.68 → 3.0.79
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 +7 -7
- package/dist/commands/build.js +1 -0
- package/dist/commands/build.js.map +1 -1
- package/dist/index.d.ts +14 -0
- package/dist/index.js +16 -1
- package/dist/index.js.map +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
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.0.
|
|
33
|
+
@faststore/cli/3.0.79 linux-x64 node-v18.20.3
|
|
34
34
|
$ faststore --help [COMMAND]
|
|
35
35
|
USAGE
|
|
36
36
|
$ faststore COMMAND
|
|
@@ -56,7 +56,7 @@ USAGE
|
|
|
56
56
|
$ faststore build
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
_See code: [dist/commands/build.ts](https://github.com/vtex/faststore/blob/v3.0.
|
|
59
|
+
_See code: [dist/commands/build.ts](https://github.com/vtex/faststore/blob/v3.0.79/dist/commands/build.ts)_
|
|
60
60
|
|
|
61
61
|
## `faststore cms-sync`
|
|
62
62
|
|
|
@@ -68,7 +68,7 @@ FLAGS
|
|
|
68
68
|
-d, --dry-run
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
_See code: [dist/commands/cms-sync.ts](https://github.com/vtex/faststore/blob/v3.0.
|
|
71
|
+
_See code: [dist/commands/cms-sync.ts](https://github.com/vtex/faststore/blob/v3.0.79/dist/commands/cms-sync.ts)_
|
|
72
72
|
|
|
73
73
|
## `faststore dev`
|
|
74
74
|
|
|
@@ -77,7 +77,7 @@ USAGE
|
|
|
77
77
|
$ faststore dev
|
|
78
78
|
```
|
|
79
79
|
|
|
80
|
-
_See code: [dist/commands/dev.ts](https://github.com/vtex/faststore/blob/v3.0.
|
|
80
|
+
_See code: [dist/commands/dev.ts](https://github.com/vtex/faststore/blob/v3.0.79/dist/commands/dev.ts)_
|
|
81
81
|
|
|
82
82
|
## `faststore generate-graphql`
|
|
83
83
|
|
|
@@ -89,7 +89,7 @@ FLAGS
|
|
|
89
89
|
-d, --debug
|
|
90
90
|
```
|
|
91
91
|
|
|
92
|
-
_See code: [dist/commands/generate-graphql.ts](https://github.com/vtex/faststore/blob/v3.0.
|
|
92
|
+
_See code: [dist/commands/generate-graphql.ts](https://github.com/vtex/faststore/blob/v3.0.79/dist/commands/generate-graphql.ts)_
|
|
93
93
|
|
|
94
94
|
## `faststore help [COMMAND]`
|
|
95
95
|
|
|
@@ -118,7 +118,7 @@ USAGE
|
|
|
118
118
|
$ faststore start
|
|
119
119
|
```
|
|
120
120
|
|
|
121
|
-
_See code: [dist/commands/start.ts](https://github.com/vtex/faststore/blob/v3.0.
|
|
121
|
+
_See code: [dist/commands/start.ts](https://github.com/vtex/faststore/blob/v3.0.79/dist/commands/start.ts)_
|
|
122
122
|
|
|
123
123
|
## `faststore test`
|
|
124
124
|
|
|
@@ -127,5 +127,5 @@ USAGE
|
|
|
127
127
|
$ faststore test
|
|
128
128
|
```
|
|
129
129
|
|
|
130
|
-
_See code: [dist/commands/test.ts](https://github.com/vtex/faststore/blob/v3.0.
|
|
130
|
+
_See code: [dist/commands/test.ts](https://github.com/vtex/faststore/blob/v3.0.79/dist/commands/test.ts)_
|
|
131
131
|
<!-- commandsstop -->
|
package/dist/commands/build.js
CHANGED
|
@@ -47,5 +47,6 @@ async function normalizeStandaloneBuildDir() {
|
|
|
47
47
|
async function copyResources() {
|
|
48
48
|
await copyResource(`${directory_1.tmpDir}/.next`, `${directory_1.userDir}/.next`);
|
|
49
49
|
await copyResource(`${directory_1.tmpDir}/lighthouserc.js`, `${directory_1.userDir}/lighthouserc.js`);
|
|
50
|
+
await copyResource(`${directory_1.tmpDir}/public`, `${directory_1.userDir}/public`);
|
|
50
51
|
}
|
|
51
52
|
//# sourceMapp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AM,YAAY,CAAC,GAAG,kBAAM,QAAQ,EAAE,GAAG,mBAAO,QAAQ,CAAC,CAAA;IACzD,MAAM,YAAY,CAAC,GAAG,kBAAM,kBAAkB,EAAE,GAAG,mBAAO,kBAAkB,CAAC,CAAA;IAC7E,MAAM,YAAY,CAAC,GAAG,kBAAM,SAAS,EAAE,GAAG,mBAAO,SAAS,CAAC,CAAA;AAC7D,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1 +1,15 @@
|
|
|
1
1
|
export { run } from '@oclif/core';
|
|
2
|
+
import { default as Dev } from './commands/dev';
|
|
3
|
+
import { default as Build } from './commands/build';
|
|
4
|
+
import { default as Serve } from './commands/start';
|
|
5
|
+
import { default as CmsSync } from './commands/cms-sync';
|
|
6
|
+
import { default as GenerateGraphql } from './commands/generate-graphql';
|
|
7
|
+
import { default as Test } from './commands/test';
|
|
8
|
+
export declare const commands: {
|
|
9
|
+
dev: typeof Dev;
|
|
10
|
+
build: typeof Build;
|
|
11
|
+
serve: typeof Serve;
|
|
12
|
+
'cms-sync': typeof CmsSync;
|
|
13
|
+
'generate-graphql': typeof GenerateGraphql;
|
|
14
|
+
test: typeof Test;
|
|
15
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.run = void 0;
|
|
3
|
+
exports.commands = exports.run = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
4
5
|
var core_1 = require("@oclif/core");
|
|
5
6
|
Object.defineProperty(exports, "run", { enumerable: true, get: function () { return core_1.run; } });
|
|
7
|
+
const dev_1 = tslib_1.__importDefault(require("./commands/dev"));
|
|
8
|
+
const build_1 = tslib_1.__importDefault(require("./commands/build"));
|
|
9
|
+
const start_1 = tslib_1.__importDefault(require("./commands/start"));
|
|
10
|
+
const cms_sync_1 = tslib_1.__importDefault(require("./commands/cms-sync"));
|
|
11
|
+
const generate_graphql_1 = tslib_1.__importDefault(require("./commands/generate-graphql"));
|
|
12
|
+
const test_1 = tslib_1.__importDefault(require("./commands/test"));
|
|
13
|
+
exports.commands = {
|
|
14
|
+
dev: dev_1.default,
|
|
15
|
+
build: build_1.default,
|
|
16
|
+
serve: start_1.default,
|
|
17
|
+
'cms-sync': cms_sync_1.default,
|
|
18
|
+
'generate-graphql': generate_graphql_1.default,
|
|
19
|
+
test: test_1.default,
|
|
20
|
+
};
|
|
6
21
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,oCAAiC;AAAxB,2FAAA,GAAG,OAAA;AAEZ,iEAA+C;AAC/C,qEAAmD;AACnD,qEAAmD;AACnD,2EAAwD;AACxD,2FAAwE;AACxE,mEAAiD;AAEpC,QAAA,QAAQ,GAAG;IACtB,GAAG,EAAE,aAAG;IACR,KAAK,EAAE,eAAK;IACZ,KAAK,EAAE,eAAK;IACZ,UAAU,EAAE,kBAAO;IACnB,kBAAkB,EAAE,0BAAe;IACnC,IAAI,EAAE,cAAI;CACX,CAAA"}
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"3.0.
|
|
1
|
+
{"version":"3.0.79","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":[]}}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faststore/cli",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.79",
|
|
4
4
|
"description": "FastStore CLI",
|
|
5
5
|
"author": "Emerson Laurentino @emersonlaurentino",
|
|
6
6
|
"bin": {
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"oclif"
|
|
70
70
|
],
|
|
71
71
|
"types": "dist/index.d.ts",
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "e110a03d3e22d338f4839a32c62a23e1e74f90c0"
|
|
73
73
|
}
|