Skip to content

[WIP]: bump things depending on old ember string #1680

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

MichalBryxi
Copy link
Contributor

@MichalBryxi MichalBryxi commented May 2, 2025

- This pulls @ember/string 3.1.1 into dependent project and that causes a lot of issues
- Since we have `capitalize` in @ember/string, we can just call that in our internal helper
- Also bumped internal version of @ember/string to v4.x

Fixes ember-learn#1666
- The package insists on having @ember/string v3
- It does not do too much
To get rid of:

```
ERROR in ../rewritten-packages/ember-modal-dialog.6bc4f645/node_modules/ember-modal-dialog/components/liquid-tether-dialog.js 35:0-42
Module not found: Error: ember-modal-dialog is trying to import the app's @ember/string package, but it seems to be missing
 @ ../../.pnpm/@embroider[email protected]_@[email protected][email protected][email protected]/node_modules/@embroider/babel-loader-9/index.js?{"variant":{"name":"dev","runtime":"browser","optimizeForProduction":false},"appBabelConfigPath":"/Users/michal/ember/ember-cli-addon-docs/node_modules/.embroider/rewritten-app/_babel_config_.js","cacheDirectory":"$TMPDIR/embroider/webpack-babel-loader"}!../../.pnpm/@embroider[email protected]_@[email protected][email protected]/node_modules/@embroider/webpack/src/virtual-loader.js?f=%2FUsers%2Fmichal%2Fember%2Fember-cli-addon-docs%2Fnode_modules%2F.embroider%2Frewritten-app%2F-embroider-implicit-modules.js&a=%2FUsers%2Fmichal%2Fember%2Fember-cli-addon-docs%2Ftests%2Fdummy! 12:13-74
 @ ./assets/dummy.js 4:4-47
```

# Conflicts:
#	package.json
#	pnpm-lock.yaml
To get rid of:

```
WARNING in ../rewritten-packages/ember-classy-page-object.4dd72acf/node_modules/ember-classy-page-object/extend.js 1:0-84
export 'getContext' (reexported as 'getContext') was not found in 'ember-cli-page-object/extend' (possible exports: buildSelector, findElement, findElementWithAssert, findMany, findOne, fullScope)
 @ ../../.pnpm/@embroider[email protected]_@[email protected][email protected][email protected]/node_modules/@embroider/babel-loader-9/index.js?{"variant":{"name":"dev","runtime":"browser","optimizeForProduction":false},"appBabelConfigPath":"/Users/michal/ember/ember-cli-addon-docs/node_modules/.embroider/rewritten-app/_babel_config_.js","cacheDirectory":"$TMPDIR/embroider/webpack-babel-loader"}!../../.pnpm/@embroider[email protected]_@[email protected][email protected]/node_modules/@embroider/webpack/src/virtual-loader.js?f=%2FUsers%2Fmichal%2Fember%2Fember-cli-addon-docs%2Fnode_modules%2F.embroider%2Frewritten-app%2F-embroider-implicit-test-modules.js&a=%2FUsers%2Fmichal%2Fember%2Fember-cli-addon-docs%2Ftests%2Fdummy! 189:13-55
 @ ./assets/test.js 6:4-52
```
@MichalBryxi MichalBryxi force-pushed the mb/1678-bump-things-depending-on-old-ember-string branch from de80455 to e901e21 Compare May 4, 2025 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bump all dependencies that bring @ember/string < 4
1 participant