Skip to content

Commit 77f8177

Browse files
Merge pull request #3233 from vuestorefront/v2-release/nuxt-2.5.2
chore: release/nuxt 2.5.2
2 parents 359ebb8 + 097c231 commit 77f8177

File tree

27 files changed

+4676
-1993
lines changed

27 files changed

+4676
-1993
lines changed

.github/workflows/ci.yml

+17-17
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ jobs:
144144
- name: Pre-Cypress (build all dependencies)
145145
run: yarn test:ci-pre:vue
146146
- name: Cypress run
147-
uses: cypress-io/github-action@v6.6.1
147+
uses: cypress-io/github-action@v6.7.2
148148
with:
149149
browser: chrome
150150
working-directory: apps/test/vue
@@ -155,7 +155,7 @@ jobs:
155155
run: cd apps/test/vue; yarn generate-coverage
156156
- name: SonarCloud Scan
157157
if: ${{ env.SONAR_TOKEN_VUE }}
158-
uses: SonarSource/sonarcloud-github-action@v2.1.1
158+
uses: SonarSource/sonarcloud-github-action@v2.3.0
159159
with:
160160
projectBaseDir: packages/sfui/frameworks/vue
161161
env:
@@ -179,7 +179,7 @@ jobs:
179179
- name: Pre-Cypress (build all dependencies)
180180
run: yarn test:ci-pre:react
181181
- name: Cypress run
182-
uses: cypress-io/github-action@v6.6.1
182+
uses: cypress-io/github-action@v6.7.2
183183
with:
184184
browser: chrome
185185
working-directory: apps/test/react
@@ -190,7 +190,7 @@ jobs:
190190
run: cd apps/test/react; yarn generate-coverage
191191
- name: SonarCloud Scan
192192
if: ${{ env.SONAR_TOKEN_REACT }}
193-
uses: SonarSource/sonarcloud-github-action@v2.1.1
193+
uses: SonarSource/sonarcloud-github-action@v2.3.0
194194
with:
195195
projectBaseDir: packages/sfui/frameworks/react
196196
env:
@@ -214,17 +214,17 @@ jobs:
214214
registry-url: 'https://registry.npmjs.org'
215215
- name: Install dependencies
216216
run: yarn --immutable
217-
- name: Set yarn config
218-
run: |
219-
yarn config set npmScopes.storefront-ui.npmAuthToken "\${NODE_AUTH_TOKEN}"
220-
yarn config set npmScopes.storefront-ui.npmPublishRegistry 'https://registry.npmjs.org'
221-
yarn config set npmScopes.storefront-ui.npmRegistryServer 'https://registry.npmjs.org'
222217
- name: Bump package version
223218
run: yarn changeset version --snapshot
224219
env:
225220
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
226221
- name: Build packages
227222
run: yarn build:release
223+
- name: Set yarn config
224+
run: |
225+
yarn config set npmScopes.storefront-ui.npmAuthToken "\${NODE_AUTH_TOKEN}"
226+
yarn config set npmScopes.storefront-ui.npmPublishRegistry 'https://registry.npmjs.org'
227+
yarn config set npmScopes.storefront-ui.npmRegistryServer 'https://registry.npmjs.org'
228228
- name: Publish canary version
229229
run: yarn workspaces foreach --no-private --from '@storefront-ui/*' npm publish --tag canary || true
230230
env:
@@ -249,16 +249,16 @@ jobs:
249249
registry-url: 'https://registry.npmjs.org'
250250
- name: Install dependencies
251251
run: yarn --immutable
252-
- name: Set yarn config
253-
run: |
254-
yarn config set npmScopes.storefront-ui.npmAuthToken "\${NODE_AUTH_TOKEN}"
255-
yarn config set npmScopes.storefront-ui.npmPublishRegistry 'https://registry.npmjs.org'
256-
yarn config set npmScopes.storefront-ui.npmRegistryServer 'https://registry.npmjs.org'
257252
- name: Save head commit message
258253
id: commit_message
259254
run: echo "result=$(git log -1 --pretty=%s)" >> $GITHUB_OUTPUT
260255
- name: Build packages
261256
run: yarn build:release
257+
- name: Set yarn config
258+
run: |
259+
yarn config set npmScopes.storefront-ui.npmAuthToken "\${NODE_AUTH_TOKEN}"
260+
yarn config set npmScopes.storefront-ui.npmPublishRegistry 'https://registry.npmjs.org'
261+
yarn config set npmScopes.storefront-ui.npmRegistryServer 'https://registry.npmjs.org'
262262
- name: Publish release-candidate version
263263
# If this is any `v2-release/**` branch AND last commit is made by changeset action and its commit message is with "ci: release (rc)", this happens only after merging changesets changelog PR
264264
if: "${{ startsWith( github.event.pull_request.head.ref, 'v2-release' ) && contains( steps.commit_message.outputs.result, 'ci: version packages (rc)' ) }}"
@@ -287,13 +287,13 @@ jobs:
287287
registry-url: 'https://registry.npmjs.org'
288288
- name: Install dependencies
289289
run: yarn --immutable
290+
- name: Build packages
291+
run: yarn build:release
290292
- name: Set yarn config
291293
run: |
292294
yarn config set npmScopes.storefront-ui.npmAuthToken "\${NODE_AUTH_TOKEN}"
293295
yarn config set npmScopes.storefront-ui.npmPublishRegistry 'https://registry.npmjs.org'
294296
yarn config set npmScopes.storefront-ui.npmRegistryServer 'https://registry.npmjs.org'
295-
- name: Build packages
296-
run: yarn build:release
297297
- name: Publish Production version package
298298
run: yarn workspaces foreach --no-private --from '@storefront-ui/*' npm publish || true
299299
env:
@@ -324,7 +324,7 @@ jobs:
324324
with:
325325
fetch-depth: 0
326326
- name: GitGuardian scan
327-
uses: GitGuardian/ggshield-action@v1.27.0
327+
uses: GitGuardian/ggshield-action@v1.29.0
328328
with:
329329
args: -v
330330
env:

