Switch from npm to pnpm (#127)

* Switch from npm to pnpm
Remove npm lock file and Volta config; add packageManager and engines

* Update CONTRIBUTING to use pnpm
This commit is contained in:
Luke Harris 2025-06-02 12:46:19 -05:00 committed by GitHub
parent 0d10c127ab
commit 065101797e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 1187 additions and 1996 deletions

View file

@ -67,8 +67,8 @@ When transitioning from a default state to one of the above states, the relevant
Here's one way to work the theme:
+ Fork or clone the repository
+ From your terminal, `cd` to the repository
+ Run `npm install`
+ Run `npm run build`
+ Run `pnpm install`
+ Run `pnpm run build`
+ You will now be able to see the compiled SASS under `dist/`
+ Symlink the `dist/catppuccin.css` file to your Obsidian vault's `.obsidian/snippets` directory using `ln dist/catppuccin.css /path/to/your/vault/.obsidian/snippets/catppuccin.css`
+ Enable the snippet in Obsidian's settings

1991
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -18,9 +18,10 @@
"url": "https://github.com/catppuccin/obsidian/issues"
},
"homepage": "https://github.com/catppuccin/obsidian#readme",
"volta": {
"node": "23.4.0",
"npm": "10.9.2"
"packageManager": "pnpm@10.11.0",
"engines": {
"node": ">=23.0.0",
"pnpm": ">=10.11.0"
},
"dependencies": {
"sass": "^1.80.6"

1179
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load diff

2
pnpm-workspace.yaml Normal file
View file

@ -0,0 +1,2 @@
onlyBuiltDependencies:
- '@parcel/watcher'