chore: update repo references
This commit is contained in:
parent
9c304bfe79
commit
ae4b0783d7
2
.github/ISSUE_TEMPLATE/config.yml
vendored
2
.github/ISSUE_TEMPLATE/config.yml
vendored
@ -1,7 +1,7 @@
|
|||||||
blank_issues_enabled: false
|
blank_issues_enabled: false
|
||||||
contact_links:
|
contact_links:
|
||||||
- name: Create new issue
|
- name: Create new issue
|
||||||
url: https://new-issue.vuejs.org/?repo=vuejs/vue-next
|
url: https://new-issue.vuejs.org/?repo=vuejs/core
|
||||||
about: Please use the following link to create a new issue.
|
about: Please use the following link to create a new issue.
|
||||||
- name: Patreon
|
- name: Patreon
|
||||||
url: https://www.patreon.com/evanyou
|
url: https://www.patreon.com/evanyou
|
||||||
|
6
.github/contributing.md
vendored
6
.github/contributing.md
vendored
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Hi! I'm really excited that you are interested in contributing to Vue.js. Before submitting your contribution, please make sure to take a moment and read through the following guidelines:
|
Hi! I'm really excited that you are interested in contributing to Vue.js. Before submitting your contribution, please make sure to take a moment and read through the following guidelines:
|
||||||
|
|
||||||
- [Code of Conduct](https://github.com/vuejs/vue/blob/dev/.github/CODE_OF_CONDUCT.md)
|
- [Code of Conduct](https://vuejs.org/about/coc.html)
|
||||||
- [Issue Reporting Guidelines](#issue-reporting-guidelines)
|
- [Issue Reporting Guidelines](#issue-reporting-guidelines)
|
||||||
- [Pull Request Guidelines](#pull-request-guidelines)
|
- [Pull Request Guidelines](#pull-request-guidelines)
|
||||||
- [Development Setup](#development-setup)
|
- [Development Setup](#development-setup)
|
||||||
@ -90,7 +90,7 @@ Additional formats that only apply to the main `vue` package:
|
|||||||
- **`esm-bundler-runtime`**
|
- **`esm-bundler-runtime`**
|
||||||
- **`esm-browser-runtime`**
|
- **`esm-browser-runtime`**
|
||||||
|
|
||||||
More details about each of these formats can be found in the [`vue` package README](https://github.com/vuejs/vue-next/blob/master/packages/vue/README.md#which-dist-file-to-use) and the [Rollup config file](https://github.com/vuejs/vue-next/blob/master/rollup.config.js).
|
More details about each of these formats can be found in the [`vue` package README](https://github.com/vuejs/core/blob/main/packages/vue/README.md#which-dist-file-to-use) and the [Rollup config file](https://github.com/vuejs/core/blob/main/rollup.config.js).
|
||||||
|
|
||||||
For example, to build `runtime-core` with the global build only:
|
For example, to build `runtime-core` with the global build only:
|
||||||
|
|
||||||
@ -138,7 +138,7 @@ $ nr dev
|
|||||||
|
|
||||||
### `nr dev-compiler`
|
### `nr dev-compiler`
|
||||||
|
|
||||||
The `dev-compiler` script builds, watches and serves the [Template Explorer](https://github.com/vuejs/vue-next/tree/master/packages/template-explorer) at `http://localhost:5000`. This is extremely useful when working on the compiler.
|
The `dev-compiler` script builds, watches and serves the [Template Explorer](https://github.com/vuejs/core/tree/main/packages/template-explorer) at `http://localhost:5000`. This is extremely useful when working on the compiler.
|
||||||
|
|
||||||
### `nr test`
|
### `nr test`
|
||||||
|
|
||||||
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -5,7 +5,7 @@ on:
|
|||||||
- '**'
|
- '**'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
2
.github/workflows/release-tag.yml
vendored
2
.github/workflows/release-tag.yml
vendored
@ -20,4 +20,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
tag_name: ${{ github.ref }}
|
tag_name: ${{ github.ref }}
|
||||||
body: |
|
body: |
|
||||||
Please refer to [CHANGELOG.md](https://github.com/vuejs/vue-next/blob/master/CHANGELOG.md) for details.
|
Please refer to [CHANGELOG.md](https://github.com/vuejs/core/blob/main/CHANGELOG.md) for details.
|
||||||
|
2704
CHANGELOG.md
2704
CHANGELOG.md
File diff suppressed because it is too large
Load Diff
107
README.md
107
README.md
@ -1,113 +1,22 @@
|
|||||||
# vue-next [![npm](https://img.shields.io/npm/v/vue/next.svg)](https://www.npmjs.com/package/vue/v/next) [![build status](https://github.com/vuejs/vue-next/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/vuejs/vue-next/actions/workflows/ci.yml)
|
# vuejs/core [![npm](https://img.shields.io/npm/v/vue/next.svg)](https://www.npmjs.com/package/vue/v/next) [![build status](https://github.com/vuejs/core/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/vuejs/core/actions/workflows/ci.yml)
|
||||||
|
|
||||||
This is the repository for Vue 3.0.
|
This is the repository for Vue 3.x.
|
||||||
|
|
||||||
## Quickstart
|
## Quickstart
|
||||||
|
|
||||||
- Via CDN: `<script src="https://unpkg.com/vue@next"></script>`
|
- Via CDN: `<script src="https://unpkg.com/vue@next"></script>`
|
||||||
- In-browser playground on [Codepen](https://codepen.io/yyx990803/pen/OJNoaZL)
|
- Try in the browser on [StackBlitz](https://vite.new/vue)
|
||||||
- Scaffold via [Vite](https://github.com/vitejs/vite):
|
- Scaffold via [create-vue](https://github.com/vuejs/create-vue):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# npm 6.x
|
# npm
|
||||||
npm init vite@latest my-vue-app --template vue
|
npm init vue@latest
|
||||||
# npm 7+, extra double-dash is needed:
|
|
||||||
npm init vite@latest my-vue-app -- --template vue
|
|
||||||
# yarn
|
# yarn
|
||||||
yarn create vite my-vue-app --template vue
|
yarn create vue
|
||||||
```
|
|
||||||
|
|
||||||
- Scaffold via [vue-cli](https://cli.vuejs.org/):
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm install -g @vue/cli # OR yarn global add @vue/cli
|
|
||||||
vue create hello-vue3
|
|
||||||
# select vue 3 preset
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Changes from Vue 2
|
## Changes from Vue 2
|
||||||
|
|
||||||
Please consult the [Migration Guide](https://v3.vuejs.org/guide/migration/introduction.html).
|
Please consult the [Migration Guide](http://v3-migration.vuejs.org/).
|
||||||
|
|
||||||
Also note: Vue 3 does not support IE11 ([RFC](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0038-vue3-ie11-support.md) | [Discussion](https://github.com/vuejs/rfcs/discussions/296)).
|
Also note: Vue 3 does not support IE11 ([RFC](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0038-vue3-ie11-support.md) | [Discussion](https://github.com/vuejs/rfcs/discussions/296)).
|
||||||
|
|
||||||
## Supporting Libraries
|
|
||||||
|
|
||||||
All of our official libraries and tools now support Vue 3, but most of them are still in beta status and distributed under the `next` dist tag on NPM. **We are planning to stabilize and switch all projects to use the `latest` dist tag in early 2021.**
|
|
||||||
|
|
||||||
### Vue CLI
|
|
||||||
|
|
||||||
As of v4.5.0, `vue-cli` now provides built-in option to choose Vue 3 preset when creating a new project. You can upgrade `vue-cli` and run `vue create` to create a Vue 3 project today.
|
|
||||||
|
|
||||||
### Vue Router
|
|
||||||
|
|
||||||
Vue Router 4.0 provides Vue 3 support and has a number of breaking changes of its own. Check out its [Migration Guide](https://next.router.vuejs.org/guide/migration/) for full details.
|
|
||||||
|
|
||||||
- [![beta](https://img.shields.io/npm/v/vue-router/next.svg)](https://www.npmjs.com/package/vue-router/v/next)
|
|
||||||
- [GitHub](https://github.com/vuejs/vue-router-next)
|
|
||||||
- [RFCs](https://github.com/vuejs/rfcs/pulls?q=is%3Apr+is%3Amerged+label%3Arouter)
|
|
||||||
|
|
||||||
### Vuex
|
|
||||||
|
|
||||||
Vuex 4.0 provides Vue 3 support with largely the same API as 3.x. The only breaking change is [how the plugin is installed](https://github.com/vuejs/vuex/tree/4.0#breaking-changes).
|
|
||||||
|
|
||||||
- [![beta](https://img.shields.io/npm/v/vuex/next.svg)](https://www.npmjs.com/package/vuex/v/next)
|
|
||||||
- [GitHub](https://github.com/vuejs/vuex/tree/4.0)
|
|
||||||
|
|
||||||
### Devtools Extension
|
|
||||||
|
|
||||||
We are working on a new version of the Devtools with a new UI and refactored internals to support multiple Vue versions. The new version is currently in beta and only supports Vue 3 (for now). Vuex and Router integration is also work in progress.
|
|
||||||
|
|
||||||
- For Chrome: [Install from Chrome web store](https://chrome.google.com/webstore/detail/vuejs-devtools/ljjemllljcmogpfapbkkighbhhppjdbg?hl=en)
|
|
||||||
|
|
||||||
- Note: the beta channel may conflict with the stable version of devtools so you may need to temporarily disable the stable version for the beta channel to work properly.
|
|
||||||
|
|
||||||
- For Firefox: [Download the signed extension](https://github.com/vuejs/vue-devtools/releases/tag/v6.0.0-beta.2) (`.xpi` file under Assets)
|
|
||||||
|
|
||||||
### IDE Support
|
|
||||||
|
|
||||||
It is recommended to use [VSCode](https://code.visualstudio.com/). There are currently two viable extensions for Single-File Components (SFCs) support:
|
|
||||||
|
|
||||||
- [Vetur](https://marketplace.visualstudio.com/items?itemName=octref.vetur) (recommended if you are used to Vetur features)
|
|
||||||
- [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar) (recommended if using TypeScript with SFCs, or `<script setup>` syntax)
|
|
||||||
|
|
||||||
### TypeScript Support
|
|
||||||
|
|
||||||
- All Vue 3 packages ship with types.
|
|
||||||
- [vue-tsc](https://github.com/johnsoncodehk/volar/tree/master/packages/vue-tsc) perform TypeScript type checks / diagnostics on Vue SFCs via the command line, generate TypeScript definitions from Vue SFCs.
|
|
||||||
|
|
||||||
### Other Projects
|
|
||||||
|
|
||||||
| Project | NPM | Repo |
|
|
||||||
| --------------------- | ------------------------------- | -------------------- |
|
|
||||||
| @vue/babel-plugin-jsx | [![rc][jsx-badge]][jsx-npm] | [[GitHub][jsx-code]] |
|
|
||||||
| eslint-plugin-vue | [![stable][epv-badge]][epv-npm] | [[GitHub][epv-code]] |
|
|
||||||
| @vue/test-utils | [![beta][vtu-badge]][vtu-npm] | [[GitHub][vtu-code]] |
|
|
||||||
| vue-class-component | [![beta][vcc-badge]][vcc-npm] | [[GitHub][vcc-code]] |
|
|
||||||
| vue-loader | [![beta][vl-badge]][vl-npm] | [[GitHub][vl-code]] |
|
|
||||||
| rollup-plugin-vue | [![beta][rpv-badge]][rpv-npm] | [[GitHub][rpv-code]] |
|
|
||||||
|
|
||||||
[jsx-badge]: https://img.shields.io/npm/v/@vue/babel-plugin-jsx.svg
|
|
||||||
[jsx-npm]: https://www.npmjs.com/package/@vue/babel-plugin-jsx
|
|
||||||
[jsx-code]: https://github.com/vuejs/jsx-next
|
|
||||||
[vd-badge]: https://img.shields.io/npm/v/@vue/devtools/beta.svg
|
|
||||||
[vd-npm]: https://www.npmjs.com/package/@vue/devtools/v/beta
|
|
||||||
[vd-code]: https://github.com/vuejs/vue-devtools/tree/next
|
|
||||||
[epv-badge]: https://img.shields.io/npm/v/eslint-plugin-vue.svg
|
|
||||||
[epv-npm]: https://www.npmjs.com/package/eslint-plugin-vue
|
|
||||||
[epv-code]: https://github.com/vuejs/eslint-plugin-vue
|
|
||||||
[vtu-badge]: https://img.shields.io/npm/v/@vue/test-utils/next.svg
|
|
||||||
[vtu-npm]: https://www.npmjs.com/package/@vue/test-utils/v/next
|
|
||||||
[vtu-code]: https://github.com/vuejs/vue-test-utils-next
|
|
||||||
[jsx-badge]: https://img.shields.io/npm/v/@ant-design-vue/babel-plugin-jsx.svg
|
|
||||||
[jsx-npm]: https://www.npmjs.com/package/@ant-design-vue/babel-plugin-jsx
|
|
||||||
[jsx-code]: https://github.com/vueComponent/jsx
|
|
||||||
[vcc-badge]: https://img.shields.io/npm/v/vue-class-component/next.svg
|
|
||||||
[vcc-npm]: https://www.npmjs.com/package/vue-class-component/v/next
|
|
||||||
[vcc-code]: https://github.com/vuejs/vue-class-component/tree/next
|
|
||||||
[vl-badge]: https://img.shields.io/npm/v/vue-loader/next.svg
|
|
||||||
[vl-npm]: https://www.npmjs.com/package/vue-loader/v/next
|
|
||||||
[vl-code]: https://github.com/vuejs/vue-loader/tree/next
|
|
||||||
[rpv-badge]: https://img.shields.io/npm/v/rollup-plugin-vue/next.svg
|
|
||||||
[rpv-npm]: https://www.npmjs.com/package/rollup-plugin-vue/v/next
|
|
||||||
[rpv-code]: https://github.com/vuejs/rollup-plugin-vue/tree/next
|
|
||||||
|
@ -1015,7 +1015,7 @@ describe('compiler: parse', () => {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
// https://github.com/vuejs/vue-next/issues/4251
|
// https://github.com/vuejs/core/issues/4251
|
||||||
test('class attribute should ignore whitespace when parsed', () => {
|
test('class attribute should ignore whitespace when parsed', () => {
|
||||||
const ast = baseParse('<div class=" \n\t c \t\n "></div>')
|
const ast = baseParse('<div class=" \n\t c \t\n "></div>')
|
||||||
const element = ast.children[0] as ElementNode
|
const element = ast.children[0] as ElementNode
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/vuejs/vue-next.git",
|
"url": "git+https://github.com/vuejs/core.git",
|
||||||
"directory": "packages/compiler-core"
|
"directory": "packages/compiler-core"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -28,9 +28,9 @@
|
|||||||
"author": "Evan You",
|
"author": "Evan You",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/vuejs/vue-next/issues"
|
"url": "https://github.com/vuejs/core/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-core#readme",
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-core#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vue/shared": "3.2.27",
|
"@vue/shared": "3.2.27",
|
||||||
"@babel/parser": "^7.16.4",
|
"@babel/parser": "^7.16.4",
|
||||||
|
@ -719,7 +719,7 @@ function parseAttributes(
|
|||||||
const attr = parseAttribute(context, attributeNames)
|
const attr = parseAttribute(context, attributeNames)
|
||||||
|
|
||||||
// Trim whitespace between class
|
// Trim whitespace between class
|
||||||
// https://github.com/vuejs/vue-next/issues/4251
|
// https://github.com/vuejs/core/issues/4251
|
||||||
if (
|
if (
|
||||||
attr.type === NodeTypes.ATTRIBUTE &&
|
attr.type === NodeTypes.ATTRIBUTE &&
|
||||||
attr.value &&
|
attr.value &&
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/vuejs/vue-next.git",
|
"url": "git+https://github.com/vuejs/core.git",
|
||||||
"directory": "packages/compiler-dom"
|
"directory": "packages/compiler-dom"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -33,9 +33,9 @@
|
|||||||
"author": "Evan You",
|
"author": "Evan You",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/vuejs/vue-next/issues"
|
"url": "https://github.com/vuejs/core/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-dom#readme",
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-dom#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vue/shared": "3.2.27",
|
"@vue/shared": "3.2.27",
|
||||||
"@vue/compiler-core": "3.2.27"
|
"@vue/compiler-core": "3.2.27"
|
||||||
|
@ -372,7 +372,7 @@ defineExpose({ foo: 123 })
|
|||||||
assertCode(content)
|
assertCode(content)
|
||||||
})
|
})
|
||||||
|
|
||||||
// https://github.com/vuejs/vue-next/issues/4599
|
// https://github.com/vuejs/core/issues/4599
|
||||||
test('attribute expressions', () => {
|
test('attribute expressions', () => {
|
||||||
const { content } = compile(`
|
const { content } = compile(`
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/vuejs/vue-next.git",
|
"url": "git+https://github.com/vuejs/core.git",
|
||||||
"directory": "packages/compiler-sfc"
|
"directory": "packages/compiler-sfc"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -28,9 +28,9 @@
|
|||||||
"author": "Evan You",
|
"author": "Evan You",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/vuejs/vue-next/issues"
|
"url": "https://github.com/vuejs/core/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-sfc#readme",
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-sfc#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/parser": "^7.16.4",
|
"@babel/parser": "^7.16.4",
|
||||||
"@vue/compiler-core": "3.2.27",
|
"@vue/compiler-core": "3.2.27",
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/vuejs/vue-next.git",
|
"url": "git+https://github.com/vuejs/core.git",
|
||||||
"directory": "packages/compiler-ssr"
|
"directory": "packages/compiler-ssr"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -24,9 +24,9 @@
|
|||||||
"author": "Evan You",
|
"author": "Evan You",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/vuejs/vue-next/issues"
|
"url": "https://github.com/vuejs/core/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-ssr#readme",
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-ssr#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vue/shared": "3.2.27",
|
"@vue/shared": "3.2.27",
|
||||||
"@vue/compiler-dom": "3.2.27"
|
"@vue/compiler-dom": "3.2.27"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
"types": "dist/reactivity-transform.d.ts",
|
"types": "dist/reactivity-transform.d.ts",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/vuejs/vue-next.git",
|
"url": "git+https://github.com/vuejs/core.git",
|
||||||
"directory": "packages/reactivity-transform"
|
"directory": "packages/reactivity-transform"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -24,9 +24,9 @@
|
|||||||
"author": "Evan You",
|
"author": "Evan You",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/vuejs/vue-next/issues"
|
"url": "https://github.com/vuejs/core/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/vuejs/vue-next/tree/dev/packages/reactivity-transform#readme",
|
"homepage": "https://github.com/vuejs/core/tree/dev/packages/reactivity-transform#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/parser": "^7.16.4",
|
"@babel/parser": "^7.16.4",
|
||||||
"@vue/compiler-core": "3.2.27",
|
"@vue/compiler-core": "3.2.27",
|
||||||
|
@ -446,7 +446,7 @@ describe('reactivity/readonly', () => {
|
|||||||
).toHaveBeenWarned()
|
).toHaveBeenWarned()
|
||||||
})
|
})
|
||||||
|
|
||||||
// https://github.com/vuejs/vue-next/issues/3376
|
// https://github.com/vuejs/core/issues/3376
|
||||||
test('calling readonly on computed should allow computed to set its private properties', () => {
|
test('calling readonly on computed should allow computed to set its private properties', () => {
|
||||||
const r = ref<boolean>(false)
|
const r = ref<boolean>(false)
|
||||||
const c = computed(() => r.value)
|
const c = computed(() => r.value)
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/vuejs/vue-next.git",
|
"url": "git+https://github.com/vuejs/core.git",
|
||||||
"directory": "packages/reactivity"
|
"directory": "packages/reactivity"
|
||||||
},
|
},
|
||||||
"buildOptions": {
|
"buildOptions": {
|
||||||
@ -32,9 +32,9 @@
|
|||||||
"author": "Evan You",
|
"author": "Evan You",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/vuejs/vue-next/issues"
|
"url": "https://github.com/vuejs/core/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/reactivity#readme",
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/reactivity#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vue/shared": "3.2.27"
|
"@vue/shared": "3.2.27"
|
||||||
}
|
}
|
||||||
|
@ -891,7 +891,7 @@ describe('api: watch', () => {
|
|||||||
expect(spy).toHaveBeenCalledTimes(1)
|
expect(spy).toHaveBeenCalledTimes(1)
|
||||||
})
|
})
|
||||||
|
|
||||||
// https://github.com/vuejs/vue-next/issues/2381
|
// https://github.com/vuejs/core/issues/2381
|
||||||
test('$watch should always register its effects with its own instance', async () => {
|
test('$watch should always register its effects with its own instance', async () => {
|
||||||
let instance: ComponentInternalInstance | null
|
let instance: ComponentInternalInstance | null
|
||||||
let _show: Ref<boolean>
|
let _show: Ref<boolean>
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/vuejs/vue-next.git",
|
"url": "git+https://github.com/vuejs/core.git",
|
||||||
"directory": "packages/runtime-core"
|
"directory": "packages/runtime-core"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -28,9 +28,9 @@
|
|||||||
"author": "Evan You",
|
"author": "Evan You",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/vuejs/vue-next/issues"
|
"url": "https://github.com/vuejs/core/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-core#readme",
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vue/shared": "3.2.27",
|
"@vue/shared": "3.2.27",
|
||||||
"@vue/reactivity": "3.2.27"
|
"@vue/reactivity": "3.2.27"
|
||||||
|
@ -137,7 +137,7 @@ export const deprecationData: Record<DeprecationTypes, DeprecationData> = {
|
|||||||
message:
|
message:
|
||||||
`config.devtools has been removed. To enable devtools for ` +
|
`config.devtools has been removed. To enable devtools for ` +
|
||||||
`production, configure the __VUE_PROD_DEVTOOLS__ compile-time flag.`,
|
`production, configure the __VUE_PROD_DEVTOOLS__ compile-time flag.`,
|
||||||
link: `https://github.com/vuejs/vue-next/tree/master/packages/vue#bundler-build-feature-flags`
|
link: `https://github.com/vuejs/core/tree/main/packages/vue#bundler-build-feature-flags`
|
||||||
},
|
},
|
||||||
|
|
||||||
[DeprecationTypes.CONFIG_KEY_CODES]: {
|
[DeprecationTypes.CONFIG_KEY_CODES]: {
|
||||||
|
@ -15,7 +15,7 @@ export type LegacyConfig = {
|
|||||||
silent?: boolean
|
silent?: boolean
|
||||||
/**
|
/**
|
||||||
* @deprecated use __VUE_PROD_DEVTOOLS__ compile-time feature flag instead
|
* @deprecated use __VUE_PROD_DEVTOOLS__ compile-time feature flag instead
|
||||||
* https://github.com/vuejs/vue-next/tree/master/packages/vue#bundler-build-feature-flags
|
* https://github.com/vuejs/core/tree/main/packages/vue#bundler-build-feature-flags
|
||||||
*/
|
*/
|
||||||
devtools?: boolean
|
devtools?: boolean
|
||||||
/**
|
/**
|
||||||
|
@ -54,7 +54,7 @@ export const ErrorTypeStrings: Record<number | string, string> = {
|
|||||||
[ErrorCodes.ASYNC_COMPONENT_LOADER]: 'async component loader',
|
[ErrorCodes.ASYNC_COMPONENT_LOADER]: 'async component loader',
|
||||||
[ErrorCodes.SCHEDULER]:
|
[ErrorCodes.SCHEDULER]:
|
||||||
'scheduler flush. This is likely a Vue internals bug. ' +
|
'scheduler flush. This is likely a Vue internals bug. ' +
|
||||||
'Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue-next'
|
'Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core'
|
||||||
}
|
}
|
||||||
|
|
||||||
export type ErrorTypes = LifecycleHooks | ErrorCodes
|
export type ErrorTypes = LifecycleHooks | ErrorCodes
|
||||||
|
@ -216,7 +216,7 @@ describe('runtime-dom: props patching', () => {
|
|||||||
test('readonly type prop on textarea', () => {
|
test('readonly type prop on textarea', () => {
|
||||||
const el = document.createElement('textarea')
|
const el = document.createElement('textarea')
|
||||||
// just to verify that it doesn't throw when i.e. switching a dynamic :is from an 'input' to a 'textarea'
|
// just to verify that it doesn't throw when i.e. switching a dynamic :is from an 'input' to a 'textarea'
|
||||||
// see https://github.com/vuejs/vue-next/issues/2766
|
// see https://github.com/vuejs/core/issues/2766
|
||||||
patchProp(el, 'type', 'text', null)
|
patchProp(el, 'type', 'text', null)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/vuejs/vue-next.git",
|
"url": "git+https://github.com/vuejs/core.git",
|
||||||
"directory": "packages/runtime-dom"
|
"directory": "packages/runtime-dom"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -31,9 +31,9 @@
|
|||||||
"author": "Evan You",
|
"author": "Evan You",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/vuejs/vue-next/issues"
|
"url": "https://github.com/vuejs/core/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-dom#readme",
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-dom#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vue/shared": "3.2.27",
|
"@vue/shared": "3.2.27",
|
||||||
"@vue/runtime-core": "3.2.27",
|
"@vue/runtime-core": "3.2.27",
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
],
|
],
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/vuejs/vue-next.git",
|
"url": "git+https://github.com/vuejs/core.git",
|
||||||
"directory": "packages/runtime-test"
|
"directory": "packages/runtime-test"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -21,9 +21,9 @@
|
|||||||
"author": "Evan You",
|
"author": "Evan You",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/vuejs/vue-next/issues"
|
"url": "https://github.com/vuejs/core/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-test#readme",
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-test#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vue/shared": "3.2.27",
|
"@vue/shared": "3.2.27",
|
||||||
"@vue/runtime-core": "3.2.27"
|
"@vue/runtime-core": "3.2.27"
|
||||||
|
@ -838,7 +838,7 @@ function testRender(type: string, render: typeof renderToString) {
|
|||||||
expect(fn2).toBeCalledWith('async child error')
|
expect(fn2).toBeCalledWith('async child error')
|
||||||
})
|
})
|
||||||
|
|
||||||
// https://github.com/vuejs/vue-next/issues/3322
|
// https://github.com/vuejs/core/issues/3322
|
||||||
test('effect onInvalidate does not error', async () => {
|
test('effect onInvalidate does not error', async () => {
|
||||||
const noop = () => {}
|
const noop = () => {}
|
||||||
const app = createApp({
|
const app = createApp({
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/vuejs/vue-next.git",
|
"url": "git+https://github.com/vuejs/core.git",
|
||||||
"directory": "packages/server-renderer"
|
"directory": "packages/server-renderer"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -27,9 +27,9 @@
|
|||||||
"author": "Evan You",
|
"author": "Evan You",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/vuejs/vue-next/issues"
|
"url": "https://github.com/vuejs/core/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/server-renderer#readme",
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/server-renderer#readme",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "3.2.27"
|
"vue": "3.2.27"
|
||||||
},
|
},
|
||||||
|
@ -57,7 +57,7 @@ onMounted(async () => {
|
|||||||
|
|
||||||
async function fetchVersions(): Promise<string[]> {
|
async function fetchVersions(): Promise<string[]> {
|
||||||
const res = await fetch(
|
const res = await fetch(
|
||||||
`https://api.github.com/repos/vuejs/vue-next/releases?per_page=100`
|
`https://api.github.com/repos/vuejs/core/releases?per_page=100`
|
||||||
)
|
)
|
||||||
const releases: any[] = await res.json()
|
const releases: any[] = await res.json()
|
||||||
const versions = releases.map(r =>
|
const versions = releases.map(r =>
|
||||||
@ -131,7 +131,7 @@ async function fetchVersions(): Promise<string[]> {
|
|||||||
class="github"
|
class="github"
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="https://github.com/vuejs/vue-next/tree/master/packages/sfc-playground"
|
href="https://github.com/vuejs/core/tree/main/packages/sfc-playground"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
>
|
>
|
||||||
<GitHub />
|
<GitHub />
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/vuejs/vue-next.git",
|
"url": "git+https://github.com/vuejs/core.git",
|
||||||
"directory": "packages/shared"
|
"directory": "packages/shared"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
@ -26,7 +26,7 @@
|
|||||||
"author": "Evan You",
|
"author": "Evan You",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/vuejs/vue-next/issues"
|
"url": "https://github.com/vuejs/core/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/shared#readme"
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/shared#readme"
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,7 @@ const App = {
|
|||||||
h(
|
h(
|
||||||
'a',
|
'a',
|
||||||
{
|
{
|
||||||
href: `https://github.com/vuejs/vue-next/tree/${__COMMIT__}`,
|
href: `https://github.com/vuejs/core/tree/${__COMMIT__}`,
|
||||||
target: `_blank`
|
target: `_blank`
|
||||||
},
|
},
|
||||||
`@${__COMMIT__}`
|
`@${__COMMIT__}`
|
||||||
|
@ -18,7 +18,7 @@ While we've tried hard to make the migration build mimic Vue 2 behavior as much
|
|||||||
|
|
||||||
- Internet Explorer 11 support: [Vue 3 has officially dropped the plan for IE11 support](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0038-vue3-ie11-support.md). If you still need to support IE11 or below, you will have to stay on Vue 2.
|
- Internet Explorer 11 support: [Vue 3 has officially dropped the plan for IE11 support](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0038-vue3-ie11-support.md). If you still need to support IE11 or below, you will have to stay on Vue 2.
|
||||||
|
|
||||||
- Server-side rendering: the migration build can be used for SSR, but migrating a custom SSR setup is much more involved. The general idea is replacing `vue-server-renderer` with [`@vue/server-renderer`](https://github.com/vuejs/vue-next/tree/master/packages/server-renderer). Vue 3 no longer provides a bundle renderer and it is recommended to use Vue 3 SSR with [Vite](https://vitejs.dev/guide/ssr.html). If you are using [Nuxt.js](https://nuxtjs.org/), it is probably better to wait for Nuxt 3.
|
- Server-side rendering: the migration build can be used for SSR, but migrating a custom SSR setup is much more involved. The general idea is replacing `vue-server-renderer` with [`@vue/server-renderer`](https://github.com/vuejs/core/tree/main/packages/server-renderer). Vue 3 no longer provides a bundle renderer and it is recommended to use Vue 3 SSR with [Vite](https://vitejs.dev/guide/ssr.html). If you are using [Nuxt.js](https://nuxtjs.org/), it is probably better to wait for Nuxt 3.
|
||||||
|
|
||||||
### Expectations
|
### Expectations
|
||||||
|
|
||||||
@ -259,7 +259,7 @@ Features that start with `COMPILER_` are compiler-specific: if you are using the
|
|||||||
| ID | Type | Description | Docs |
|
| ID | Type | Description | Docs |
|
||||||
| ------------------------------------- | ---- | ----------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
|
| ------------------------------------- | ---- | ----------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
|
||||||
| GLOBAL_MOUNT_CONTAINER | ⨂ | Mounted application does not replace the element it's mounted to | [link](https://v3.vuejs.org/guide/migration/mount-changes.html) |
|
| GLOBAL_MOUNT_CONTAINER | ⨂ | Mounted application does not replace the element it's mounted to | [link](https://v3.vuejs.org/guide/migration/mount-changes.html) |
|
||||||
| CONFIG_DEVTOOLS | ⨂ | production devtools is now a build-time flag | [link](https://github.com/vuejs/vue-next/tree/master/packages/vue#bundler-build-feature-flags) |
|
| CONFIG_DEVTOOLS | ⨂ | production devtools is now a build-time flag | [link](https://github.com/vuejs/core/tree/main/packages/vue#bundler-build-feature-flags) |
|
||||||
| COMPILER_V_IF_V_FOR_PRECEDENCE | ⨂ | `v-if` and `v-for` precedence when used on the same element has changed | [link](https://v3.vuejs.org/guide/migration/v-if-v-for.html) |
|
| COMPILER_V_IF_V_FOR_PRECEDENCE | ⨂ | `v-if` and `v-for` precedence when used on the same element has changed | [link](https://v3.vuejs.org/guide/migration/v-if-v-for.html) |
|
||||||
| COMPILER_V_IF_SAME_KEY | ⨂ | `v-if` branches can no longer have the same key | [link](https://v3.vuejs.org/guide/migration/key-attribute.html#on-conditional-branches) |
|
| COMPILER_V_IF_SAME_KEY | ⨂ | `v-if` branches can no longer have the same key | [link](https://v3.vuejs.org/guide/migration/key-attribute.html#on-conditional-branches) |
|
||||||
| COMPILER_V_FOR_TEMPLATE_KEY_PLACEMENT | ⨂ | `<template v-for>` key should now be placed on `<template>` | [link](https://v3.vuejs.org/guide/migration/key-attribute.html#with-template-v-for) |
|
| COMPILER_V_FOR_TEMPLATE_KEY_PLACEMENT | ⨂ | `<template v-for>` key should now be placed on `<template>` | [link](https://v3.vuejs.org/guide/migration/key-attribute.html#with-template-v-for) |
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/vuejs/vue-next.git"
|
"url": "git+https://github.com/vuejs/core.git"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"vue"
|
"vue"
|
||||||
@ -34,9 +34,9 @@
|
|||||||
"author": "Evan You",
|
"author": "Evan You",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/vuejs/vue-next/issues"
|
"url": "https://github.com/vuejs/core/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/vue-compat#readme",
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/vue-compat#readme",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"vue": "3.2.27"
|
"vue": "3.2.27"
|
||||||
}
|
}
|
||||||
|
@ -18,9 +18,9 @@ export default {
|
|||||||
message: 'test: add test for runtime-dom/modules/class (#75)',
|
message: 'test: add test for runtime-dom/modules/class (#75)',
|
||||||
tree: {
|
tree: {
|
||||||
sha: 'f53f761827af281db86c31d113086c068c1d0789',
|
sha: 'f53f761827af281db86c31d113086c068c1d0789',
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/git/trees/f53f761827af281db86c31d113086c068c1d0789'
|
url: 'https://api.github.com/repos/vuejs/core/git/trees/f53f761827af281db86c31d113086c068c1d0789'
|
||||||
},
|
},
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/git/commits/d1527fbee422c7170e56845e55b49c4fd6de72a7',
|
url: 'https://api.github.com/repos/vuejs/core/git/commits/d1527fbee422c7170e56845e55b49c4fd6de72a7',
|
||||||
comment_count: 0,
|
comment_count: 0,
|
||||||
verification: {
|
verification: {
|
||||||
verified: false,
|
verified: false,
|
||||||
@ -29,11 +29,11 @@ export default {
|
|||||||
payload: null
|
payload: null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/commits/d1527fbee422c7170e56845e55b49c4fd6de72a7',
|
url: 'https://api.github.com/repos/vuejs/core/commits/d1527fbee422c7170e56845e55b49c4fd6de72a7',
|
||||||
html_url:
|
html_url:
|
||||||
'https://github.com/vuejs/vue-next/commit/d1527fbee422c7170e56845e55b49c4fd6de72a7',
|
'https://github.com/vuejs/core/commit/d1527fbee422c7170e56845e55b49c4fd6de72a7',
|
||||||
comments_url:
|
comments_url:
|
||||||
'https://api.github.com/repos/vuejs/vue-next/commits/d1527fbee422c7170e56845e55b49c4fd6de72a7/comments',
|
'https://api.github.com/repos/vuejs/core/commits/d1527fbee422c7170e56845e55b49c4fd6de72a7/comments',
|
||||||
author: {
|
author: {
|
||||||
login: 'sodatea',
|
login: 'sodatea',
|
||||||
id: 3277634,
|
id: 3277634,
|
||||||
@ -84,9 +84,9 @@ export default {
|
|||||||
parents: [
|
parents: [
|
||||||
{
|
{
|
||||||
sha: '2383b45e322272ddc102d6914c149b284a25d04f',
|
sha: '2383b45e322272ddc102d6914c149b284a25d04f',
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/commits/2383b45e322272ddc102d6914c149b284a25d04f',
|
url: 'https://api.github.com/repos/vuejs/core/commits/2383b45e322272ddc102d6914c149b284a25d04f',
|
||||||
html_url:
|
html_url:
|
||||||
'https://github.com/vuejs/vue-next/commit/2383b45e322272ddc102d6914c149b284a25d04f'
|
'https://github.com/vuejs/core/commit/2383b45e322272ddc102d6914c149b284a25d04f'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -108,9 +108,9 @@ export default {
|
|||||||
message: 'chore: fix typo (#530) [ci skip]',
|
message: 'chore: fix typo (#530) [ci skip]',
|
||||||
tree: {
|
tree: {
|
||||||
sha: '2a5872ff8dc8ccb8121abd7e890ac3c0c9f1209f',
|
sha: '2a5872ff8dc8ccb8121abd7e890ac3c0c9f1209f',
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/git/trees/2a5872ff8dc8ccb8121abd7e890ac3c0c9f1209f'
|
url: 'https://api.github.com/repos/vuejs/core/git/trees/2a5872ff8dc8ccb8121abd7e890ac3c0c9f1209f'
|
||||||
},
|
},
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/git/commits/2383b45e322272ddc102d6914c149b284a25d04f',
|
url: 'https://api.github.com/repos/vuejs/core/git/commits/2383b45e322272ddc102d6914c149b284a25d04f',
|
||||||
comment_count: 0,
|
comment_count: 0,
|
||||||
verification: {
|
verification: {
|
||||||
verified: false,
|
verified: false,
|
||||||
@ -119,11 +119,11 @@ export default {
|
|||||||
payload: null
|
payload: null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/commits/2383b45e322272ddc102d6914c149b284a25d04f',
|
url: 'https://api.github.com/repos/vuejs/core/commits/2383b45e322272ddc102d6914c149b284a25d04f',
|
||||||
html_url:
|
html_url:
|
||||||
'https://github.com/vuejs/vue-next/commit/2383b45e322272ddc102d6914c149b284a25d04f',
|
'https://github.com/vuejs/core/commit/2383b45e322272ddc102d6914c149b284a25d04f',
|
||||||
comments_url:
|
comments_url:
|
||||||
'https://api.github.com/repos/vuejs/vue-next/commits/2383b45e322272ddc102d6914c149b284a25d04f/comments',
|
'https://api.github.com/repos/vuejs/core/commits/2383b45e322272ddc102d6914c149b284a25d04f/comments',
|
||||||
author: {
|
author: {
|
||||||
login: 'gcaaa31928',
|
login: 'gcaaa31928',
|
||||||
id: 6309392,
|
id: 6309392,
|
||||||
@ -175,9 +175,9 @@ export default {
|
|||||||
parents: [
|
parents: [
|
||||||
{
|
{
|
||||||
sha: 'e7e1314cccd1a66fcf8b8526ec21350ec16cc3ad',
|
sha: 'e7e1314cccd1a66fcf8b8526ec21350ec16cc3ad',
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/commits/e7e1314cccd1a66fcf8b8526ec21350ec16cc3ad',
|
url: 'https://api.github.com/repos/vuejs/core/commits/e7e1314cccd1a66fcf8b8526ec21350ec16cc3ad',
|
||||||
html_url:
|
html_url:
|
||||||
'https://github.com/vuejs/vue-next/commit/e7e1314cccd1a66fcf8b8526ec21350ec16cc3ad'
|
'https://github.com/vuejs/core/commit/e7e1314cccd1a66fcf8b8526ec21350ec16cc3ad'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -199,9 +199,9 @@ export default {
|
|||||||
message: 'test: fix warning',
|
message: 'test: fix warning',
|
||||||
tree: {
|
tree: {
|
||||||
sha: 'd942b17681e2e2fbbcd2ee04092390c7f2cf534d',
|
sha: 'd942b17681e2e2fbbcd2ee04092390c7f2cf534d',
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/git/trees/d942b17681e2e2fbbcd2ee04092390c7f2cf534d'
|
url: 'https://api.github.com/repos/vuejs/core/git/trees/d942b17681e2e2fbbcd2ee04092390c7f2cf534d'
|
||||||
},
|
},
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/git/commits/e7e1314cccd1a66fcf8b8526ec21350ec16cc3ad',
|
url: 'https://api.github.com/repos/vuejs/core/git/commits/e7e1314cccd1a66fcf8b8526ec21350ec16cc3ad',
|
||||||
comment_count: 0,
|
comment_count: 0,
|
||||||
verification: {
|
verification: {
|
||||||
verified: false,
|
verified: false,
|
||||||
@ -210,11 +210,11 @@ export default {
|
|||||||
payload: null
|
payload: null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/commits/e7e1314cccd1a66fcf8b8526ec21350ec16cc3ad',
|
url: 'https://api.github.com/repos/vuejs/core/commits/e7e1314cccd1a66fcf8b8526ec21350ec16cc3ad',
|
||||||
html_url:
|
html_url:
|
||||||
'https://github.com/vuejs/vue-next/commit/e7e1314cccd1a66fcf8b8526ec21350ec16cc3ad',
|
'https://github.com/vuejs/core/commit/e7e1314cccd1a66fcf8b8526ec21350ec16cc3ad',
|
||||||
comments_url:
|
comments_url:
|
||||||
'https://api.github.com/repos/vuejs/vue-next/commits/e7e1314cccd1a66fcf8b8526ec21350ec16cc3ad/comments',
|
'https://api.github.com/repos/vuejs/core/commits/e7e1314cccd1a66fcf8b8526ec21350ec16cc3ad/comments',
|
||||||
author: {
|
author: {
|
||||||
login: 'yyx990803',
|
login: 'yyx990803',
|
||||||
id: 499550,
|
id: 499550,
|
||||||
@ -266,9 +266,9 @@ export default {
|
|||||||
parents: [
|
parents: [
|
||||||
{
|
{
|
||||||
sha: '12ec62e6881f83dfa6c7f8a3c3650ec2567e6b1e',
|
sha: '12ec62e6881f83dfa6c7f8a3c3650ec2567e6b1e',
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/commits/12ec62e6881f83dfa6c7f8a3c3650ec2567e6b1e',
|
url: 'https://api.github.com/repos/vuejs/core/commits/12ec62e6881f83dfa6c7f8a3c3650ec2567e6b1e',
|
||||||
html_url:
|
html_url:
|
||||||
'https://github.com/vuejs/vue-next/commit/12ec62e6881f83dfa6c7f8a3c3650ec2567e6b1e'
|
'https://github.com/vuejs/core/commit/12ec62e6881f83dfa6c7f8a3c3650ec2567e6b1e'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -292,9 +292,9 @@ export default {
|
|||||||
message: 'chore: fix tests',
|
message: 'chore: fix tests',
|
||||||
tree: {
|
tree: {
|
||||||
sha: '6ac7bd078a6eb0ad32b5102e0c5d2c29f2b20a48',
|
sha: '6ac7bd078a6eb0ad32b5102e0c5d2c29f2b20a48',
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/git/trees/6ac7bd078a6eb0ad32b5102e0c5d2c29f2b20a48'
|
url: 'https://api.github.com/repos/vuejs/core/git/trees/6ac7bd078a6eb0ad32b5102e0c5d2c29f2b20a48'
|
||||||
},
|
},
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/git/commits/ecf4da822eea97f5db5fa769d39f994755384a4b',
|
url: 'https://api.github.com/repos/vuejs/core/git/commits/ecf4da822eea97f5db5fa769d39f994755384a4b',
|
||||||
comment_count: 0,
|
comment_count: 0,
|
||||||
verification: {
|
verification: {
|
||||||
verified: false,
|
verified: false,
|
||||||
@ -303,11 +303,11 @@ export default {
|
|||||||
payload: null
|
payload: null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/commits/ecf4da822eea97f5db5fa769d39f994755384a4b',
|
url: 'https://api.github.com/repos/vuejs/core/commits/ecf4da822eea97f5db5fa769d39f994755384a4b',
|
||||||
html_url:
|
html_url:
|
||||||
'https://github.com/vuejs/vue-next/commit/ecf4da822eea97f5db5fa769d39f994755384a4b',
|
'https://github.com/vuejs/core/commit/ecf4da822eea97f5db5fa769d39f994755384a4b',
|
||||||
comments_url:
|
comments_url:
|
||||||
'https://api.github.com/repos/vuejs/vue-next/commits/ecf4da822eea97f5db5fa769d39f994755384a4b/comments',
|
'https://api.github.com/repos/vuejs/core/commits/ecf4da822eea97f5db5fa769d39f994755384a4b/comments',
|
||||||
author: {
|
author: {
|
||||||
login: 'yyx990803',
|
login: 'yyx990803',
|
||||||
id: 499550,
|
id: 499550,
|
||||||
@ -359,9 +359,9 @@ export default {
|
|||||||
parents: [
|
parents: [
|
||||||
{
|
{
|
||||||
sha: 'ca296812d54aff123472d7147b83fddfb634d9bc',
|
sha: 'ca296812d54aff123472d7147b83fddfb634d9bc',
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/commits/ca296812d54aff123472d7147b83fddfb634d9bc',
|
url: 'https://api.github.com/repos/vuejs/core/commits/ca296812d54aff123472d7147b83fddfb634d9bc',
|
||||||
html_url:
|
html_url:
|
||||||
'https://github.com/vuejs/vue-next/commit/ca296812d54aff123472d7147b83fddfb634d9bc'
|
'https://github.com/vuejs/core/commit/ca296812d54aff123472d7147b83fddfb634d9bc'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -383,9 +383,9 @@ export default {
|
|||||||
message: 'refactor: bring back clone for reused nodes',
|
message: 'refactor: bring back clone for reused nodes',
|
||||||
tree: {
|
tree: {
|
||||||
sha: '2cec32c97686e0ee9af1b87f0abdbbbdc18b6de6',
|
sha: '2cec32c97686e0ee9af1b87f0abdbbbdc18b6de6',
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/git/trees/2cec32c97686e0ee9af1b87f0abdbbbdc18b6de6'
|
url: 'https://api.github.com/repos/vuejs/core/git/trees/2cec32c97686e0ee9af1b87f0abdbbbdc18b6de6'
|
||||||
},
|
},
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/git/commits/ca296812d54aff123472d7147b83fddfb634d9bc',
|
url: 'https://api.github.com/repos/vuejs/core/git/commits/ca296812d54aff123472d7147b83fddfb634d9bc',
|
||||||
comment_count: 0,
|
comment_count: 0,
|
||||||
verification: {
|
verification: {
|
||||||
verified: false,
|
verified: false,
|
||||||
@ -394,11 +394,11 @@ export default {
|
|||||||
payload: null
|
payload: null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/commits/ca296812d54aff123472d7147b83fddfb634d9bc',
|
url: 'https://api.github.com/repos/vuejs/core/commits/ca296812d54aff123472d7147b83fddfb634d9bc',
|
||||||
html_url:
|
html_url:
|
||||||
'https://github.com/vuejs/vue-next/commit/ca296812d54aff123472d7147b83fddfb634d9bc',
|
'https://github.com/vuejs/core/commit/ca296812d54aff123472d7147b83fddfb634d9bc',
|
||||||
comments_url:
|
comments_url:
|
||||||
'https://api.github.com/repos/vuejs/vue-next/commits/ca296812d54aff123472d7147b83fddfb634d9bc/comments',
|
'https://api.github.com/repos/vuejs/core/commits/ca296812d54aff123472d7147b83fddfb634d9bc/comments',
|
||||||
author: {
|
author: {
|
||||||
login: 'yyx990803',
|
login: 'yyx990803',
|
||||||
id: 499550,
|
id: 499550,
|
||||||
@ -450,9 +450,9 @@ export default {
|
|||||||
parents: [
|
parents: [
|
||||||
{
|
{
|
||||||
sha: 'e6be55a4989edb6f8750dbaa14eb693ec1f0d67b',
|
sha: 'e6be55a4989edb6f8750dbaa14eb693ec1f0d67b',
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/commits/e6be55a4989edb6f8750dbaa14eb693ec1f0d67b',
|
url: 'https://api.github.com/repos/vuejs/core/commits/e6be55a4989edb6f8750dbaa14eb693ec1f0d67b',
|
||||||
html_url:
|
html_url:
|
||||||
'https://github.com/vuejs/vue-next/commit/e6be55a4989edb6f8750dbaa14eb693ec1f0d67b'
|
'https://github.com/vuejs/core/commit/e6be55a4989edb6f8750dbaa14eb693ec1f0d67b'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -474,9 +474,9 @@ export default {
|
|||||||
message: 'chore: relax render type for tsx',
|
message: 'chore: relax render type for tsx',
|
||||||
tree: {
|
tree: {
|
||||||
sha: '7e2b3bb92ab91f755b2251e4a7903e6dd2042602',
|
sha: '7e2b3bb92ab91f755b2251e4a7903e6dd2042602',
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/git/trees/7e2b3bb92ab91f755b2251e4a7903e6dd2042602'
|
url: 'https://api.github.com/repos/vuejs/core/git/trees/7e2b3bb92ab91f755b2251e4a7903e6dd2042602'
|
||||||
},
|
},
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/git/commits/e6be55a4989edb6f8750dbaa14eb693ec1f0d67b',
|
url: 'https://api.github.com/repos/vuejs/core/git/commits/e6be55a4989edb6f8750dbaa14eb693ec1f0d67b',
|
||||||
comment_count: 0,
|
comment_count: 0,
|
||||||
verification: {
|
verification: {
|
||||||
verified: false,
|
verified: false,
|
||||||
@ -485,11 +485,11 @@ export default {
|
|||||||
payload: null
|
payload: null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/commits/e6be55a4989edb6f8750dbaa14eb693ec1f0d67b',
|
url: 'https://api.github.com/repos/vuejs/core/commits/e6be55a4989edb6f8750dbaa14eb693ec1f0d67b',
|
||||||
html_url:
|
html_url:
|
||||||
'https://github.com/vuejs/vue-next/commit/e6be55a4989edb6f8750dbaa14eb693ec1f0d67b',
|
'https://github.com/vuejs/core/commit/e6be55a4989edb6f8750dbaa14eb693ec1f0d67b',
|
||||||
comments_url:
|
comments_url:
|
||||||
'https://api.github.com/repos/vuejs/vue-next/commits/e6be55a4989edb6f8750dbaa14eb693ec1f0d67b/comments',
|
'https://api.github.com/repos/vuejs/core/commits/e6be55a4989edb6f8750dbaa14eb693ec1f0d67b/comments',
|
||||||
author: {
|
author: {
|
||||||
login: 'yyx990803',
|
login: 'yyx990803',
|
||||||
id: 499550,
|
id: 499550,
|
||||||
@ -541,9 +541,9 @@ export default {
|
|||||||
parents: [
|
parents: [
|
||||||
{
|
{
|
||||||
sha: 'ccc835caff0344baad3c92ce786ad4f804bf667b',
|
sha: 'ccc835caff0344baad3c92ce786ad4f804bf667b',
|
||||||
url: 'https://api.github.com/repos/vuejs/vue-next/commits/ccc835caff0344baad3c92ce786ad4f804bf667b',
|
url: 'https://api.github.com/repos/vuejs/core/commits/ccc835caff0344baad3c92ce786ad4f804bf667b',
|
||||||
html_url:
|
html_url:
|
||||||
'https://github.com/vuejs/vue-next/commit/ccc835caff0344baad3c92ce786ad4f804bf667b'
|
'https://github.com/vuejs/core/commit/ccc835caff0344baad3c92ce786ad4f804bf667b'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
const API_URL = `https://api.github.com/repos/vuejs/vue-next/commits?per_page=3&sha=`
|
const API_URL = `https://api.github.com/repos/vuejs/core/commits?per_page=3&sha=`
|
||||||
|
|
||||||
Vue.createApp({
|
Vue.createApp({
|
||||||
data: () => ({
|
data: () => ({
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
const { createApp, ref, watchEffect } = Vue
|
const { createApp, ref, watchEffect } = Vue
|
||||||
const API_URL = `https://api.github.com/repos/vuejs/vue-next/commits?per_page=3&sha=`
|
const API_URL = `https://api.github.com/repos/vuejs/core/commits?per_page=3&sha=`
|
||||||
|
|
||||||
const truncate = v => {
|
const truncate = v => {
|
||||||
const newline = v.indexOf('\n')
|
const newline = v.indexOf('\n')
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/vuejs/vue-next.git"
|
"url": "git+https://github.com/vuejs/core.git"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"vue"
|
"vue"
|
||||||
@ -62,9 +62,9 @@
|
|||||||
"author": "Evan You",
|
"author": "Evan You",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/vuejs/vue-next/issues"
|
"url": "https://github.com/vuejs/core/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/vue#readme",
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/vue#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vue/shared": "3.2.27",
|
"@vue/shared": "3.2.27",
|
||||||
"@vue/compiler-dom": "3.2.27",
|
"@vue/compiler-dom": "3.2.27",
|
||||||
|
Loading…
Reference in New Issue
Block a user