mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 17:03:13 +08:00
9a34625cb8
It's backward compatible so still supports our 3.28 ember-source. The visible change is finally getting rid of this message: ``` WARNING: Node v18.12.0 is not tested against Ember CLI on your platform. We recommend that you use the most-recent "Active LTS" version of Node.js. See https://git.io/v7S5n for details. ``` --- `@ember/string` dependency is added for future compatibility. See: https://github.com/ember-cli/ember-cli/pull/10125 --- `tests/helpers/index.js` is unused for now, but is a nice pattern. We could move some of our test setup into local `setupApplicationTest/setupRenderingTest/setupTest` helpers. Co-authored-by: David Taylor <david@taylorhq.com>
35 lines
975 B
JSON
35 lines
975 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",
|
|
"**/babel-plugin-ember-template-compilation": "2.0.0"
|
|
},
|
|
"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)"
|
|
}
|
|
}
|