mirror of
https://github.com/discourse/discourse.git
synced 2025-02-27 20:08:40 +08:00

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
20 lines
436 B
JSON
20 lines
436 B
JSON
{
|
|
"name": "discourse-hbr",
|
|
"version": "1.0.0",
|
|
"description": "Support for Discourse's raw Handlebars templates (hbr)",
|
|
"author": "Discourse",
|
|
"license": "GPL-2.0-only",
|
|
"dependencies": {
|
|
"handlebars": "^4.7.8"
|
|
},
|
|
"engines": {
|
|
"node": ">= 18",
|
|
"npm": "please-use-pnpm",
|
|
"yarn": "please-use-pnpm",
|
|
"pnpm": ">= 9"
|
|
},
|
|
"exports": {
|
|
"./raw-handlebars-compiler": "./raw-handlebars-compiler.js"
|
|
}
|
|
}
|