Skip to content

Commit

Permalink
chore: update repo init command
Browse files Browse the repository at this point in the history
  • Loading branch information
goosewobbler committed Jun 13, 2024
1 parent 814fde7 commit b777a2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Development and building the service locally requires [Node.JS](https://nodejs.o
To start with development, use e.g. [NVM](https://github.com/nvm-sh/nvm) to install an appropriate version of NodeJS, then [install PNPM](https://pnpm.io/installation), check out the repo with git, and run the following command:

```bash
pnpm init-dev
pnpm init-repo
```

This will initialise the repo for development, installing all sub-packages. [Husky](https://typicode.github.io/husky/) is used for git commit hooks in combination with [`lint-staged`](https://github.com/lint-staged/lint-staged).
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
},
"scripts": {
"build": "lerna run build",
"ci": "pnpm i && pnpm build && pnpm test && pnpm lint && pnpm format:check",
"ci": "pnpm init-repo && pnpm build && pnpm test && pnpm lint && pnpm format:check",
"ci:mac-universal": "lerna run build:mac-universal && pnpm test:integration:builder-cjs && pnpm test:integration:builder-esm",
"clean": "lerna run clean",
"init-dev": "pnpm i --filter=\\!fixture-\\* -r",
"init-repo": "pnpm i --filter=!\"fixture-*\" -r",
"lint": "cross-env ESLINT_USE_FLAT_CONFIG=true eslint \"**/*.{j,mj,cj,t}s\"",
"lint:fix": "cross-env ESLINT_USE_FLAT_CONFIG=true eslint \"**/*.{j,mj,cj,t}s\" --fix",
"format": "prettier --write \"**/*.{j,t}s\" \"**/*.{yml,md,json}\"",
Expand Down

0 comments on commit b777a2b

Please sign in to comment.