mirror of
https://github.com/catppuccin/obsidian.git
synced 2026-07-22 03:10:26 +00:00
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:
parent
0d10c127ab
commit
065101797e
5 changed files with 1187 additions and 1996 deletions
|
|
@ -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
1991
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -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
1179
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load diff
2
pnpm-workspace.yaml
Normal file
2
pnpm-workspace.yaml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
onlyBuiltDependencies:
|
||||
- '@parcel/watcher'
|
||||
Loading…
Reference in a new issue