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

Commit 5ea0474

Browse files
authored
v3.0.0-rc.7 (#6375)
1 parent f356d03 commit 5ea0474

File tree

18 files changed

+75
-82
lines changed

18 files changed

+75
-82
lines changed

docs/content/2.guide/2.features/4.head-management.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,6 @@ Now, if you set the title to `My Page` with `useHead` on another page of your si
5151

5252
## Body Meta Tags
5353

54-
::StabilityEdge{title="Body Meta Tags"}
55-
::
56-
5754
You can use the `body: true` option on the `link` and `script` meta tags to append them to the end of the `<body>` tag.
5855

5956
For example:

docs/content/2.guide/2.features/7.error-handling.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,6 @@ If you throw an error created with `createError`:
9393

9494
### Example
9595

96-
::StabilityEdge{title="Auto import of createError"}
97-
In the current version, add `import { createError } from 'h3'` in order to use `createError`.
98-
::
99-
10096
```vue [pages/movies/[slug].vue]
10197
<script setup>
10298
const route = useRoute()
@@ -109,10 +105,6 @@ if (!data.value) {
109105

110106
### `showError`
111107

112-
::StabilityEdge{title="showError"}
113-
In the current version, use `throwError` or `throw createError` instead.
114-
::
115-
116108
* `function showError (err: string | Error | { statusCode, statusMessage }): Error`
117109

118110
You can call this function at any point on client-side, or (on server side) directly within middleware, plugins or `setup()` functions. It will trigger a full-screen error page which you can clear with `clearError`.

docs/content/2.guide/3.directory-structure/4.components.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,6 @@ Alternatively, though not recommended, you can register all your components glob
8080
})
8181
```
8282

83-
::StabilityEdge{title="Automatic global components"}
84-
In the current version, components in `~/components/global` are not yet auto-registered.
85-
::
86-
8783
You can also selectively register some components globally by placing them in a `~/components/global` directory.
8884

8985
::alert{type=info}

docs/content/3.api/3.utils/create-error.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ If you throw an error created with `createError`:
1515

1616
### Example
1717

18-
::StabilityEdge{title="Auto import of createError"}
19-
In the current version, add `import { createError } from 'h3'` in order to use `createError`.
20-
::
21-
2218
```vue [pages/movies/[slug].vue]
2319
<script setup>
2420
const route = useRoute()

docs/content/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Nuxt 3 has been re-architected with a smaller core and optimized for faster perf
103103
::
104104
::section-content-item
105105
---
106-
title: Webpack 5
106+
title: webpack 5
107107
description: 'Faster build time and smaller bundle size, with no configuration required.'
108108
image: IconWebpack
109109
imageClass: w-10 h-10

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "independent",
2+
"version": "3.0.0-rc.7",
33
"npmClient": "yarn",
44
"useWorkspaces": true,
55
"conventionalCommits": true,

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"nuxt": "link:./packages/nuxt",
4444
"nuxt3": "link:./packages/nuxt",
4545
"vite": "~3.0.5",
46-
"unbuild": "^0.8.7"
46+
"unbuild": "^0.8.8"
4747
},
4848
"devDependencies": {
4949
"@nuxtjs/eslint-config-typescript": "^10.0.0",
@@ -63,7 +63,7 @@
6363
"pathe": "^0.3.4",
6464
"rimraf": "^3.0.2",
6565
"typescript": "^4.7.4",
66-
"unbuild": "^0.8.7",
66+
"unbuild": "^0.8.8",
6767
"vitest": "~0.19.1",
6868
"vue-tsc": "^0.39.5"
6969
},

packages/kit/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nuxt/kit",
3-
"version": "3.0.0-rc.6",
3+
"version": "3.0.0-rc.7",
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.6",
16+
"@nuxt/schema": "3.0.0-rc.7",
1717
"c12": "^0.2.9",
1818
"consola": "^2.15.3",
1919
"defu": "^6.0.0",
@@ -23,7 +23,7 @@
2323
"jiti": "^1.14.0",
2424
"knitwork": "^0.1.2",
2525
"lodash.template": "^4.5.0",
26-
"mlly": "^0.5.9",
26+
"mlly": "^0.5.10",
2727
"pathe": "^0.3.4",
2828
"pkg-types": "^0.3.3",
2929
"scule": "^0.3.2",

packages/nuxi/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nuxi",
3-
"version": "3.0.0-rc.6",
3+
"version": "3.0.0-rc.7",
44
"repository": "nuxt/framework",
55
"license": "MIT",
66
"type": "module",
@@ -18,8 +18,8 @@
1818
"prepack": "unbuild"
1919
},
2020
"devDependencies": {
21-
"@nuxt/kit": "^3.0.0-rc.6",
22-
"@nuxt/schema": "^3.0.0-rc.6",
21+
"@nuxt/kit": "3.0.0-rc.7",
22+
"@nuxt/schema": "3.0.0-rc.7",
2323
"@types/clear": "^0",
2424
"@types/mri": "^1.1.1",
2525
"@types/semver": "^7",
@@ -35,7 +35,7 @@
3535
"flat": "^5.0.2",
3636
"jiti": "^1.14.0",
3737
"listhen": "^0.2.15",
38-
"mlly": "^0.5.9",
38+
"mlly": "^0.5.10",
3939
"mri": "^1.2.0",
4040
"pathe": "^0.3.4",
4141
"perfect-debounce": "^0.1.3",

packages/nuxt/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nuxt",
3-
"version": "3.0.0-rc.6",
3+
"version": "3.0.0-rc.7",
44
"repository": "nuxt/framework",
55
"license": "MIT",
66
"type": "module",
@@ -31,11 +31,11 @@
3131
},
3232
"dependencies": {
3333
"@nuxt/devalue": "^2.0.0",
34-
"@nuxt/kit": "^3.0.0-rc.6",
35-
"@nuxt/schema": "^3.0.0-rc.6",
34+
"@nuxt/kit": "3.0.0-rc.7",
35+
"@nuxt/schema": "3.0.0-rc.7",
3636
"@nuxt/telemetry": "^2.1.4",
3737
"@nuxt/ui-templates": "^0.3.0",
38-
"@nuxt/vite-builder": "^3.0.0-rc.6",
38+
"@nuxt/vite-builder": "3.0.0-rc.7",
3939
"@vue/reactivity": "^3.2.37",
4040
"@vue/shared": "^3.2.37",
4141
"@vueuse/head": "^0.7.9",
@@ -51,9 +51,9 @@
5151
"hookable": "^5.1.1",
5252
"knitwork": "^0.1.2",
5353
"magic-string": "^0.26.2",
54-
"mlly": "^0.5.9",
55-
"nitropack": "^0.4.19",
56-
"nuxi": "^3.0.0-rc.6",
54+
"mlly": "^0.5.10",
55+
"nitropack": "^0.4.22",
56+
"nuxi": "3.0.0-rc.7",
5757
"ohash": "^0.1.5",
5858
"ohmyfetch": "^0.4.18",
5959
"pathe": "^0.3.4",

packages/nuxt/src/dirs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { fileURLToPath } from 'node:url'
22
import { dirname, resolve } from 'pathe'
33

44
let _distDir = dirname(fileURLToPath(import.meta.url))
5-
if (_distDir.endsWith('chunks')) { _distDir = dirname(_distDir) }
5+
if (_distDir.match(/(chunks|shared)$/)) { _distDir = dirname(_distDir) }
66
export const distDir = _distDir
77
export const pkgDir = resolve(distDir, '..')
88
export const runtimeDir = resolve(distDir, 'runtime')

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.6",
3+
"version": "3.0.0-rc.7",
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.6",
3+
"version": "3.0.0-rc.7",
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.6",
17-
"@nuxt/schema": "^3.0.0-rc.6",
16+
"@nuxt/kit": "3.0.0-rc.7",
17+
"@nuxt/schema": "3.0.0-rc.7",
1818
"defu": "^6.0.0",
1919
"execa": "^6.1.0",
2020
"get-port-please": "^2.6.1",

packages/vite/package.json

Lines changed: 4 additions & 4 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.6",
3+
"version": "3.0.0-rc.7",
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.6",
16+
"@nuxt/schema": "3.0.0-rc.7",
1717
"@types/cssnano": "^5",
1818
"unbuild": "latest",
1919
"vue": "3.2.37"
2020
},
2121
"dependencies": {
22-
"@nuxt/kit": "^3.0.0-rc.6",
22+
"@nuxt/kit": "3.0.0-rc.7",
2323
"@rollup/plugin-replace": "^4.0.0",
2424
"@vitejs/plugin-vue": "^3.0.1",
2525
"@vitejs/plugin-vue-jsx": "^2.0.0",
@@ -36,7 +36,7 @@
3636
"h3": "^0.7.15",
3737
"knitwork": "^0.1.2",
3838
"magic-string": "^0.26.2",
39-
"mlly": "^0.5.9",
39+
"mlly": "^0.5.10",
4040
"ohash": "^0.1.5",
4141
"pathe": "^0.3.4",
4242
"perfect-debounce": "^0.1.3",

packages/vite/src/dirs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import { fileURLToPath } from 'node:url'
22
import { dirname, resolve } from 'pathe'
33

44
let _distDir = dirname(fileURLToPath(import.meta.url))
5-
if (_distDir.endsWith('chunks')) { _distDir = dirname(_distDir) }
5+
if (_distDir.match(/(chunks|shared)$/)) { _distDir = dirname(_distDir) }
66
export const distDir = _distDir
77
export const pkgDir = resolve(distDir, '..')

packages/webpack/package.json

Lines changed: 4 additions & 4 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.6",
3+
"version": "3.0.0-rc.7",
44
"repository": "nuxt/framework",
55
"license": "MIT",
66
"type": "module",
@@ -18,7 +18,7 @@
1818
"dependencies": {
1919
"@babel/core": "^7.18.10",
2020
"@nuxt/friendly-errors-webpack-plugin": "^2.5.2",
21-
"@nuxt/kit": "^3.0.0-rc.6",
21+
"@nuxt/kit": "3.0.0-rc.7",
2222
"autoprefixer": "^10.4.8",
2323
"css-loader": "^6.7.1",
2424
"css-minimizer-webpack-plugin": "^4.0.0",
@@ -34,7 +34,7 @@
3434
"magic-string": "^0.26.2",
3535
"memfs": "^3.4.7",
3636
"mini-css-extract-plugin": "^2.6.1",
37-
"mlly": "^0.5.9",
37+
"mlly": "^0.5.10",
3838
"ohash": "^0.1.5",
3939
"pathe": "^0.3.4",
4040
"pify": "^6.0.0",
@@ -57,7 +57,7 @@
5757
"webpackbar": "^5.0.2"
5858
},
5959
"devDependencies": {
60-
"@nuxt/schema": "^3.0.0-rc.6",
60+
"@nuxt/schema": "3.0.0-rc.7",
6161
"@types/pify": "^5.0.1",
6262
"@types/webpack-bundle-analyzer": "^4.4.1",
6363
"@types/webpack-dev-middleware": "^5.0.2",

scripts/bump-rc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ set -e
66
git restore -s@ -SW -- packages examples
77

88
# Bump versions
9-
yarn lerna version --preid rc --no-changelog --no-git-tag-version --no-push -m "chore: release rc"
9+
yarn lerna version --preid rc --no-changelog --exact --no-git-tag-version --no-push -m "chore: release rc"

0 commit comments

Comments
 (0)