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

Commit

Permalink
v3.0.0-rc.7 (#6375)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Aug 11, 2022
1 parent f356d03 commit 5ea0474
Show file tree
Hide file tree
Showing 18 changed files with 75 additions and 82 deletions.
3 changes: 0 additions & 3 deletions docs/content/2.guide/2.features/4.head-management.md
Expand Up @@ -51,9 +51,6 @@ Now, if you set the title to `My Page` with `useHead` on another page of your si

## Body Meta Tags

::StabilityEdge{title="Body Meta Tags"}
::

You can use the `body: true` option on the `link` and `script` meta tags to append them to the end of the `<body>` tag.

For example:
Expand Down
8 changes: 0 additions & 8 deletions docs/content/2.guide/2.features/7.error-handling.md
Expand Up @@ -93,10 +93,6 @@ If you throw an error created with `createError`:

### Example

::StabilityEdge{title="Auto import of createError"}
In the current version, add `import { createError } from 'h3'` in order to use `createError`.
::

```vue [pages/movies/[slug].vue]
<script setup>
const route = useRoute()
Expand All @@ -109,10 +105,6 @@ if (!data.value) {

### `showError`

::StabilityEdge{title="showError"}
In the current version, use `throwError` or `throw createError` instead.
::

* `function showError (err: string | Error | { statusCode, statusMessage }): Error`

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`.
Expand Down
4 changes: 0 additions & 4 deletions docs/content/2.guide/3.directory-structure/4.components.md
Expand Up @@ -80,10 +80,6 @@ Alternatively, though not recommended, you can register all your components glob
})
```

::StabilityEdge{title="Automatic global components"}
In the current version, components in `~/components/global` are not yet auto-registered.
::

You can also selectively register some components globally by placing them in a `~/components/global` directory.

::alert{type=info}
Expand Down
4 changes: 0 additions & 4 deletions docs/content/3.api/3.utils/create-error.md
Expand Up @@ -15,10 +15,6 @@ If you throw an error created with `createError`:

### Example

::StabilityEdge{title="Auto import of createError"}
In the current version, add `import { createError } from 'h3'` in order to use `createError`.
::

```vue [pages/movies/[slug].vue]
<script setup>
const route = useRoute()
Expand Down
2 changes: 1 addition & 1 deletion docs/content/index.md
Expand Up @@ -103,7 +103,7 @@ Nuxt 3 has been re-architected with a smaller core and optimized for faster perf
::
::section-content-item
---
title: Webpack 5
title: webpack 5
description: 'Faster build time and smaller bundle size, with no configuration required.'
image: IconWebpack
imageClass: w-10 h-10
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
@@ -1,5 +1,5 @@
{
"version": "independent",
"version": "3.0.0-rc.7",
"npmClient": "yarn",
"useWorkspaces": true,
"conventionalCommits": true,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -43,7 +43,7 @@
"nuxt": "link:./packages/nuxt",
"nuxt3": "link:./packages/nuxt",
"vite": "~3.0.5",
"unbuild": "^0.8.7"
"unbuild": "^0.8.8"
},
"devDependencies": {
"@nuxtjs/eslint-config-typescript": "^10.0.0",
Expand All @@ -63,7 +63,7 @@
"pathe": "^0.3.4",
"rimraf": "^3.0.2",
"typescript": "^4.7.4",
"unbuild": "^0.8.7",
"unbuild": "^0.8.8",
"vitest": "~0.19.1",
"vue-tsc": "^0.39.5"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/kit/package.json
@@ -1,6 +1,6 @@
{
"name": "@nuxt/kit",
"version": "3.0.0-rc.6",
"version": "3.0.0-rc.7",
"repository": "nuxt/framework",
"license": "MIT",
"type": "module",
Expand All @@ -13,7 +13,7 @@
"prepack": "unbuild"
},
"dependencies": {
"@nuxt/schema": "^3.0.0-rc.6",
"@nuxt/schema": "3.0.0-rc.7",
"c12": "^0.2.9",
"consola": "^2.15.3",
"defu": "^6.0.0",
Expand All @@ -23,7 +23,7 @@
"jiti": "^1.14.0",
"knitwork": "^0.1.2",
"lodash.template": "^4.5.0",
"mlly": "^0.5.9",
"mlly": "^0.5.10",
"pathe": "^0.3.4",
"pkg-types": "^0.3.3",
"scule": "^0.3.2",
Expand Down
8 changes: 4 additions & 4 deletions packages/nuxi/package.json
@@ -1,6 +1,6 @@
{
"name": "nuxi",
"version": "3.0.0-rc.6",
"version": "3.0.0-rc.7",
"repository": "nuxt/framework",
"license": "MIT",
"type": "module",
Expand All @@ -18,8 +18,8 @@
"prepack": "unbuild"
},
"devDependencies": {
"@nuxt/kit": "^3.0.0-rc.6",
"@nuxt/schema": "^3.0.0-rc.6",
"@nuxt/kit": "3.0.0-rc.7",
"@nuxt/schema": "3.0.0-rc.7",
"@types/clear": "^0",
"@types/mri": "^1.1.1",
"@types/semver": "^7",
Expand All @@ -35,7 +35,7 @@
"flat": "^5.0.2",
"jiti": "^1.14.0",
"listhen": "^0.2.15",
"mlly": "^0.5.9",
"mlly": "^0.5.10",
"mri": "^1.2.0",
"pathe": "^0.3.4",
"perfect-debounce": "^0.1.3",
Expand Down
14 changes: 7 additions & 7 deletions packages/nuxt/package.json
@@ -1,6 +1,6 @@
{
"name": "nuxt",
"version": "3.0.0-rc.6",
"version": "3.0.0-rc.7",
"repository": "nuxt/framework",
"license": "MIT",
"type": "module",
Expand Down Expand Up @@ -31,11 +31,11 @@
},
"dependencies": {
"@nuxt/devalue": "^2.0.0",
"@nuxt/kit": "^3.0.0-rc.6",
"@nuxt/schema": "^3.0.0-rc.6",
"@nuxt/kit": "3.0.0-rc.7",
"@nuxt/schema": "3.0.0-rc.7",
"@nuxt/telemetry": "^2.1.4",
"@nuxt/ui-templates": "^0.3.0",
"@nuxt/vite-builder": "^3.0.0-rc.6",
"@nuxt/vite-builder": "3.0.0-rc.7",
"@vue/reactivity": "^3.2.37",
"@vue/shared": "^3.2.37",
"@vueuse/head": "^0.7.9",
Expand All @@ -51,9 +51,9 @@
"hookable": "^5.1.1",
"knitwork": "^0.1.2",
"magic-string": "^0.26.2",
"mlly": "^0.5.9",
"nitropack": "^0.4.19",
"nuxi": "^3.0.0-rc.6",
"mlly": "^0.5.10",
"nitropack": "^0.4.22",
"nuxi": "3.0.0-rc.7",
"ohash": "^0.1.5",
"ohmyfetch": "^0.4.18",
"pathe": "^0.3.4",
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxt/src/dirs.ts
Expand Up @@ -2,7 +2,7 @@ import { fileURLToPath } from 'node:url'
import { dirname, resolve } from 'pathe'

let _distDir = dirname(fileURLToPath(import.meta.url))
if (_distDir.endsWith('chunks')) { _distDir = dirname(_distDir) }
if (_distDir.match(/(chunks|shared)$/)) { _distDir = dirname(_distDir) }
export const distDir = _distDir
export const pkgDir = resolve(distDir, '..')
export const runtimeDir = resolve(distDir, 'runtime')
2 changes: 1 addition & 1 deletion packages/schema/package.json
@@ -1,6 +1,6 @@
{
"name": "@nuxt/schema",
"version": "3.0.0-rc.6",
"version": "3.0.0-rc.7",
"repository": "nuxt/framework",
"license": "MIT",
"type": "module",
Expand Down
6 changes: 3 additions & 3 deletions packages/test-utils/package.json
@@ -1,6 +1,6 @@
{
"name": "@nuxt/test-utils",
"version": "3.0.0-rc.6",
"version": "3.0.0-rc.7",
"repository": "nuxt/framework",
"license": "MIT",
"type": "module",
Expand All @@ -13,8 +13,8 @@
"prepack": "unbuild"
},
"dependencies": {
"@nuxt/kit": "^3.0.0-rc.6",
"@nuxt/schema": "^3.0.0-rc.6",
"@nuxt/kit": "3.0.0-rc.7",
"@nuxt/schema": "3.0.0-rc.7",
"defu": "^6.0.0",
"execa": "^6.1.0",
"get-port-please": "^2.6.1",
Expand Down
8 changes: 4 additions & 4 deletions packages/vite/package.json
@@ -1,6 +1,6 @@
{
"name": "@nuxt/vite-builder",
"version": "3.0.0-rc.6",
"version": "3.0.0-rc.7",
"repository": "nuxt/framework",
"license": "MIT",
"type": "module",
Expand All @@ -13,13 +13,13 @@
"prepack": "unbuild"
},
"devDependencies": {
"@nuxt/schema": "^3.0.0-rc.6",
"@nuxt/schema": "3.0.0-rc.7",
"@types/cssnano": "^5",
"unbuild": "latest",
"vue": "3.2.37"
},
"dependencies": {
"@nuxt/kit": "^3.0.0-rc.6",
"@nuxt/kit": "3.0.0-rc.7",
"@rollup/plugin-replace": "^4.0.0",
"@vitejs/plugin-vue": "^3.0.1",
"@vitejs/plugin-vue-jsx": "^2.0.0",
Expand All @@ -36,7 +36,7 @@
"h3": "^0.7.15",
"knitwork": "^0.1.2",
"magic-string": "^0.26.2",
"mlly": "^0.5.9",
"mlly": "^0.5.10",
"ohash": "^0.1.5",
"pathe": "^0.3.4",
"perfect-debounce": "^0.1.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/vite/src/dirs.ts
Expand Up @@ -2,6 +2,6 @@ import { fileURLToPath } from 'node:url'
import { dirname, resolve } from 'pathe'

let _distDir = dirname(fileURLToPath(import.meta.url))
if (_distDir.endsWith('chunks')) { _distDir = dirname(_distDir) }
if (_distDir.match(/(chunks|shared)$/)) { _distDir = dirname(_distDir) }
export const distDir = _distDir
export const pkgDir = resolve(distDir, '..')
8 changes: 4 additions & 4 deletions packages/webpack/package.json
@@ -1,6 +1,6 @@
{
"name": "@nuxt/webpack-builder",
"version": "3.0.0-rc.6",
"version": "3.0.0-rc.7",
"repository": "nuxt/framework",
"license": "MIT",
"type": "module",
Expand All @@ -18,7 +18,7 @@
"dependencies": {
"@babel/core": "^7.18.10",
"@nuxt/friendly-errors-webpack-plugin": "^2.5.2",
"@nuxt/kit": "^3.0.0-rc.6",
"@nuxt/kit": "3.0.0-rc.7",
"autoprefixer": "^10.4.8",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^4.0.0",
Expand All @@ -34,7 +34,7 @@
"magic-string": "^0.26.2",
"memfs": "^3.4.7",
"mini-css-extract-plugin": "^2.6.1",
"mlly": "^0.5.9",
"mlly": "^0.5.10",
"ohash": "^0.1.5",
"pathe": "^0.3.4",
"pify": "^6.0.0",
Expand All @@ -57,7 +57,7 @@
"webpackbar": "^5.0.2"
},
"devDependencies": {
"@nuxt/schema": "^3.0.0-rc.6",
"@nuxt/schema": "3.0.0-rc.7",
"@types/pify": "^5.0.1",
"@types/webpack-bundle-analyzer": "^4.4.1",
"@types/webpack-dev-middleware": "^5.0.2",
Expand Down
2 changes: 1 addition & 1 deletion scripts/bump-rc.sh
Expand Up @@ -6,4 +6,4 @@ set -e
git restore -s@ -SW -- packages examples

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

0 comments on commit 5ea0474

Please sign in to comment.