Skip to content

Commit

Permalink
docs: dir restructure & development guide
Browse files Browse the repository at this point in the history
  • Loading branch information
nyarthan committed Mar 4, 2024
1 parent 0d3f136 commit 51496bf
Show file tree
Hide file tree
Showing 16 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,27 @@ Install dependencies:
```sh
pnpm i
```

## Architecture

This repository is a _monorepo_ powered by [pnpm workspaces](https://pnpm.io/workspaces) & [Turborepo](https://turbo.build/repo/docs).

You can find the different _projects_ in the directories:

- [./examples](./examples)
- [./examples/standalone](./examples/standalone) contains an example for using `css2tailwind` in a single repository
- [./css2tailwind](./css2tailwind) contains the source code for the `css2tailwind` tool

## Developing

After making changes in [./css2tailwind](./css2tailwind), you must build the CLI.

```sh
pnpm -F @titanom/css2tailwind build
```

Then you can use it with any of the examples, e.g. with `standalone`.

```sh
pnpm -F @css2tw/standalone dev
```
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
packages:
- 'examples/*'
- 'packages/*'
- 'css2tailwind'

0 comments on commit 51496bf

Please sign in to comment.