@geekmidas/cli 1.12.0 → 2.0.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/CHANGELOG.md +23 -0
- package/dist/index.cjs +11 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +11 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/init/generators/test.ts +2 -1
- package/src/init/versions.ts +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @geekmidas/cli
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#9](https://github.com/geekmidas/toolbox/pull/9) [`e31a60a`](https://github.com/geekmidas/toolbox/commit/e31a60a971366180a0e7bec6e7da56d8f36aa21f) Thanks [@geekmidas](https://github.com/geekmidas)! - Support kysely 0.29.
|
|
8
|
+
|
|
9
|
+
kysely 0.29 moved `Migrator` and `FileMigrationProvider` from the root barrel
|
|
10
|
+
(`'kysely'`) to the `'kysely/migration'` subpath. `@geekmidas/testkit`'s
|
|
11
|
+
`PostgresKyselyMigrator` now imports `Migrator` from `'kysely/migration'` and
|
|
12
|
+
its kysely peer becomes `~0.29.4` — consumers must be on kysely 0.29+.
|
|
13
|
+
|
|
14
|
+
The library packages that only declare a kysely _peer_ (`db`, `audit`, `studio`,
|
|
15
|
+
`telescope`) don't touch the moved symbols, so their peer range is _widened_ to
|
|
16
|
+
`>=0.28.2 <0.30.0` — they now support both 0.28 and 0.29 (non-breaking).
|
|
17
|
+
|
|
18
|
+
`@geekmidas/cli`'s scaffolded `test/globalSetup.ts` template now imports
|
|
19
|
+
`FileMigrationProvider` from `'kysely/migration'` so generated projects work on
|
|
20
|
+
kysely 0.29.
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [[`e31a60a`](https://github.com/geekmidas/toolbox/commit/e31a60a971366180a0e7bec6e7da56d8f36aa21f)]:
|
|
23
|
+
- @geekmidas/telescope@1.1.0
|
|
24
|
+
- @geekmidas/constructs@6.0.0
|
|
25
|
+
|
|
3
26
|
## 1.12.0
|
|
4
27
|
|
|
5
28
|
### Minor Changes
|
package/dist/index.cjs
CHANGED
|
@@ -36,7 +36,7 @@ const prompts = require_chunk.__toESM(require("prompts"));
|
|
|
36
36
|
|
|
37
37
|
//#region package.json
|
|
38
38
|
var name = "@geekmidas/cli";
|
|
39
|
-
var version = "1.
|
|
39
|
+
var version = "1.12.0";
|
|
40
40
|
var description = "CLI tools for building Lambda handlers, server applications, and generating OpenAPI specs";
|
|
41
41
|
var private$1 = false;
|
|
42
42
|
var type = "module";
|
|
@@ -6898,22 +6898,22 @@ const GEEKMIDAS_VERSIONS = {
|
|
|
6898
6898
|
"@geekmidas/audit": "~2.0.1",
|
|
6899
6899
|
"@geekmidas/auth": "~2.0.1",
|
|
6900
6900
|
"@geekmidas/cache": "~1.1.1",
|
|
6901
|
-
"@geekmidas/client": "~
|
|
6902
|
-
"@geekmidas/cloud": "~1.0
|
|
6903
|
-
"@geekmidas/constructs": "~
|
|
6901
|
+
"@geekmidas/client": "~7.0.0",
|
|
6902
|
+
"@geekmidas/cloud": "~1.1.0",
|
|
6903
|
+
"@geekmidas/constructs": "~5.0.0",
|
|
6904
6904
|
"@geekmidas/db": "~1.0.2",
|
|
6905
6905
|
"@geekmidas/emailkit": "~1.0.1",
|
|
6906
|
-
"@geekmidas/envkit": "~1.0
|
|
6906
|
+
"@geekmidas/envkit": "~1.1.0",
|
|
6907
6907
|
"@geekmidas/errors": "~1.0.1",
|
|
6908
|
-
"@geekmidas/events": "~1.1.
|
|
6908
|
+
"@geekmidas/events": "~1.1.5",
|
|
6909
6909
|
"@geekmidas/logger": "~1.0.2",
|
|
6910
|
-
"@geekmidas/rate-limit": "~
|
|
6910
|
+
"@geekmidas/rate-limit": "~4.0.0",
|
|
6911
6911
|
"@geekmidas/schema": "~1.0.3",
|
|
6912
|
-
"@geekmidas/services": "~
|
|
6912
|
+
"@geekmidas/services": "~2.0.0",
|
|
6913
6913
|
"@geekmidas/storage": "~2.0.3",
|
|
6914
6914
|
"@geekmidas/studio": "~1.0.1",
|
|
6915
6915
|
"@geekmidas/telescope": "~1.0.1",
|
|
6916
|
-
"@geekmidas/testkit": "~
|
|
6916
|
+
"@geekmidas/testkit": "~3.0.0",
|
|
6917
6917
|
"@geekmidas/cli": CLI_VERSION
|
|
6918
6918
|
};
|
|
6919
6919
|
|
|
@@ -9961,7 +9961,8 @@ import path from 'node:path';
|
|
|
9961
9961
|
import { Credentials } from '@geekmidas/envkit/credentials';
|
|
9962
9962
|
import { PostgresKyselyMigrator } from '@geekmidas/testkit/kysely';
|
|
9963
9963
|
import { runInitScript } from '@geekmidas/testkit/postgres';
|
|
9964
|
-
import {
|
|
9964
|
+
import { Kysely, PostgresDialect } from 'kysely';
|
|
9965
|
+
import { FileMigrationProvider } from 'kysely/migration';
|
|
9965
9966
|
import pg from 'pg';
|
|
9966
9967
|
|
|
9967
9968
|
export default async function globalSetup() {
|