Commit 090c76ba20357e3d1153952f928ee9deb4884edc

Authored by Vben
1 parent f0ae146c

chore: vite version downgrade

.github/workflows/ftp-schedule.yml
@@ -25,17 +25,17 @@ jobs: @@ -25,17 +25,17 @@ jobs:
25 with: 25 with:
26 node-version: '14.x' 26 node-version: '14.x'
27 27
28 - # - name: Get yarn cache  
29 - # id: yarn-cache  
30 - # run: echo "::set-output name=dir::$(yarn cache dir)"  
31 -  
32 - # - name: Cache dependencies  
33 - # uses: actions/cache@v2  
34 - # with:  
35 - # path: ${{ steps.yarn-cache.outputs.dir }}  
36 - # key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}  
37 - # restore-keys: |  
38 - # ${{ runner.os }}-yarn- 28 + - name: Get yarn cache
  29 + id: yarn-cache
  30 + run: echo "::set-output name=dir::$(yarn cache dir)"
  31 +
  32 + - name: Cache dependencies
  33 + uses: actions/cache@v2
  34 + with:
  35 + path: ${{ steps.yarn-cache.outputs.dir }}
  36 + key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
  37 + restore-keys: |
  38 + ${{ runner.os }}-yarn-
39 39
40 - name: Build 40 - name: Build
41 run: | 41 run: |
package.json
@@ -110,7 +110,7 @@ @@ -110,7 +110,7 @@
110 "stylelint-order": "^4.1.0", 110 "stylelint-order": "^4.1.0",
111 "ts-node": "^9.1.1", 111 "ts-node": "^9.1.1",
112 "typescript": "4.2.4", 112 "typescript": "4.2.4",
113 - "vite": "2.2.1", 113 + "vite": "2.1.5",
114 "vite-plugin-compression": "^0.2.4", 114 "vite-plugin-compression": "^0.2.4",
115 "vite-plugin-html": "^2.0.7", 115 "vite-plugin-html": "^2.0.7",
116 "vite-plugin-imagemin": "^0.3.0", 116 "vite-plugin-imagemin": "^0.3.0",
yarn.lock
@@ -9307,10 +9307,10 @@ vite-plugin-windicss@0.15.2: @@ -9307,10 +9307,10 @@ vite-plugin-windicss@0.15.2:
9307 debug "^4.3.2" 9307 debug "^4.3.2"
9308 windicss "^2.5.14" 9308 windicss "^2.5.14"
9309 9309
9310 -vite@2.2.1:  
9311 - version "2.2.1"  
9312 - resolved "https://registry.npmjs.org/vite/-/vite-2.2.1.tgz#90c481f69371f32867d86a6a623bb064b876ad3d"  
9313 - integrity sha512-KIqK90EoJJpuqE86Y9DSkZjFNGgsyZX/4I1xENIitLRd3hgRtOlIGCJYrNnBD9/eqipz0OroAiIj9/R1JcOdFA== 9310 +vite@2.1.5:
  9311 + version "2.1.5"
  9312 + resolved "https://registry.npmjs.org/vite/-/vite-2.1.5.tgz#4857da441c62f7982c83cbd5f42a00330f20c9c1"
  9313 + integrity sha512-tYU5iaYeUgQYvK/CNNz3tiJ8vYqPWfCE9IQ7K0iuzYovWw7lzty7KRYGWwV3CQPh0NKxWjOczAqiJsCL0Xb+Og==
9314 dependencies: 9314 dependencies:
9315 esbuild "^0.9.3" 9315 esbuild "^0.9.3"
9316 postcss "^8.2.1" 9316 postcss "^8.2.1"