Update package version to 0.1.3 and modify GitHub Actions workflow to use 'npm run build' and correct package scope

This commit is contained in:
anonpenguin23 2025-10-22 09:21:48 +03:00
parent 4459fc6c49
commit dab820bb25
2 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ jobs:
run: npm install --frozen-lockfile run: npm install --frozen-lockfile
- name: Build SDK - name: Build SDK
run: npm build run: npm run build
- name: Publish to npm - name: Publish to npm
run: npm publish --access public run: npm publish --access public
@ -45,13 +45,13 @@ jobs:
with: with:
node-version: '18' node-version: '18'
registry-url: 'https://npm.pkg.github.com' registry-url: 'https://npm.pkg.github.com'
scope: '@network' scope: 'network-ts-sdk'
- name: Install dependencies - name: Install dependencies
run: npm install --frozen-lockfile run: npm install --frozen-lockfile
- name: Build SDK - name: Build SDK
run: npm build run: npm run build
- name: Publish to GitHub Packages - name: Publish to GitHub Packages
run: npm publish run: npm publish

View File

@ -1,6 +1,6 @@
{ {
"name": "network-ts-sdk", "name": "network-ts-sdk",
"version": "0.1.2", "version": "0.1.3",
"description": "TypeScript SDK for DeBros Network Gateway", "description": "TypeScript SDK for DeBros Network Gateway",
"type": "module", "type": "module",
"main": "./dist/index.js", "main": "./dist/index.js",