.yarn/releases/yarn-3.8.2.cjs .yarn/releases/yarn-3.8.3.cjs

+181-181
Large diffs are not rendered by default.

.yarnrc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ plugins:
44
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
55
spec: '@yarnpkg/plugin-workspace-tools'
66

7-
yarnPath: .yarn/releases/yarn-3.8.2.cjs
7+
yarnPath: .yarn/releases/yarn-3.8.3.cjs

apps/docs/components/package.json

+14-15
Original file line numberDiff line numberDiff line change
@@ -13,33 +13,32 @@
1313
"serve": "PORT=80 node .output/server/index.mjs"
1414
},
1515
"devDependencies": {
16-
"@microsoft/api-documenter": "^7.24.2",
17-
"@microsoft/api-extractor": "7.44.1",
16+
"@microsoft/api-documenter": "^7.25.9",
17+
"@microsoft/api-extractor": "^7.47.4",
1818
"@types/node": "^20.12.7",
19-
"nuxt": "^3.11.2",
20-
"nuxt-gtag": "^2.0.5"
19+
"nuxt": "^3.13.2",
20+
"nuxt-gtag": "^3.0.1"
2121
},
2222
"dependencies": {
23-
"@microsoft/api-extractor-model": "^7.28.14",
24-
"@microsoft/tsdoc": "^0.14.2",
23+
"@microsoft/api-extractor-model": "^7.29.4",
24+
"@microsoft/tsdoc": "^0.15.0",
2525
"@nuxt/content": "^2.12.1",
2626
"@nuxtjs/algolia": "^1.10.2",
27-
"@nuxtjs/color-mode": "^3.4.1",
27+
"@nuxtjs/color-mode": "^3.4.2",
2828
"@nuxtjs/seo": "^2.0.0-rc.10",
29-
"@nuxtjs/tailwindcss": "^6.12.0",
29+
"@nuxtjs/tailwindcss": "^6.12.1",
3030
"@storefront-ui/typography": "^2.6.1",
3131
"@storefront-ui/vue": "^2.6.4",
3232
"@tailwindcss/typography": "^0.5.13",
33-
"@vueuse/integrations": "^10.9.0",
34-
"@vueuse/nuxt": "^10.9.0",
33+
"@vueuse/integrations": "^10.11.0",
34+
"@vueuse/nuxt": "^10.11.0",
3535
"focus-trap": "^7.5.4",
36-
"marked": "^12.0.2",
36+
"marked": "^13.0.3",
3737
"nuxt-content-assets": "^1.4.3",
3838
"nuxt-icon": "^0.6.10",
39-
"sf-docs-base": "^1.2.6",
40-
"unstorage": "^1.10.1",
41-
"vite-svg-loader": "^5.1.0",
42-
"vue": "^3.4.27"
39+
"sf-docs-base": "^1.3.1",
40+
"unstorage": "^1.10.2",
41+
"vite-svg-loader": "^5.1.0"
4342
},
4443
"resolutions": {
4544
"@storefront-ui/eslint-config": "workspace:*",

apps/preview/next/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
"@storefront-ui/preview-shared": "workspace:*",
1717
"classnames": "^2.5.1",
1818
"lodash-es": "^4.17.21",
19-
"next": "^14.2.3",
19+
"next": "^14.2.5",
2020
"react": "^18.3.1",
2121
"react-dom": "^18.3.1",
2222
"react-transition-group": "^4.4.5",
23-
"react-use": "^17.5.0",
23+
"react-use": "^17.5.1",
2424
"swr": "^2.2.5"
2525
},
2626
"devDependencies": {
27-
"@frsource/autoresize-textarea": "^2.0.68",
27+
"@frsource/autoresize-textarea": "^2.0.87",
2828
"@storefront-ui/eslint-config": "workspace:*",
2929
"@storefront-ui/example-style": "workspace:*",
3030
"@storefront-ui/react": "workspace:*",
@@ -38,11 +38,11 @@
3838
"@types/react": "^18.0.28",
3939
"@types/react-dom": "^18.0.11",
4040
"@types/react-transition-group": "^4.4.5",
41-
"glob-promise": "^6.0.2",
41+
"glob-promise": "^6.0.7",
4242
"prettier": "^3.0.0",
43-
"rimraf": "^5.0.0",
43+
"rimraf": "^6.0.1",
4444
"string-replace-loader": "^3.1.0",
45-
"tailwindcss": "^3.4.3",
45+
"tailwindcss": "^3.4.7",
4646
"ts-loader": "^9.4.2"
4747
}
4848
}

