Skip to content

Commit

Permalink
refactor: use version range for Babel packages
Browse files Browse the repository at this point in the history
  • Loading branch information
emmenko committed Jan 24, 2022
1 parent d74df68 commit 5ea8baf
Show file tree
Hide file tree
Showing 26 changed files with 822 additions and 636 deletions.
35 changes: 35 additions & 0 deletions .changeset/moody-queens-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
'merchant-center-application-template-starter': patch
'@commercetools-backend/express': patch
'@commercetools-backend/loggers': patch
'@commercetools-frontend/actions-global': patch
'@commercetools-frontend/application-components': patch
'@commercetools-frontend/application-config': patch
'@commercetools-frontend/application-shell': patch
'@commercetools-frontend/application-shell-connectors': patch
'@commercetools-frontend/babel-preset-mc-app': patch
'@commercetools-frontend/browser-history': patch
'@commercetools-frontend/constants': patch
'@commercetools-frontend/create-mc-app': patch
'@commercetools-frontend/cypress': patch
'@commercetools-frontend/eslint-config-mc-app': patch
'@commercetools-frontend/i18n': patch
'@commercetools-frontend/jest-preset-mc-app': patch
'@commercetools-frontend/jest-stylelint-runner': patch
'@commercetools-frontend/l10n': patch
'@commercetools-frontend/mc-dev-authentication': patch
'@commercetools-frontend/mc-html-template': patch
'@commercetools-frontend/mc-scripts': patch
'@commercetools-frontend/notifications': patch
'@commercetools-frontend/permissions': patch
'@commercetools-frontend/react-notifications': patch
'@commercetools-frontend/sdk': patch
'@commercetools-frontend/sentry': patch
'@commercetools-frontend/url-utils': patch
'playground': patch
'@commercetools-local/visual-testing-app': patch
'@commercetools-website/custom-applications': patch
'@commercetools-website/components-playground': patch
---

