Skip to content

Commit 1e35e77

Browse files
authored
Merge pull request withfig#75 from withfig/brendan/integrateFigSettings
feat: migrate to typescript, ease dev workflow and integrate fig settings
2 parents 586bbe2 + ffa31f4 commit 1e35e77

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+67
-25618
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,18 @@ You can do that by running
5050
fig settings devAutocompleteFolder $(pwd)/specs
5151
```
5252

53-
Now you will need to toggle fig`s dev mode by invoking
53+
Now you can invoke
5454

5555
```sh
56-
fig settings developerMode true
56+
npm run dev
5757
```
58-
This command disabled spec caching and will load the specs from the `devAutocompleteFolder` instead of `.fig/autocomplete`.
5958

60-
Now you only need to run
61-
```sh
62-
npm run watch
63-
```
64-
which will compile the scripts from the `dev` folder as you change them.
59+
This command disables spec caching and will load the specs from the `devAutocompleteFolder` instead of `.fig/autocomplete`.
60+
61+
it will also compile the scripts from the `dev` folder as you change them.
62+
63+
This means you can change a spec in the dev folder and instantly try out the new spec in your terminal.
64+
6565
## Using the specs locally
6666
In order to use the the specs locally you first need to compile them.
6767
You can do that by running

dev/brew.ts

-223
This file was deleted.

dev/cargo.ts

-78
This file was deleted.

dev/cat.ts

-8
This file was deleted.

dev/cd.ts

-21
This file was deleted.

dev/cdk.ts

-25
This file was deleted.

0 commit comments

Comments
 (0)