EC-21: FEAT: Added gitea packages as well
Refers: Evercatch/Evercatch-board#21
This commit is contained in:
22
.npmignore
Normal file
22
.npmignore
Normal 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
9
.npmrc
Normal 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}
|
||||||
@@ -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:
|
Once released, the package will be available on npm:
|
||||||
```bash
|
```bash
|
||||||
# This will not work until the first official release
|
# This will not work until the first official release
|
||||||
npm install @evercatch/evercatch
|
npm install @evercatch/sdk
|
||||||
```
|
```
|
||||||
|
|
||||||
### Local Development
|
### Local Development
|
||||||
|
|||||||
@@ -12,5 +12,9 @@
|
|||||||
"keywords": ["evercatch", "webhooks", "sdk"],
|
"keywords": ["evercatch", "webhooks", "sdk"],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16"
|
"node": ">=16"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"publish:public": "npm publish",
|
||||||
|
"publish:gitea": "npm publish --registry=https://git.psmattas.com/api/packages/Evercatch/npm/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user