@lssm/app.cli-databases 1.11.1 → 1.41.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lssm/app.cli-databases",
3
- "version": "1.11.1",
3
+ "version": "1.41.1",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "databases": "dist/cli.js"
@@ -8,16 +8,17 @@
8
8
  "scripts": {
9
9
  "clean": "rm -rf dist",
10
10
  "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
11
+ "publish:pkg:canary": "bun publish:pkg --tag canary",
11
12
  "build": "tsdown",
12
13
  "dev": "bun run build --watch"
13
14
  },
14
15
  "dependencies": {
15
16
  "minimist": "^1.2.8",
16
- "execa": "^9.5.1"
17
+ "execa": "^9.6.1"
17
18
  },
18
19
  "devDependencies": {
19
- "@lssm/tool.tsdown": "0.12.1",
20
- "tsdown": "^0.16.6"
20
+ "@lssm/tool.tsdown": "1.41.1",
21
+ "tsdown": "^0.17.4"
21
22
  },
22
23
  "main": "./dist/index.mjs",
23
24
  "module": "./dist/index.mjs",
@@ -27,11 +28,16 @@
27
28
  "README.md"
28
29
  ],
29
30
  "exports": {
30
- ".": "./dist/index.mjs",
31
- "./cli": "./dist/cli.mjs",
31
+ ".": "./src/index.ts",
32
+ "./cli": "./src/cli.ts",
32
33
  "./*": "./*"
33
34
  },
34
35
  "publishConfig": {
35
- "access": "public"
36
+ "access": "public",
37
+ "exports": {
38
+ ".": "./dist/index.mjs",
39
+ "./cli": "./dist/cli.mjs",
40
+ "./*": "./*"
41
+ }
36
42
  }
37
43
  }
package/dist/cli.d.mts DELETED
@@ -1 +0,0 @@
1
- export { };
package/dist/index.d.mts DELETED
@@ -1,2 +0,0 @@
1
- import { DatabasesProfile, DbConfig, loadProfile } from "./profile.mjs";
2
- export { DatabasesProfile, DbConfig, loadProfile };
@@ -1,14 +0,0 @@
1
- //#region src/profile.d.ts
2
- interface DbConfig {
3
- dbId: string;
4
- cwd: string;
5
- modules: string[];
6
- configFile?: string;
7
- }
8
- interface DatabasesProfile {
9
- name: string;
10
- databases: DbConfig[];
11
- }
12
- declare function loadProfile(name: string): Promise<DatabasesProfile>;
13
- //#endregion
14
- export { DatabasesProfile, DbConfig, loadProfile };