]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: remove non-function-related changes from vapor branch
authorEvan You <evan@vuejs.org>
Mon, 11 Nov 2024 14:45:34 +0000 (22:45 +0800)
committerEvan You <evan@vuejs.org>
Mon, 9 Dec 2024 01:03:43 +0000 (09:03 +0800)
34 files changed:
.github/FUNDING.yml
.github/ISSUE_TEMPLATE/bug_report.yml [new file with mode: 0644]
.github/ISSUE_TEMPLATE/config.yml [new file with mode: 0644]
.github/workflows/canary-minor.yml [new file with mode: 0644]
.github/workflows/canary.yml [new file with mode: 0644]
.github/workflows/ci.yml
.github/workflows/close-cant-reproduce-issues.yml
.github/workflows/ecosystem-ci-trigger.yml [new file with mode: 0644]
.github/workflows/lock-closed-issues.yml
.github/workflows/release.yml [new file with mode: 0644]
.github/workflows/size-data.yml
.github/workflows/size-report.yml
.github/workflows/test.yml
.vscode/settings.json
README.md
package.json
packages-private/sfc-playground/index.html
packages-private/sfc-playground/src/App.vue
packages-private/sfc-playground/src/Header.vue
packages-private/template-explorer/src/options.ts
packages/compiler-core/package.json
packages/compiler-dom/package.json
packages/compiler-sfc/package.json
packages/compiler-ssr/package.json
packages/compiler-vapor/package.json
packages/reactivity/package.json
packages/runtime-core/package.json
packages/runtime-dom/package.json
packages/runtime-test/package.json
packages/runtime-vapor/package.json
packages/server-renderer/package.json
packages/shared/package.json
packages/vue-compat/package.json
packages/vue/package.json

