Skip to content

Commit e79c935

Browse files
committed
react 1.0.0, typescript 1.0.1
1 parent c7a8e71 commit e79c935

37 files changed

+2956
-316
lines changed

.github/workflows/ts-npm-publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
name: Publish TS SDK to npmjs
1+
name: Publish TypeScript SDK to npmjs
22
defaults:
33
run:
44
working-directory: ts/package
55
on:
6-
release:
7-
types: [published]
6+
push:
7+
tags:
8+
- "ts-[0-9]+.[0-9]+.[0-9]+"
89
jobs:
910
build:
1011
runs-on: ubuntu-latest
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Publish React (TypeScript) SDK to npmjs
2+
defaults:
3+
run:
4+
working-directory: ts/react
5+
on:
6+
push:
7+
tags:
8+
- "ts-react-[0-9]+.[0-9]+.[0-9]+"
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
14+
id-token: write
15+
steps:
16+
- uses: actions/checkout@v4
17+
# Setup .npmrc file to publish to npm
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: "20.x"
21+
registry-url: "https://registry.npmjs.org"
22+
- run: npm ci
23+
- run: npm publish --provenance --access public
24+
env:
25+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ https://github.com/Openmesh-Network/xnode-manager/
88

99
## Supported Programming Languages And Frameworks
1010

11-
[TypeScript](./ts/package/)
11+
[TypeScript](./ts/package/)
12+
[React](./ts/react/)
1213

1314
## Versioning
1415

ts/package/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Xnode Manager TypeScript SDK
2+
3+
TypeScript Software Development Kit for interacting with Xnode Manager.
4+
5+
## Related Repos
6+
7+
https://github.com/Openmesh-Network/xnode-manager/
8+
9+
## Versioning
10+
11+
Follows the xnode-manager Major and Minor version, Patch version is independent.

0 commit comments

Comments
 (0)