@faststore/core 3.11.0 → 3.11.1

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 (36) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +2 -2
  3. package/.next/cache/config.json +3 -3
  4. package/.next/cache/eslint/.cache_1gneedd +1 -1
  5. package/.next/cache/webpack/client-production/0.pack +0 -0
  6. package/.next/cache/webpack/client-production/index.pack +0 -0
  7. package/.next/cache/webpack/server-production/0.pack +0 -0
  8. package/.next/cache/webpack/server-production/index.pack +0 -0
  9. package/.next/next-minimal-server.js.nft.json +1 -1
  10. package/.next/next-server.js.nft.json +1 -1
  11. package/.next/prerender-manifest.js +1 -1
  12. package/.next/prerender-manifest.json +1 -1
  13. package/.next/routes-manifest.json +1 -1
  14. package/.next/server/chunks/5671.js +1 -1
  15. package/.next/server/chunks/5754.js +1 -1
  16. package/.next/server/middleware-build-manifest.js +1 -1
  17. package/.next/server/pages/en-US/404.html +1 -1
  18. package/.next/server/pages/en-US/500.html +1 -1
  19. package/.next/server/pages/en-US/account.html +1 -1
  20. package/.next/server/pages/en-US/checkout.html +1 -1
  21. package/.next/server/pages/en-US/login.html +1 -1
  22. package/.next/server/pages/en-US/s.html +1 -1
  23. package/.next/server/pages/en-US.html +1 -1
  24. package/.next/server/pages-manifest.json +1 -1
  25. package/.next/trace +102 -102
  26. package/.turbo/turbo-build.log +2 -2
  27. package/.turbo/turbo-test.log +5 -5
  28. package/CHANGELOG.md +4 -0
  29. package/package.json +7 -32
  30. package/.editorconfig +0 -13
  31. package/.husky/pre-commit +0 -4
  32. package/.stylelintignore +0 -1
  33. package/.vscode/settings.json +0 -7
  34. package/stylelint.config.js +0 -82
  35. /package/.next/static/{KFQxTEob6--CeDLEHBRNA → Ip8ORS16rwfFtlFeTRcSj}/_buildManifest.js +0 -0
  36. /package/.next/static/{KFQxTEob6--CeDLEHBRNA → Ip8ORS16rwfFtlFeTRcSj}/_ssgManifest.js +0 -0
@@ -38,8 +38,8 @@ https://nextjs.org/telemetry
38
38
  Collecting page data ...
39
39
  Generating static pages (0/7) ...
40
40
 
41
41
  Generating static pages (1/7)
42
- Warning: Dynamic Content not found for the page: home. Refer to the Dynamic Content documentation at https://developers.vtex.com/docs/guides/faststore/dynamic-content-overview for mapping the page and the corresponding data-fetching function.
43
42
 
44
43
  Generating static pages (3/7)
44
+ Warning: Dynamic Content not found for the page: home. Refer to the Dynamic Content documentation at https://developers.vtex.com/docs/guides/faststore/dynamic-content-overview for mapping the page and the corresponding data-fetching function.
45
45
 
46
46
  Generating static pages (5/7)
47
47
 
48
48
  ✓ Generating static pages (7/7)
49
49
  Finalizing page optimization ...
@@ -75,4 +75,4 @@ Route (pages) Size First Load JS
75
75
  ○ (Static) automatically rendered as static HTML (uses no initial props)
76
76
  ● (SSG) automatically generated as static HTML + JSON (uses getStaticProps)
77
77
 
78
- Done in 71.98s.
78
+ Done in 69.82s.
@@ -1,12 +1,12 @@
1
1
  yarn run v1.22.22
2
2
  $ jest
3
- PASS test/utils/multipleTemplates.test.ts (36.481 s)
4
- PASS test/server/cms/index.test.ts (37.308 s)
5
- PASS test/server/index.test.ts (40.683 s)
3
+ PASS test/server/cms/index.test.ts (36.143 s)
4
+ PASS test/utils/multipleTemplates.test.ts (36.37 s)
5
+ PASS test/server/index.test.ts (39.735 s)
6
6
 
7
7
  Test Suites: 3 passed, 3 total
8
8
  Tests: 19 passed, 19 total
