Skip to content

Commit

Permalink
chore: migrate to pnpm (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
GabsEdits authored Aug 5, 2024
1 parent 7106afa commit 6b67ad0
Show file tree
Hide file tree
Showing 6 changed files with 3,344 additions and 4,524 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4

- run: npm ci
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest

- run: pnpm install

- name: Build project
run: npm run build
run: pnpm build
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,23 +74,30 @@ CHRONOS_COLLECTION_2='[{"shortName": "handbook", "title": "Handbook", "url": "ht
# add more collections here
CHRONOS_EXTRA_LINK_1='[{"url": "https://github.com/vanilla-os/Chronos", "name": "Source Code"}]' \
# add more extra links here
npm run generate-config
```

## Development

To start the development server, run the following command:

```bash
npm run dev
pnpm dev
```

## Generate Configuration

To generate the configuration file, run the following command:

```bash
pnpm generate-config
```

## Production

To build the production version, run the following command:

```bash
npm run build
pnpm build
```

### Docker
Expand Down
Loading

0 comments on commit 6b67ad0

Please sign in to comment.