Compare commits
12 Commits
2257e2141e
...
v1.3.9
| Author | SHA1 | Date | |
|---|---|---|---|
| 7063796e28 | |||
| f349b7b2a3 | |||
| b59084dec6 | |||
| 5c83520f01 | |||
| cc0439e26e | |||
| b5b3632f5b | |||
| d78bc303fa | |||
| df9283556b | |||
| 909f709659 | |||
| 5878331abf | |||
| 7e8e6d7058 | |||
| 469697f636 |
@@ -66,17 +66,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "registry=https://registry.npmjs.org" >> ~/.npmrc
|
echo "registry=https://registry.npmjs.org" >> ~/.npmrc
|
||||||
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc
|
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc
|
||||||
cat >> ~/.bunfig.toml << EOF
|
|
||||||
[install.scopes]
|
|
||||||
"@0kmpo" = { registry = "https://registry.npmjs.org", token = "${NODE_AUTH_TOKEN}" }
|
|
||||||
EOF
|
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
||||||
- name: Publish to npm registry
|
- name: Publish to npm registry
|
||||||
run: bun publish --access public
|
run: bun publish --access public
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
BUN_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||||
|
|
||||||
- name: Create Gitea release and upload binaries
|
- name: Create Gitea release and upload binaries
|
||||||
run: |
|
run: |
|
||||||
@@ -89,7 +85,7 @@ jobs:
|
|||||||
-d "{
|
-d "{
|
||||||
\"tag_name\": \"${GITHUB_REF_NAME}\",
|
\"tag_name\": \"${GITHUB_REF_NAME}\",
|
||||||
\"name\": \"v${VERSION}\",
|
\"name\": \"v${VERSION}\",
|
||||||
\"body\": \"## Installation\n\nDownload the binary for your platform or install via the npm registry:\n\n\`\`\`bash\nbun add -g @blas/openapi-clean-arch-generator --registry https://git.blassanto.me/api/packages/blas/npm/\n\`\`\`\",
|
\"body\": \"## Installation\n\nDownload the binary for your platform or install via the npm registry:\n\n\`\`\`bash\nbun add -g @0kmpo/openapi-clean-arch-generator\n\`\`\`\",
|
||||||
\"draft\": false,
|
\"draft\": false,
|
||||||
\"prerelease\": false
|
\"prerelease\": false
|
||||||
}" | bun -e "let d='';process.stdin.on('data',c=>d+=c).on('end',()=>console.log(JSON.parse(d).id))")
|
}" | bun -e "let d='';process.stdin.on('data',c=>d+=c).on('end',()=>console.log(JSON.parse(d).id))")
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@blas/openapi-clean-arch-generator",
|
"name": "@0kmpo/openapi-clean-arch-generator",
|
||||||
"version": "1.3.5",
|
"version": "1.3.8",
|
||||||
"description": "Angular Clean Architecture generator from OpenAPI/Swagger",
|
"description": "Angular Clean Architecture generator from OpenAPI/Swagger",
|
||||||
"main": "dist/main.js",
|
"main": "dist/main.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
@@ -39,9 +39,6 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"publishConfig": {
|
|
||||||
"registry": "https://git.blassanto.me/api/packages/blas/npm/"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chalk": "^4.1.2",
|
"chalk": "^4.1.2",
|
||||||
"commander": "^11.1.0",
|
"commander": "^11.1.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user