@tscircuit/cli 0.0.8 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yml +35 -0
- package/bun.lockb +0 -0
- package/dist/cli.js +214 -168
- package/lib/cmd-fns/auth-logout.ts +5 -1
- package/lib/cmd-fns/config-clear.ts +5 -0
- package/lib/cmd-fns/index.ts +2 -0
- package/lib/cmd-fns/open.ts +19 -0
- package/lib/cmd-fns/publish/index.ts +23 -15
- package/lib/cmd-fns/version.ts +6 -0
- package/lib/create-config-manager.ts +89 -0
- package/lib/get-program.ts +3 -3
- package/lib/util/app-context.ts +3 -4
- package/lib/util/create-context-and-run-program.ts +28 -11
- package/package.json +11 -3
- package/tests/open.test.ts +9 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
name: Release Workflow
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
build_and_release:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
|
|
12
|
+
steps:
|
|
13
|
+
- name: Checkout code
|
|
14
|
+
uses: actions/checkout@v2
|
|
15
|
+
|
|
16
|
+
- uses: actions/setup-node@v4
|
|
17
|
+
with:
|
|
18
|
+
node-version: 20
|
|
19
|
+
registry-url: https://registry.npmjs.org/
|
|
20
|
+
|
|
21
|
+
- name: Setup bun
|
|
22
|
+
uses: oven-sh/setup-bun@v1
|
|
23
|
+
with:
|
|
24
|
+
bun-version: latest
|
|
25
|
+
|
|
26
|
+
- name: Install project dependencies
|
|
27
|
+
run: bun run bootstrap
|
|
28
|
+
|
|
29
|
+
- name: Build project
|
|
30
|
+
run: bun run build
|
|
31
|
+
|
|
32
|
+
- name: Run pver release
|
|
33
|
+
run: npx pver release
|
|
34
|
+
env:
|
|
35
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/bun.lockb
CHANGED
|
Binary file
|