mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 00:56:19 +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
51 lines
1.1 KiB
JSON
51 lines
1.1 KiB
JSON
{
|
|
"name": "discourse-markdown-it",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "Discourse's markdown-it features",
|
|
"author": "Discourse <team@discourse.org>",
|
|
"license": "GPL-2.0-only",
|
|
"keywords": [
|
|
"ember-addon"
|
|
],
|
|
"exports": {
|
|
".": "./src/index.js",
|
|
"./*": "./src/*.js",
|
|
"./addon-main.js": "./addon-main.cjs"
|
|
},
|
|
"files": [
|
|
"addon-main.cjs",
|
|
"src"
|
|
],
|
|
"dependencies": {
|
|
"@embroider/addon-shim": "^1.8.9",
|
|
"discourse-common": "workspace:1.0.0",
|
|
"discourse-i18n": "workspace:1.0.0",
|
|
"ember-auto-import": "^2.7.4",
|
|
"markdown-it": "14.0.0",
|
|
"pretty-text": "workspace:1.0.0",
|
|
"truth-helpers": "workspace:1.0.0",
|
|
"xss": "^1.0.15"
|
|
},
|
|
"peerDependencies": {
|
|
"discourse-i18n": "workspace:1.0.0",
|
|
"pretty-text": "workspace:1.0.0",
|
|
"xss": "*"
|
|
},
|
|
"engines": {
|
|
"node": ">= 18",
|
|
"npm": "please-use-pnpm",
|
|
"yarn": "please-use-pnpm",
|
|
"pnpm": ">= 9"
|
|
},
|
|
"ember": {
|
|
"edition": "octane"
|
|
},
|
|
"ember-addon": {
|
|
"version": 2,
|
|
"type": "addon",
|
|
"main": "addon-main.cjs",
|
|
"app-js": {}
|
|
}
|
|
}
|