index 98c4c6d9bdf7fbc5099f5f917aad03475eb004dc..9288efdb9acb595d600bf5b668b15779bb265585 100644 (file)
@@ -1,2 +1,2 @@
-github: [yyx990803, sxzz]
+github: yyx990803
 open_collective: vuejs
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644 (file)
index 0000000..95e0ca7
--- /dev/null
@@ -0,0 +1,74 @@
+name: "\U0001F41E Bug report"
+description: Create a report to help us improve
+body:
+  - type: markdown
+    attributes:
+      value: |
+        **Before You Start...**
+
+        This form is only for submitting bug reports. If you have a usage question
+        or are unsure if this is really a bug, make sure to:
+
+        - Read the [docs](https://vuejs.org/)
+        - Ask on [Discord Chat](https://chat.vuejs.org/)
+        - Ask on [GitHub Discussions](https://github.com/vuejs/core/discussions)
+        - Look for / ask questions on [Stack Overflow](https://stackoverflow.com/questions/ask?tags=vue.js)
+
+        Also try to search for your issue - it may have already been answered or even fixed in the development branch.
+        However, if you find that an old, closed issue still persists in the latest version,
+        you should open a new issue using the form below instead of commenting on the old issue.
+  - type: input
+    id: version
+    attributes:
+      label: Vue version
+    validations:
+      required: true
+  - type: input
+    id: reproduction-link
+    attributes:
+      label: Link to minimal reproduction
+      description: |
+        The easiest way to provide a reproduction is by showing the bug in [The SFC Playground](https://play.vuejs.org/).
+        If it cannot be reproduced in the playground and requires a proper build setup, try [StackBlitz](https://vite.new/vue).
+        If neither of these are suitable, you can always provide a GitHub repository.
+
+        The reproduction should be **minimal** - i.e. it should contain only the bare minimum amount of code needed
+        to show the bug. See [Bug Reproduction Guidelines](https://github.com/vuejs/core/blob/main/.github/bug-repro-guidelines.md) for more details.
+
+        Please do not just fill in a random link. The issue will be closed if no valid reproduction is provided.
+      placeholder: Reproduction Link
+    validations:
+      required: true
+  - type: textarea
+    id: steps-to-reproduce
+    attributes:
+      label: Steps to reproduce
+      description: |
+        What do we need to do after opening your repro in order to make the bug happen? Clear and concise reproduction instructions are important for us to be able to triage your issue in a timely manner. Note that you can use [Markdown](https://guides.github.com/features/mastering-markdown/) to format lists and code.
+      placeholder: Steps to reproduce
+    validations:
+      required: true
+  - type: textarea
+    id: expected
+    attributes:
+      label: What is expected?
+    validations:
+      required: true
+  - type: textarea
+    id: actually-happening
+    attributes:
+      label: What is actually happening?
+    validations:
+      required: true
+  - type: textarea
+    id: system-info
+    attributes:
+      label: System Info
+      description: Output of `npx envinfo --system --npmPackages vue --binaries --browsers`
+      render: shell
+      placeholder: System, Binaries, Browsers
+  - type: textarea
+    id: additional-comments
+    attributes:
+      label: Any additional comments?
+      description: e.g. some background/context of how you ran into this bug.
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644 (file)
index 0000000..02f99c6
--- /dev/null
@@ -0,0 +1,17 @@
+blank_issues_enabled: false
+contact_links:
+  - name: Feature Request
+    url: https://github.com/vuejs/rfcs/discussions
+    about: Suggest new features for consideration
+  - name: Discord Chat
+    url: https://chat.vuejs.org
+    about: Ask questions and discuss with other Vue users in real time.
+  - name: Questions & Discussions
+    url: https://github.com/vuejs/core/discussions
+    about: Use GitHub discussions for message-board style questions and discussions.
+  - name: Patreon
+    url: https://www.patreon.com/evanyou
+    about: Love Vue.js? Please consider supporting us via Patreon.
+  - name: Open Collective
+    url: https://opencollective.com/vuejs/donate
+    about: Love Vue.js? Please consider supporting us via Open Collective.
diff --git a/.github/workflows/canary-minor.yml b/.github/workflows/canary-minor.yml
new file mode 100644 (file)
index 0000000..b5d75b9
--- /dev/null
@@ -0,0 +1,33 @@
+name: canary minor release
+on:
+  # Runs every Monday at 1 AM UTC (9:00 AM in Singapore)
+  schedule:
+    - cron: 0 1 * * MON
+  workflow_dispatch:
+
+jobs:
+  canary:
+    # prevents this action from running on forks
+    if: github.repository == 'vuejs/core'
+    runs-on: ubuntu-latest
+    environment: Release
+    steps:
+      - uses: actions/checkout@v4
+        with:
+          ref: minor
+
+      - name: Install pnpm
+        uses: pnpm/action-setup@v4.0.0
+
+      - name: Install Node.js
+        uses: actions/setup-node@v4
+        with:
+          node-version-file: '.node-version'
+          registry-url: 'https://registry.npmjs.org'
+          cache: 'pnpm'
+
+      - run: pnpm install
+
+      - run: pnpm release --canary --publish --tag minor
+        env:
+          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml
new file mode 100644 (file)
index 0000000..bb62272
--- /dev/null
@@ -0,0 +1,31 @@
+name: canary release
+on:
+  # Runs every Monday at 1 AM UTC (9:00 AM in Singapore)
+  schedule:
+    - cron: 0 1 * * MON
+  workflow_dispatch:
+
+jobs:
+  canary:
+    # prevents this action from running on forks
+    if: github.repository == 'vuejs/core'
+    runs-on: ubuntu-latest
+    environment: Release
+    steps:
+      - uses: actions/checkout@v4
+
+      - name: Install pnpm
+        uses: pnpm/action-setup@v4.0.0
+
+      - name: Install Node.js
+        uses: actions/setup-node@v4
+        with:
+          node-version-file: '.node-version'
+          registry-url: 'https://registry.npmjs.org'
+          cache: 'pnpm'
+
+      - run: pnpm install
+
+      - run: pnpm release --canary --publish
+        env:
+          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
index fdbcd4cac56e257618b49d7c0ac9d2b9bc3849f0..c8c217f62c463c353ecb63785e6ecc599ae2cd8f 100644 (file)
@@ -14,3 +14,29 @@ jobs:
   test:
     if: ${{ ! startsWith(github.event.head_commit.message, 'release:') && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository) }}
     uses: ./.github/workflows/test.yml
+
+  continuous-release:
+    if: github.repository == 'vuejs/core'
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v4
+
+      - name: Install pnpm
+        uses: pnpm/action-setup@v4
+
+      - name: Install Node.js
+        uses: actions/setup-node@v4
+        with:
+          node-version-file: '.node-version'
+          registry-url: 'https://registry.npmjs.org'
+          cache: 'pnpm'
+
+      - name: Install deps
+        run: pnpm install
+
+      - name: Build
+        run: pnpm build --withTypes
+
+      - name: Release
+        run: pnpx pkg-pr-new publish --compact --pnpm './packages/*'
index 90a3b0406b1d9aeb5c700e16a2035ea24b6ec136..8fb48f842d8dce3f7a23ce6cb7f9d3b12ded81d7 100644 (file)
@@ -9,7 +9,7 @@ permissions:
 
 jobs:
   close-issues:
-    if: github.repository == 'vuejs/vue-vapor'
+    if: github.repository == 'vuejs/core'
     runs-on: ubuntu-latest
     steps:
       - name: can't reproduce
diff --git a/.github/workflows/ecosystem-ci-trigger.yml b/.github/workflows/ecosystem-ci-trigger.yml
new file mode 100644 (file)
index 0000000..b3e963e
--- /dev/null
@@ -0,0 +1,90 @@
+name: ecosystem-ci trigger
+
+on:
+  issue_comment:
+    types: [created]
+
+jobs:
+  trigger:
+    runs-on: ubuntu-latest
+    if: github.repository == 'vuejs/core' && github.event.issue.pull_request && startsWith(github.event.comment.body, '/ecosystem-ci run')
+    steps:
+      - name: Check user permission
+        uses: actions/github-script@v7
+        with:
+          script: |
+            const user = context.payload.sender.login
+            console.log(`Validate user: ${user}`)
+
+            let isVuejsMember = false
+            try {
+              const { status } = await github.rest.orgs.checkMembershipForUser({
+                org: 'vuejs',
+                username: user
+              });
+
+              isVuejsMember = (status === 204)
+            } catch (e) {}
+
+            if (isVuejsMember) {
+              console.log('Allowed')
+              await github.rest.reactions.createForIssueComment({
+                owner: context.repo.owner,
+                repo: context.repo.repo,
+                comment_id: context.payload.comment.id,
+                content: '+1',
+              })
+            } else {
+              console.log('Not allowed')
+              await github.rest.reactions.createForIssueComment({
+                owner: context.repo.owner,
+                repo: context.repo.repo,
+                comment_id: context.payload.comment.id,
+                content: '-1',
+              })
+              throw new Error('not allowed')
+            }
+      - name: Get PR info
+        uses: actions/github-script@v7
+        id: get-pr-data
+        with:
+          script: |
+            console.log(`Get PR info: ${context.repo.owner}/${context.repo.repo}#${context.issue.number}`)
+            const { data: pr } = await github.rest.pulls.get({
+              owner: context.repo.owner,
+              repo: context.repo.repo,
+              pull_number: context.issue.number
+            })
+            return {
+              num: context.issue.number,
+              branchName: pr.head.ref,
+              repo: pr.head.repo.full_name,
+              commit: pr.head.sha
+            }
+      - name: Trigger run
+        uses: actions/github-script@v7
+        id: trigger
+        env:
+          COMMENT: ${{ github.event.comment.body }}
+        with:
+          github-token: ${{ secrets.ECOSYSTEM_CI_ACCESS_TOKEN }}
+          result-encoding: string
+          script: |
+            const comment = process.env.COMMENT.trim()
+            const prData = ${{ steps.get-pr-data.outputs.result }}
+
+            const suite = comment.replace(/^\/ecosystem-ci run/, '').trim()
+
+            await github.rest.actions.createWorkflowDispatch({
+              owner: context.repo.owner,
+              repo: 'ecosystem-ci',
+              workflow_id: 'ecosystem-ci-from-pr.yml',
+              ref: 'main',
+              inputs: {
+                prNumber: '' + prData.num,
+                branchName: prData.branchName,
+                repo: prData.repo,
+                suite: suite === '' ? '-' : suite,
+                commit: prData.commit
+              }
+            })
index cbb47c08e371334e0fdbc7396ddcbc8411d9daf2..68a7d6c7a1576d12e0c42dd3919abca5913e155f 100644 (file)
@@ -9,7 +9,7 @@ permissions:
 
 jobs:
   action:
-    if: github.repository == 'vuejs/vue-vapor'
+    if: github.repository == 'vuejs/core'
     runs-on: ubuntu-latest
     steps:
       - uses: dessant/lock-threads@v5
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644 (file)
index 0000000..c260a72
--- /dev/null
@@ -0,0 +1,55 @@
+name: Release
+
+on:
+  push:
+    tags:
+      - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
+
+jobs:
+  test:
+    uses: ./.github/workflows/test.yml
+
+  release:
+    # prevents this action from running on forks
+    if: github.repository == 'vuejs/core'
+    needs: [test]
+    runs-on: ubuntu-latest
+    permissions:
+      contents: write
+      id-token: write
+    # Use Release environment for deployment protection
+    environment: Release
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v4
+
+      - name: Install pnpm
+        uses: pnpm/action-setup@v4
+
+      - name: Install Node.js
+        uses: actions/setup-node@v4
+        with:
+          node-version-file: '.node-version'
+          registry-url: 'https://registry.npmjs.org'
+          cache: 'pnpm'
+
+      - name: Install deps
+        run: pnpm install
+
+      - name: Build and publish
+        id: publish
+        run: |
+          pnpm release --publishOnly
+        env:
+          NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
+
+      - name: Create GitHub release
+        id: release_tag
+        uses: yyx990803/release-tag@master
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+        with:
+          tag_name: ${{ github.ref }}
+          body: |
+            For stable releases, please refer to [CHANGELOG.md](https://github.com/vuejs/core/blob/main/CHANGELOG.md) for details.
+            For pre-releases, please refer to [CHANGELOG.md](https://github.com/vuejs/core/blob/minor/CHANGELOG.md) of the `minor` branch.
index 78da7e931c82a3dcb08645c379b8c3e0a04d79bf..7f8bf7b08caa7010e899a2fb79b4df5def930710 100644 (file)
@@ -18,7 +18,7 @@ env:
 
 jobs:
   upload:
-    if: github.repository == 'vuejs/vue-vapor'
+    if: github.repository == 'vuejs/core'
     runs-on: ubuntu-latest
 
     steps:
@@ -38,17 +38,6 @@ jobs:
 
       - run: pnpm run size
 
-      - name: Download Previous Size Data
-        uses: dawidd6/action-download-artifact@v2
-        if: ${{ github.event_name == 'push' }}
-        with:
-          branch: main
-          workflow: size-data.yml
-          event: push
-          name: size-data
-          path: temp/size-prev
-          if_no_artifact_found: warn
-
       - name: Save PR number & base branch
         if: ${{github.event_name == 'pull_request'}}
         run: |
index 7e763e15758b31473d3364ce257ec69fa3e49124..f9d2052b69c8683a0b2624cd2248bac1cc9031a0 100644 (file)
@@ -18,7 +18,7 @@ jobs:
   size-report:
     runs-on: ubuntu-latest
     if: >
-      github.repository == 'vuejs/vue-vapor' &&
+      github.repository == 'vuejs/core' &&
       github.event.workflow_run.event == 'pull_request' &&
       github.event.workflow_run.conclusion == 'success'
     steps:
index bc5beb5ecdc7d7858a692df249cc9a13581258af..70dc82248134f1a28afc3bfcbb9c7106055efbbb 100644 (file)
@@ -27,8 +27,8 @@ jobs:
       - name: Run unit tests
         run: pnpm run test-unit
 
-  lint-and-test-dts:
-    runs-on: ubuntu-latest
+  unit-test-windows:
+    runs-on: windows-latest
     env:
       PUPPETEER_SKIP_DOWNLOAD: 'true'
     steps:
@@ -45,40 +45,64 @@ jobs:
 
       - run: pnpm install
 
-      - name: Run eslint
-        run: pnpm run lint
+      - name: Run compiler unit tests
+        run: pnpm run test-unit compiler
 
-      - name: Run prettier
-        run: pnpm run format-check
+      - name: Run ssr unit tests
+        run: pnpm run test-unit server-renderer
 
-      - name: Run type declaration tests
-        run: pnpm run test-dts
+  e2e-test:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v4
+
+      - name: Setup cache for Chromium binary
+        uses: actions/cache@v4
+        with:
+          path: ~/.cache/puppeteer
+          key: chromium-${{ hashFiles('pnpm-lock.yaml') }}
+
+      - name: Install pnpm
+        uses: pnpm/action-setup@v4.0.0
 
-  continuous-release:
-    if: github.repository == 'vuejs/vue-vapor'
+      - name: Install Node.js
+        uses: actions/setup-node@v4
+        with:
+          node-version-file: '.node-version'
+          cache: 'pnpm'
+
+      - run: pnpm install
+      - run: node node_modules/puppeteer/install.mjs
+
+      - name: Run e2e tests
+        run: pnpm run test-e2e
+
+      - name: verify treeshaking
+        run: node scripts/verify-treeshaking.js
+
+  lint-and-test-dts:
     runs-on: ubuntu-latest
-    permissions:
-      contents: read
-      id-token: write
+    env:
+      PUPPETEER_SKIP_DOWNLOAD: 'true'
     steps:
-      - name: Checkout
-        uses: actions/checkout@v4
+      - uses: actions/checkout@v4
 
       - name: Install pnpm
-        uses: pnpm/action-setup@v4
+        uses: pnpm/action-setup@v4.0.0
 
       - name: Install Node.js
         uses: actions/setup-node@v4
         with:
           node-version-file: '.node-version'
-          registry-url: 'https://registry.npmjs.org'
           cache: 'pnpm'
 
-      - name: Install deps
-        run: pnpm install
+      - run: pnpm install
 
-      - name: Build
-        run: pnpm build --withTypes
+      - name: Run eslint
+        run: pnpm run lint
 
-      - name: Release
-        run: pnpx pkg-pr-new publish --pnpm './packages/*' --template './playground'
+      - name: Run prettier
+        run: pnpm run format-check
+
+      - name: Run type declaration tests
+        run: pnpm run test-dts
index 9e6f6c9fb73ce3464d289a15a9f96cd16d13793c..302428290b9aae64b68641a30fd64cea8c225eaf 100644 (file)
@@ -5,7 +5,6 @@
   "cSpell.enabledLanguageIds": ["markdown", "plaintext", "text", "yml"],
 
   // Use prettier to format typescript, javascript and JSON files
-  "editor.formatOnSave": true,
   "[typescript]": {
     "editor.defaultFormatter": "esbenp.prettier-vscode"
   },
index c9bba93724f12d49383244c1d45048ca7c038a9a..afe5711e8bc88129cb089f0ddd2526b96b26d445 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,31 +1,12 @@
-# Vue Vapor
+# vuejs/core [![npm](https://img.shields.io/npm/v/vue.svg)](https://www.npmjs.com/package/vue) [![build status](https://github.com/vuejs/core/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/vuejs/core/actions/workflows/ci.yml) [![Download](https://img.shields.io/npm/dm/vue)](https://www.npmjs.com/package/vue)
 
-This repository is a fork of [vuejs/core](https://github.com/vuejs/core) and is used for research and development of no virtual dom mode.
+## Getting Started
 
-- [Vapor Playground](https://vapor-repl.netlify.app/)
-- [Vapor Template Explorer](https://vapor-template-explorer.netlify.app/)
-
-## Vue Vapor Team
-
-- [Evan You](https://github.com/yyx990803) - Creator of Vue.js and Vue Vapor.
-- [Kevin Deng 三咲智子](https://github.com/sxzz) - Creator Vue Vapor.
-- [Rizumu Ayaka](https://github.com/LittleSound) - Active contributor.
-- [Ubugeeei](https://github.com/Ubugeeei) - Active contributor.
-- [Doctor Wu](https://github.com/doctor-wu) - Active contributor.
+Please follow the documentation at [vuejs.org](https://vuejs.org/)!
 
 ## Sponsors
 
-Vue Vapor is an MIT-licensed open source project with its ongoing development made possible entirely by the support of these amazing sponsors and [Vue's backers](https://github.com/vuejs/core/blob/main/BACKERS.md). If you'd like to join them, please consider [sponsoring Kevin Deng](https://github.com/sponsors/sxzz) or [supporting Vue's development](https://vuejs.org/sponsor).
-
-<p align="center">
-  <h3 align="center">Kevin Deng's Sponsors</h3>
-</p>
-
-<p align="center">
-  <a href="https://cdn.jsdelivr.net/gh/sxzz/sponsors/sponsors.svg">
-    <img src='https://cdn.jsdelivr.net/gh/sxzz/sponsors/sponsors.svg'/>
-  </a>
-</p>
+Vue.js is an MIT-licensed open source project with its ongoing development made possible entirely by the support of these awesome [backers](https://github.com/vuejs/core/blob/main/BACKERS.md). If you'd like to join them, please consider [ sponsoring Vue's development](https://vuejs.org/sponsor/).
 
 <p align="center">
   <h3 align="center">Special Sponsor</h3>
@@ -43,10 +24,30 @@ Vue Vapor is an MIT-licensed open source project with its ongoing development ma
   </a>
 </p>
 
+## Questions
+
+For questions and support please use [the official forum](https://forum.vuejs.org) or [community chat](https://chat.vuejs.org/). The issue list of this repo is **exclusively** for bug reports and feature requests.
+
+## Issues
+
+Please make sure to respect issue requirements and use [the new issue helper](https://new-issue.vuejs.org/) when opening an issue. Issues not conforming to the guidelines may be closed immediately.
+
+## Stay In Touch
+
+- [Twitter](https://twitter.com/vuejs)
+- [Blog](https://blog.vuejs.org/)
+- [Job Board](https://vuejobs.com/?ref=vuejs)
+
+## Contribution
+
+Please make sure to read the [Contributing Guide](https://github.com/vuejs/core/blob/main/.github/contributing.md) before making a pull request. If you have a Vue-related project/component/tool, add it with a pull request to [this curated list](https://github.com/vuejs/awesome-vue)!
+
+Thank you to all the people who already contributed to Vue!
+
+<a href="https://github.com/vuejs/core/graphs/contributors"><img src="https://opencollective.com/vuejs/contributors.svg?width=890" /></a>
+
 ## License
 
 [MIT](https://opensource.org/licenses/MIT)
 
-Copyright (c) 2024-present, Kevin Deng 三咲智子
-
 Copyright (c) 2013-present, Yuxi (Evan) You
index 8dd04ee5240b2847d56b46955baf2eb018b39cb4..157e99fec12898bd4489ff726d1d4ec0bb7435ef 100644 (file)
@@ -45,7 +45,8 @@
     "postinstall": "simple-git-hooks"
   },
   "simple-git-hooks": {
-    "pre-commit": "pnpm lint-staged"
+    "pre-commit": "pnpm lint-staged && pnpm check",
+    "commit-msg": "node scripts/verify-commit.js"
   },
   "lint-staged": {
     "*.{js,json}": [
index 6e8684562d36f0be07d03264952f40a8fab43a62..3a21d956cd697486166011520e6cf93bea3f20f9 100644 (file)
@@ -5,7 +5,7 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <link rel="icon" type="image/svg" href="/logo.svg" />
-    <title>Vue Vapor SFC Playground</title>
+    <title>Vue SFC Playground</title>
     <script>
       const savedPreferDark = localStorage.getItem(
         'vue-sfc-playground-prefer-dark',
index 683d581afa6381fe754c44d7bcbbbd718af64ac0..2d4069318ae9557840579ce7197d3f3d30443e64 100644 (file)
@@ -10,7 +10,6 @@ import {
 } from '@vue/repl'
 import Monaco from '@vue/repl/monaco-editor'
 import { ref, watchEffect, onMounted, computed, watch } from 'vue'
-import welcomeSFC from './welcome.vue?raw'
 
 const replRef = ref<InstanceType<typeof Repl>>()
 
@@ -98,9 +97,6 @@ const store = useStore(
     vueVersion,
     builtinImportMap: importMap,
     sfcOptions,
-    template: ref({
-      welcomeSFC: welcomeSFC,
-    }),
   },
   hash,
 )
index a413f76ef1337894cf7af5608a2fe60f82b702c2..ce18ecae9e9ba961adbce207b49c3b09ed1461cd 100644 (file)
@@ -72,7 +72,7 @@ function toggleDark() {
   <nav>
     <h1>
       <img alt="logo" src="/logo.svg" />
-      <span>Vue Vapor SFC Playground</span>
+      <span>Vue SFC Playground</span>
     </h1>
     <div class="links">
       <VersionSelect
index 9f217dd29fedeedf014a14b24dfac67534d52242..341e885c083ac10603c19bd0a23a17bf3b7fbd72 100644 (file)
@@ -40,11 +40,11 @@ const App = {
         compilerOptions.prefixIdentifiers || compilerOptions.mode === 'module'
 
       return [
-        h('h1', `Vue Vapor Template Explorer`),
+        h('h1', `Vue Template Explorer`),
         h(
           'a',
           {
-            href: `https://github.com/vuejs/vue-vapor/tree/${__COMMIT__}`,
+            href: `https://github.com/vuejs/vue/tree/${__COMMIT__}`,
             target: `_blank`,
           },
           `@${__COMMIT__}`,
index dca8d8ce6847265164e28146e216716f5995750f..d2f474c5983c55339c61d57e2299a5e4283728e6 100644 (file)
@@ -33,7 +33,7 @@
   },
   "repository": {
     "type": "git",
-    "url": "git+https://github.com/vuejs/vue-vapor.git",
+    "url": "git+https://github.com/vuejs/core.git",
     "directory": "packages/compiler-core"
   },
   "keywords": [
@@ -42,9 +42,9 @@
   "author": "Evan You",
   "license": "MIT",
   "bugs": {
-    "url": "https://github.com/vuejs/vue-vapor/issues"
+    "url": "https://github.com/vuejs/core/issues"
   },
-  "homepage": "https://github.com/vuejs/vue-vapor/tree/main/packages/compiler-core#readme",
+  "homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-core#readme",
   "dependencies": {
     "@babel/parser": "catalog:",
     "@vue/shared": "workspace:*",
index 4eee01bee7c954760470aad5a47985aacf8a8ab3..1be062a2722387c5b17ce34016b5af385bf21d16 100644 (file)
@@ -38,7 +38,7 @@
   },
   "repository": {
     "type": "git",
-    "url": "git+https://github.com/vuejs/vue-vapor.git",
+    "url": "git+https://github.com/vuejs/core.git",
     "directory": "packages/compiler-dom"
   },
   "keywords": [
@@ -47,9 +47,9 @@
   "author": "Evan You",
   "license": "MIT",
   "bugs": {
-    "url": "https://github.com/vuejs/vue-vapor/issues"
+    "url": "https://github.com/vuejs/core/issues"
   },
-  "homepage": "https://github.com/vuejs/vue-vapor/tree/main/packages/compiler-dom#readme",
+  "homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-dom#readme",
   "dependencies": {
     "@vue/shared": "workspace:*",
     "@vue/compiler-core": "workspace:*"
index df28fb54c30fecfe13d259e09b69a64943ce4ea9..d6db266314e5f83466f766d62cd1444d8e9f4a3d 100644 (file)
@@ -29,7 +29,7 @@
   },
   "repository": {
     "type": "git",
-    "url": "git+https://github.com/vuejs/vue-vapor.git",
+    "url": "git+https://github.com/vuejs/core.git",
     "directory": "packages/compiler-sfc"
   },
   "keywords": [
@@ -38,9 +38,9 @@
   "author": "Evan You",
   "license": "MIT",
   "bugs": {
-    "url": "https://github.com/vuejs/vue-vapor/issues"
+    "url": "https://github.com/vuejs/core/issues"
   },
-  "homepage": "https://github.com/vuejs/vue-vapor/tree/main/packages/compiler-sfc#readme",
+  "homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-sfc#readme",
   "dependencies": {
     "@babel/parser": "catalog:",
     "@vue/compiler-core": "workspace:*",
index e8dbbaa1d4bd8e22772419c60b9d106d93e1a86f..289e3ff05d1adcae66f0620ca317ffab252bb783 100644 (file)
@@ -15,7 +15,7 @@
   },
   "repository": {
     "type": "git",
-    "url": "git+https://github.com/vuejs/vue-vapor.git",
+    "url": "git+https://github.com/vuejs/core.git",
     "directory": "packages/compiler-ssr"
   },
   "keywords": [
@@ -24,9 +24,9 @@
   "author": "Evan You",
   "license": "MIT",
   "bugs": {
-    "url": "https://github.com/vuejs/vue-vapor/issues"
+    "url": "https://github.com/vuejs/core/issues"
   },
-  "homepage": "https://github.com/vuejs/vue-vapor/tree/main/packages/compiler-ssr#readme",
+  "homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-ssr#readme",
   "dependencies": {
     "@vue/shared": "workspace:*",
     "@vue/compiler-dom": "workspace:*"
index d46a1ab7ef512071a9710a6ec0e07344dea1c0fd..3d7a942f68ec6296a31a99a4aa45a1fed3e4688d 100644 (file)
@@ -30,7 +30,7 @@
   },
   "repository": {
     "type": "git",
-    "url": "git+https://github.com/vuejs/vue-vapor.git",
+    "url": "git+https://github.com/vuejs/core.git",
     "directory": "packages/compiler-vapor"
   },
   "keywords": [
@@ -39,9 +39,9 @@
   "author": "Evan You",
   "license": "MIT",
   "bugs": {
-    "url": "https://github.com/vuejs/vue-vapor/issues"
+    "url": "https://github.com/vuejs/core/issues"
   },
-  "homepage": "https://github.com/vuejs/vue-vapor/tree/main/packages/compiler-vapor#readme",
+  "homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-vapor#readme",
   "dependencies": {
     "@vue/compiler-dom": "workspace:*",
     "@vue/shared": "workspace:*",
index 5aa831e7de97b88c67ce2eb8491d0bb348cc8492..4ef3171176f9d227e6dca213045f8ed306bc33df 100644 (file)
@@ -28,7 +28,7 @@
   "sideEffects": false,
   "repository": {
     "type": "git",
-    "url": "git+https://github.com/vuejs/vue-vapor.git",
+    "url": "git+https://github.com/vuejs/core.git",
     "directory": "packages/reactivity"
   },
   "buildOptions": {
@@ -46,9 +46,9 @@
   "author": "Evan You",
   "license": "MIT",
   "bugs": {
-    "url": "https://github.com/vuejs/vue-vapor/issues"
+    "url": "https://github.com/vuejs/core/issues"
   },
-  "homepage": "https://github.com/vuejs/vue-vapor/tree/main/packages/reactivity#readme",
+  "homepage": "https://github.com/vuejs/core/tree/main/packages/reactivity#readme",
   "dependencies": {
     "@vue/shared": "workspace:*"
   }
index 947d129a68e60aa7436e184db10473a8c6dc7e67..db842c9161446056f61d3673db6294b73ebe6e27 100644 (file)
@@ -33,7 +33,7 @@
   "sideEffects": false,
   "repository": {
     "type": "git",
-    "url": "git+https://github.com/vuejs/vue-vapor.git",
+    "url": "git+https://github.com/vuejs/core.git",
     "directory": "packages/runtime-core"
   },
   "keywords": [
@@ -42,9 +42,9 @@
   "author": "Evan You",
   "license": "MIT",
   "bugs": {
-    "url": "https://github.com/vuejs/vue-vapor/issues"
+    "url": "https://github.com/vuejs/core/issues"
   },
-  "homepage": "https://github.com/vuejs/vue-vapor/tree/main/packages/runtime-core#readme",
+  "homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme",
   "dependencies": {
     "@vue/shared": "workspace:*",
     "@vue/reactivity": "workspace:*"
index f6b4089f964f75766bc93481f5efb55305403459..32146dac01d18d2797a73a69da38fd9c7b95d09a 100644 (file)
@@ -36,7 +36,7 @@
   },
   "repository": {
     "type": "git",
-    "url": "git+https://github.com/vuejs/vue-vapor.git",
+    "url": "git+https://github.com/vuejs/core.git",
     "directory": "packages/runtime-dom"
   },
   "keywords": [
@@ -45,9 +45,9 @@
   "author": "Evan You",
   "license": "MIT",
   "bugs": {
-    "url": "https://github.com/vuejs/vue-vapor/issues"
+    "url": "https://github.com/vuejs/core/issues"
   },
-  "homepage": "https://github.com/vuejs/vue-vapor/tree/main/packages/runtime-dom#readme",
+  "homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-dom#readme",
   "dependencies": {
     "@vue/shared": "workspace:*",
     "@vue/runtime-core": "workspace:*",
index dd08aee59f4d71f63860ba566711c1509af3aa7e..c0586a8a24f512331ddce15d46e22666afa5b385 100644 (file)
@@ -12,7 +12,7 @@
   ],
   "repository": {
     "type": "git",
-    "url": "git+https://github.com/vuejs/vue-vapor.git",
+    "url": "git+https://github.com/vuejs/core.git",
     "directory": "packages/runtime-test"
   },
   "keywords": [
@@ -21,9 +21,9 @@
   "author": "Evan You",
   "license": "MIT",
   "bugs": {
-    "url": "https://github.com/vuejs/vue-vapor/issues"
+    "url": "https://github.com/vuejs/core/issues"
   },
-  "homepage": "https://github.com/vuejs/vue-vapor/tree/main/packages/runtime-test#readme",
+  "homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-test#readme",
   "dependencies": {
     "@vue/shared": "workspace:*",
     "@vue/runtime-core": "workspace:*"
index a76d78f18805ac41588aad1b12555a57a5721f3c..ae7659625f30387bb19f7f511b958a5200964ee8 100644 (file)
@@ -19,7 +19,7 @@
   },
   "repository": {
     "type": "git",
-    "url": "git+https://github.com/vuejs/vue-vapor.git",
+    "url": "git+https://github.com/vuejs/core.git",
     "directory": "packages/runtime-vapor"
   },
   "keywords": [
@@ -28,9 +28,9 @@
   "author": "Evan You",
   "license": "MIT",
   "bugs": {
-    "url": "https://github.com/vuejs/vue-vapor/issues"
+    "url": "https://github.com/vuejs/core/issues"
   },
-  "homepage": "https://github.com/vuejs/vue-vapor/tree/dev/packages/runtime-vapor#readme",
+  "homepage": "https://github.com/vuejs/core/tree/dev/packages/runtime-vapor#readme",
   "dependencies": {
     "@vue/shared": "workspace:*",
     "@vue/reactivity": "workspace:*"
index d6ebca7b54b94de993de749229925d4cd30124cb..439972d74aa6d81e5691826a7f95bb82ec2ffc28 100644 (file)
@@ -33,7 +33,7 @@
   },
   "repository": {
     "type": "git",
-    "url": "git+https://github.com/vuejs/vue-vapor.git",
+    "url": "git+https://github.com/vuejs/core.git",
     "directory": "packages/server-renderer"
   },
   "keywords": [
@@ -42,9 +42,9 @@
   "author": "Evan You",
   "license": "MIT",
   "bugs": {
-    "url": "https://github.com/vuejs/vue-vapor/issues"
+    "url": "https://github.com/vuejs/core/issues"
   },
-  "homepage": "https://github.com/vuejs/vue-vapor/tree/main/packages/server-renderer#readme",
+  "homepage": "https://github.com/vuejs/core/tree/main/packages/server-renderer#readme",
   "peerDependencies": {
     "vue": "workspace:*"
   },
index d98e25e34319490a8a33e921dbc9c960d7c7a953..cf673804d220ecaa1bd77f41d7aba20e5cb5cac2 100644 (file)
@@ -32,7 +32,7 @@
   },
   "repository": {
     "type": "git",
-    "url": "git+https://github.com/vuejs/vue-vapor.git",
+    "url": "git+https://github.com/vuejs/core.git",
     "directory": "packages/shared"
   },
   "keywords": [
@@ -41,7 +41,7 @@
   "author": "Evan You",
   "license": "MIT",
   "bugs": {
-    "url": "https://github.com/vuejs/vue-vapor/issues"
+    "url": "https://github.com/vuejs/core/issues"
   },
-  "homepage": "https://github.com/vuejs/vue-vapor/tree/main/packages/shared#readme"
+  "homepage": "https://github.com/vuejs/core/tree/main/packages/shared#readme"
 }
index b46b6f8ad5bc3722ac470d7db3064e98318f7d8f..33c6e2f0c58d8dccd3129cac90feda6d79291214 100644 (file)
@@ -40,7 +40,7 @@
   },
   "repository": {
     "type": "git",
-    "url": "git+https://github.com/vuejs/vue-vapor.git"
+    "url": "git+https://github.com/vuejs/core.git"
   },
   "keywords": [
     "vue"
@@ -48,9 +48,9 @@
   "author": "Evan You",
   "license": "MIT",
   "bugs": {
-    "url": "https://github.com/vuejs/vue-vapor/issues"
+    "url": "https://github.com/vuejs/core/issues"
   },
-  "homepage": "https://github.com/vuejs/vue-vapor/tree/main/packages/vue-compat#readme",
+  "homepage": "https://github.com/vuejs/core/tree/main/packages/vue-compat#readme",
   "dependencies": {
     "@babel/parser": "catalog:",
     "estree-walker": "catalog:",
index 2465184b653dfb225b2bade1116ec9b398fb65f5..b434379d01913cecbcf7e4402badaf3a8ea75fcf 100644 (file)
@@ -84,7 +84,7 @@
   },
   "repository": {
     "type": "git",
-    "url": "git+https://github.com/vuejs/vue-vapor.git"
+    "url": "git+https://github.com/vuejs/vue.git"
   },
   "keywords": [
     "vue"
@@ -92,9 +92,9 @@
   "author": "Evan You",
   "license": "MIT",
   "bugs": {
-    "url": "https://github.com/vuejs/vue-vapor/issues"
+    "url": "https://github.com/vuejs/vue/issues"
   },
-  "homepage": "https://github.com/vuejs/vue-vapor/tree/main/packages/vue#readme",
+  "homepage": "https://github.com/vuejs/vue/tree/main/packages/vue#readme",
   "dependencies": {
     "@vue/shared": "workspace:*",
     "@vue/compiler-dom": "workspace:*",