Commit a222ec8553f9b4477a43a8f7d113b5646fbfc373
1 parent
8e410fc6
fix(mock): make sure ignore matches the file correctly, fix #745
Showing
2 changed files
with
27 additions
and
22 deletions
package.json
... | ... | @@ -100,7 +100,7 @@ |
100 | 100 | "is-ci": "^3.0.0", |
101 | 101 | "less": "^4.1.1", |
102 | 102 | "lint-staged": "^11.0.0", |
103 | - "postcss": "^8.3.0", | |
103 | + "postcss": "^8.3.1", | |
104 | 104 | "prettier": "^2.3.1", |
105 | 105 | "pretty-quick": "^3.1.0", |
106 | 106 | "rimraf": "^3.0.2", |
... | ... | @@ -111,11 +111,11 @@ |
111 | 111 | "stylelint-order": "^4.1.0", |
112 | 112 | "ts-node": "^10.0.0", |
113 | 113 | "typescript": "4.3.2", |
114 | - "vite": "2.3.3", | |
114 | + "vite": "2.3.7", | |
115 | 115 | "vite-plugin-compression": "^0.2.5", |
116 | 116 | "vite-plugin-html": "^2.0.7", |
117 | 117 | "vite-plugin-imagemin": "^0.3.2", |
118 | - "vite-plugin-mock": "^2.7.1", | |
118 | + "vite-plugin-mock": "^2.7.2", | |
119 | 119 | "vite-plugin-purge-icons": "^0.7.0", |
120 | 120 | "vite-plugin-pwa": "^0.7.3", |
121 | 121 | "vite-plugin-style-import": "^0.10.1", | ... | ... |
yarn.lock
... | ... | @@ -4237,6 +4237,11 @@ esbuild@^0.11.5: |
4237 | 4237 | resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.11.10.tgz#f5d39e4d9cc130b78d751664fef1b663240f5545" |
4238 | 4238 | integrity sha512-XvGbf+UreVFA24Tlk6sNOqNcvF2z49XAZt4E7A4H80+yqn944QOLTTxaU0lkdYNtZKFiITNea+VxmtrfjvnLPA== |
4239 | 4239 | |
4240 | +esbuild@^0.12.5: | |
4241 | + version "0.12.8" | |
4242 | + resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.12.8.tgz#ac90da77cb3bfbf49ab815200bcef7ffe1a3348f" | |
4243 | + integrity sha512-sx/LwlP/SWTGsd9G4RlOPrXnIihAJ2xwBUmzoqe2nWwbXORMQWtAGNJNYLBJJqa3e9PWvVzxdrtyFZJcr7D87g== | |
4244 | + | |
4240 | 4245 | esbuild@^0.12.6: |
4241 | 4246 | version "0.12.6" |
4242 | 4247 | resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.12.6.tgz#85bc755c7cf3005d4f34b4f10f98049ce0ee67ce" |
... | ... | @@ -8122,15 +8127,6 @@ postcss@^8.1.10: |
8122 | 8127 | nanoid "^3.1.22" |
8123 | 8128 | source-map "^0.6.1" |
8124 | 8129 | |
8125 | -postcss@^8.2.10: | |
8126 | - version "8.2.15" | |
8127 | - resolved "https://registry.npmjs.org/postcss/-/postcss-8.2.15.tgz#9e66ccf07292817d226fc315cbbf9bc148fbca65" | |
8128 | - integrity sha512-2zO3b26eJD/8rb106Qu2o7Qgg52ND5HPjcyQiK2B98O388h43A448LCslC0dI2P97wCAQRJsFvwTRcXxTKds+Q== | |
8129 | - dependencies: | |
8130 | - colorette "^1.2.2" | |
8131 | - nanoid "^3.1.23" | |
8132 | - source-map "^0.6.1" | |
8133 | - | |
8134 | 8130 | postcss@^8.3.0: |
8135 | 8131 | version "8.3.0" |
8136 | 8132 | resolved "https://registry.npmjs.org/postcss/-/postcss-8.3.0.tgz#b1a713f6172ca427e3f05ef1303de8b65683325f" |
... | ... | @@ -8140,6 +8136,15 @@ postcss@^8.3.0: |
8140 | 8136 | nanoid "^3.1.23" |
8141 | 8137 | source-map-js "^0.6.2" |
8142 | 8138 | |
8139 | +postcss@^8.3.1: | |
8140 | + version "8.3.1" | |
8141 | + resolved "https://registry.npmjs.org/postcss/-/postcss-8.3.1.tgz#71f380151c227f83b898294a46481f689f86b70a" | |
8142 | + integrity sha512-9qH0MGjsSm+fjxOi3GnwViL1otfi7qkj+l/WX5gcRGmZNGsIcqc+A5fBkE6PUobEQK4APqYVaES+B3Uti98TCw== | |
8143 | + dependencies: | |
8144 | + colorette "^1.2.2" | |
8145 | + nanoid "^3.1.23" | |
8146 | + source-map-js "^0.6.2" | |
8147 | + | |
8143 | 8148 | posthtml-parser@^0.2.0, posthtml-parser@^0.2.1: |
8144 | 8149 | version "0.2.1" |
8145 | 8150 | resolved "https://registry.npmjs.com/posthtml-parser/-/posthtml-parser-0.2.1.tgz#35d530de386740c2ba24ff2eb2faf39ccdf271dd" |
... | ... | @@ -10568,10 +10573,10 @@ vite-plugin-imagemin@^0.3.2: |
10568 | 10573 | imagemin-svgo "^8.0.0" |
10569 | 10574 | imagemin-webp "^6.0.0" |
10570 | 10575 | |
10571 | -vite-plugin-mock@^2.7.1: | |
10572 | - version "2.7.1" | |
10573 | - resolved "https://registry.npmjs.org/vite-plugin-mock/-/vite-plugin-mock-2.7.1.tgz#c7d25277f7b88158cd3927c1abee7c7721ed92d3" | |
10574 | - integrity sha512-UnYcb4UZrpe5fHBNFNEJQetnR32+XxrduTYhyDQTtXmaJ9Yy+JuBfIT6Mueyf7MGPe8T6hNgIEYaMLSUD5+nWA== | |
10576 | +vite-plugin-mock@^2.7.2: | |
10577 | + version "2.7.2" | |
10578 | + resolved "https://registry.npmjs.org/vite-plugin-mock/-/vite-plugin-mock-2.7.2.tgz#710fcbbf447d603d33de022d34f45b6a86de3613" | |
10579 | + integrity sha512-VCzJ0iHaAH04NxbBf18B5L2xCM4EE0AuYvzmLVc0ALdyz7J84uihx/L80qyaPbreDydZ2w0w3TsYbhL9D2fbHA== | |
10575 | 10580 | dependencies: |
10576 | 10581 | "@rollup/plugin-node-resolve" "^11.2.1" |
10577 | 10582 | "@types/mockjs" "^1.0.3" |
... | ... | @@ -10652,13 +10657,13 @@ vite-plugin-windicss@^1.0.3: |
10652 | 10657 | debug "^4.3.2" |
10653 | 10658 | windicss "^3.1.3" |
10654 | 10659 | |
10655 | -vite@2.3.3: | |
10656 | - version "2.3.3" | |
10657 | - resolved "https://registry.yarnpkg.com/vite/-/vite-2.3.3.tgz#7e88a71abd03985c647789938d784cce0ee3b0fd" | |
10658 | - integrity sha512-eO1iwRbn3/BfkNVMNJDeANAFCZ5NobYOFPu7IqfY7DcI7I9nFGjJIZid0EViTmLDGwwSUPmRAq3cRBbO3+DsMA== | |
10660 | +vite@2.3.7: | |
10661 | + version "2.3.7" | |
10662 | + resolved "https://registry.npmjs.org/vite/-/vite-2.3.7.tgz#3023892419367465e1af1739578f8663d04243b2" | |
10663 | + integrity sha512-Y0xRz11MPYu/EAvzN94+FsOZHbSvO6FUvHv127CyG7mV6oDoay2bw+g5y9wW3Blf8OY3chaz3nc/DcRe1IQ3Nw== | |
10659 | 10664 | dependencies: |
10660 | - esbuild "^0.11.23" | |
10661 | - postcss "^8.2.10" | |
10665 | + esbuild "^0.12.5" | |
10666 | + postcss "^8.3.0" | |
10662 | 10667 | resolve "^1.19.0" |
10663 | 10668 | rollup "^2.38.5" |
10664 | 10669 | optionalDependencies: | ... | ... |