-
Notifications
You must be signed in to change notification settings - Fork 12
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
[DEV-9918][DEV-10719] Switch to PNPM #382
Conversation
0283960
to
b7271a8
Compare
tsconfig: `${__dirname}/tsconfig.jest.json`, | ||
}, | ||
}, | ||
moduleNameMapper: { | ||
'@prezly/slate-tables': path.join(__dirname, '../slate-tables/src'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a problem with jsdom
- it doesn't resolve modules like nodejs. Do not know why
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aspirisen Do you have these warnings when you run pnpm build
?
Yes, switched to old lock file format |
I will merge with squash |
64f6bce
to
9219a3b
Compare
packages/slate-editor/src/extensions/placeholders/PlaceholdersExtension.tsx
Outdated
Show resolved
Hide resolved
@e1himself could you re-review this PR |
@e1himself could take a look on this pr, I would like to merge it today (or I can just close this pr if these changes are not needed) |
@aspirisen My apologies for the delay. I'll review it today and merge. Thank you 🙏 |
…kage node_modules And instead inherit them from the workspace root `node_modules`.
…nguage features used
…ed in the workspace root
This reveals that the repo depends on `react-bootstrap` stylesheet, but we do not include them here :X
The approach we use is flawed anyway. See #382 (comment)
In order to fix ESM imports support
pnpm
resolution-mode=lowest-direct
(see installing a dependency, by default, installs the lowest matching version of that dependency pnpm/pnpm#6463 (comment))4.9
jest
tomocha
storybook
dependencies into own sub-package