Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.

Commit a8d42d5

Browse files
authored
v3.0.0-rc.2 (#4763)
1 parent 1f8e3e2 commit a8d42d5

File tree

13 files changed

+69
-41
lines changed

13 files changed

+69
-41
lines changed

changelog.config.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"github": "nuxt/framework",
3+
"scopeMap": {
4+
"nuxt3": "nuxt",
5+
"nuxi": "cli"
6+
}
7+
}

docs/content/2.guide/3.directory-structure/10.pages.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@ If you place anything within square brackets, it will be turned into a [dynamic
9797

9898
If you want a parameter to be _optional_, you must enclose it in double square brackets - for example, `~/pages/[[slug]]/index.vue` or `~/pages/[[slug]].vue` will match both `/` and `/test`.
9999

100-
::StabilityEdge{title="Optional dynamic params with [[slug]] syntax"}
101-
::
102-
103100
### Example
104101

105102
```bash

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
],
1212
"scripts": {
1313
"build": "FORCE_COLOR=1 lerna run prepack --stream --no-prefix",
14+
"changelog": "changelogen",
1415
"cleanup": "rimraf 'packages/**/node_modules' 'examples/**/node_modules' 'node_modules'",
1516
"dev": "yarn run nuxi dev playground",
1617
"dev:build": "yarn run nuxi build playground",
@@ -19,7 +20,6 @@
1920
"lint": "eslint --ext .vue,.ts,.js,.mjs .",
2021
"lint:docs": "markdownlint ./docs/content && case-police 'docs/content**/*.md'",
2122
"lint:docs:fix": "markdownlint ./docs/content --fix && case-police 'docs/content**/*.md' --fix",
22-
"typecheck": "tsc --noEmit",
2323
"nuxi": "NUXT_TELEMETRY_DISABLED=1 node ./packages/nuxi/bin/nuxi.mjs",
2424
"nuxt": "NUXT_TELEMETRY_DISABLED=1 node ./packages/nuxi/bin/nuxi.mjs",
2525
"play": "echo use yarn dev && exit 1",
@@ -30,6 +30,7 @@
3030
"test:fixtures:webpack": "NUXT_TELEMETRY_DISABLED=1 TEST_WITH_WEBPACK=1 yarn test:fixtures",
3131
"test:types": "yarn run nuxi prepare test/fixtures/basic && cd test/fixtures/basic && npx vue-tsc --noEmit",
3232
"test:unit": "JITI_ESM_RESOLVE=1 yarn vitest run --dir packages",
33+
"typecheck": "tsc --noEmit",
3334
"version": "yarn && git add yarn.lock"
3435
},
3536
"resolutions": {
@@ -49,6 +50,7 @@
4950
"@types/rimraf": "^3",
5051
"@unocss/reset": "^0.32.9",
5152
"case-police": "^0.5.3",
53+
"changelogen": "^0.0.3",
5254
"eslint": "^8.14.0",
5355
"eslint-plugin-jsdoc": "^39.2.9",
5456
"execa": "^6.1.0",

packages/kit/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nuxt/kit",
3-
"version": "3.0.0-rc.1",
3+
"version": "3.0.0-rc.2",
44
"repository": "nuxt/framework",
55
"license": "MIT",
66
"type": "module",
@@ -13,7 +13,7 @@
1313
"prepack": "unbuild"
1414
},
1515
"dependencies": {
16-
"@nuxt/schema": "^3.0.0-rc.1",
16+
"@nuxt/schema": "^3.0.0-rc.2",
1717
"c12": "^0.2.7",
1818
"consola": "^2.15.3",
1919
"defu": "^6.0.0",

packages/nuxi/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nuxi",
3-
"version": "3.0.0-rc.1",
3+
"version": "3.0.0-rc.2",
44
"repository": "nuxt/framework",
55
"license": "MIT",
66
"type": "module",
@@ -17,8 +17,8 @@
1717
"prepack": "unbuild"
1818
},
1919
"devDependencies": {
20-
"@nuxt/kit": "^3.0.0-rc.1",
21-
"@nuxt/schema": "^3.0.0-rc.1",
20+
"@nuxt/kit": "^3.0.0-rc.2",
21+
"@nuxt/schema": "^3.0.0-rc.2",
2222
"@types/clear": "^0",
2323
"@types/mri": "^1.1.1",
2424
"@types/semver": "^7",

packages/nuxt/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nuxt",
3-
"version": "3.0.0-rc.1",
3+
"version": "3.0.0-rc.2",
44
"repository": "nuxt/framework",
55
"license": "MIT",
66
"type": "module",
@@ -30,11 +30,11 @@
3030
"prepack": "unbuild"
3131
},
3232
"dependencies": {
33-
"@nuxt/kit": "^3.0.0-rc.1",
34-
"@nuxt/schema": "^3.0.0-rc.1",
33+
"@nuxt/kit": "^3.0.0-rc.2",
34+
"@nuxt/schema": "^3.0.0-rc.2",
3535
"@nuxt/telemetry": "^2.1.3",
3636
"@nuxt/ui-templates": "^0.1.0",
37-
"@nuxt/vite-builder": "^3.0.0-rc.1",
37+
"@nuxt/vite-builder": "^3.0.0-rc.2",
3838
"@vue/reactivity": "^3.2.33",
3939
"@vue/shared": "^3.2.33",
4040
"@vueuse/head": "^0.7.6",
@@ -52,7 +52,7 @@
5252
"magic-string": "^0.26.1",
5353
"mlly": "^0.5.2",
5454
"nitropack": "^0.3.12",
55-
"nuxi": "^3.0.0-rc.1",
55+
"nuxi": "^3.0.0-rc.2",
5656
"ohash": "^0.1.0",
5757
"ohmyfetch": "^0.4.16",
5858
"pathe": "^0.2.0",

packages/schema/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nuxt/schema",
3-
"version": "3.0.0-rc.1",
3+
"version": "3.0.0-rc.2",
44
"repository": "nuxt/framework",
55
"license": "MIT",
66
"type": "module",

packages/test-utils/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nuxt/test-utils",
3-
"version": "3.0.0-rc.1",
3+
"version": "3.0.0-rc.2",
44
"repository": "nuxt/framework",
55
"license": "MIT",
66
"type": "module",
@@ -13,8 +13,8 @@
1313
"prepack": "unbuild"
1414
},
1515
"dependencies": {
16-
"@nuxt/kit": "^3.0.0-rc.1",
17-
"@nuxt/schema": "^3.0.0-rc.1",
16+
"@nuxt/kit": "^3.0.0-rc.2",
17+
"@nuxt/schema": "^3.0.0-rc.2",
1818
"defu": "^6.0.0",
1919
"execa": "^6.1.0",
2020
"get-port-please": "^2.5.0",

packages/vite/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nuxt/vite-builder",
3-
"version": "3.0.0-rc.1",
3+
"version": "3.0.0-rc.2",
44
"repository": "nuxt/framework",
55
"license": "MIT",
66
"type": "module",
@@ -13,13 +13,13 @@
1313
"prepack": "unbuild"
1414
},
1515
"devDependencies": {
16-
"@nuxt/schema": "^3.0.0-rc.1",
16+
"@nuxt/schema": "^3.0.0-rc.2",
1717
"@types/cssnano": "^5",
1818
"unbuild": "latest",
1919
"vue": "3.2.33"
2020
},
2121
"dependencies": {
22-
"@nuxt/kit": "^3.0.0-rc.1",
22+
"@nuxt/kit": "^3.0.0-rc.2",
2323
"@vitejs/plugin-vue": "^2.3.1",
2424
"@vitejs/plugin-vue-jsx": "^1.3.10",
2525
"autoprefixer": "^10.4.7",

packages/webpack/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nuxt/webpack-builder",
3-
"version": "3.0.0-rc.1",
3+
"version": "3.0.0-rc.2",
44
"repository": "nuxt/framework",
55
"license": "MIT",
66
"type": "module",
@@ -18,7 +18,7 @@
1818
"dependencies": {
1919
"@babel/core": "^7.17.10",
2020
"@nuxt/friendly-errors-webpack-plugin": "^2.5.2",
21-
"@nuxt/kit": "^3.0.0-rc.1",
21+
"@nuxt/kit": "^3.0.0-rc.2",
2222
"autoprefixer": "^10.4.7",
2323
"css-loader": "^6.7.1",
2424
"css-minimizer-webpack-plugin": "^3.4.1",
@@ -55,7 +55,7 @@
5555
"webpackbar": "^5.0.2"
5656
},
5757
"devDependencies": {
58-
"@nuxt/schema": "^3.0.0-rc.1",
58+
"@nuxt/schema": "^3.0.0-rc.2",
5959
"@types/pify": "^5.0.1",
6060
"@types/webpack-bundle-analyzer": "^4.4.1",
6161
"@types/webpack-dev-middleware": "^5.0.2",

scripts/bump-rc.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
# Restore all git changes
6+
git restore -s@ -SW -- packages examples
7+
8+
# Bump versions
9+
yarn lerna version --preid rc --no-changelog --no-git-tag-version --no-push -m "chore: release rc"

scripts/release-rc.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ set -e
55
# Restore all git changes
66
git restore -s@ -SW -- packages examples
77

8-
# Bump versions
9-
yarn lerna version --preid rc --no-changelog --no-git-tag-version --no-push -m "chore: release rc"
10-
118
# Build all once to ensure things are nice
129
yarn build
1310

yarn.lock

Lines changed: 30 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,7 +1493,7 @@ __metadata:
14931493
version: 0.0.0-use.local
14941494
resolution: "@nuxt/kit@workspace:packages/kit"
14951495
dependencies:
1496-
"@nuxt/schema": ^3.0.0-rc.1
1496+
"@nuxt/schema": ^3.0.0-rc.2
14971497
"@types/lodash.template": ^4
14981498
"@types/semver": ^7
14991499
c12: ^0.2.7
@@ -1577,8 +1577,8 @@ __metadata:
15771577
version: 0.0.0-use.local
15781578
resolution: "@nuxt/test-utils@workspace:packages/test-utils"
15791579
dependencies:
1580-
"@nuxt/kit": ^3.0.0-rc.1
1581-
"@nuxt/schema": ^3.0.0-rc.1
1580+
"@nuxt/kit": ^3.0.0-rc.2
1581+
"@nuxt/schema": ^3.0.0-rc.2
15821582
defu: ^6.0.0
15831583
execa: ^6.1.0
15841584
get-port-please: ^2.5.0
@@ -1622,12 +1622,12 @@ __metadata:
16221622
languageName: node
16231623
linkType: hard
16241624

1625-
"@nuxt/vite-builder@^3.0.0-rc.1, @nuxt/vite-builder@workspace:packages/vite":
1625+
"@nuxt/vite-builder@^3.0.0-rc.2, @nuxt/vite-builder@workspace:packages/vite":
16261626
version: 0.0.0-use.local
16271627
resolution: "@nuxt/vite-builder@workspace:packages/vite"
16281628
dependencies:
1629-
"@nuxt/kit": ^3.0.0-rc.1
1630-
"@nuxt/schema": ^3.0.0-rc.1
1629+
"@nuxt/kit": ^3.0.0-rc.2
1630+
"@nuxt/schema": ^3.0.0-rc.2
16311631
"@types/cssnano": ^5
16321632
"@vitejs/plugin-vue": ^2.3.1
16331633
"@vitejs/plugin-vue-jsx": ^1.3.10
@@ -1669,8 +1669,8 @@ __metadata:
16691669
dependencies:
16701670
"@babel/core": ^7.17.10
16711671
"@nuxt/friendly-errors-webpack-plugin": ^2.5.2
1672-
"@nuxt/kit": ^3.0.0-rc.1
1673-
"@nuxt/schema": ^3.0.0-rc.1
1672+
"@nuxt/kit": ^3.0.0-rc.2
1673+
"@nuxt/schema": ^3.0.0-rc.2
16741674
"@types/pify": ^5.0.1
16751675
"@types/webpack-bundle-analyzer": ^4.4.1
16761676
"@types/webpack-dev-middleware": ^5.0.2
@@ -4100,6 +4100,21 @@ __metadata:
41004100
languageName: node
41014101
linkType: hard
41024102

4103+
"changelogen@npm:^0.0.3":
4104+
version: 0.0.3
4105+
resolution: "changelogen@npm:0.0.3"
4106+
dependencies:
4107+
c12: ^0.2.7
4108+
consola: ^2.15.3
4109+
execa: ^6.1.0
4110+
mri: ^1.2.0
4111+
scule: ^0.2.1
4112+
bin:
4113+
changelogen: dist/cli.mjs
4114+
checksum: 20d9f3a559874d0d56c0fe0c626938bf0d443838fabf0854aee8eccf6f1e3eb7cbbb11de204cb09da56ab61422965e9c3ad635ee75aa88893cb8e27511234733
4115+
languageName: node
4116+
linkType: hard
4117+
41034118
"chardet@npm:^0.7.0":
41044119
version: 0.7.0
41054120
resolution: "chardet@npm:0.7.0"
@@ -10051,8 +10066,8 @@ __metadata:
1005110066
version: 0.0.0-use.local
1005210067
resolution: "nuxi@workspace:packages/nuxi"
1005310068
dependencies:
10054-
"@nuxt/kit": ^3.0.0-rc.1
10055-
"@nuxt/schema": ^3.0.0-rc.1
10069+
"@nuxt/kit": ^3.0.0-rc.2
10070+
"@nuxt/schema": ^3.0.0-rc.2
1005610071
"@types/clear": ^0
1005710072
"@types/mri": ^1.1.1
1005810073
"@types/semver": ^7
@@ -10096,6 +10111,7 @@ __metadata:
1009610111
"@types/rimraf": ^3
1009710112
"@unocss/reset": ^0.32.9
1009810113
case-police: ^0.5.3
10114+
changelogen: ^0.0.3
1009910115
eslint: ^8.14.0
1010010116
eslint-plugin-jsdoc: ^39.2.9
1010110117
execa: ^6.1.0
@@ -10131,11 +10147,11 @@ __metadata:
1013110147
version: 0.0.0-use.local
1013210148
resolution: "nuxt@workspace:packages/nuxt"
1013310149
dependencies:
10134-
"@nuxt/kit": ^3.0.0-rc.1
10135-
"@nuxt/schema": ^3.0.0-rc.1
10150+
"@nuxt/kit": ^3.0.0-rc.2
10151+
"@nuxt/schema": ^3.0.0-rc.2
1013610152
"@nuxt/telemetry": ^2.1.3
1013710153
"@nuxt/ui-templates": ^0.1.0
10138-
"@nuxt/vite-builder": ^3.0.0-rc.1
10154+
"@nuxt/vite-builder": ^3.0.0-rc.2
1013910155
"@types/fs-extra": ^9.0.13
1014010156
"@types/hash-sum": ^1.0.0
1014110157
"@vue/reactivity": ^3.2.33
@@ -10155,7 +10171,7 @@ __metadata:
1015510171
magic-string: ^0.26.1
1015610172
mlly: ^0.5.2
1015710173
nitropack: ^0.3.12
10158-
nuxi: ^3.0.0-rc.1
10174+
nuxi: ^3.0.0-rc.2
1015910175
ohash: ^0.1.0
1016010176
ohmyfetch: ^0.4.16
1016110177
pathe: ^0.2.0

0 commit comments

Comments
 (0)