]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
chore: format code [skip ci]
authorbtea <2356281422@qq.com>
Mon, 10 Mar 2025 09:43:56 +0000 (17:43 +0800)
committerCédric Exbrayat <cexbrayat@users.noreply.github.com>
Mon, 10 Mar 2025 11:03:20 +0000 (12:03 +0100)
.github/MAINTENANCE.md
.github/workflows/ci.yml
CONTRIBUTING.md
scripts/snapshot.mjs

index 26b951b93190fd372f6813524a1fc84df6377c51..6145ee4da26cd8db8928018dcd37738491c3cd1c 100644 (file)
@@ -7,5 +7,5 @@ Anyone with write access to the main branch of both this repository and [create-
 To do so, follow these steps:
 
 1. Run `pnpm version <patch|minor|major>` locally to bump the version number and create a new commit / tag. The `postversion` script will automatically push the changes to the repository.
-2. The release will be automatically published to npm by GitHub Actions once approved by an *administrator*.
+2. The release will be automatically published to npm by GitHub Actions once approved by an _administrator_.
 3. Go to <https://github.com/vuejs/create-vue/releases/new> and create a new release with the tag that was just created. Describe the notable changes in the release notes.
index bdc96c2c9497f0174ab5eec6e4390e71d3b7c483..b6806051b7dd4f9ef30222fc5d8cce00c3b83f4a 100644 (file)
@@ -46,48 +46,48 @@ jobs:
           retention-days: 3
 
   verify-scripts:
-      needs: build
-      strategy:
-        matrix:
-          node-version: [18, 20, 22]
-          os: [ubuntu-latest, windows-latest, macos-latest]
-          verification-script:
-            - pnpm --filter '!*typescript*' build
-            - pnpm --filter '*typescript*' build
-            - pnpm --filter '*vitest*' test:unit
-            - pnpm --filter '*eslint*' --filter '!*nightwatch*' lint --no-fix --max-warnings=0
-            - pnpm --filter '*prettier*' format --write --check
-            # FIXME: it's failing now
-            # - pnpm --filter '*with-tests*' test:unit
-      runs-on: ${{ matrix.os }}
-      continue-on-error: ${{ matrix.os == 'windows-latest' }}
-      env:
-        CYPRESS_INSTALL_BINARY: 0
-        CHROMEDRIVER_SKIP_DOWNLOAD: true
-      steps:
-        - uses: actions/checkout@v4
-          with:
-            submodules: true
-        - uses: pnpm/action-setup@v4
-        - uses: actions/setup-node@v4
-          with:
-            node-version: ${{ matrix.node-version }}
-            cache: 'pnpm'
-
-        # use artifacts to share the playground across different jobs
-        - uses: eviden-actions/download-artifact@v2
-          with:
-            name: build-output
-
-        - name: Install dependencies to avoid tsconfig warnings
-          run: pnpm install
-        - name: Install dependencies in playground
-          working-directory: ./playground
-          run: pnpm install --no-frozen-lockfile --ignore-scripts
-
-        - name: Run build script in playground
-          working-directory: ./playground
-          run: ${{ matrix.verification-script }}
+    needs: build
+    strategy:
+      matrix:
+        node-version: [18, 20, 22]
+        os: [ubuntu-latest, windows-latest, macos-latest]
+        verification-script:
+          - pnpm --filter '!*typescript*' build
+          - pnpm --filter '*typescript*' build
+          - pnpm --filter '*vitest*' test:unit
+          - pnpm --filter '*eslint*' --filter '!*nightwatch*' lint --no-fix --max-warnings=0
+          - pnpm --filter '*prettier*' format --write --check
+          # FIXME: it's failing now
+          # - pnpm --filter '*with-tests*' test:unit
+    runs-on: ${{ matrix.os }}
+    continue-on-error: ${{ matrix.os == 'windows-latest' }}
+    env:
+      CYPRESS_INSTALL_BINARY: 0
+      CHROMEDRIVER_SKIP_DOWNLOAD: true
+    steps:
+      - uses: actions/checkout@v4
+        with:
+          submodules: true
+      - uses: pnpm/action-setup@v4
+      - uses: actions/setup-node@v4
+        with:
+          node-version: ${{ matrix.node-version }}
+          cache: 'pnpm'
+
+      # use artifacts to share the playground across different jobs
+      - uses: eviden-actions/download-artifact@v2
+        with:
+          name: build-output
+
+      - name: Install dependencies to avoid tsconfig warnings
+        run: pnpm install
+      - name: Install dependencies in playground
+        working-directory: ./playground
+        run: pnpm install --no-frozen-lockfile --ignore-scripts
+
+      - name: Run build script in playground
+        working-directory: ./playground
+        run: ${{ matrix.verification-script }}
 
   verify-e2e:
     needs: build
index e0b65f14576b41e4e4afcaf1b3835a74c84bbc6b..3cb57eb234eb2addbcc31f4fc628d11ee1eb65dc 100644 (file)
@@ -28,7 +28,7 @@ This project should be able to run on all maintained Node.js LTS versions.
 This is ensured by GitHub Actions running the test suite on multiple Node.js versions.
 Once an LTS version reaches its end-of-life, we will drop support for it.
 
-We encourage users to use the latest *active LTS* version for development.
-Consequently, the `@tsconfig/node*` and `@types/node` dependencies used in the generated TypeScript projects are set to be in sync with the latest *active LTS* Node.js version.
+We encourage users to use the latest _active LTS_ version for development.
+Consequently, the `@tsconfig/node*` and `@types/node` dependencies used in the generated TypeScript projects are set to be in sync with the latest _active LTS_ Node.js version.
 
 The Node.js release schedule can be found at [Node.js Release Working Group](https://github.com/nodejs/release#release-schedule).
index 6359e2ed1605702b7c5fd3444ab06c547f869254..aff45ce609a9a8c4de1210b86012f579eb0b63b1 100644 (file)
@@ -28,7 +28,7 @@ const featureFlagsDenylist = [
   ['playwright', 'nightwatch'],
   ['cypress', 'nightwatch'],
   ['cypress', 'playwright', 'nightwatch'],
-  ['eslint', 'eslint-with-oxlint']
+  ['eslint', 'eslint-with-oxlint'],
 ]
 
 // The following code & comments are generated by GitHub CoPilot.