mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 23:04:04 +00:00
WIP
This commit is contained in:
parent
642136780f
commit
e4aedeb7af
3 changed files with 62 additions and 18 deletions
|
@ -1,3 +1,5 @@
|
|||
# Should be very similar to .npmignore, but the syntax is a bit different
|
||||
|
||||
/.idea
|
||||
/node_modules
|
||||
/data*
|
||||
|
@ -12,9 +14,8 @@
|
|||
**/.gitignore
|
||||
**/docker-compose*
|
||||
**/[Dd]ockerfile*
|
||||
LICENSE
|
||||
README.md
|
||||
.editorconfig
|
||||
.vs
|
||||
.vscode
|
||||
.eslint*
|
||||
.stylelint*
|
||||
|
@ -32,22 +33,15 @@ tsconfig.json
|
|||
/tmp
|
||||
/babel.config.js
|
||||
/ecosystem.config.js
|
||||
/extra/healthcheck.exe
|
||||
/extra/healthcheck
|
||||
extra/exe-builder
|
||||
/public
|
||||
|
||||
|
||||
### .gitignore content (commented rules are duplicated)
|
||||
|
||||
#node_modules
|
||||
.DS_Store
|
||||
#dist
|
||||
dist-ssr
|
||||
*.local
|
||||
#.idea
|
||||
|
||||
#/data
|
||||
#!/data/.gitkeep
|
||||
#.vscode
|
||||
|
||||
### End of .gitignore content
|
||||
# .dockerignore only, not in .npmignore
|
||||
/extra/healthcheck.exe
|
||||
/extra/healthcheck
|
||||
LICENSE
|
||||
README.md
|
||||
|
|
45
.npmignore
Normal file
45
.npmignore
Normal file
|
@ -0,0 +1,45 @@
|
|||
# Should be very similar to .dockerignore, but the syntax is a bit different
|
||||
|
||||
/.idea
|
||||
/node_modules
|
||||
/data
|
||||
/cypress
|
||||
/out
|
||||
/test
|
||||
/kubernetes
|
||||
/.do
|
||||
/.dockerignore
|
||||
/private
|
||||
/.git
|
||||
/.gitignore
|
||||
/docker-compose*
|
||||
/[Dd]ockerfile*
|
||||
.editorconfig
|
||||
.vs
|
||||
.vscode
|
||||
.eslint*
|
||||
.stylelint*
|
||||
/.devcontainer
|
||||
/.github
|
||||
yarn.lock
|
||||
app.json
|
||||
CODE_OF_CONDUCT.md
|
||||
CONTRIBUTING.md
|
||||
CNAME
|
||||
install.sh
|
||||
SECURITY.md
|
||||
tsconfig.json
|
||||
.env
|
||||
/tmp
|
||||
/babel.config.js
|
||||
/ecosystem.config.js
|
||||
extra/exe-builder
|
||||
/public
|
||||
|
||||
.DS_Store
|
||||
dist-ssr
|
||||
*.local
|
||||
|
||||
## .npmignore only, not in .dockerignore
|
||||
/docker
|
||||
/extra/healthcheck*
|
11
package.json
11
package.json
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"name": "uptime-kuma",
|
||||
"description": "Uptime Kuma is an easy-to-use self-hosted monitoring tool",
|
||||
"version": "1.23.0-beta.1",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
|
@ -13,6 +14,7 @@
|
|||
"uptime-kuma": "./extra/cli.js"
|
||||
},
|
||||
"scripts": {
|
||||
"uptime-kuma": "node ./extra/cli.js",
|
||||
"install-legacy": "npm install",
|
||||
"update-legacy": "npm update",
|
||||
"lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .",
|
||||
|
@ -58,8 +60,8 @@
|
|||
"simple-dns-server": "node extra/simple-dns-server.js",
|
||||
"simple-mqtt-server": "node extra/simple-mqtt-server.js",
|
||||
"update-language-files": "cd extra/update-language-files && node index.js && cross-env-shell eslint ../../src/languages/$npm_config_language.js --fix",
|
||||
"release-final": "node ./extra/test-docker.js && node extra/update-version.js && npm run build-docker && node ./extra/press-any-key.js && npm run upload-artifacts && node ./extra/update-wiki-version.js",
|
||||
"release-beta": "node ./extra/test-docker.js && node extra/beta/update-version.js && npm run build && node ./extra/env2arg.js docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:$VERSION -t louislam/uptime-kuma:beta . --target release --push && node ./extra/press-any-key.js && npm run upload-artifacts",
|
||||
"release-final": "node ./extra/test-docker.js && node extra/update-version.js && npm run build-docker && node ./extra/press-any-key.js && npm run upload-artifacts && node ./extra/update-wiki-version.js && npm run publish-to-npm",
|
||||
"release-beta": "node ./extra/test-docker.js && node extra/beta/update-version.js && npm run build && node ./extra/env2arg.js docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:$VERSION -t louislam/uptime-kuma:beta . --target release --push && node ./extra/press-any-key.js && npm run upload-artifacts && npm run publish-to-npm-beta",
|
||||
"git-remove-tag": "git tag -d",
|
||||
"build-dist-and-restart": "npm run build && npm run start-server-dev",
|
||||
"start-pr-test": "node extra/checkout-pr.js && npm install && npm run dev",
|
||||
|
@ -71,7 +73,10 @@
|
|||
"deploy-demo-server": "node extra/deploy-demo-server.js",
|
||||
"sort-contributors": "node extra/sort-contributors.js",
|
||||
"quick-run-nightly": "docker run --rm --env NODE_ENV=development -p 3001:3001 louislam/uptime-kuma:nightly2",
|
||||
"start-dev-container": "cd docker && docker-compose -f docker-compose-dev.yml up --force-recreate"
|
||||
"start-dev-container": "cd docker && docker-compose -f docker-compose-dev.yml up --force-recreate",
|
||||
"publish-to-npm-dev": "npm run build && npm publish --tag dev",
|
||||
"publish-to-npm-beta": "npm publish --tag beta",
|
||||
"publish-to-npm": "npm publish"
|
||||
},
|
||||
"dependencies": {
|
||||
"@grpc/grpc-js": "~1.7.3",
|
||||
|
|
Loading…
Reference in a new issue