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

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

114 lines
3.3 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.20.2",
"@babel/standalone": "^7.20.4",
"@discourse/backburner.js": "^2.7.1-0",
"@discourse/itsatrap": "^2.0.10",
"@ember-compat/tracked-built-ins": "^0.9.1",
"@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",
2022-07-11 18:40:48 +08:00
"@glimmer/syntax": "^0.84.2",
"@glimmer/tracking": "^1.1.2",
"@popperjs/core": "^2.11.6",
2022-07-19 19:05:07 +08:00
"@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.2",
"admin": "1.0.0",
"babel-import-util": "^1.3.0",
"babel-plugin-ember-template-compilation": "^1.0.2",
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.2.2",
"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.4.3",
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": "^5.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.1.1",
"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": "^8.0.0",
"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",
2022-07-11 18:40:48 +08:00
"ember-qunit": "^5.1.5",
"ember-rfc176-data": "^0.3.17",
"ember-source": "~3.28.10",
"ember-test-selectors": "^6.0.0",
"eslint": "^8.27.0",
"eslint-plugin-qunit": "^7.3.2",
"handlebars": "^4.7.7",
2022-06-28 00:40:58 +08:00
"html-entities": "^2.3.3",
2022-06-28 00:13:29 +08:00
"js-yaml": "^4.1.0",
"jsdom": "^20.0.2",
"loader.js": "^4.7.0",
"markdown-it": "^13.0.1",
"message-bus-client": "^4.2.0",
"messageformat": "0.1.5",
"pretender": "^3.4.7",
"pretty-text": "1.0.0",
"qunit": "^2.19.3",
2022-06-29 03:22:17 +08:00
"qunit-dom": "^2.0.0",
"sass": "^1.56.1",
"select-kit": "1.0.0",
"sinon": "^14.0.2",
"source-map": "^0.7.4",
"terser": "5.10.0",
"tippy.js": "^6.3.7",
"virtual-dom": "^2.1.1",
"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"
}
}