@faststore/cli
Advanced tools
Comparing version 2.0.30-alpha.0 to 2.0.32-alpha.0
@@ -6,2 +6,25 @@ # Change Log | ||
## 2.0.32-alpha.0 (2023-01-04) | ||
### Bug Fixes | ||
* yarn lock ([#1578](https://github.com/vtex/faststore/issues/1578)) ([d07ebf2](https://github.com/vtex/faststore/commit/d07ebf26fef4518a3a1a1ffede34371d8866a07b)) | ||
## 2.0.31-alpha.0 (2023-01-03) | ||
### Bug Fixes | ||
* turbo config ([0048756](https://github.com/vtex/faststore/commit/00487564d0aa2a4bee382574a40fa20431a8f0eb)) | ||
### Chores | ||
* lint ([#1576](https://github.com/vtex/faststore/issues/1576)) ([a9f5e2e](https://github.com/vtex/faststore/commit/a9f5e2e921a29af898e631380736ee1211aecc0d)) | ||
## 2.0.30-alpha.0 (2023-01-02) | ||
@@ -8,0 +31,0 @@ |
@@ -51,3 +51,4 @@ "use strict"; | ||
async function copyTheme() { | ||
const storeConfig = await Promise.resolve().then(() => tslib_1.__importStar(require(directory_1.userStoreConfigFileDir))); | ||
var _a; | ||
const storeConfig = await (_a = directory_1.userStoreConfigFileDir, Promise.resolve().then(() => tslib_1.__importStar(require(_a)))); | ||
if (storeConfig.theme) { | ||
@@ -99,5 +100,6 @@ const customTheme = `${directory_1.userThemesFileDir}/${storeConfig.theme}.scss`; | ||
async function copyStoreConfig() { | ||
var _a, _b; | ||
try { | ||
const storeConfigFromStore = await Promise.resolve().then(() => tslib_1.__importStar(require(directory_1.userStoreConfigFileDir))); | ||
const storeConfigFromCore = await Promise.resolve().then(() => tslib_1.__importStar(require(directory_1.coreStoreConfigFileDir))); | ||
const storeConfigFromStore = await (_a = directory_1.userStoreConfigFileDir, Promise.resolve().then(() => tslib_1.__importStar(require(_a)))); | ||
const storeConfigFromCore = await (_b = directory_1.coreStoreConfigFileDir, Promise.resolve().then(() => tslib_1.__importStar(require(_b)))); | ||
const mergedStoreConfig = (0, deepmerge_1.default)(storeConfigFromCore, storeConfigFromStore); | ||
@@ -104,0 +106,0 @@ (0, fs_extra_1.writeFileSync)(directory_1.tmpStoreConfigFileDir, generateStoreConfigFile(mergedStoreConfig)); |
{ | ||
"name": "@faststore/cli", | ||
"version": "2.0.30-alpha.0", | ||
"version": "2.0.32-alpha.0", | ||
"description": "FastStore CLI", | ||
@@ -30,3 +30,4 @@ "author": "Emerson Laurentino @emersonlaurentino", | ||
"devDependencies": { | ||
"@faststore/shared": "^2.0.30-alpha.0", | ||
"@faststore/eslint-config": "^2.0.32-alpha.0", | ||
"@faststore/shared": "^2.0.32-alpha.0", | ||
"@types/chai": "^4", | ||
@@ -36,2 +37,3 @@ "@types/fs-extra": "^9.0.13", | ||
"chai": "^4", | ||
"eslint": "7.32.0", | ||
"oclif": "^3", | ||
@@ -73,3 +75,3 @@ "shx": "^0.3.3", | ||
"types": "dist/index.d.ts", | ||
"gitHead": "e36e4ccd7986e227a41ce72f753b3c03fb152c08" | ||
"gitHead": "4e8ca160c8f25f458be32a5d60b373e13dae45f6" | ||
} |
Sorry, the diff of this file is not supported yet
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
34440
361
12