Logo
Explore Help
Sign In
discourse/discourse
1
0
Fork 0
You've already forked discourse
mirror of https://github.com/discourse/discourse.git synced 2025-06-04 17:32:20 +00:00
Code Issues Packages Projects Releases Wiki Activity
discourse/.npmrc

3 lines
48 B
Plaintext
Raw Normal View History

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
Powered by Gitea Version: 1.23.8 Page: 344ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API