discourse/app/assets/javascripts
David Taylor 25fabccd59
DEV: Enable parallel babel processing in ember-cli (#20215)
Ember CLI will automatically run babel transformations in parallel when the config is 'serializable', and can therefore be applied in multiple processes automatically. If any plugin is defined in an unserializable way, parallelisation will be disabled.

Our discourse-widget-hbs transformer was causing parallelisation to be disabled. This commit fixes that, and also enables the throwUnlessParallelizable flag so that we catch this kind of issue more easily in future.

This commit also refactors our deprecation silencing system into its own file, and uses a fake babel plugin to ensure deprecations are silenced in babel worker processes.

In our GitHub CI jobs, this doubles the speed of ember builds (1m30s -> 45s). It should also improve production deploy times, and cold-start dev builds.
2023-02-09 16:24:24 +00:00
..
admin DEV: Create form templates (#20189) 2023-02-08 11:21:39 -08:00
bootstrap-json Build(deps): Bump jsdom from 21.0.0 to 21.1.0 in /app/assets/javascripts (#19944) 2023-01-22 22:39:36 +01:00
confirm-new-email
dialog-holder Build(deps): Bump ember-auto-import in /app/assets/javascripts (#19981) 2023-01-24 22:50:05 +01:00
discourse DEV: Enable parallel babel processing in ember-cli (#20215) 2023-02-09 16:24:24 +00:00
discourse-common FIX: Validate asset url before replacing base url (#16438) 2023-01-30 07:32:48 +08:00
discourse-ensure-deprecation-order
discourse-hbr Build(deps-dev): Bump @embroider/test-setup in /app/assets/javascripts (#20017) 2023-01-26 18:45:22 +01:00
discourse-plugins Build(deps): Bump ember-auto-import in /app/assets/javascripts (#19981) 2023-01-24 22:50:05 +01:00
discourse-widget-hbs DEV: Enable parallel babel processing in ember-cli (#20215) 2023-02-09 16:24:24 +00:00
docs
ember-addons
ember-cli-progress-ci
locales
pretty-text Build(deps-dev): Bump @embroider/test-setup in /app/assets/javascripts (#20017) 2023-01-26 18:45:22 +01:00
select-kit Revert "FIX: IconPicker option to display only available icons (#20226)" (#20227) 2023-02-09 15:20:34 +11:00
truth-helpers Build(deps-dev): Bump @embroider/test-setup in /app/assets/javascripts (#20017) 2023-01-26 18:45:22 +01:00
wizard DEV: Correct hbs prettier violations 2023-02-02 13:03:11 +00:00
.licensee.json DEV: Have `licensee` check xmldom license (#18840) 2022-11-02 11:51:11 -04:00
.npmrc
discourse-js-processor.js DEV: Introduce minification and source maps for Theme JS (#18646) 2022-10-18 18:20:10 +01:00
handlebars-shim.js
package.json DEV: Make dialog-holder a monorepo package (#19051) 2022-11-16 16:43:45 +01:00
polyfills.js Drop support for iOS < 15.7 (#19847) 2023-01-16 17:28:59 +00:00
service-worker.js.erb FEATURE: Enable service worker for Apple devices (#19643) 2023-01-30 13:23:19 -03:00
yarn.lock Build(deps): Bump @babel/standalone in /app/assets/javascripts (#20153) 2023-02-09 14:51:03 +00:00