@appdirect/sfb-toolkit 5.0.0 → 5.0.2
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/coverage/clover.xml +52 -52
- package/coverage/coverage-final.json +20 -20
- package/coverage/lcov-report/constants/customUserAttributesMock.js.html +1 -1
- package/coverage/lcov-report/constants/index.html +1 -1
- package/coverage/lcov-report/constants/pageUrls.js.html +1 -1
- package/coverage/lcov-report/constants/userMock.js.html +1 -1
- package/coverage/lcov-report/controllers/controllers-utils/assetsUtils.js.html +1 -1
- package/coverage/lcov-report/controllers/controllers-utils/index.html +1 -1
- package/coverage/lcov-report/controllers/data-filters/bootstrap-data-filter.js.html +1 -1
- package/coverage/lcov-report/controllers/data-filters/call-to-actions-filter.js.html +1 -1
- package/coverage/lcov-report/controllers/data-filters/index.html +1 -1
- package/coverage/lcov-report/controllers/index.html +1 -1
- package/coverage/lcov-report/controllers/index.js.html +1 -1
- package/coverage/lcov-report/front-end-utils/src/components/base/ResultItem.js.html +7 -7
- package/coverage/lcov-report/front-end-utils/src/components/base/SearchBar.js.html +3 -3
- package/coverage/lcov-report/front-end-utils/src/components/base/index.html +1 -1
- package/coverage/lcov-report/front-end-utils/src/components/base/item.js.html +11 -11
- package/coverage/lcov-report/front-end-utils/src/components/container.js.html +1 -1
- package/coverage/lcov-report/front-end-utils/src/components/data-view.js.html +1 -1
- package/coverage/lcov-report/front-end-utils/src/components/header-view.js.html +1 -1
- package/coverage/lcov-report/front-end-utils/src/components/index.html +1 -1
- package/coverage/lcov-report/front-end-utils/src/components/search.js.html +13 -13
- package/coverage/lcov-report/front-end-utils/src/constants/index.html +1 -1
- package/coverage/lcov-report/front-end-utils/src/constants/pageUrl.js.html +1 -1
- package/coverage/lcov-report/front-end-utils/src/constants/roleType.js.html +1 -1
- package/coverage/lcov-report/front-end-utils/src/constants/searchType.js.html +1 -1
- package/coverage/lcov-report/front-end-utils/src/utils/debounce.js.html +1 -1
- package/coverage/lcov-report/front-end-utils/src/utils/index.html +1 -1
- package/coverage/lcov-report/index.html +1 -1
- package/coverage/lcov-report/middlewares/config.js.html +1 -1
- package/coverage/lcov-report/middlewares/index.html +1 -1
- package/coverage/lcov-report/tools/index.html +1 -1
- package/coverage/lcov-report/tools/proxy-fetch.js.html +1 -1
- package/coverage/lcov.info +81 -81
- package/npm-shrinkwrap.json +26 -15
- package/package.json +4 -3
- package/readme.md +6 -13
- package/src/tools/toolkit-components-copy.js +189 -1
- package/src/tools/toolkit-status.js +3 -3
- package/src/tools/zip-theme.js +1 -0
- package/themes-config.json +7 -0
|
@@ -8,11 +8,11 @@ shouldBeProjectFolder(true);
|
|
|
8
8
|
(() => {
|
|
9
9
|
try {
|
|
10
10
|
const projectData = LOCAL_CONFIG.read();
|
|
11
|
-
console.log(`\n Current configuration for ${projectData.current
|
|
11
|
+
console.log(`\n Current configuration for ${chalk.yellowBright(projectData.current)}:`)
|
|
12
12
|
projectData.namespaces
|
|
13
13
|
.filter( item => item.themeName === projectData.current )
|
|
14
|
-
.map( namespace => Object.keys(namespace).map( param => param != 'themeName' && console.log(` ${param}: ${namespace[param]
|
|
15
|
-
console.log(`\n To make changes in ${projectData.current
|
|
14
|
+
.map( namespace => Object.keys(namespace).map( param => param != 'themeName' && console.log(chalk.green(` ${param}: ${namespace[param]}`))));
|
|
15
|
+
console.log(`\n To make changes in ${chalk.yellowBright(projectData.current)} theme configuration, run \`sfb-toolkit update\`\n`);
|
|
16
16
|
} catch (err) {
|
|
17
17
|
console.error(chalk.red(`\n ERROR: Unable to find configuration file.\n`));
|
|
18
18
|
}
|
package/src/tools/zip-theme.js
CHANGED
package/themes-config.json
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"name": "Classic - A theme built with simple HTML/CSS and jQuery.",
|
|
4
|
+
"value": {
|
|
5
|
+
"dependency": "@appdirect/sfb-theme-classic",
|
|
6
|
+
"name": "Classic"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
2
9
|
{
|
|
3
10
|
"name": "Plaza - A modern theme built with react components that can be customized with Storefront Builder.",
|
|
4
11
|
"value": {
|