EC-21: FEAT: Added gitea packages as well

Refers: Evercatch/Evercatch-board#21
This commit is contained in:
2026-02-20 10:01:18 +00:00
parent 85e9aa9b06
commit c80250e4c2
4 changed files with 37 additions and 2 deletions

22
.npmignore Normal file
View File

@@ -0,0 +1,22 @@
# .npmignore
# Ignore Gitea/Git configurations
.gitea/
.git/
.gitignore
# Ignore Environment/Config files
.env
.env.example
# Ignore Maintenance & Repo Management files
# (Users installing the package usually don't need these)
CODEOWNERS
CONTRIBUTING.md
SECURITY.md
# Ignore Logs
npm-debug.log
*.log
# Note: NEVER ignore package.json, README.md, LICENSE, or your actual code (index.js)

9
.npmrc Normal file
View File

@@ -0,0 +1,9 @@
# .npmrc
# 1. Tell npm that @evercatch packages live on your server
@evercatch:registry=https://git.psmattas.com/api/packages/Evercatch/npm/
# 2. Set the registry for publishing
registry=https://git.psmattas.com/api/packages/Evercatch/npm/
# 3. Setup Auth using an Environment Variable
//git.psmattas.com/api/packages/Evercatch/npm/:_authToken=${GITEA_TOKEN}

View File

@@ -35,7 +35,7 @@ The final technology stack is being determined. The planned stack is as follows:
Once released, the package will be available on npm:
```bash
# This will not work until the first official release
npm install @evercatch/evercatch
npm install @evercatch/sdk
```
### Local Development

View File

@@ -12,5 +12,9 @@
"keywords": ["evercatch", "webhooks", "sdk"],
"engines": {
"node": ">=16"
}
},
"scripts": {
"publish:public": "npm publish",
"publish:gitea": "npm publish --registry=https://git.psmattas.com/api/packages/Evercatch/npm/"
}
}