@tscircuit/cli 0.0.5 → 0.0.8

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # `tsck` - The TSCircuit Command Line Tool
1
+ # `tsci` - The TSCircuit Command Line Tool
2
2
 
3
3
  Command line tool for developing tscircuit projects and interacting with the
4
4
  tscircuit registry.
@@ -11,39 +11,48 @@ npm install -g @tscircuit/cli
11
11
 
12
12
  ## Usage
13
13
 
14
- The `tsck` CLI is interactive by default. You can specify the `-y` or any fully-
14
+ The `tsci` CLI is interactive by default. You can specify the `-y` or any fully-
15
15
  qualified with all required arguments to skip the interactive mode.
16
16
 
17
17
  ```bash
18
18
  # Interactively choose a command and options:
19
- tsck
19
+ tsci
20
20
 
21
21
  # Login
22
- tsck login
22
+ tsci login
23
23
 
24
24
  # Create a Project
25
- tsck init
25
+ tsci init
26
26
 
27
- # Develop a Project
28
- tsck dev # build, view and edit circuit files in browser
27
+ # Develop a Project (preview, export, and edit circuit files in browser)
28
+ tsci dev
29
29
 
30
30
  # Manage Dependencies
31
- tsck install
32
- tsck add some-package
33
- tsck remove some-package
31
+ tsci install
32
+ tsci add some-package
33
+ tsci remove some-package
34
34
 
35
- # Lint a Project
36
- tsck lint
37
- tsck lint 2024 # use 2024 tscircuit recommendations
35
+ # Publish a Project
36
+ tsci publish
37
+ ```
38
38
 
39
- # Format a Project
40
- tsck format
41
- tsck format 2024
39
+ ## Developing
42
40
 
43
- # Publish a Project
44
- tsck publish
41
+ This project is developed with [bun](https://bun.sh/), make sure you have
42
+ that installed.
45
43
 
46
- # View Your Project on Registry
47
- tsck open
48
- tsck view
49
- ```
44
+ Run `bun boostrap` to install dependencies and `bun cli.ts` to run test the cli in development.
45
+
46
+ To run tests, run `bun test`
47
+
48
+ When you're developing the dev-server, you should do the following:
49
+
50
+ 1. Run the development server with `bun start:dev-server:dev`
51
+ 2. Upload examples using `bun dev-server upload --watch ./tests/assets/example-project`
52
+ 3. Visit `http://localhost:3020` in your browser
53
+
54
+ ## Features Coming Soon
55
+
56
+ - [`tsci format`](https://github.com/tscircuit/cli/issues/1)
57
+ - [`tsci lint`](https://github.com/tscircuit/cli/issues/2)
58
+ - [`tsci open`](https://github.com/tscircuit/cli/issues/4)
package/bun.lockb CHANGED
Binary file
Binary file