mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 02:43:45 +08:00
80b9c280ba
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
33 lines
721 B
JSON
33 lines
721 B
JSON
{
|
|
"name": "custom-proxy",
|
|
"version": "1.0.0",
|
|
"description": "Express.js middleware which injects ember-cli asset URLs into Discourse's HTML",
|
|
"author": "Discourse",
|
|
"license": "GPL-2.0-only",
|
|
"keywords": [
|
|
"ember-addon"
|
|
],
|
|
"ember-addon": {
|
|
"before": [
|
|
"broccoli-serve-files",
|
|
"proxy-server-middleware"
|
|
],
|
|
"after": [
|
|
"broccoli-watcher"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"clean-base-url": "^1.0.0",
|
|
"express": "^4.19.2",
|
|
"glob": "^10.4.3",
|
|
"html-entities": "^2.5.2",
|
|
"html-rewriter-wasm": "^0.4.1",
|
|
"node-fetch": "^3.3.2"
|
|
},
|
|
"engines": {
|
|
"node": ">= 18",
|
|
"npm": "please-use-pnpm",
|
|
"yarn": "please-use-pnpm",
|
|
"pnpm": ">= 9" }
|
|
}
|