Use version range for Babel packages.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@
]
},
"dependencies": {
"@babel/cli": "7.16.8",
"@babel/core": "7.16.10",
"@babel/cli": "^7.16.8",
"@babel/core": "^7.16.10",
"@changesets/changelog-github": "0.4.2",
"@changesets/cli": "2.19.0",
"@commercetools-docs/writing-style": "3.0.9",
Expand Down Expand Up @@ -158,7 +158,7 @@
"vfile-message": "3.1.0"
},
"resolutions": {
"@babel/preset-env": "7.16.4",
"@babel/preset-env": "7.16.11",
"@jest/types": "27.4.2",
"@pmmmwh/react-refresh-webpack-plugin": "0.5.3",
"@types/puppeteer": "5.4.4",
Expand Down
4 changes: 2 additions & 2 deletions packages-backend/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"module": "dist/commercetools-backend-express.esm.js",
"files": ["dist", "package.json", "LICENSE", "README.md"],
"dependencies": {
"@babel/runtime": "7.16.7",
"@babel/runtime-corejs3": "7.16.8",
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8",
"@types/node": "16.11.21",
"express": "4.17.2",
"express-jwt": "6.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages-backend/loggers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"module": "dist/commercetools-backend-loggers.esm.js",
"files": ["dist", "package.json", "LICENSE", "README.md"],
"dependencies": {
"@babel/runtime": "7.16.7",
"@babel/runtime-corejs3": "7.16.8",
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8",
"@sentry/node": "6.16.1",
"@types/triple-beam": "1.3.2",
"express-winston": "4.2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/actions-global/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"module": "dist/commercetools-frontend-actions-global.esm.js",
"files": ["dist", "package.json", "LICENSE", "README.md"],
"dependencies": {
"@babel/runtime": "7.16.7",
"@babel/runtime-corejs3": "7.16.8",
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8",
"@commercetools-frontend/browser-history": "21.0.0-rc.0",
"@commercetools-frontend/constants": "21.0.0-rc.0",
"@commercetools-frontend/notifications": "21.0.0-rc.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/application-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"README.md"
],
"dependencies": {
"@babel/runtime": "7.16.7",
"@babel/runtime-corejs3": "7.16.8",
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8",
"@commercetools-frontend/application-shell-connectors": "21.0.0-rc.0",
"@commercetools-frontend/assets": "20.12.3",
"@commercetools-frontend/constants": "21.0.0-rc.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/application-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
"build:schema": "json2ts schema.json src/schema.ts --style.singleQuote --bannerComment '/* eslint-disable prettier/prettier */\n// This file was automatically generated by json-schema-to-typescript.\n// DO NOT MODIFY IT BY HAND. Instead, modify the source schema.json file.'"
},
"dependencies": {
"@babel/register": "7.16.9",
"@babel/runtime": "7.16.7",
"@babel/runtime-corejs3": "7.16.8",
"@babel/register": "^7.16.9",
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8",
"@commercetools-frontend/babel-preset-mc-app": "21.0.0-rc.0",
"ajv": "8.9.0",
"core-js": "3.20.3",
"core-js": "^3.20.3",
"cosmiconfig": "7.0.1",
"lodash": "4.17.21",
"omit-empty-es": "1.1.3"
Expand Down
4 changes: 2 additions & 2 deletions packages/application-shell-connectors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"entrypoints": ["./index.ts", "./test-utils/index.ts"]
},
"dependencies": {
"@babel/runtime": "7.16.7",
"@babel/runtime-corejs3": "7.16.8",
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8",
"@commercetools-frontend/constants": "21.0.0-rc.0",
"@commercetools-frontend/sentry": "21.0.0-rc.0",
"@emotion/react": "11.7.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/application-shell/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"compile-css-modules": "./scripts/compile-styles.js"
},
"dependencies": {
"@babel/runtime": "7.16.7",
"@babel/runtime-corejs3": "7.16.8",
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8",
"@commercetools-frontend/actions-global": "21.0.0-rc.0",
"@commercetools-frontend/application-components": "21.0.0-rc.0",
"@commercetools-frontend/application-shell-connectors": "21.0.0-rc.0",
Expand Down
50 changes: 25 additions & 25 deletions packages/babel-preset-mc-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,30 @@
"main": "./index.js",
"module": "./index.js",
"dependencies": {
"@babel/core": "7.16.10",
"@babel/plugin-proposal-class-properties": "7.16.7",
"@babel/plugin-proposal-do-expressions": "7.16.7",
"@babel/plugin-proposal-export-default-from": "7.16.7",
"@babel/plugin-proposal-export-namespace-from": "7.16.7",
"@babel/plugin-proposal-logical-assignment-operators": "7.16.7",
"@babel/plugin-proposal-object-rest-spread": "7.16.7",
"@babel/plugin-transform-classes": "7.16.7",
"@babel/plugin-transform-destructuring": "7.16.7",
"@babel/plugin-transform-react-display-name": "7.16.7",
"@babel/plugin-transform-regenerator": "7.16.7",
"@babel/plugin-transform-runtime": "7.16.10",
"@babel/preset-env": "7.16.11",
"@babel/preset-react": "7.16.7",
"@babel/preset-typescript": "7.16.7",
"@babel/runtime": "7.16.7",
"@babel/runtime-corejs3": "7.16.8",
"@emotion/babel-plugin": "11.7.2",
"@emotion/babel-preset-css-prop": "11.2.0",
"babel-plugin-dev-expression": "0.2.3",
"babel-plugin-lodash": "3.3.4",
"babel-plugin-macros": "3.1.0",
"babel-plugin-preval": "5.0.0",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"core-js": "3.20.3"
"@babel/core": "^7.16.10",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-do-expressions": "^7.16.7",
"@babel/plugin-proposal-export-default-from": "^7.16.7",
"@babel/plugin-proposal-export-namespace-from": "^7.16.7",
"@babel/plugin-proposal-logical-assignment-operators": "^7.16.7",
"@babel/plugin-proposal-object-rest-spread": "^7.16.7",
"@babel/plugin-transform-classes": "^7.16.7",
"@babel/plugin-transform-destructuring": "^7.16.7",
"@babel/plugin-transform-react-display-name": "^7.16.7",
"@babel/plugin-transform-regenerator": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.16.10",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8",
"@emotion/babel-plugin": "^11.7.2",
"@emotion/babel-preset-css-prop": "^11.2.0",
"babel-plugin-dev-expression": "^0.2.3",
"babel-plugin-lodash": "^3.3.4",
"babel-plugin-macros": "^3.1.0",
"babel-plugin-preval": "^5.0.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"core-js": "^3.20.3"
}
}
4 changes: 2 additions & 2 deletions packages/browser-history/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"module": "dist/commercetools-frontend-browser-history.esm.js",
"files": ["dist", "package.json", "LICENSE", "README.md"],
"dependencies": {
"@babel/runtime": "7.16.7",
"@babel/runtime-corejs3": "7.16.8",
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8",
"@types/history": "4.7.11",
"history": "4.10.1",
"history-query-enhancer": "1.0.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/constants/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"module": "dist/commercetools-frontend-constants.esm.js",
"files": ["dist", "package.json", "LICENSE", "README.md"],
"dependencies": {
"@babel/runtime": "7.16.7",
"@babel/runtime-corejs3": "7.16.8"
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8"
}
}
2 changes: 1 addition & 1 deletion packages/create-mc-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"bin": "./bin/cli.js",
"dependencies": {
"@babel/core": "7.16.10",
"@babel/core": "^7.16.10",
"execa": "5.1.1",
"listr": "0.14.3",
"mri": "1.2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/cypress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"README.md"
],
"dependencies": {
"@babel/runtime": "7.16.7",
"@babel/runtime-corejs3": "7.16.8",
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8",
"@commercetools-frontend/application-config": "21.0.0-rc.0",
"@commercetools-frontend/application-shell": "21.0.0-rc.0",
"@manypkg/get-packages": "1.1.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"compile-data": "formatjs compile-folder --format=./transifex-transformer.js --ast data compiled-data"
},
"dependencies": {
"@babel/runtime": "7.16.7",
"@babel/runtime-corejs3": "7.16.8",
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8",
"@commercetools-community-kit/i18n": "^0.2.7",
"@commercetools-frontend/sentry": "21.0.0-rc.0",
"@commercetools-uikit/i18n": "^12.2.9",
Expand Down
4 changes: 2 additions & 2 deletions packages/l10n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"generate-data": "node ./scripts/generate-l10n-data.js"
},
"dependencies": {
"@babel/runtime": "7.16.7",
"@babel/runtime-corejs3": "7.16.8",
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8",
"@commercetools-frontend/sentry": "21.0.0-rc.0",
"@emotion/react": "11.7.1",
"@types/prop-types": "^15.7.4",
Expand Down
10 changes: 5 additions & 5 deletions packages/mc-html-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@
"build:bundles:watch": "yarn build -w"
},
"dependencies": {
"@babel/runtime": "7.16.7",
"@babel/runtime-corejs3": "7.16.8",
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8",
"@commercetools-frontend/application-config": "21.0.0-rc.0",
"@commercetools-frontend/constants": "21.0.0-rc.0",
"core-js": "3.20.3",
"core-js": "^3.20.3",
"serialize-javascript": "6.0.0",
"uglify-js": "3.14.5",
"uglifycss": "0.0.29"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "7.16.10",
"@babel/preset-env": "7.16.11",
"@babel/plugin-transform-runtime": "^7.16.10",
"@babel/preset-env": "^7.16.11",
"rimraf": "3.0.2"
},
"engines": {
Expand Down
10 changes: 5 additions & 5 deletions packages/mc-scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"build:bundles:watch": "yarn build -w"
},
"dependencies": {
"@babel/runtime": "7.16.7",
"@babel/runtime-corejs3": "7.16.8",
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8",
"@commercetools-frontend/application-config": "21.0.0-rc.0",
"@commercetools-frontend/assets": "20.12.3",
"@commercetools-frontend/babel-preset-mc-app": "21.0.0-rc.0",
Expand All @@ -38,7 +38,7 @@
"autoprefixer": "10.4.2",
"babel-loader": "8.2.3",
"browserslist": "4.19.1",
"core-js": "3.20.3",
"core-js": "^3.20.3",
"css-loader": "5.2.7",
"css-minimizer-webpack-plugin": "3.4.1",
"dotenv": "10.0.0",
Expand Down Expand Up @@ -71,8 +71,8 @@
"webpackbar": "5.0.2"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "7.16.10",
"@babel/preset-env": "7.16.11",
"@babel/plugin-transform-runtime": "^7.16.10",
"@babel/preset-env": "^7.16.11",
"rimraf": "3.0.2"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/notifications/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"module": "dist/commercetools-frontend-notifications.esm.js",
"files": ["dist", "package.json", "LICENSE", "README.md"],
"dependencies": {
"@babel/runtime": "7.16.7",
"@babel/runtime-corejs3": "7.16.8"
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8"
},
"devDependencies": {
"redux": "4.1.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/permissions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"module": "dist/commercetools-frontend-permissions.esm.js",
"files": ["dist", "package.json", "LICENSE", "README.md"],
"dependencies": {
"@babel/runtime": "7.16.7",
"@babel/runtime-corejs3": "7.16.8",
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8",
"@commercetools-frontend/application-shell-connectors": "21.0.0-rc.0",
"@commercetools-frontend/sentry": "21.0.0-rc.0",
"@emotion/react": "11.7.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-notifications/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"module": "dist/commercetools-frontend-react-notifications.esm.js",
"files": ["dist", "package.json", "LICENSE", "README.md"],
"dependencies": {
"@babel/runtime": "7.16.7",
"@babel/runtime-corejs3": "7.16.8",
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8",
"@commercetools-frontend/actions-global": "21.0.0-rc.0",
"@commercetools-frontend/constants": "21.0.0-rc.0",
"@commercetools-frontend/notifications": "21.0.0-rc.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"module": "dist/commercetools-frontend-sdk.esm.js",
"files": ["dist", "test-utils", "package.json", "LICENSE", "README.md"],
"dependencies": {
"@babel/runtime": "7.16.7",
"@babel/runtime-corejs3": "7.16.8",
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8",
"@commercetools-frontend/constants": "21.0.0-rc.0",
"@commercetools/api-request-builder": "5.6.3",
"@commercetools/http-user-agent": "2.1.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/sentry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"module": "dist/commercetools-frontend-sentry.esm.js",
"files": ["dist", "package.json", "LICENSE", "README.md"],
"dependencies": {
"@babel/runtime": "7.16.7",
"@babel/runtime-corejs3": "7.16.8",
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8",
"@commercetools-frontend/constants": "21.0.0-rc.0",
"@sentry/browser": "6.16.1",
"@types/prop-types": "^15.7.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/url-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"module": "dist/commercetools-frontend-url-utils.esm.js",
"files": ["dist", "package.json", "LICENSE", "README.md"],
"dependencies": {
"@babel/runtime": "7.16.7",
"@babel/runtime-corejs3": "7.16.8"
"@babel/runtime": "^7.16.7",
"@babel/runtime-corejs3": "^7.16.8"
}
}
2 changes: 1 addition & 1 deletion website-components-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@emotion/react": "11.7.1",
"@emotion/styled": "11.6.0",
"@fontsource/open-sans": "4.5.2",
"core-js": "3.20.3",
"core-js": "^3.20.3",
"formik": "2.2.9",
"gatsby": "4.5.4",
"gatsby-cli": "4.5.2",
Expand Down
Loading

0 comments on commit 5ea8baf

Please sign in to comment.