-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: move the template inside * feat: cli to create * chore: bump dependencies * fix: adapt to new esbuild api to build * chore: fix dev build for project * chore: setup automation * chore: use node 15 * docs: update i18n * feat: support the multi-window! * style: fix the lint * chore: should not pack the root github actions * refactor: revert the env support as the vite 2 change its API * docs: update i18n * docs: update the main docs * fix: correct the typing issue of the vetur
- Loading branch information
Showing
94 changed files
with
8,995 additions
and
2,744 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
const { writeFileSync, readFileSync } = require("fs"); | ||
|
||
function main(input) { | ||
const version = input('version') | ||
|
||
if (version) { | ||
const package = JSON.parse(readFileSync('./package.json')) | ||
package.version = version | ||
writeFileSync('./package.json', JSON.stringify(package, null, 2)) | ||
} | ||
} | ||
|
||
function getInput(name) { | ||
return process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || ''; | ||
} | ||
|
||
main(getInput); |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
node_modules | ||
.DS_Store | ||
dist | ||
build/* | ||
!build/icons | ||
*.local | ||
thumbs.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
node_modules | ||
.DS_Store | ||
*.local | ||
thumbs.db | ||
package-lock.json | ||
vetur.config.js | ||
docs | ||
scripts | ||
.gitignore | ||
/.github |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.