@coveo/quantic 3.30.3 → 3.30.4-pre.003bd2b1f2

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 (27) hide show
  1. package/force-app/main/default/staticresources/coveoheadless/case-assist/headless.js +10 -8
  2. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/commerce/types/engine.d.ts +2 -0
  3. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/common/types/engine.d.ts +2 -0
  4. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr/common/types/utilities.d.ts +3 -0
  5. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-commerce-next.index.d.ts +1 -1
  6. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/engine/commerce-engine.ssr.d.ts +1 -1
  7. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/factories/build-factory.d.ts +1 -1
  8. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/factories/hydrated-state-factory.d.ts +1 -1
  9. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/factories/recommendation-static-state-factory.d.ts +4 -7
  10. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/factories/static-state-factory.d.ts +1 -2
  11. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/types/build.d.ts +2 -2
  12. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/types/controller-definitions.d.ts +2 -2
  13. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/types/engine.d.ts +2 -2
  14. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/types/fetch-static-state.d.ts +2 -2
  15. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/commerce/types/hydrate-static-state.d.ts +2 -2
  16. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/common/augment-preprocess-request.d.ts +2 -2
  17. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/common/types/utilities.d.ts +0 -5
  18. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/search/types/build.d.ts +3 -4
  19. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/search/types/fetch-static-state.d.ts +1 -2
  20. package/force-app/main/default/staticresources/coveoheadless/definitions/ssr-next/search/types/hydrate-static-state.d.ts +1 -2
  21. package/force-app/main/default/staticresources/coveoheadless/definitions/test/mock-navigator-context.d.ts +2 -0
  22. package/force-app/main/default/staticresources/coveoheadless/headless.js +12 -10
  23. package/force-app/main/default/staticresources/coveoheadless/insight/headless.js +11 -9
  24. package/force-app/main/default/staticresources/coveoheadless/recommendation/headless.js +9 -7
  25. package/package.json +2 -10
  26. package/scripts/npm/check-sfdx-project.js +1 -1
  27. package/scripts/npm/setup-quantic.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coveo/quantic",
3
- "version": "3.30.3",
3
+ "version": "3.30.4-pre.003bd2b1f2",
4
4
  "description": "A Salesforce Lightning Web Component (LWC) library for building modern UIs interfacing with the Coveo platform",
5
5
  "author": "coveo.com",
6
6
  "homepage": "https://coveo.com",
@@ -48,9 +48,8 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@coveo/bueno": "1.1.2",
51
- "@coveo/headless": "3.31.0",
51
+ "@coveo/headless": "3.31.1-pre.003bd2b1f2",
52
52
  "dompurify": "3.2.6",
53
- "fs-extra": "11.3.0",
54
53
  "marked": "12.0.2"
55
54
  },
56
55
  "engines": {
@@ -64,15 +63,10 @@
64
63
  "@octokit/graphql": "9.0.1",
65
64
  "@octokit/graphql-schema": "15.26.0",
66
65
  "@playwright/test": "1.54.1",
67
- "@salesforce-ux/slds-linter": "0.3.0",
68
66
  "@salesforce/eslint-config-lwc": "3.7.2",
69
67
  "@salesforce/sfdx-lwc-jest": "5.1.0",
70
- "@types/node": "22.16.5",
71
- "@types/strip-color": "0.1.2",
72
68
  "@types/wait-on": "5.3.4",
73
69
  "@typescript-eslint/parser": "8.44.0",
74
- "chalk": "4.1.2",
75
- "change-case": "4.1.2",
76
70
  "dotenv": "17.2.1",
77
71
  "eslint": "8.57",
78
72
  "eslint-config-prettier": "10.1.8",
@@ -81,9 +75,7 @@
81
75
  "jsdoc": "4.0.4",
82
76
  "jsdoc-tsimport-plugin": "1.0.5",
83
77
  "mkdirp": "3.0.1",
84
- "ncp": "2.0.0",
85
78
  "prettier-plugin-apex": "2.2.6",
86
- "strip-color": "0.1.0",
87
79
  "ts-node": "10.9.2",
88
80
  "wait-on": "8.0.4",
89
81
  "xml2js": "0.6.2"
@@ -1,5 +1,5 @@
1
1
  const pathlib = require('path');
2
- const fs = require('fs-extra');
2
+ const fs = require('fs');
3
3
  const {quanticIsDependency, getProjectPath} = require('./utils');
4
4
 
5
5
  function main() {
@@ -1,10 +1,10 @@
1
- const fs = require('fs-extra');
1
+ const fs = require('fs');
2
2
  const pathlib = require('path');
3
3
  const {quanticIsDependency, getProjectPath} = require('./utils');
4
4
 
5
5
  function copyFolder(source, target) {
6
6
  try {
7
- fs.copySync(source, target);
7
+ fs.cpSync(source, target, {recursive: true, force: true});
8
8
  } catch (err) {
9
9
  console.error(`Failed to copy folder at the following path ${source}`);
10
10
  console.error(err);