More correct and comprehensive `zip` excludes

Add package.json with addons-linter installed.
This commit is contained in:
Sage Vaillancourt 2024-06-30 10:55:14 -04:00
parent 8f1f87a5b0
commit e951b475cc
4 changed files with 2976 additions and 2 deletions

View File

@ -1,5 +1,5 @@
all: *.json *.js img/* *.md *.txt
zip -r bitbucket-fork-redirect.zip * -x .git/* -x server/* -x img/screenshot.png -x .gitignore -x Makefile
zip -r bitbucket-fork-redirect.zip * -x '.git/*' -x 'server/*' -x 'node_modules/*' -x img/screenshot.png -x .gitignore -x Makefile
clean:
rm *.zip

View File

@ -26,7 +26,6 @@
"matches": ["*://git.add123.com/*"],
"js": [
"utils.js",
"all-ADD-repos.js",
"backtick-comments.js",
"csharp-quotes.js",
"file-scroll.js",

2957
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

18
package.json Normal file
View File

@ -0,0 +1,18 @@
{
"name": "pail",
"version": "1.0.0",
"description": "An extension with a few convenience features for bitbucket server",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "make all && addons-linter bitbucket-fork-redirect.zip"
},
"repository": {
"type": "git",
"url": "https://git.sagev.space/sage/Pail.git"
},
"author": "Sage Vaillancourt",
"license": "ISC",
"devDependencies": {
"addons-linter": "^6.31.1"
}
}