mirror of
https://github.com/discourse/discourse.git
synced 2024-12-28 15:15:11 +08:00
e16c8ea2e7
This commit makes a number of improvements to the DiscourseJsProcessor: 1. Remove dependence on the out-of-date Ember template compiler from the ember-rails gem; switch to modern template compiler 2. Refactor to make use of a proper module system with `define`/`require` 3. Introduce `babel-plugin-ember-template-compilation` to enable inline hbs compilation The `mini-loader` is upgraded to support relative lookup and `require.has`, so that these new JS packages work correctly.
112 lines
3.2 KiB
JSON
112 lines
3.2 KiB
JSON
{
|
|
"name": "discourse",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "A platform for community discussion. Free, open, simple.",
|
|
"repository": "",
|
|
"license": "GPL-2.0-only",
|
|
"author": "Discourse",
|
|
"directories": {
|
|
"doc": "doc",
|
|
"test": "tests"
|
|
},
|
|
"scripts": {
|
|
"build": "ember build",
|
|
"start": "ember serve",
|
|
"test": "ember test"
|
|
},
|
|
"dependencies": {
|
|
"@babel/core": "^7.18.5",
|
|
"@babel/standalone": "^7.18.12",
|
|
"@discourse/itsatrap": "^2.0.10",
|
|
"@ember/jquery": "^2.0.0",
|
|
"@ember/optional-features": "^2.0.0",
|
|
"@ember/render-modifiers": "^2.0.4",
|
|
"@ember/test-helpers": "^2.8.1",
|
|
"@glimmer/component": "^1.1.2",
|
|
"@glimmer/syntax": "^0.84.2",
|
|
"@glimmer/tracking": "^1.1.2",
|
|
"@popperjs/core": "^2.11.5",
|
|
"@uppy/aws-s3": "^2.2.1",
|
|
"@uppy/aws-s3-multipart": "^2.4.1",
|
|
"@uppy/core": "^2.3.1",
|
|
"@uppy/drop-target": "^1.1.3",
|
|
"@uppy/utils": "^4.1.0",
|
|
"@uppy/xhr-upload": "^2.1.2",
|
|
"a11y-dialog": "7.5.0",
|
|
"admin": "^1.0.0",
|
|
"discourse-plugins": "^1.0.0",
|
|
"babel-plugin-ember-template-compilation": "^1.0.2",
|
|
"bootstrap": "3.4.1",
|
|
"broccoli-asset-rev": "^3.0.0",
|
|
"deepmerge": "^4.2.2",
|
|
"discourse-common": "^1.0.0",
|
|
"discourse-ensure-deprecation-order": "^1.0.0",
|
|
"discourse-hbr": "^1.0.0",
|
|
"discourse-widget-hbs": "^1.0.0",
|
|
"ember-auto-import": "^2.4.2",
|
|
"ember-auto-import-chunks-json-generator": "^1.0.0",
|
|
"ember-buffered-proxy": "^2.1.1",
|
|
"ember-cached-decorator-polyfill": "^0.1.4",
|
|
"ember-cli": "~3.28.5",
|
|
"ember-cli-app-version": "^5.0.0",
|
|
"ember-cli-babel": "^7.26.10",
|
|
"ember-cli-dependency-checker": "^3.3.1",
|
|
"ember-cli-deprecation-workflow": "^2.1.0",
|
|
"ember-cli-htmlbars": "^6.1.0",
|
|
"ember-cli-inject-live-reload": "^2.1.0",
|
|
"ember-cli-progress-ci": "1.0.0",
|
|
"ember-cli-sri": "^2.1.1",
|
|
"ember-cli-terser": "^4.0.2",
|
|
"ember-exam": "^7.0.1",
|
|
"ember-export-application-global": "^2.0.1",
|
|
"ember-load-initializers": "^2.1.1",
|
|
"ember-modifier": "^3.2.7",
|
|
"ember-on-resize-modifier": "^1.1.0",
|
|
"ember-qunit": "^5.1.5",
|
|
"ember-rfc176-data": "^0.3.17",
|
|
"ember-source": "~3.28.8",
|
|
"ember-test-selectors": "^6.0.0",
|
|
"eslint": "^7.32.0",
|
|
"eslint-plugin-qunit": "^6.2.0",
|
|
"html-entities": "^2.3.3",
|
|
"js-yaml": "^4.1.0",
|
|
"jsdom": "^20.0.0",
|
|
"loader.js": "^4.7.0",
|
|
"markdown-it": "^13.0.1",
|
|
"message-bus-client": "^4.2.0",
|
|
"messageformat": "0.1.5",
|
|
"node-fetch": "^2.6.6",
|
|
"pretender": "^3.4.7",
|
|
"pretty-text": "^1.0.0",
|
|
"qunit": "^2.19.1",
|
|
"qunit-dom": "^2.0.0",
|
|
"sass": "^1.53.0",
|
|
"select-kit": "^1.0.0",
|
|
"sinon": "^14.0.0",
|
|
"tippy.js": "^6.3.7",
|
|
"virtual-dom": "^2.1.1",
|
|
"webpack": "^5.73.0",
|
|
"wizard": "^1.0.0"
|
|
},
|
|
"engines": {
|
|
"node": "16.* || >= 18",
|
|
"npm": "please-use-yarn",
|
|
"yarn": ">= 1.21.1"
|
|
},
|
|
"ember": {
|
|
"edition": "default"
|
|
},
|
|
"ember-addon": {
|
|
"paths": [
|
|
"lib/dialog-holder",
|
|
"lib/bootstrap-json"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"ember-cached-decorator-polyfill": "^0.1.4",
|
|
"ember-cli-deprecation-workflow": "^2.1.0",
|
|
"ember-exam": "^7.0.1"
|
|
}
|
|
}
|