Rename build folder
This commit is contained in:
parent
fd3fafe8fc
commit
6576618634
@ -23,7 +23,7 @@
|
|||||||
"@typescript-eslint/no-non-null-assertion": "off"
|
"@typescript-eslint/no-non-null-assertion": "off"
|
||||||
},
|
},
|
||||||
"ignorePatterns": [
|
"ignorePatterns": [
|
||||||
"**/builds/**",
|
"**/build/**",
|
||||||
"**/dist/**",
|
"**/dist/**",
|
||||||
"**/node_modules/**",
|
"**/node_modules/**",
|
||||||
"**/scripts/**",
|
"**/scripts/**",
|
||||||
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,4 @@
|
|||||||
**/builds
|
**/build
|
||||||
node_modules
|
node_modules
|
||||||
package-lock.json
|
package-lock.json
|
||||||
zotero-cmd.json
|
zotero-cmd.json
|
@ -4,7 +4,7 @@
|
|||||||
},
|
},
|
||||||
"github": {
|
"github": {
|
||||||
"release": true,
|
"release": true,
|
||||||
"assets": ["builds/*.xpi"]
|
"assets": ["build/*.xpi"]
|
||||||
},
|
},
|
||||||
"hooks": {
|
"hooks": {
|
||||||
"after:bump": "npm run build",
|
"after:bump": "npm run build",
|
||||||
|
@ -87,7 +87,7 @@ function dateFormat(fmt, date) {
|
|||||||
async function main() {
|
async function main() {
|
||||||
const t = new Date();
|
const t = new Date();
|
||||||
const buildTime = dateFormat("YYYY-mm-dd HH:MM:SS", t);
|
const buildTime = dateFormat("YYYY-mm-dd HH:MM:SS", t);
|
||||||
const buildDir = "builds";
|
const buildDir = "build";
|
||||||
|
|
||||||
console.log(
|
console.log(
|
||||||
`[Build] BUILD_DIR=${buildDir}, VERSION=${version}, BUILD_TIME=${buildTime}, ENV=${[
|
`[Build] BUILD_DIR=${buildDir}, VERSION=${version}, BUILD_TIME=${buildTime}, ENV=${[
|
||||||
|
@ -8,5 +8,5 @@
|
|||||||
"strict": true
|
"strict": true
|
||||||
},
|
},
|
||||||
"include": ["src", "typings", "node_modules/zotero-types"],
|
"include": ["src", "typings", "node_modules/zotero-types"],
|
||||||
"exclude": ["builds", "addon"]
|
"exclude": ["build", "addon"]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user