Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/cabbage9/vite
Browse files Browse the repository at this point in the history
  • Loading branch information
1wkk committed Jul 14, 2021
2 parents fea1bfd + 3e94883 commit 1a1a95a
Show file tree
Hide file tree
Showing 28 changed files with 262 additions and 162 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/lock-closed-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Lock Closed Issues

on:
schedule:
- cron: "0 0 * * *"

permissions:
issues: write

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-lock-inactive-days: "14"
issue-lock-comment: "This issue gets locked because it has been closed for more than 14 days."
issue-lock-reason: ""
process-only: "issues"
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
"ci-docs": "run-s build-vite build-plugin-vue build-docs"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.17.1",
"@types/fs-extra": "^9.0.11",
"@types/jest": "^26.0.23",
"@microsoft/api-extractor": "^7.18.1",
"@types/fs-extra": "^9.0.12",
"@types/jest": "^26.0.24",
"@types/node": "^15.12.2",
"@types/semver": "^7.3.6",
"@typescript-eslint/eslint-plugin": "^4.28.1",
"@typescript-eslint/parser": "^4.28.1",
"@types/semver": "^7.3.7",
"@typescript-eslint/eslint-plugin": "^4.28.2",
"@typescript-eslint/parser": "^4.28.2",
"chalk": "^4.1.1",
"conventional-changelog-cli": "^2.1.1",
"cross-env": "^7.0.3",
Expand All @@ -53,7 +53,7 @@
"semver": "^7.3.5",
"sirv": "^1.0.12",
"ts-jest": "^27.0.3",
"ts-node": "^10.0.0",
"ts-node": "^10.1.0",
"typescript": "^4.3.5",
"vitepress": "^0.15.6",
"yorkie": "^2.0.0"
Expand Down
5 changes: 5 additions & 0 deletions packages/create-app/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# @vitejs/create-app

## DEPRECATED

Use `npm init vite` instead
13 changes: 13 additions & 0 deletions packages/create-app/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env node
/* eslint-disable node/shebang */

const { yellow, green } = require('kolorist')
console.warn(
yellow(
`\n@vitejs/create-app is deprecated, use ${green(
'npm init vite'
)} instead\n`
)
)

