@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.
Files changed (41) hide show
  1. package/coverage/clover.xml +52 -52
  2. package/coverage/coverage-final.json +20 -20
  3. package/coverage/lcov-report/constants/customUserAttributesMock.js.html +1 -1
  4. package/coverage/lcov-report/constants/index.html +1 -1
  5. package/coverage/lcov-report/constants/pageUrls.js.html +1 -1
  6. package/coverage/lcov-report/constants/userMock.js.html +1 -1
  7. package/coverage/lcov-report/controllers/controllers-utils/assetsUtils.js.html +1 -1
  8. package/coverage/lcov-report/controllers/controllers-utils/index.html +1 -1
  9. package/coverage/lcov-report/controllers/data-filters/bootstrap-data-filter.js.html +1 -1
  10. package/coverage/lcov-report/controllers/data-filters/call-to-actions-filter.js.html +1 -1
  11. package/coverage/lcov-report/controllers/data-filters/index.html +1 -1
  12. package/coverage/lcov-report/controllers/index.html +1 -1
  13. package/coverage/lcov-report/controllers/index.js.html +1 -1
  14. package/coverage/lcov-report/front-end-utils/src/components/base/ResultItem.js.html +7 -7
  15. package/coverage/lcov-report/front-end-utils/src/components/base/SearchBar.js.html +3 -3
  16. package/coverage/lcov-report/front-end-utils/src/components/base/index.html +1 -1
  17. package/coverage/lcov-report/front-end-utils/src/components/base/item.js.html +11 -11
  18. package/coverage/lcov-report/front-end-utils/src/components/container.js.html +1 -1
  19. package/coverage/lcov-report/front-end-utils/src/components/data-view.js.html +1 -1
  20. package/coverage/lcov-report/front-end-utils/src/components/header-view.js.html +1 -1
  21. package/coverage/lcov-report/front-end-utils/src/components/index.html +1 -1
  22. package/coverage/lcov-report/front-end-utils/src/components/search.js.html +13 -13
  23. package/coverage/lcov-report/front-end-utils/src/constants/index.html +1 -1
  24. package/coverage/lcov-report/front-end-utils/src/constants/pageUrl.js.html +1 -1
  25. package/coverage/lcov-report/front-end-utils/src/constants/roleType.js.html +1 -1
  26. package/coverage/lcov-report/front-end-utils/src/constants/searchType.js.html +1 -1
  27. package/coverage/lcov-report/front-end-utils/src/utils/debounce.js.html +1 -1
  28. package/coverage/lcov-report/front-end-utils/src/utils/index.html +1 -1
  29. package/coverage/lcov-report/index.html +1 -1
  30. package/coverage/lcov-report/middlewares/config.js.html +1 -1
  31. package/coverage/lcov-report/middlewares/index.html +1 -1
  32. package/coverage/lcov-report/tools/index.html +1 -1
  33. package/coverage/lcov-report/tools/proxy-fetch.js.html +1 -1
  34. package/coverage/lcov.info +81 -81
  35. package/npm-shrinkwrap.json +26 -15
  36. package/package.json +4 -3
  37. package/readme.md +6 -13
  38. package/src/tools/toolkit-components-copy.js +189 -1
  39. package/src/tools/toolkit-status.js +3 -3
  40. package/src/tools/zip-theme.js +1 -0
  41. 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.yellow}:`)
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].yellow}`)));
15
- console.log(`\n To make changes in ${projectData.current.yellow} theme configuration, run \`sfb-toolkit update\`\n`);
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
  }
@@ -62,6 +62,7 @@ fileOutput.on("close", () => {
62
62
  "package-lock.json",
63
63
  "npm-shrinkwrap.json",
64
64
  "README.md",
65
+ "CHANGELOG.md",
65
66
  "convert_translation/**",
66
67
  "customComponents/**", // exclude on root, but allow on assets
67
68
  ...specialIgnore,
@@ -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": {