Skip to content

Commit

Permalink
Reproduce glimmerjs/glimmer.js#345, but for Ember 3.27.0
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed May 7, 2021
1 parent 8af0bd5 commit c337d8f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 41 deletions.
2 changes: 2 additions & 0 deletions frontend/app/services/-compile/babel/cjs-eval.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import _Component from '@glimmer/component';
import { tracked } from '@glimmer/tracking';
import { setComponentTemplate } from '@ember/component';
import _TO from '@ember/component/template-only';
import * as _helpers from '@ember/helper';
import { createTemplateFactory } from '@ember/template-factory';

import type Component from '@glimmer/component';
Expand All @@ -22,6 +23,7 @@ const modules = {
'@ember/component/template-only': _TO,
'@glimmer/tracking': { tracked },
'@ember/modifier': { on: _Ember._on },
'@ember/helper': _helpers,
};

// https://github.com/glimmerjs/glimmer-experimental/blob/master/packages/examples/playground/src/utils/eval-snippet.ts
Expand Down
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"ember-page-title": "^6.2.1",
"ember-qunit": "^5.1.4",
"ember-resolver": "^8.0.2",
"ember-source": "3.26.1",
"ember-source": "3.27.0",
"ember-template-lint": "^3.3.1",
"eslint": "^7.25.0",
"file-loader": "^6.2.0",
Expand Down
42 changes: 2 additions & 40 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1917,13 +1917,6 @@
resolved "https://registry.npmjs.org/@glimmer/validator/-/validator-0.44.0.tgz#03d127097dc9cb23052cdb7fcae59d0a9dca53e1"
integrity sha512-i01plR0EgFVz69GDrEuFgq1NheIjZcyTy3c7q+w7d096ddPVeVcRzU3LKaqCfovvLJ+6lJx40j45ecycASUUyw==

"@glimmer/[email protected]":
version "0.77.5"
resolved "https://registry.npmjs.org/@glimmer/vm-babel-plugins/-/vm-babel-plugins-0.77.5.tgz#daffb6507aa6b08ec36f69d652897d339fdd0007"
integrity sha512-jTBM7fJMrIEy4/bCeI8e7ypR+AuWYzLA+KORCGbnTJtL/NYg4G8qwhQAZBtg1d3KmoqyqaCsyqE6f4/tzJO4eQ==
dependencies:
babel-plugin-debug-macros "^0.3.4"

"@glimmer/[email protected]":
version "0.78.2"
resolved "https://registry.npmjs.org/@glimmer/vm-babel-plugins/-/vm-babel-plugins-0.78.2.tgz#b530a19f54da385c7099a22cf348e9062d186838"
Expand Down Expand Up @@ -6288,7 +6281,7 @@ ember-cli-babel@^6.0.0-beta.4, ember-cli-babel@^6.6.0:
ember-cli-version-checker "^2.1.2"
semver "^5.5.0"

ember-cli-babel@^7.0.0, ember-cli-babel@^7.1.0, ember-cli-babel@^7.10.0, ember-cli-babel@^7.13.0, ember-cli-babel@^7.13.2, ember-cli-babel@^7.17.2, ember-cli-babel@^7.20.0, ember-cli-babel@^7.21.0, ember-cli-babel@^7.22.1, ember-cli-babel@^7.23.0, ember-cli-babel@^7.23.1, ember-cli-babel@^7.26.2, ember-cli-babel@^7.26.3, ember-cli-babel@^7.26.4, ember-cli-babel@^7.7.3:
ember-cli-babel@^7.0.0, ember-cli-babel@^7.1.0, ember-cli-babel@^7.10.0, ember-cli-babel@^7.13.0, ember-cli-babel@^7.13.2, ember-cli-babel@^7.17.2, ember-cli-babel@^7.20.0, ember-cli-babel@^7.21.0, ember-cli-babel@^7.22.1, ember-cli-babel@^7.23.0, ember-cli-babel@^7.23.1, ember-cli-babel@^7.26.2, ember-cli-babel@^7.26.3, ember-cli-babel@^7.7.3:
version "7.26.4"
resolved "https://registry.npmjs.org/ember-cli-babel/-/ember-cli-babel-7.26.4.tgz#b73d53592c05479814ca1770b3b849d4e01a87f0"
integrity sha512-GibwLrBUVj8DxNMnbE5PObEIeznX6ohOdYHoSMmTkCBuXa/I9amRGIjBhNlDbAJj+exVKKZoEGAdrV13gnyftQ==
Expand Down Expand Up @@ -6865,38 +6858,7 @@ ember-source-channel-url@^3.0.0:
dependencies:
node-fetch "^2.6.0"

[email protected]:
version "3.26.1"
resolved "https://registry.npmjs.org/ember-source/-/ember-source-3.26.1.tgz#8c9e8a314fb0da447b944d64f9d92a80a628d7b5"
integrity sha512-5/NATBo5h9m1N52ITVksmjtGlYhGHLl4lDErAWv5/DC9zYe9ZR93NtymR6PEqrRilXc2x0KWd3NlOsWUoJRUOw==
dependencies:
"@babel/helper-module-imports" "^7.8.3"
"@babel/plugin-transform-block-scoping" "^7.8.3"
"@babel/plugin-transform-object-assign" "^7.8.3"
"@ember/edition-utils" "^1.2.0"
"@glimmer/vm-babel-plugins" "0.77.5"
babel-plugin-debug-macros "^0.3.3"
babel-plugin-filter-imports "^4.0.0"
broccoli-concat "^4.2.4"
broccoli-debug "^0.6.4"
broccoli-funnel "^2.0.2"
broccoli-merge-trees "^4.2.0"
chalk "^4.0.0"
ember-cli-babel "^7.23.0"
ember-cli-get-component-path-option "^1.0.0"
ember-cli-is-package-missing "^1.0.0"
ember-cli-normalize-entity-name "^1.0.0"
ember-cli-path-utils "^1.0.0"
ember-cli-string-utils "^1.1.0"
ember-cli-version-checker "^5.1.1"
ember-router-generator "^2.0.0"
inflection "^1.12.0"
jquery "^3.5.1"
resolve "^1.17.0"
semver "^7.3.4"
silent-error "^1.1.1"

ember-source@^3.26.1:
[email protected], ember-source@^3.26.1:
version "3.27.0"
resolved "https://registry.npmjs.org/ember-source/-/ember-source-3.27.0.tgz#7e746e0e22e49ad7dacb654ba79183e83d7b6bb2"
integrity sha512-DGVJv5GJjdHhDcJl6oCgZuH7nmM32g+TD8IB5xcU1Z2VkYGViBl+Xn9Eo1CL19M7y9sNdQd375sO+3U/IySZPw==
Expand Down

0 comments on commit c337d8f

Please sign in to comment.