From 70a0dd31d0aec492b1251c4d9309097ae67d253a Mon Sep 17 00:00:00 2001 From: hemengke1997 <23536175@qq.com> Date: Thu, 26 Oct 2023 17:14:12 +0800 Subject: [PATCH] chore: deps --- .github/workflows/{ci.yml => pages.yml} | 5 +- package.json | 3 - playground/tsconfig.json | 12 +-- pnpm-lock.yaml | 125 ------------------------ 4 files changed, 5 insertions(+), 140 deletions(-) rename .github/workflows/{ci.yml => pages.yml} (88%) diff --git a/.github/workflows/ci.yml b/.github/workflows/pages.yml similarity index 88% rename from .github/workflows/ci.yml rename to .github/workflows/pages.yml index c0d4f8c..4dc99b3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/pages.yml @@ -10,7 +10,8 @@ concurrency: cancel-in-progress: true jobs: - main: + deploy: + if: "contains(github.event.head_commit.message, 'deploy')" runs-on: ubuntu-latest steps: - name: Checkout @@ -25,7 +26,7 @@ jobs: - name: Install Dependencies run: | - pnpm install --no-frozen-lockfile + pnpm install - name: Build run: | diff --git a/package.json b/package.json index dfbbf4e..2a2b73d 100644 --- a/package.json +++ b/package.json @@ -72,10 +72,7 @@ "conventional-changelog-cli": "^4.1.0", "cross-env": "^7.0.3", "eslint": "^8.51.0", - "execa": "^8.0.1", "npm-run-all": "^4.1.5", - "playwright-chromium": "^1.39.0", - "rollup": "^4.1.4", "simple-git-hooks": "^2.9.0", "taze": "^0.11.4", "tsup": "^7.2.0", diff --git a/playground/tsconfig.json b/playground/tsconfig.json index 962d5ed..7e9b745 100644 --- a/playground/tsconfig.json +++ b/playground/tsconfig.json @@ -1,20 +1,12 @@ { + "extends": "../tsconfig.json", "compilerOptions": { - "target": "ES2020", - "jsx": "preserve", - "module": "ESNext", - "moduleResolution": "Node", "baseUrl": ".", "paths": { "~utils": ["./test-utils.ts"] }, "types": ["vite/client", "node"], - "resolveJsonModule": true, - "allowJs": true, - "outDir": "dist", - "esModuleInterop": true, - "noUnusedLocals": true, - "skipLibCheck": true + "strict": false }, "include": ["."], "exclude": ["**/dist/**"] diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 71df834..0550684 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -66,18 +66,9 @@ importers: eslint: specifier: ^8.51.0 version: 8.51.0 - execa: - specifier: ^8.0.1 - version: 8.0.1 npm-run-all: specifier: ^4.1.5 version: 4.1.5 - playwright-chromium: - specifier: ^1.39.0 - version: 1.39.0 - rollup: - specifier: ^4.1.4 - version: 4.1.4 simple-git-hooks: specifier: ^2.9.0 version: 2.9.0 @@ -1358,102 +1349,6 @@ packages: engines: {node: '>=14.0.0'} dev: false - /@rollup/rollup-android-arm-eabi@4.1.4: - resolution: {integrity: sha512-WlzkuFvpKl6CLFdc3V6ESPt7gq5Vrimd2Yv9IzKXdOpgbH4cdDSS1JLiACX8toygihtH5OlxyQzhXOph7Ovlpw==} - cpu: [arm] - os: [android] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-android-arm64@4.1.4: - resolution: {integrity: sha512-D1e+ABe56T9Pq2fD+R3ybe1ylCDzu3tY4Qm2Mj24R9wXNCq35+JbFbOpc2yrroO2/tGhTobmEl2Bm5xfE/n8RA==} - cpu: [arm64] - os: [android] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-darwin-arm64@4.1.4: - resolution: {integrity: sha512-7vTYrgEiOrjxnjsgdPB+4i7EMxbVp7XXtS+50GJYj695xYTTEMn3HZVEvgtwjOUkAP/Q4HDejm4fIAjLeAfhtg==} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-darwin-x64@4.1.4: - resolution: {integrity: sha512-eGJVZScKSLZkYjhTAESCtbyTBq9SXeW9+TX36ki5gVhDqJtnQ5k0f9F44jNK5RhAMgIj0Ht9+n6HAgH0gUUyWQ==} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-linux-arm-gnueabihf@4.1.4: - resolution: {integrity: sha512-HnigYSEg2hOdX1meROecbk++z1nVJDpEofw9V2oWKqOWzTJlJf1UXVbDE6Hg30CapJxZu5ga4fdAQc/gODDkKg==} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-linux-arm64-gnu@4.1.4: - resolution: {integrity: sha512-TzJ+N2EoTLWkaClV2CUhBlj6ljXofaYzF/R9HXqQ3JCMnCHQZmQnbnZllw7yTDp0OG5whP4gIPozR4QiX+00MQ==} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-linux-arm64-musl@4.1.4: - resolution: {integrity: sha512-aVPmNMdp6Dlo2tWkAduAD/5TL/NT5uor290YvjvFvCv0Q3L7tVdlD8MOGDL+oRSw5XKXKAsDzHhUOPUNPRHVTQ==} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-linux-x64-gnu@4.1.4: - resolution: {integrity: sha512-77Fb79ayiDad0grvVsz4/OB55wJRyw9Ao+GdOBA9XywtHpuq5iRbVyHToGxWquYWlEf6WHFQQnFEttsAzboyKg==} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-linux-x64-musl@4.1.4: - resolution: {integrity: sha512-/t6C6niEQTqmQTVTD9TDwUzxG91Mlk69/v0qodIPUnjjB3wR4UA3klg+orR2SU3Ux2Cgf2pWPL9utK80/1ek8g==} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-win32-arm64-msvc@4.1.4: - resolution: {integrity: sha512-ZY5BHHrOPkMbCuGWFNpJH0t18D2LU6GMYKGaqaWTQ3CQOL57Fem4zE941/Ek5pIsVt70HyDXssVEFQXlITI5Gg==} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-win32-ia32-msvc@4.1.4: - resolution: {integrity: sha512-XG2mcRfFrJvYyYaQmvCIvgfkaGinfXrpkBuIbJrTl9SaIQ8HumheWTIwkNz2mktCKwZfXHQNpO7RgXLIGQ7HXA==} - cpu: [ia32] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /@rollup/rollup-win32-x64-msvc@4.1.4: - resolution: {integrity: sha512-ANFqWYPwkhIqPmXw8vm0GpBEHiPpqcm99jiiAp71DbCSqLDhrtr019C5vhD0Bw4My+LmMvciZq6IsWHqQpl2ZQ==} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - /@sigstore/bundle@2.1.0: resolution: {integrity: sha512-89uOo6yh/oxaU8AeOUnVrTdVMcGk9Q1hJa7Hkvalc6G3Z3CupWk4Xe9djSgJm9fMkH69s0P0cVHUoKSOemLdng==} engines: {node: ^16.14.0 || >=18.0.0} @@ -6396,26 +6291,6 @@ packages: fsevents: 2.3.3 dev: true - /rollup@4.1.4: - resolution: {integrity: sha512-U8Yk1lQRKqCkDBip/pMYT+IKaN7b7UesK3fLSTuHBoBJacCE+oBqo/dfG/gkUdQNNB2OBmRP98cn2C2bkYZkyw==} - engines: {node: '>=18.0.0', npm: '>=8.0.0'} - hasBin: true - optionalDependencies: - '@rollup/rollup-android-arm-eabi': 4.1.4 - '@rollup/rollup-android-arm64': 4.1.4 - '@rollup/rollup-darwin-arm64': 4.1.4 - '@rollup/rollup-darwin-x64': 4.1.4 - '@rollup/rollup-linux-arm-gnueabihf': 4.1.4 - '@rollup/rollup-linux-arm64-gnu': 4.1.4 - '@rollup/rollup-linux-arm64-musl': 4.1.4 - '@rollup/rollup-linux-x64-gnu': 4.1.4 - '@rollup/rollup-linux-x64-musl': 4.1.4 - '@rollup/rollup-win32-arm64-msvc': 4.1.4 - '@rollup/rollup-win32-ia32-msvc': 4.1.4 - '@rollup/rollup-win32-x64-msvc': 4.1.4 - fsevents: 2.3.3 - dev: true - /run-applescript@5.0.0: resolution: {integrity: sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==} engines: {node: '>=12'}