9
9
  Snapshots: 0 total
10
- Time: 41.777 s
10
+ Time: 40.867 s
11
11
  Ran all test suites.
12
- Done in 43.65s.
12
+ Done in 42.35s.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.11.1](https://github.com/vtex/faststore/compare/v3.11.0...v3.11.1) (2025-01-29)
7
+
8
+ **Note:** Version bump only for package @faststore/core
9
+
6
10
  # [3.11.0](https://github.com/vtex/faststore/compare/v3.10.0...v3.11.0) (2025-01-29)
7
11
 
8
12
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/core",
3
- "version": "3.11.0",
3
+ "version": "3.11.1",
4
4
  "license": "MIT",
5
5
  "repository": "vtex/faststore",
6
6
  "browserslist": "supports es6-module and not dead",
@@ -25,16 +25,16 @@
25
25
  "test:e2e": "cypress open",
26
26
  "test": "jest",
27
27
  "lhci": "lhci autorun",
28
- "format": "prettier --write \"**/*.{ts,js,tsx,jsx,json}\"",
29
- "lint": "next lint",
30
- "stylelint": "stylelint \"**/*.scss\"",
31
- "stylelint:fix": "stylelint \"**/*.scss\" --fix",
32
- "postinstall": "node postinstall.js && (is-ci || (cd ../.. && husky install packages/core/.husky)) || echo Skipped postinstall step for @faststore/core",
28
+ "postinstall": "node postinstall.js && is-ci || echo Skipped postinstall step for @faststore/core",
33
29
  "partytown": "partytown copylib ./public/~partytown"
34
30
  },
35
31
  "engines": {
36
32
  "node": ">=18"
37
33
  },
34
+ "volta": {
35
+ "node": "18.19.0",
36
+ "yarn": "1.19.1"
37
+ },
38
38
  "sideEffects": false,
39
39
  "dependencies": {
40
40
  "@antfu/ni": "^0.21.12",
@@ -99,34 +99,9 @@
99
99
  "cypress-axe": "^1.5.0",
100
100
  "cypress-wait-until": "^2.0.1",
101
101
  "dotenv": "^8.2.0",
102
- "eslint": "^7.32.0",
103
- "husky": "^5.2.0",
104
102
  "is-ci": "^3.0.0",
105
103
  "jest": "^29.7.0",
106
- "lint-staged": "^15.2.0",
107
- "stylelint": "^14.6.0",
108
- "stylelint-config-recess-order": "^3.0.0",
109
- "stylelint-config-standard": "^24.0.0",
110
- "stylelint-config-standard-scss": "^3.0.0",
111
- "stylelint-order": "^5.0.0",
112
- "stylelint-scss": "^4.0.1",
113
104
  "ts-jest": "29.1.1"
114
105
  },
115
- "lint-staged": {
116
- "*.{ts,js,tsx,jsx}": [
117
- "eslint --fix",
118
- "prettier --write"
119
- ],
120
- "*.json": [
121
- "prettier --write"
122
- ],
123
- "*.scss": [
124
- "stylelint --fix"
125
- ]
126
- },
127
- "volta": {
128
- "node": "18.19.0",
129
- "yarn": "1.19.1"
130
- },
131
- "gitHead": "28973b45d9822065e6ed2890f29447b29c820306"
106
+ "gitHead": "6fea4f1cc3db6a9a894959c31ad2c9a47cfe941a"
132
107
  }
