Socket
Socket
Sign inDemoInstall

@faststore/cli

Package Overview
Dependencies
Maintainers
10
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@faststore/cli - npm Package Compare versions

Comparing version 2.2.9 to 2.2.12

1

dist/commands/build.js

@@ -23,3 +23,2 @@ "use strict";

await copyResource(`${directory_1.tmpDir}/.next`, `${directory_1.userDir}/.next`);
await copyResource(`${directory_1.tmpDir}/public`, `${directory_1.userDir}/public`);
await copyResource(`${directory_1.tmpDir}/lighthouserc.js`, `${directory_1.userDir}/lighthouserc.js`);

@@ -26,0 +25,0 @@ await copyResource(`${directory_1.tmpDir}/cms-webhook-urls.json`, `${directory_1.userDir}/cms-webhook-urls.json`);

19

dist/utils/generate.js

@@ -39,2 +39,20 @@ "use strict";

}
function copyPublicFiles() {
const allowList = ["json", "txt", "public"];
try {
if ((0, fs_extra_1.existsSync)(`${directory_1.userDir}/public`)) {
(0, fs_extra_1.copySync)(`${directory_1.userDir}/public`, `${directory_1.tmpDir}/public`, {
overwrite: true,
filter: (src) => {
const allow = allowList.some((ext) => src.endsWith(ext));
return allow;
}
});
console.log(`${chalk_1.default.green('success')} - Public files copied`);
}
}
catch (e) {
console.error(e);
}
}
async function copyCypressFiles() {

@@ -173,2 +191,3 @@ var _a;

copyCypressFiles(),
copyPublicFiles(),
createNodeModulesSymbolicLink(),

@@ -175,0 +194,0 @@ ]);

@@ -1,1 +0,1 @@

{"version":"2.2.9","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":[]},"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":"2.2.12","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":[]},"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": "2.2.9",
"version": "2.2.12",
"description": "FastStore CLI",

@@ -69,3 +69,3 @@ "author": "Emerson Laurentino @emersonlaurentino",

"types": "dist/index.d.ts",
"gitHead": "7b13ad421c9bc35c711f39bfcf9f6e8375ac8a32"
"gitHead": "65a601dcf517516259a7224c91fcfe4d107b8d9d"
}

@@ -17,3 +17,3 @@ # FastStore CLI

$ faststore (--version)
@faststore/cli/2.2.9 linux-x64 node-v16.20.2
@faststore/cli/2.2.12 linux-x64 node-v16.20.2
$ faststore --help [COMMAND]

@@ -44,3 +44,3 @@ USAGE

_See code: [dist/commands/build.ts](https://github.com/vtex/faststore/blob/v2.2.9/dist/commands/build.ts)_
_See code: [dist/commands/build.ts](https://github.com/vtex/faststore/blob/v2.2.12/dist/commands/build.ts)_

@@ -54,3 +54,3 @@ ## `faststore cms-sync`

_See code: [dist/commands/cms-sync.ts](https://github.com/vtex/faststore/blob/v2.2.9/dist/commands/cms-sync.ts)_
_See code: [dist/commands/cms-sync.ts](https://github.com/vtex/faststore/blob/v2.2.12/dist/commands/cms-sync.ts)_

@@ -64,3 +64,3 @@ ## `faststore dev`

_See code: [dist/commands/dev.ts](https://github.com/vtex/faststore/blob/v2.2.9/dist/commands/dev.ts)_
_See code: [dist/commands/dev.ts](https://github.com/vtex/faststore/blob/v2.2.12/dist/commands/dev.ts)_

@@ -77,3 +77,3 @@ ## `faststore generate-graphql`

_See code: [dist/commands/generate-graphql.ts](https://github.com/vtex/faststore/blob/v2.2.9/dist/commands/generate-graphql.ts)_
_See code: [dist/commands/generate-graphql.ts](https://github.com/vtex/faststore/blob/v2.2.12/dist/commands/generate-graphql.ts)_

@@ -107,3 +107,3 @@ ## `faststore help [COMMAND]`

_See code: [dist/commands/start.ts](https://github.com/vtex/faststore/blob/v2.2.9/dist/commands/start.ts)_
_See code: [dist/commands/start.ts](https://github.com/vtex/faststore/blob/v2.2.12/dist/commands/start.ts)_

@@ -117,3 +117,3 @@ ## `faststore test`

_See code: [dist/commands/test.ts](https://github.com/vtex/faststore/blob/v2.2.9/dist/commands/test.ts)_
_See code: [dist/commands/test.ts](https://github.com/vtex/faststore/blob/v2.2.12/dist/commands/test.ts)_
<!-- commandsstop -->

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc