@mikro-orm/cli 6.3.5-dev.9 → 6.3.6-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLIHelper.js +7 -1
- package/README.md +2 -1
- package/commands/DebugCommand.js +1 -1
- package/package.json +6 -6
package/CLIHelper.js
CHANGED
|
@@ -77,7 +77,13 @@ class CLIHelper {
|
|
|
77
77
|
for (const driver of drivers) {
|
|
78
78
|
CLIHelper.dump(` - ${driver} ${await CLIHelper.getModuleVersion(driver)}`);
|
|
79
79
|
}
|
|
80
|
-
|
|
80
|
+
/* istanbul ignore next */
|
|
81
|
+
if (process.versions.bun) {
|
|
82
|
+
CLIHelper.dump(` - typescript via bun`);
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
CLIHelper.dump(` - typescript ${await CLIHelper.getModuleVersion('typescript')}`);
|
|
86
|
+
}
|
|
81
87
|
CLIHelper.dump(' - package.json ' + core_1.colors.green('found'));
|
|
82
88
|
}
|
|
83
89
|
else {
|
package/README.md
CHANGED
|
@@ -143,7 +143,7 @@ There is also auto-generated [CHANGELOG.md](CHANGELOG.md) file based on commit m
|
|
|
143
143
|
- [Using `QueryBuilder`](https://mikro-orm.io/docs/query-builder)
|
|
144
144
|
- [Preloading Deeply Nested Structures via populate](https://mikro-orm.io/docs/nested-populate)
|
|
145
145
|
- [Property Validation](https://mikro-orm.io/docs/property-validation)
|
|
146
|
-
- [Lifecycle Hooks](https://mikro-orm.io/docs/
|
|
146
|
+
- [Lifecycle Hooks](https://mikro-orm.io/docs/events#hooks)
|
|
147
147
|
- [Vanilla JS Support](https://mikro-orm.io/docs/usage-with-js)
|
|
148
148
|
- [Schema Generator](https://mikro-orm.io/docs/schema-generator)
|
|
149
149
|
- [Entity Generator](https://mikro-orm.io/docs/entity-generator)
|
|
@@ -163,6 +163,7 @@ You can find example integrations for some popular frameworks in the [`mikro-orm
|
|
|
163
163
|
- [NextJS + MySQL](https://github.com/jonahallibone/mikro-orm-nextjs)
|
|
164
164
|
- [Accounts.js REST and GraphQL authentication + SQLite](https://github.com/darkbasic/mikro-orm-accounts-example)
|
|
165
165
|
- [Nest + Shopify + PostgreSQL + GraphQL](https://github.com/Cloudshelf/Shopify_CSConnector)
|
|
166
|
+
- [Elysia.js + libSQL + Bun](https://github.com/mikro-orm/elysia-bun-example-app)
|
|
166
167
|
|
|
167
168
|
### JavaScript Examples
|
|
168
169
|
|
package/commands/DebugCommand.js
CHANGED
|
@@ -13,7 +13,7 @@ class DebugCommand {
|
|
|
13
13
|
CLIHelper_1.CLIHelper.dump(`Current ${core_1.colors.cyan('MikroORM')} CLI configuration`);
|
|
14
14
|
await CLIHelper_1.CLIHelper.dumpDependencies();
|
|
15
15
|
const settings = core_1.ConfigurationLoader.getSettings();
|
|
16
|
-
if (settings.useTsNode !== false) {
|
|
16
|
+
if (!process.versions.bun && settings.useTsNode !== false) {
|
|
17
17
|
CLIHelper_1.CLIHelper.dump(' - ts-node ' + core_1.colors.green('enabled'));
|
|
18
18
|
}
|
|
19
19
|
const configPaths = CLIHelper_1.CLIHelper.getConfigPaths();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/cli",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.6-dev.0",
|
|
4
4
|
"description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.mjs",
|
|
@@ -63,15 +63,15 @@
|
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@jercle/yargonaut": "1.1.5",
|
|
66
|
-
"@mikro-orm/core": "6.3.
|
|
67
|
-
"@mikro-orm/knex": "6.3.
|
|
66
|
+
"@mikro-orm/core": "6.3.6-dev.0",
|
|
67
|
+
"@mikro-orm/knex": "6.3.6-dev.0",
|
|
68
68
|
"fs-extra": "11.2.0",
|
|
69
69
|
"tsconfig-paths": "4.2.0",
|
|
70
70
|
"yargs": "17.7.2"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@mikro-orm/entity-generator": "^6.3.
|
|
74
|
-
"@mikro-orm/migrations": "^6.3.
|
|
75
|
-
"@mikro-orm/seeder": "^6.3.
|
|
73
|
+
"@mikro-orm/entity-generator": "^6.3.5",
|
|
74
|
+
"@mikro-orm/migrations": "^6.3.5",
|
|
75
|
+
"@mikro-orm/seeder": "^6.3.5"
|
|
76
76
|
}
|
|
77
77
|
}
|