package/.editorconfig DELETED
@@ -1,13 +0,0 @@
1
- # http://editorconfig.org
2
- root = true
3
-
4
- [*]
5
- indent_style = space
6
- indent_size = 2
7
- end_of_line = lf
8
- charset = utf-8
9
- trim_trailing_whitespace = true
10
- insert_final_newline = true
11
-
12
- [*.md]
13
- trim_trailing_whitespace = false
package/.husky/pre-commit DELETED
@@ -1,4 +0,0 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
- cd packages/core && yarn lint-staged
package/.stylelintignore DELETED
@@ -1 +0,0 @@
1
- src/styles/fonts.css
@@ -1,7 +0,0 @@
1
- {
2
- "css.validate": false,
3
- "scss.validate": false,
4
- "editor.quickSuggestions": {
5
- "strings": true
6
- },
7
- }
@@ -1,82 +0,0 @@
1
- module.exports = {
2
- extends: ['stylelint-config-standard-scss', 'stylelint-config-recess-order'],
3
-
4
- plugins: ['stylelint-scss', 'stylelint-order'],
5
- rules: {
6
- 'max-line-length': null,
7
- 'color-hex-length': null,
8
- 'number-leading-zero': null,
9
- 'selector-list-comma-newline-after': null,
10
- 'value-keyword-case': null,
11
- 'value-no-vendor-prefix': null,
12
- 'declaration-block-no-duplicate-properties': null,
13
- 'property-no-unknown': null,
14
- 'custom-property-empty-line-before': null,
15
- 'color-no-invalid-hex': true,
16
- 'font-family-no-duplicate-names': true,
17
- 'named-grid-areas-no-invalid': true,
18
- 'function-calc-no-unspaced-operator': true,
19
- 'function-linear-gradient-no-nonstandard-direction': true,
20
- 'string-no-newline': true,
21
- 'unit-no-unknown': true,
22
- 'custom-property-no-missing-var-function': true,
23
- 'keyframe-declaration-no-important': true,
24
- 'declaration-block-no-duplicate-custom-properties': true,
25
- 'declaration-block-no-shorthand-property-overrides': true,
26
- 'block-no-empty': true,
27
- 'selector-type-no-unknown': true,
28
- 'selector-pseudo-class-no-unknown': true,
29
- 'selector-pseudo-element-no-unknown': true,
30
- 'comment-no-empty': true,
31
- 'no-descending-specificity': null,
32
- 'no-invalid-position-at-import-rule': null,
33
- 'no-duplicate-at-import-rules': true,
34
- 'no-extra-semicolons': true,
35
- 'no-invalid-double-slash-comments': true,
36
- 'shorthand-property-no-redundant-values': true,
37
- 'declaration-no-important': true,
38
- 'declaration-block-single-line-max-declarations': 1,
39
- 'selector-max-empty-lines': 0,
40
- 'selector-max-universal': 1,
41
- 'no-unknown-animations': true,
42
- 'color-hex-case': 'lower',
43
- 'function-max-empty-lines': 0,
44
- 'function-name-case': 'lower',
45
- 'number-no-trailing-zeros': true,
46
- 'unit-case': 'lower',
47
- 'property-case': 'lower',
48
- 'value-list-max-empty-lines': 0,
49
- 'declaration-colon-space-after': 'always-single-line',
50
- 'declaration-colon-space-before': null,
51
- 'block-closing-brace-space-before': 'always-single-line',
52
- 'block-opening-brace-space-after': 'always-single-line',
53
- 'block-opening-brace-space-before': 'always',
54
- 'selector-attribute-brackets-space-inside': 'never',
55
- 'selector-combinator-space-after': 'always',
56
- 'selector-combinator-space-before': 'always',
57
- 'selector-pseudo-class-case': 'lower',
58
- 'selector-pseudo-element-case': 'lower',
59
- 'selector-type-case': 'lower',
60
- 'at-rule-name-case': 'lower',
61
- 'at-rule-semicolon-space-before': 'never',
62
- 'at-rule-empty-line-before': [
63
- 'always',
64
- {
65
- except: ['blockless-after-same-name-blockless', 'first-nested'],
66
- ignore: ['after-comment'],
67
- },
68
- ],
69
- 'scss/dollar-variable-colon-space-after': 'always',
70
- 'scss/dollar-variable-colon-space-before': 'never',
71
- 'scss/dollar-variable-pattern': /^[a-z-0-9]+$/,
72
- 'scss/double-slash-comment-whitespace-inside': 'always',
73
- 'scss/operator-no-newline-before': true,
74
- 'scss/operator-no-unspaced': true,
75
- 'scss/selector-no-redundant-nesting-selector': true,
76
- 'scss/at-rule-no-unknown': true,
77
- 'scss/at-import-partial-extension': null,
78
- 'scss/no-global-function-names': null,
79
- 'selector-class-pattern':
80
- '^(?:(?:o|c|u|t|s|is|has|_|js|qa)-)?[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*(?:__[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)?(?:--[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*)?(?:\\[.+\\])?$',
81
- },
82
- }