apps/preview/nuxt/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
"prettier": "prettier --log-level warn --no-error-on-unmatched-pattern \"**/*.{js,ts,vue}\""
1414
},
1515
"devDependencies": {
16-
"@frsource/autoresize-textarea": "^2.0.68",
16+
"@frsource/autoresize-textarea": "^2.0.87",
1717
"@nuxtjs/eslint-config-typescript": "^12.1.0",
18-
"@nuxtjs/tailwindcss": "^6.12.0",
18+
"@nuxtjs/tailwindcss": "^6.12.1",
1919
"@storefront-ui/eslint-config": "workspace:*",
2020
"@storefront-ui/example-style": "workspace:*",
2121
"@storefront-ui/nuxt": "workspace:*",
@@ -25,14 +25,14 @@
2525
"@storefront-ui/vue": "workspace:*",
2626
"@tailwindcss/typography": "^0.5.13",
2727
"@types/lodash-es": "^4.17.12",
28-
"@vueuse/core": "^10.9.0",
28+
"@vueuse/core": "^10.11.0",
2929
"autoprefixer": "^10.4.19",
3030
"eslint": "^8.34.0",
3131
"eslint-plugin-nuxt": "^4.0.0",
32-
"nuxt": "^3.11.2",
32+
"nuxt": "^3.13.2",
3333
"postcss": "^8.4.21",
3434
"prettier": "^3.0.0",
35-
"sass": "^1.75.0",
35+
"sass": "^1.77.8",
3636
"sass-loader": "^14.2.1"
3737
},
3838
"dependencies": {

apps/test/react/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@tailwindcss/typography": "^0.5.13",
3939
"@types/react": "^18.0.28",
4040
"@types/react-dom": "^18.0.11",
41-
"@vitejs/plugin-react": "^4.3.0",
41+
"@vitejs/plugin-react": "^4.3.1",
4242
"autoprefixer": "^10.4.19",
4343
"chokidar-cli": "^3.0.0",
4444
"concurrently": "^8.2.2",
@@ -47,10 +47,10 @@
4747
"nyc": "^15.1.0",
4848
"postcss": "^8.4.21",
4949
"postcss-import": "^15.1.0",
50-
"rimraf": "^5.0.0",
51-
"tailwindcss": "^3.4.3",
52-
"typescript": "^5.4.5",
53-
"vite": "^5.2.1",
50+
"rimraf": "^6.0.1",
51+
"tailwindcss": "^3.4.7",
52+
"typescript": "^5.5.4",
53+
"vite": "^5.3.5",
5454
"vite-plugin-istanbul": "^4.0.1"
5555
}
5656
}

apps/test/vue/package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@storefront-ui/vue": "workspace:*",
3939
"@tailwindcss/typography": "^0.5.13",
4040
"@types/node": "^20.12.7",
41-
"@vitejs/plugin-vue": "^5.0.4",
41+
"@vitejs/plugin-vue": "^5.1.1",
4242
"@vue/tsconfig": "^0.1.3",
4343
"autoprefixer": "^10.4.19",
4444
"chokidar-cli": "^3.0.0",
@@ -48,12 +48,12 @@
4848
"nyc": "^15.1.0",
4949
"postcss": "^8.4.21",
5050
"postcss-import": "^15.1.0",
51-
"rimraf": "^4.1.2",
52-
"sass": "^1.75.0",
53-
"tailwindcss": "^3.4.3",
54-
"typescript": "^5.4.5",
55-
"vite": "^5.2.1",
51+
"rimraf": "^6.0.1",
52+
"sass": "^1.77.8",
53+
"tailwindcss": "^3.4.7",
54+
"typescript": "^5.5.4",
55+
"vite": "^5.3.5",
5656
"vite-plugin-istanbul": "^4.0.0",
57-
"vue-tsc": "^2.0.16"
57+
"vue-tsc": "^2.0.29"
5858
}
5959
}

