Skip to content

Commit

Permalink
refactor: require node 22.11 and enable v7 dev builds
Browse files Browse the repository at this point in the history
  • Loading branch information
B4nan committed Feb 8, 2025
1 parent 73c8422 commit db725b9
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ jobs:

publish:
name: Publish
if: github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, '[skip ci]')
if: github.ref == 'refs/heads/v7' && !contains(github.event.head_commit.message, '[skip ci]')
runs-on: ubuntu-latest
needs: [ test, build, lint ]
steps:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"build": "yarn workspaces foreach -Ap --topological-dev run build",
"publish:prod": "lerna publish from-package --contents dist --force-publish",
"release:prod": "yarn build && yarn publish:prod",
"publish:next": "lerna publish from-package --contents dist --dist-tag next --force-publish",
"publish:next": "lerna publish from-package --contents dist --dist-tag v7 --force-publish",
"release:next": "lerna run compile && yarn publish:next",
"release:pin-versions": "lerna run copy -- -- --pin-versions",
"test": "jest",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"mikro-orm-esm": "./dist/esm"
},
"engines": {
"node": ">= 18.12.0"
"node": ">= 22.11.0"
},
"scripts": {
"build": "yarn clean && yarn compile && yarn copy && yarn run -T gen-esm-wrapper dist/index.js dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
"homepage": "https://mikro-orm.io",
"engines": {
"node": ">= 18.12.0"
"node": ">= 22.11.0"
},
"scripts": {
"build": "yarn clean && yarn compile && yarn copy && yarn run -T gen-esm-wrapper dist/index.js dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/entity-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"homepage": "https://mikro-orm.io",
"engines": {
"node": ">= 18.12.0"
"node": ">= 22.11.0"
},
"scripts": {
"build": "yarn clean && yarn compile && yarn copy && yarn run -T gen-esm-wrapper dist/index.js dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/knex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"homepage": "https://mikro-orm.io",
"engines": {
"node": ">= 18.12.0"
"node": ">= 22.11.0"
},
"scripts": {
"build": "yarn clean && yarn compile && yarn copy && yarn run -T gen-esm-wrapper dist/index.js dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/libsql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"homepage": "https://mikro-orm.io",
"engines": {
"node": ">= 18.12.0"
"node": ">= 22.11.0"
},
"scripts": {
"build": "yarn clean && yarn compile && yarn copy && yarn run -T gen-esm-wrapper dist/index.js dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/mariadb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"homepage": "https://mikro-orm.io",
"engines": {
"node": ">= 18.12.0"
"node": ">= 22.11.0"
},
"scripts": {
"build": "yarn clean && yarn compile && yarn copy && yarn run -T gen-esm-wrapper dist/index.js dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/migrations-mongodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"homepage": "https://mikro-orm.io",
"engines": {
"node": ">= 18.12.0"
"node": ">= 22.11.0"
},
"scripts": {
"build": "yarn clean && yarn compile && yarn copy && yarn run -T gen-esm-wrapper dist/index.js dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/migrations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"homepage": "https://mikro-orm.io",
"engines": {
"node": ">= 18.12.0"
"node": ">= 22.11.0"
},
"scripts": {
"build": "yarn clean && yarn compile && yarn copy && yarn run -T gen-esm-wrapper dist/index.js dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/mikro-orm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"homepage": "https://mikro-orm.io",
"engines": {
"node": ">= 18.12.0"
"node": ">= 22.11.0"
},
"scripts": {
"build": "yarn clean && yarn compile && yarn copy && yarn run -T gen-esm-wrapper dist/index.js dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/mongodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"homepage": "https://mikro-orm.io",
"engines": {
"node": ">= 18.12.0"
"node": ">= 22.11.0"
},
"scripts": {
"build": "yarn clean && yarn compile && yarn copy && yarn run -T gen-esm-wrapper dist/index.js dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/mssql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"homepage": "https://mikro-orm.io",
"engines": {
"node": ">= 18.12.0"
"node": ">= 22.11.0"
},
"scripts": {
"build": "yarn clean && yarn compile && yarn copy && yarn run -T gen-esm-wrapper dist/index.js dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/mysql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"homepage": "https://mikro-orm.io",
"engines": {
"node": ">= 18.12.0"
"node": ">= 22.11.0"
},
"scripts": {
"build": "yarn clean && yarn compile && yarn copy && yarn run -T gen-esm-wrapper dist/index.js dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/postgresql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"homepage": "https://mikro-orm.io",
"engines": {
"node": ">= 18.12.0"
"node": ">= 22.11.0"
},
"scripts": {
"build": "yarn clean && yarn compile && yarn copy && yarn run -T gen-esm-wrapper dist/index.js dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/reflection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"homepage": "https://mikro-orm.io",
"engines": {
"node": ">= 18.12.0"
"node": ">= 22.11.0"
},
"scripts": {
"build": "yarn clean && yarn compile && yarn copy && yarn run -T gen-esm-wrapper dist/index.js dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/seeder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"homepage": "https://mikro-orm.io",
"engines": {
"node": ">= 18.12.0"
"node": ">= 22.11.0"
},
"scripts": {
"build": "yarn clean && yarn compile && yarn copy",
Expand Down
2 changes: 1 addition & 1 deletion packages/sqlite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"homepage": "https://mikro-orm.io",
"engines": {
"node": ">= 18.12.0"
"node": ">= 22.11.0"
},
"scripts": {
"build": "yarn clean && yarn compile && yarn copy && yarn run -T gen-esm-wrapper dist/index.js dist/index.mjs",
Expand Down

0 comments on commit db725b9

Please sign in to comment.