cibernox / ember-ast-helpers

Utility belt to level-up your Ember AST transforms
MIT License
40 stars 6 forks source link

Glimmer dependencies missing (and too old) #43

Open NullVoxPopuli opened 9 months ago

NullVoxPopuli commented 9 months ago

This was mentioned here: https://github.com/cibernox/ember-ast-helpers/issues/23

But Glimmer is now on 0.88. :sweat_smile:

It seems also the glimmer dependencies need to move to dependencies.

I get this error:

 Cannot find module '@glimmer/syntax'
 Require stack:
 - <deps>/ember-ast-helpers@0.4.0/node_modules/ember-ast-helpers/build-time-component.js
NullVoxPopuli commented 9 months ago

I was able to get passed this with pnpm's packageExtensions feature:

"pnpm": {
    "packageExtensions": {

      "ember-ast-helpers@0.4.0": {
        "dependencies": {
          "@glimmer/syntax": "^0.27.0",
          "@glimmer/compiler": "^0.27.0"
        }
      }
    }

}