package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -65,26 +65,26 @@
6565
"@vue-storefront/prettier-config": "^2.0.0-rc.1",
6666
"commitizen": "^4.2.5",
6767
"concurrently": "^8.2.2",
68-
"husky": "^9.0.11",
68+
"husky": "^9.1.4",
6969
"hygen": "^6.2.8",
7070
"mdast-util-to-string": "^4.0.0",
7171
"prettier": "latest",
7272
"remark-parse": "^11.0.0",
7373
"remark-stringify": "^11.0.0",
74-
"rimraf": "^5.0.0",
74+
"rimraf": "^6.0.1",
7575
"rollup-plugin-preserve-directives": "^0.4.0",
76-
"tailwindcss": "^3.4.3",
77-
"turbo": "latest",
78-
"typescript": "^5.4.5",
79-
"unified": "^11.0.4",
76+
"tailwindcss": "^3.4.7",
77+
"turbo": "^2.0.9",
78+
"typescript": "^5.5.4",
79+
"unified": "^11.0.5",
8080
"wait-on": "^7.0.1"
8181
},
8282
"engines": {
8383
"npm": ">=8.19.1",
8484
"yarn": ">=1.22.19",
8585
"node": ">=16.0.0"
8686
},
87-
"packageManager": "[email protected].2",
87+
"packageManager": "[email protected].3",
8888
"config": {
8989
"commitizen": {
9090
"path": "cz-conventional-changelog",

packages/config/eslint/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"@typescript-eslint/eslint-plugin": "^6.0.0",
1414
"@typescript-eslint/parser": "^6.0.0",
15-
"@vue-storefront/eslint-config": "^3.0.0",
15+
"@vue-storefront/eslint-config": "^3.1.3",
1616
"@vue/eslint-config-standard": "^8.0.1",
1717
"eslint": "^8.34.0",
1818
"eslint-config-airbnb": "^19.0.4",

packages/config/example-style/controls.scss

+6-5
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
&--collapsed {
1111
height: 32px;
1212
}
13-
13+
1414
.heading {
1515
padding: 4px 10px;
1616
flex-grow: 1;
@@ -105,10 +105,6 @@
105105

106106

107107
.switch {
108-
&-wrapper {
109-
display: flex;
110-
align-items: center;
111-
}
112108
position: relative;
113109
display: inline-block;
114110
width: 60px;
@@ -128,6 +124,11 @@
128124
}
129125
}
130126

127+
&-wrapper {
128+
display: flex;
129+
align-items: center;
130+
}
131+
131132
.slider {
132133
background-color: rgb(212 212 216);
133134
position: absolute;

packages/config/tailwind/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"url": "https://github.com/vuestorefront/storefront-ui/issues"
3131
},
3232
"devDependencies": {
33-
"typescript": "^5.4.5",
34-
"vite": "^5.2.1",
33+
"typescript": "^5.5.4",
34+
"vite": "^5.3.5",
3535
"vite-plugin-dts": "^3.9.1"
3636
},
3737
"dependencies": {

packages/config/tests/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"build:test-utils": "vite build"
2424
},
2525
"devDependencies": {
26-
"typescript": "^5.4.5",
27-
"vite": "^5.2.1",
26+
"typescript": "^5.5.4",
27+
"vite": "^5.3.5",
2828
"vite-plugin-dts": "^3.9.1"
2929
}
3030
}

packages/sfui/frameworks/nuxt/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @storefront-ui/nuxt
22

3+
## 2.5.3
4+
5+
### Patch Changes
6+
7+
- [#3232](https://github.com/vuestorefront/storefront-ui/pull/3232) [`30bfa9a`](https://github.com/vuestorefront/storefront-ui/commit/30bfa9a327a0da0adb02bfda26a756e75ff80c83) Thanks [@Szymon-dziewonski](https://github.com/Szymon-dziewonski)! - [CHANGED] Migrate nuxt module to newest version `@nuxtjs/[email protected]` enabling HMR
8+
39
## 2.5.2
410

511
### Patch Changes

0 commit comments

Comments
 (0)