Browse Source

chore: vite version downgrade

pull/525/head
Vben 5 years ago
parent
commit
090c76ba20
  1. 22
      .github/workflows/ftp-schedule.yml
  2. 2
      package.json
  3. 8
      yarn.lock

22
.github/workflows/ftp-schedule.yml

@ -25,17 +25,17 @@ jobs:
with:
node-version: '14.x'
# - name: Get yarn cache
# id: yarn-cache
# run: echo "::set-output name=dir::$(yarn cache dir)"
# - name: Cache dependencies
# uses: actions/cache@v2
# with:
# path: ${{ steps.yarn-cache.outputs.dir }}
# key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
# restore-keys: |
# ${{ runner.os }}-yarn-
- name: Get yarn cache
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Build
run: |

2
package.json

@ -110,7 +110,7 @@
"stylelint-order": "^4.1.0",
"ts-node": "^9.1.1",
"typescript": "4.2.4",
"vite": "2.2.1",
"vite": "2.1.5",
"vite-plugin-compression": "^0.2.4",
"vite-plugin-html": "^2.0.7",
"vite-plugin-imagemin": "^0.3.0",

8
yarn.lock

@ -9307,10 +9307,10 @@ vite-plugin-windicss@0.15.2:
debug "^4.3.2"
windicss "^2.5.14"
vite@2.2.1:
version "2.2.1"
resolved "https://registry.npmjs.org/vite/-/vite-2.2.1.tgz#90c481f69371f32867d86a6a623bb064b876ad3d"
integrity sha512-KIqK90EoJJpuqE86Y9DSkZjFNGgsyZX/4I1xENIitLRd3hgRtOlIGCJYrNnBD9/eqipz0OroAiIj9/R1JcOdFA==
vite@2.1.5:
version "2.1.5"
resolved "https://registry.npmjs.org/vite/-/vite-2.1.5.tgz#4857da441c62f7982c83cbd5f42a00330f20c9c1"
integrity sha512-tYU5iaYeUgQYvK/CNNz3tiJ8vYqPWfCE9IQ7K0iuzYovWw7lzty7KRYGWwV3CQPh0NKxWjOczAqiJsCL0Xb+Og==
dependencies:
esbuild "^0.9.3"
postcss "^8.2.1"

Loading…
Cancel
Save