Skip to content

Commit

Permalink
Bump Ember, use @glimmer/component rather than @ember/component
Browse files Browse the repository at this point in the history
  • Loading branch information
yannbertrand committed Mar 13, 2023
1 parent 483fdf6 commit 45240cc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
8 changes: 4 additions & 4 deletions app/ember/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@
},
"peerDependencies": {
"@babel/core": "*",
"@types/ember__component": "4.0.8",
"babel-plugin-ember-modules-api-polyfill": "^2.12.0",
"babel-plugin-htmlbars-inline-precompile": "2 || 3",
"ember-source": "~3.28.1"
"@glimmer/component": "^1.1.2",
"babel-plugin-ember-modules-api-polyfill": ">=3.0.0",
"babel-plugin-htmlbars-inline-precompile": ">=5.0.0",
"ember-source": ">=4.0.0"
},
"engines": {
"node": ">=10.13.0"
Expand Down
3 changes: 1 addition & 2 deletions app/ember/src/client/preview/render.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import global from 'global';
import dedent from 'ts-dedent';
import type { RenderContext } from '@storybook/store';
// @ts-ignore
import Component from '@ember/component'; // eslint-disable-line import/no-unresolved
import Component from '@glimmer/component';
import { OptionsArgs, EmberFramework } from './types';

const { window: globalWindow, document } = global;
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7863,10 +7863,10 @@ __metadata:
ts-dedent: ^2.0.0
peerDependencies:
"@babel/core": "*"
"@types/ember__component": 4.0.8
babel-plugin-ember-modules-api-polyfill: ^2.12.0
babel-plugin-htmlbars-inline-precompile: 2 || 3
ember-source: ~3.28.1
"@glimmer/component": ^1.1.2
babel-plugin-ember-modules-api-polyfill: ">=3.0.0"
babel-plugin-htmlbars-inline-precompile: ">=5.0.0"
ember-source: ">=4.0.0"
bin:
build-storybook: ./bin/build.js
start-storybook: ./bin/index.js
Expand Down

0 comments on commit 45240cc

Please sign in to comment.