discourse/app/assets/javascripts/discourse/package.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

117 lines
3.4 KiB
JSON
Raw Normal View History

{
"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.21.0",
"@babel/standalone": "^7.21.2",
"@discourse/backburner.js": "^2.7.1-0",
"@discourse/itsatrap": "^2.0.10",
"@discourse/virtual-dom": "^2.1.2-0",
"@ember-compat/tracked-built-ins": "^0.9.1",
"@ember/jquery": "^2.0.0",
"@ember/optional-features": "^2.0.0",
"@ember/render-modifiers": "^2.0.5",
"@ember/test-helpers": "^2.9.3",
"@glimmer/component": "^1.1.2",
2022-07-11 18:40:48 +08:00
"@glimmer/syntax": "^0.84.2",
"@glimmer/tracking": "^1.1.2",
"@popperjs/core": "^2.11.6",
2022-12-12 19:08:57 +08:00
"@uppy/aws-s3": "^3.0.4",
"@uppy/aws-s3-multipart": "^3.1.1",
"@uppy/core": "^3.0.4",
"@uppy/drop-target": "^2.0.1",
"@uppy/utils": "^5.1.1",
"@uppy/xhr-upload": "^3.1.0",
"a11y-dialog": "7.5.2",
"admin": "1.0.0",
"babel-import-util": "^1.3.0",
"babel-plugin-ember-template-compilation": "^2.0.0",
2022-07-04 17:36:51 +08:00
"bootstrap": "3.4.1",
"bootstrap-json": "1.0.0",
"broccoli-asset-rev": "^3.0.0",
"deepmerge": "^4.3.0",
"dialog-holder": "1.0.0",
"discourse-common": "1.0.0",
"discourse-ensure-deprecation-order": "1.0.0",
"discourse-hbr": "1.0.0",
"discourse-plugins": "1.0.0",
"discourse-widget-hbs": "1.0.0",
"ember-auto-import": "^2.6.1",
DEV: Allow Ember CLI assets to be used by development Rails app (#16511) Previously, accessing the Rails app directly in development mode would give you assets from our 'legacy' Ember asset pipeline. The only way to run with Ember CLI assets was to run ember-cli as a proxy. This was quite limiting when working on things which are bypassed when using the ember-cli proxy (e.g. changes to `application.html.erb`). Also, since `ember-auto-import` introduced chunking, visiting `/theme-qunit` under Ember CLI was failing to include all necessary chunks. This commit teaches Sprockets about our Ember CLI assets so that they can be used in development mode, and are automatically collected up under `/public/assets` during `assets:precompile`. As a bonus, this allows us to remove all the custom manifest modification from `assets:precompile`. The key changes are: - Introduce a shared `EmberCli.enabled?` helper - When ember-cli is enabled, add ember-cli `/dist/assets` as the top-priority Rails asset directory - Have ember-cli output a `chunks.json` manifest, and teach `preload_script` to read it and append the correct chunks to their associated `afterFile` - Remove most custom ember-cli logic from the `assets:precompile` step. Instead, rely on Rails to take care of pulling the 'precompiled' assets into the `public/assets` directory. Move the 'renaming' logic to runtime, so it can be used in development mode as well. - Remove fingerprinting from `ember-cli-build`, and allow Rails to take care of things Long-term, we may want to replace Sprockets with the lighter-weight Propshaft. The changes made in this commit have been made with that long-term goal in mind. tldr: when you visit the rails app directly, you'll now be served the current ember-cli assets. To keep these up-to-date make sure either `ember serve`, or `ember build --watch` is running. If you really want to load the old non-ember-cli assets, then you should start the server with `EMBER_CLI_PROD_ASSETS=0`. (the legacy asset pipeline will be removed very soon)
2022-04-21 23:26:34 +08:00
"ember-auto-import-chunks-json-generator": "^1.0.0",
"ember-buffered-proxy": "^2.1.1",
"ember-cached-decorator-polyfill": "^1.0.1",
2022-07-18 17:14:37 +08:00
"ember-cli": "~3.28.5",
"ember-cli-app-version": "^6.0.0",
2022-07-18 17:14:37 +08:00
"ember-cli-babel": "^7.26.10",
"ember-cli-dependency-checker": "^3.3.1",
"ember-cli-deprecation-workflow": "^2.1.0",
"ember-cli-htmlbars": "^6.2.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-decorators": "^6.1.1",
"ember-exam": "^8.0.0",
"ember-export-application-global": "^2.0.1",
"ember-load-initializers": "^2.1.1",
"ember-modifier": "^4.0.0",
"ember-on-resize-modifier": "^1.1.0",
"ember-qunit": "^6.2.0",
"ember-rfc176-data": "^0.3.18",
"ember-source": "~3.28.11",
"ember-test-selectors": "^6.0.0",
"eslint": "^8.35.0",
"eslint-plugin-qunit": "^7.3.4",
"handlebars": "^4.7.7",
2022-06-28 00:40:58 +08:00
"html-entities": "^2.3.3",
"imports-loader": "^4.0.1",
2022-06-28 00:13:29 +08:00
"js-yaml": "^4.1.0",
"jsdom": "^21.1.0",
"loader.js": "^4.7.0",
"markdown-it": "^13.0.1",
"message-bus-client": "^4.3.2",
"messageformat": "0.1.5",
"pretender": "^3.4.7",
"pretty-text": "1.0.0",
"qunit": "^2.19.4",
2022-06-29 03:22:17 +08:00
"qunit-dom": "^2.0.0",
"sass": "^1.58.3",
"select-kit": "1.0.0",
"sinon": "^15.0.1",
"source-map": "^0.7.4",
"terser": "^5.16.5",
"tippy.js": "^6.3.7",
"util": "^0.12.5",
"webpack": "^5.75.0",
"wizard": "1.0.0",
"xss": "^1.0.14"
},
"engines": {
"node": "16.* || >= 18",
"npm": "please-use-yarn",
"yarn": ">= 1.21.1"
},
"ember": {
"edition": "default"
},
"devDependencies": {
"ember-cached-decorator-polyfill": "^1.0.1",
2022-07-18 17:14:37 +08:00
"ember-cli-deprecation-workflow": "^2.1.0",
"ember-exam": "^8.0.0"
}
}