@appdirect/sfb-toolkit 4.0.17 → 4.0.19

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/bin/index.js +1 -5
  2. package/coverage/clover.xml +32 -32
  3. package/coverage/coverage-final.json +4 -4
  4. package/coverage/lcov-report/constants/customUserAttributesMock.js.html +1 -1
  5. package/coverage/lcov-report/constants/index.html +1 -1
  6. package/coverage/lcov-report/constants/pageUrls.js.html +1 -1
  7. package/coverage/lcov-report/constants/userMock.js.html +1 -1
  8. package/coverage/lcov-report/controllers/controllers-utils/assetsUtils.js.html +1 -1
  9. package/coverage/lcov-report/controllers/controllers-utils/index.html +1 -1
  10. package/coverage/lcov-report/controllers/data-filters/bootstrap-data-filter.js.html +1 -1
  11. package/coverage/lcov-report/controllers/data-filters/call-to-actions-filter.js.html +1 -1
  12. package/coverage/lcov-report/controllers/data-filters/index.html +1 -1
  13. package/coverage/lcov-report/controllers/index.html +1 -1
  14. package/coverage/lcov-report/controllers/index.js.html +1 -1
  15. package/coverage/lcov-report/front-end-utils/src/components/base/ResultItem.js.html +7 -7
  16. package/coverage/lcov-report/front-end-utils/src/components/base/SearchBar.js.html +3 -3
  17. package/coverage/lcov-report/front-end-utils/src/components/base/index.html +1 -1
  18. package/coverage/lcov-report/front-end-utils/src/components/base/item.js.html +11 -11
  19. package/coverage/lcov-report/front-end-utils/src/components/container.js.html +1 -1
  20. package/coverage/lcov-report/front-end-utils/src/components/data-view.js.html +1 -1
  21. package/coverage/lcov-report/front-end-utils/src/components/header-view.js.html +1 -1
  22. package/coverage/lcov-report/front-end-utils/src/components/index.html +1 -1
  23. package/coverage/lcov-report/front-end-utils/src/components/search.js.html +13 -13
  24. package/coverage/lcov-report/front-end-utils/src/constants/index.html +1 -1
  25. package/coverage/lcov-report/front-end-utils/src/constants/pageUrl.js.html +1 -1
  26. package/coverage/lcov-report/front-end-utils/src/constants/roleType.js.html +1 -1
  27. package/coverage/lcov-report/front-end-utils/src/constants/searchType.js.html +1 -1
  28. package/coverage/lcov-report/front-end-utils/src/utils/debounce.js.html +1 -1
  29. package/coverage/lcov-report/front-end-utils/src/utils/index.html +1 -1
  30. package/coverage/lcov-report/index.html +1 -1
  31. package/coverage/lcov-report/middlewares/config.js.html +1 -1
  32. package/coverage/lcov-report/middlewares/index.html +1 -1
  33. package/coverage/lcov-report/tools/index.html +1 -1
  34. package/coverage/lcov-report/tools/proxy-fetch.js.html +1 -1
  35. package/coverage/lcov.info +81 -81
  36. package/npm-shrinkwrap.json +2547 -615
  37. package/package.json +4 -4
  38. package/readme.md +3 -0
  39. package/src/tools/prompt-questions.js +2 -8
  40. package/src/tools/toolkit-common-vars.js +0 -6
  41. package/src/tools/toolkit-create-extension.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appdirect/sfb-toolkit",
3
- "version": "4.0.17",
3
+ "version": "4.0.19",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -55,9 +55,9 @@
55
55
  "name": "appdirect/sfb-toolkit"
56
56
  },
57
57
  "dependencies": {
58
- "@appdirect/public-custom-app-ui": "^0.0.17",
59
- "@appdirect/sfb-theme-classic": "TO_CHANGE",
60
- "@appdirect/sfb-theme-plaza": "TO_CHANGE",
58
+ "@appdirect/public-custom-app-ui": "^0.0.19",
59
+ "@appdirect/sfb-theme-classic": "0.0.27",
60
+ "@appdirect/sfb-theme-plaza": "0.0.78",
61
61
  "@appdirect/storefront-utils": "latest",
62
62
  "@babel/core": "^7.19.1",
63
63
  "@babel/plugin-proposal-class-properties": "^7.18.6",
package/readme.md CHANGED
@@ -10,6 +10,9 @@ It can be easily mixed with eg. HTML, CSS, JavaScript, jQuery, SASS.
10
10
 
11
11
  ### Release Notes:
12
12
 
13
+ **4.0.18**
14
+ - Updated documentation links
15
+
13
16
  **4.0.17**
14
17
  - Bug fix: fixed issue when executing `sfb-toolkit start` on Windows
15
18
  - Updated `sfb-theme-components` library to version [0.0.342](https://www.npmjs.com/package/@appdirect/sfb-theme-components/v/0.0.342)
@@ -104,7 +104,7 @@ const QUESTIONS = [
104
104
  \u2022 ${chalk.bgRed("This command is irreversible.")}
105
105
  \u2022 Please refer to our documentation for comprehensive details.
106
106
  ${chalk.cyan(
107
- "https://developer.appdirect.com/storefront/how-tos/components/storefront-custom-components"
107
+ "https://developer.appdirect.com/storefront/reference/custom-components/custom-components-risks"
108
108
  )}
109
109
  \nDo you wish to proceed? (y/n)`),
110
110
  },
@@ -128,7 +128,7 @@ const QUESTIONS = [
128
128
  )}
129
129
  \u2022 Please see our documentation for more information.
130
130
  ${chalk.cyan(
131
- "https://developer.appdirect.com/storefront/how-tos/components/storefront-custom-components#update-custom-components-ui-library-sfb-theme-components."
131
+ "https://developer.appdirect.com/storefront/how-tos/components/storefront-custom-components-update-ui-library"
132
132
  )}
133
133
  ${customComponentsHints()}
134
134
  \nDo you wish to proceed? (y/n)`
@@ -188,12 +188,6 @@ const QUESTIONS = [
188
188
  "Do you want to include the Storefront Builder layout editor settings in this package? (This will override existing settings in the editor)",
189
189
  default: false,
190
190
  },
191
- {
192
- type: "list",
193
- name: "CreateExtension",
194
- message: "Please select the type of extension you want to build:",
195
- choices: EXTENSION_PROMPT,
196
- },
197
191
  {
198
192
  type: "input",
199
193
  name: "ExtensionName",
@@ -38,11 +38,6 @@ const WHO_ARE_YOU_PROMPT = [
38
38
  { "name": "external dev" }
39
39
  ]
40
40
 
41
- const EXTENSION_PROMPT = [
42
- { name: "Blank Extension" },
43
- { name: "DataGrid Boilerplate" },
44
- { name: "Dashboard Boilerplate" }
45
- ]
46
41
 
47
42
  module.exports = {
48
43
  TOOLKIT_GLOBAL_CONFIG,
@@ -67,5 +62,4 @@ module.exports = {
67
62
  THEME_LOGS_PATH,
68
63
  THEME_LOGS_FILE_PATH,
69
64
  WHO_ARE_YOU_PROMPT,
70
- EXTENSION_PROMPT,
71
65
  }
@@ -12,7 +12,6 @@ shouldBeProjectFolder(true);
12
12
  // by default
13
13
 
14
14
  try {
15
- const { CreateExtension } = await prompt.ask(["CreateExtension"]);
16
15
  const { ExtensionName } = await prompt.ask(["ExtensionName"]);
17
16
  const { AppPath } = await prompt.ask(["AppPath"]);
18
17
  const { MarketplacePath } = await prompt.ask(["MarketplacePath"]);