Skip to content

Commit

Permalink
worksapce config README init III
Browse files Browse the repository at this point in the history
  • Loading branch information
benemmaofficial committed Oct 7, 2024
1 parent 6d6e31e commit c12f79d
Showing 1 changed file with 22 additions and 13 deletions.
35 changes: 22 additions & 13 deletions packages/config/workspace-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,59 +51,68 @@ To use this base configuration in your workspace:
> package
- ? Which workspace should "your-replaced-name" start from? (Use arrow keys)
packages

```
@inspatial/eslint-config
@inspatial/tsconfig
@inspatial/tailwind-config

> @inspatial/workspace-config
> @inspatial/kit
> @inspatial/utils
@inspatial/kit
@inspatial/utils
```

- make sure to select `@inspatial/workspace-config` as the base workspace

- Add workspace dependencies to "hooks"? (Y/n)
- ? Which packages should be added as dependencies to "hooks? (Press <space> to select, <a> to toggle
all, <i> to invert selection, and <enter> to proceed)
packages

```
( ) @inspatial/eslint-config
( ) @inspatial/tsconfig
( ) @inspatial/tailwind-config
( ) @inspatial/workspace-config
(\*) @inspatial/kit

> (\*) @inspatial/utils
(*) @inspatial/kit
(*) @inspatial/utils
```

- ? Which packages should be added as devDependencies to "hooks? (Press <space> to select, <a> to
toggle all, <i> to invert selection, and <enter> to proceed)
packages

> (_) @inspatial/eslint-config
> (_) @inspatial/tsconfig
> (\*) @inspatial/tailwind-config
```
> ( ) @inspatial/eslint-config
> ( ) @inspatial/tsconfig
> (*) @inspatial/tailwind-config
> ( ) @inspatial/workspace-config
> ( ) @inspatial/kit
> ( ) @inspatial/utils
```

- ? Which packages should be added as peerDependencies to "hooks? (Press <space> to select, <a> to
toggle all, <i> to invert selection, and <enter> to proceed)
packages

```
> ( ) @inspatial/eslint-config
> ( ) @inspatial/tsconfig
> ( ) @inspatial/workspace-config
> ( ) @inspatial/kit
> ( ) @inspatial/kit-button
> ( ) @inspatial/utils
> (*) @inspatial/utils
```

> > > Success! Created hooks at "your-destination-path"
- > > > Success! Created hooks at "your-destination-path"
````
- Finally navigate to your workspace and run `pnpm install` to install the dependencies
#### Extend the InSpatial Base Workspace Config:
```bash
turbo gen workspace --name replace-me --copy packages/config/workspace-config --destination packages/replace-me
```
````

---

Expand Down

0 comments on commit c12f79d

Please sign in to comment.