Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 16 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
tags:
- 'v*'

permissions:
contents: write
packages: write

jobs:
release:
name: Create Release
Expand All @@ -21,7 +25,8 @@ jobs:
with:
node-version: '20.x'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
registry-url: 'https://npm.pkg.github.com'
scope: '@techdivision'

- name: Install dependencies
run: npm ci
Expand Down Expand Up @@ -70,28 +75,27 @@ jobs:
## Installation

```bash
npm install git+ssh://git@github.com:techdivision/appsheet.git#${{ github.ref_name }}
echo "@techdivision:registry=https://npm.pkg.github.com" >> .npmrc
npm install @techdivision/appsheet@${{ steps.version.outputs.VERSION }}
```
draft: false
prerelease: ${{ contains(github.ref, '-alpha') || contains(github.ref, '-beta') || contains(github.ref, '-rc') }}

- name: Publish to npm
- name: Publish to GitHub Packages
if: "!contains(github.ref, '-')"
run: npm publish --access public
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
continue-on-error: true
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish pre-release to npm
- name: Publish pre-release to GitHub Packages
if: contains(github.ref, '-alpha') || contains(github.ref, '-beta') || contains(github.ref, '-rc')
run: |
if [[ "${{ github.ref }}" == *"-alpha"* ]]; then
npm publish --access public --tag alpha
npm publish --tag alpha
elif [[ "${{ github.ref }}" == *"-beta"* ]]; then
npm publish --access public --tag beta
npm publish --tag beta
elif [[ "${{ github.ref }}" == *"-rc"* ]]; then
npm publish --access public --tag rc
npm publish --tag rc
fi
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
continue-on-error: true
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 TechDivision GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@techdivision/appsheet",
"version": "3.5.0",
"version": "3.5.1",
"description": "Generic TypeScript library for AppSheet CRUD operations",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -36,8 +36,15 @@
"typescript",
"mcp"
],
"author": "",
"author": "TechDivision GmbH",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/techdivision/appsheet.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"devDependencies": {
"@types/jest": "^29.0.0",
"@types/node": "^20.0.0",
Expand Down
Loading