require('create-vite')
33 changes: 33 additions & 0 deletions packages/create-app/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "@vitejs/create-app",
"version": "2.5.1",
"license": "MIT",
"author": "Evan You",
"files": [
"index.js"
],
"bin": {
"create-app": "index.js",
"cva": "index.js"
},
"main": "index.js",
"scripts": {
"release": "node updateVersions && node ../../scripts/release.js --skipBuild"
},
"engines": {
"node": ">=12.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vitejs/vite.git",
"directory": "packages/create-app"
},
"bugs": {
"url": "https://github.com/vitejs/vite/issues"
},
"homepage": "https://github.com/vitejs/vite/tree/main/packages/create-app#readme",
"dependencies": {
"create-vite": "latest",
"kolorist": "^1.5.0"
}
}
4 changes: 4 additions & 0 deletions packages/create-vite/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [2.5.1](https://github.com/vitejs/vite/compare/create-vite@2.5.0...create-vite@2.5.1) (2021-07-12)



# 2.5.0 (2021-07-12)

* @vitejs/create-app has been moved to create-vite, so the command to scaffold a Vite app is now shorter and easier to remember.
Expand Down
2 changes: 1 addition & 1 deletion packages/create-vite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-vite",
"version": "2.5.0",
"version": "2.5.1",
"license": "MIT",
"author": "Evan You",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion packages/create-vite/template-lit-element-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"lit-element": "^2.4.0"
},
"devDependencies": {
"vite": "^2.4.1",
"vite": "^2.4.2",
"typescript": "^4.3.2"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-lit-element/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"lit-element": "^2.4.0"
},
"devDependencies": {
"vite": "^2.4.1"
"vite": "^2.4.2"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-preact-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"devDependencies": {
"@preact/preset-vite": "^2.0.0",
"typescript": "^4.3.2",
"vite": "^2.4.1"
"vite": "^2.4.2"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
},
"devDependencies": {
"@preact/preset-vite": "^2.0.0",
"vite": "^2.4.1"
"vite": "^2.4.2"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-react-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
"@types/react-dom": "^17.0.0",
"@vitejs/plugin-react-refresh": "^1.3.1",
"typescript": "^4.3.2",
"vite": "^2.4.1"
"vite": "^2.4.2"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
},
"devDependencies": {
"@vitejs/plugin-react-refresh": "^1.3.1",
"vite": "^2.4.1"
"vite": "^2.4.2"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-svelte-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"svelte-preprocess": "^4.7.2",
"tslib": "^2.2.0",
"typescript": "^4.3.2",
"vite": "^2.4.1"
"vite": "^2.4.2"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.11",
"svelte": "^3.37.0",
"vite": "^2.4.1"
"vite": "^2.4.2"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-vanilla-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
},
"devDependencies": {
"typescript": "^4.3.2",
"vite": "^2.4.1"
"vite": "^2.4.2"
}
}
2 changes: 1 addition & 1 deletion packages/create-vite/template-vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"serve": "vite preview"
},
"devDependencies": {
"vite": "^2.4.1"
"vite": "^2.4.2"
}
}
4 changes: 2 additions & 2 deletions packages/create-vite/template-vue-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"vue": "^3.0.5"
},
"devDependencies": {
"@vitejs/plugin-vue": "^1.2.4",
"@vitejs/plugin-vue": "^1.2.5",
"@vue/compiler-sfc": "^3.0.5",
"typescript": "^4.3.2",
"vite": "^2.4.1",
"vite": "^2.4.2",
"vue-tsc": "^0.0.24"
}
}
4 changes: 2 additions & 2 deletions packages/create-vite/template-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"vue": "^3.0.5"
},
"devDependencies": {
"@vitejs/plugin-vue": "^1.2.4",
"@vitejs/plugin-vue": "^1.2.5",
"@vue/compiler-sfc": "^3.0.5",
"vite": "^2.4.1"
"vite": "^2.4.2"
}
}
9 changes: 9 additions & 0 deletions packages/plugin-legacy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [1.4.4](https://github.com/vitejs/vite/compare/plugin-legacy@1.4.3...plugin-legacy@1.4.4) (2021-07-12)


### Features

* allow entryFileNames, chunkFileNames functions for legacy ([#4122](https://github.com/vitejs/vite/issues/4122)) ([df29bff](https://github.com/vitejs/vite/commit/df29bfff44ad7f2e822f92935d0ca9c99f15b67e))



## [1.4.3](https://github.com/vitejs/vite/compare/plugin-legacy@1.4.2...plugin-legacy@1.4.3) (2021-06-27)


Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-legacy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vitejs/plugin-legacy",
"version": "1.4.3",
"version": "1.4.4",
"license": "MIT",
"author": "Evan You",
"files": [
Expand Down
4 changes: 4 additions & 0 deletions packages/plugin-vue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [1.2.5](https://github.com/vitejs/vite/compare/plugin-vue@1.2.4...plugin-vue@1.2.5) (2021-07-12)



## [1.2.4](https://github.com/vitejs/vite/compare/plugin-vue@1.2.3...plugin-vue@1.2.4) (2021-06-27)


Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vitejs/plugin-vue",
"version": "1.2.4",
"version": "1.2.5",
"license": "MIT",
"author": "Evan You",
"files": [
Expand Down
17 changes: 17 additions & 0 deletions packages/vite/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
## [2.4.2](https://github.com/vitejs/vite/compare/v2.4.1...v2.4.2) (2021-07-12)


### Bug Fixes

* __VITE_PRELOAD__ replacement error ([#4163](https://github.com/vitejs/vite/issues/4163)) ([d377aae](https://github.com/vitejs/vite/commit/d377aae05f73779869ba84c91e050fe0a9f50dce)), closes [#3051](https://github.com/vitejs/vite/issues/3051)
* shutdown process after closing server ([#4082](https://github.com/vitejs/vite/issues/4082)) ([eac779c](https://github.com/vitejs/vite/commit/eac779c3d7c306288b01a35239e9eaaa2273c1a5))
* **build:** resolve license files correctly ([#4149](https://github.com/vitejs/vite/issues/4149)) ([bf32b41](https://github.com/vitejs/vite/commit/bf32b41bc4ac89e1fd39c27fb22c3bfa0a150152))
* **utils:** add dot-all flag to match all characters, fix [#3761](https://github.com/vitejs/vite/issues/3761) ([#3780](https://github.com/vitejs/vite/issues/3780)) ([b9cdfbe](https://github.com/vitejs/vite/commit/b9cdfbeedcd74d33c30cab9d38b1a9ca6d1cd8c2))


### Features

* cache certificate ([#3642](https://github.com/vitejs/vite/issues/3642)) ([5dd670f](https://github.com/vitejs/vite/commit/5dd670f06dc2b0928771d571ce6ca5164b0db8e9))



## [2.4.1](https://github.com/vitejs/vite/compare/v2.4.0...v2.4.1) (2021-07-06)


Expand Down
10 changes: 10 additions & 0 deletions packages/vite/LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -1662,6 +1662,16 @@ License: MIT
By: Sindre Sorhus
Repository: sindresorhus/define-lazy-prop

> MIT License
>
> Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
>
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
>
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
>
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
---------------------------------------

## diff
Expand Down
22 changes: 11 additions & 11 deletions packages/vite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vite",
"version": "2.4.1",
"version": "2.4.2",
"license": "MIT",
"author": "Evan You",
"description": "Native-ESM powered web dev build tool",
Expand Down Expand Up @@ -64,17 +64,17 @@
"@rollup/plugin-node-resolve": "13.0.0",
"@rollup/plugin-typescript": "^8.2.1",
"@rollup/pluginutils": "^4.1.0",
"@types/clean-css": "^4.2.4",
"@types/convert-source-map": "^1.5.1",
"@types/clean-css": "^4.2.5",
"@types/convert-source-map": "^1.5.2",
"@types/debug": "^4.1.6",
"@types/es-module-lexer": "^0.3.0",
"@types/estree": "^0.0.49",
"@types/etag": "^1.8.0",
"@types/less": "^3.0.2",
"@types/estree": "^0.0.50",
"@types/etag": "^1.8.1",
"@types/less": "^3.0.3",
"@types/mime": "^2.0.3",
"@types/node": "^15.12.2",
"@types/resolve": "^1.20.0",
"@types/sass": "^1.16.0",
"@types/resolve": "^1.20.1",
"@types/sass": "^1.16.1",
"@types/stylus": "^0.48.36",
"@types/ws": "^7.4.6",
"@vue/compiler-dom": "^3.1.4",
Expand All @@ -96,11 +96,11 @@
"debug": "^4.3.2",
"dotenv": "^10.0.0",
"dotenv-expand": "^5.1.0",
"es-module-lexer": "^0.6.0",
"es-module-lexer": "^0.7.1",
"estree-walker": "^2.0.2",
"etag": "^1.8.1",
"execa": "^5.1.1",
"fast-glob": "^3.2.6",
"fast-glob": "^3.2.7",
"http-proxy": "^1.18.1",
"launch-editor-middleware": "^2.2.1",
"magic-string": "^0.25.7",
Expand All @@ -122,6 +122,6 @@
"terser": "^5.7.1",
"tslib": "^2.3.0",
"types": "link:./types",
"ws": "^7.5.2"
"ws": "^7.5.3"
}
}
Loading

0 comments on commit 1a1a95a

Please sign in to comment.