This website requires JavaScript.
Explore
Help
Register
Sign In
github-mirror
/
discourse
Watch
2
Star
0
Fork
0
You've already forked discourse
mirror of
https://github.com/discourse/discourse.git
synced
2025-02-26 18:15:40 +08:00
Code
Issues
Actions
1
Packages
Projects
Releases
Wiki
Activity
discourse
/
.npmrc
3 lines
48 B
Plaintext
Raw
Normal View
History
Unescape
Escape
DEV: Prevent npm usage (#13945) We rely on yarn workspaces so we don't want people using npm in the repo by accident. Also updated the required node version to 12+. ~~Not sure about the min yarn version – the latest one could be missing in various CI-like envs, so I might change it yet.~~ Downgraded yarn to ">= 1.21.1" (the oldest of "current" versions, tagged "legacy")
2021-08-04 22:04:58 +02:00
engine-strict = true
DEV: Switch to pnpm for JS dependencies (#28671) This will bring significant improvements to install speed & storage requirements. For information on how it may affect you, see https://meta.discourse.org/t/324521 This commit: - removes the `yarn.lock` and replaces with `pnpm-lock.yaml` - updates workspaces to pnpm format - adjusts package dependencies to work with pnpm's stricter resolution strategy - updates Rails app to load modules from more specific node_modules directories - adds a `.pnpmfile` which automatically cleans up old yarn-managed `node_modules` directories - updates various scripts to call `pnpm` instead of `yarn` - updates patches to use pnpm's native patch system instead of patch-package - adds a patch for licensee to support pnpm
2024-09-03 10:51:07 +01:00
auto-install-peers = false
Reference in New Issue
Copy Permalink