Rename build folder

This commit is contained in:
Northword 2023-07-01 18:04:36 +08:00
parent fd3fafe8fc
commit 6576618634
5 changed files with 5 additions and 5 deletions

View File

@ -23,7 +23,7 @@
"@typescript-eslint/no-non-null-assertion": "off"
},
"ignorePatterns": [
"**/builds/**",
"**/build/**",
"**/dist/**",
"**/node_modules/**",
"**/scripts/**",

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
**/builds
**/build
node_modules
package-lock.json
zotero-cmd.json

View File

@ -4,7 +4,7 @@
},
"github": {
"release": true,
"assets": ["builds/*.xpi"]
"assets": ["build/*.xpi"]
},
"hooks": {
"after:bump": "npm run build",

View File

@ -87,7 +87,7 @@ function dateFormat(fmt, date) {
async function main() {
const t = new Date();
const buildTime = dateFormat("YYYY-mm-dd HH:MM:SS", t);
const buildDir = "builds";
const buildDir = "build";
console.log(
`[Build] BUILD_DIR=${buildDir}, VERSION=${version}, BUILD_TIME=${buildTime}, ENV=${[

View File

@ -8,5 +8,5 @@
"strict": true
},
"include": ["src", "typings", "node_modules/zotero-types"],
"exclude": ["builds", "addon"]
"exclude": ["build", "addon"]
}