Skip to content
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

ACC-2147-chore: Bumping up some of the dev dependencies version #122

Merged
merged 1 commit into from
Jan 27, 2023

Conversation

Nazehs
Copy link
Contributor

@Nazehs Nazehs commented Jan 24, 2023

This PR bump up outdated version of autoprefixer which has a known bug parsing @supports selector() {} CSS Syntax.
that was resulting to builds to error when the latest version of Origami components are pulled in, preventing deploy.
This PR also bumped up other dev dependencies and add npm test script command

fix #121

Jira ticket

@Nazehs Nazehs force-pushed the bumping-package-versions branch 2 times, most recently from f183500 to bf08043 Compare January 24, 2023 10:34
@Nazehs Nazehs marked this pull request as ready for review January 24, 2023 10:40
@Nazehs Nazehs requested a review from a team as a code owner January 24, 2023 10:40
@Nazehs Nazehs changed the title chore: Bumping up some of the dev dependecies version ACC-2147-chore: Bumping up some of the dev dependecies version Jan 24, 2023
jest.config.js Outdated
@@ -1,5 +1,6 @@
module.exports = {
moduleDirectories: ['node_modules'],
testEnvironment: 'jsdom',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: is this necesary? this add jsdom as default environment to all test, that means that all the test going to have all the dom properties, using more amount of ram and can broke the test in ci, you can specify the jsdom environment just in the particular test class that need it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Comment] tests are not passing if testEnvironment is not defined as jsdom and that is because i upgraded the version of jest to the latest version v29 which has a breaking change for that from v27.

@Nazehs Nazehs force-pushed the bumping-package-versions branch from 8eeaf64 to eef6765 Compare January 24, 2023 13:58
@Nazehs Nazehs merged commit cca4a7d into main Jan 27, 2023
@Nazehs Nazehs deleted the bumping-package-versions branch January 27, 2023 11:30
@Nazehs Nazehs changed the title ACC-2147-chore: Bumping up some of the dev dependecies version ACC-2147-chore: Bumping up some of the dev dependencies version Jan 27, 2023
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.

n-syndication Sass build may error with latest Origami component releases
4 participants