Skip to content

Commit 94193ef

Browse files
Fully switch from pnpm to npm
1 parent 4d36674 commit 94193ef

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,3 @@
99
/.psa*
1010
/.spago
1111
/.cache
12-
13-
pnpm-lock.yaml

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ Follow these instructions for contributing new recipes. The Goal headers indicat
3232

3333
#### Goal 3: Implement and Submit the Recipe
3434

35-
1. Install all the tools (e.g. `purescript`, `spago`, `parcel`, `pnpm`) used in this repo by running `make installDeps`.
35+
1. Install all the tools (e.g. `purescript`, `spago`, `parcel`) used in this repo by running `make installDeps`.
3636
1. Install needed PureScript dependencies via `spago`.
3737
- Due to a [bug in Spago (#654)](https://github.com/purescript/spago/issues/654), follow these instructions:
3838
1. Change directory into your recipe folder: `cd recipes/MyRecipeName`
3939
1. Install dependencies as normal: `spago install <packageName>`
4040
1. Return to the root directory: `cd ../..`
4141
- **Note**: you can only install dependencies that exist in the latest package set release; you cannot add or override packages in `packages.dhall` (see Principles section for more contxt).
42-
1. Install needed `npm` dependencies via `npx pnpm i <packageName>`. These will be installed to the root folder's `node_modules` folder, not a corresponding folder in the recipe.
42+
1. Install needed `npm` dependencies via `npm i <packageName>`. These will be installed to the root folder's `node_modules` folder, not a corresponding folder in the recipe.
4343
- If you do install `npm` dependencies for your recipe, please state which libraries were installed in the recipe's `README.md` file.
4444
1. Implement your recipe. If you add any new modules, always start the module name with your recipe's "Unique Recipe Name" (e.g. `MyNewRecipe.Foo`, `MyNewRecipe.Module.Path.To.Cool.Types`)
4545
- Run `spago -x recipes/MyNewRecipe/spago.dhall build -w` while in the root folder for faster iteration while developing

makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,14 @@ info:
8787
> spago version
8888
> which parcel
8989
> parcel --version
90-
> which pnpm
91-
> pnpm --version
90+
> which npm
91+
> npm --version
9292

9393
# Downloads all dependencies and sets up cookbook, so that end-user doesn't
9494
# accidentally use `npm`.
9595
.PHONY: installDeps
9696
installDeps:
97-
> npm i pnpm
98-
> pnpm i
97+
> npm i
9998
> rm package-lock.json
10099

101100
# ===== Makefile - Recipe-related Commands =====

0 commit comments

Comments
 (0)