mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
e2f65cd170
Using patch-package is much easier to reason with than maintaining a full fork of virtual-dom. Original reasoning for the fork can be found ine216a98f
Patch is based on the diff atc64007150a (diff-f648eb0588a88af826e29622f64aca611e191c66eb9e79396d559edaef622313)
34 lines
916 B
JSON
34 lines
916 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"postinstall": "patch-package"
|
|
},
|
|
"workspaces": [
|
|
"admin",
|
|
"bootstrap-json",
|
|
"dialog-holder",
|
|
"discourse",
|
|
"discourse-common",
|
|
"discourse-hbr",
|
|
"discourse-plugins",
|
|
"discourse-widget-hbs",
|
|
"ember-cli-progress-ci",
|
|
"ember-production-deprecations",
|
|
"pretty-text",
|
|
"select-kit",
|
|
"truth-helpers",
|
|
"wizard"
|
|
],
|
|
"resolutions": {
|
|
"**/babel-plugin-debug-macros": "npm:@discourse/babel-plugin-debug-macros@0.4.0-pre1"
|
|
},
|
|
"dependencies": {
|
|
"patch-package": "^6.5.1",
|
|
"postinstall-postinstall": "^2.1.0"
|
|
},
|
|
"devDependencies": {},
|
|
"notes": {
|
|
"deps vs devDeps": "this project doesn't use dev dependencies when building the app, so all dependencies affecting the build of the UI (ember-cli, webpack, etc), need to be in 'dependencies', not 'devDependencies' (yarn install --production is used)"
|
|
}
|
|
}
|