4 files changed
+6
-6
.github/workflows/release-npm.yml
+2
-2
@@ -82,7 +82,7 @@ jobs:
82
run: |
83
cd npm
84
# set the binary name
85
- bin="app"
85
+ bin="smbpndk-cli"
86
# derive the OS and architecture from the build matrix name
87
# note: when split by a hyphen, first part is the OS and the second is the architecture
88
node_os=$(echo "${{ matrix.build.NAME }}" | cut -d '-' -f1)
@@ -131,7 +131,7 @@ jobs:
131
- name: Publish the package
132
shell: bash
133
run: |
134
- cd npm/app
134
+ cd npm/smbpndk-cli
135
yarn install # requires optional dependencies to be present in the registry
136
yarn build
137
npm publish --access public
.github/workflows/release.yml
+1
-1
@@ -1,4 +1,4 @@
1
-name: Release
1
+name: Release to crates.io
2
3
on:
4
push:
npm/package.json.tmpl
+1
-1
@@ -1,5 +1,5 @@
1
{
2
- "name": "${node_pkg}",
2
+ "name": "@smbpndk/${node_pkg}",
3
"version": "${node_version}",
4
"os": ["${node_os}"],
5
"cpu": ["${node_arch}"]
npm/smbpndk-cli/package.json
+2
-2
@@ -1,8 +1,8 @@
1
{
2
- "name": "smbpndk-cli",
2
+ "name": "@smbpndk/cli",
3
"version": "0.1.0",
4
"bin": "lib/index.js",
5
- "description": "A CLI for the smbpndk package",
5
+ "description": "A CLI for accessing the SmbPndk platform.",
6
"license": "MIT",
7
"scripts": {
8
"typecheck": "tsc --noEmit",