@monorise/cli 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/cli.ts +2 -14
  2. package/package.json +6 -5
package/cli.ts CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env -S tsx
2
2
 
3
3
  import fs from 'node:fs';
4
4
  import path from 'node:path';
@@ -118,19 +118,7 @@ export {
118
118
  EmailAuthEnabledEntities,
119
119
  };
120
120
 
121
- declare module '#/shared/ui/monorise' {
122
- export enum Entity {
123
- ${enumEntries.join(',\n ')}
124
- }
125
-
126
- ${typeEntries.join('\n ')}
127
-
128
- export interface EntitySchemaMap {
129
- ${schemaMapEntries.join('\n ')}
130
- }
131
- }
132
-
133
- declare module '#/shared/monorise' {
121
+ declare module '@monorise/base' {
134
122
  export enum Entity {
135
123
  ${enumEntries.join(',\n ')}
136
124
  }
package/package.json CHANGED
@@ -1,20 +1,21 @@
1
1
  {
2
2
  "name": "@monorise/cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "bin": {
9
- "monorise": "tsx ./cli.ts"
9
+ "monorise": "npx tsx -r tsconfig-paths/register ./cli.ts"
10
+ },
11
+ "scripts": {
12
+ "build": "tsc"
10
13
  },
11
14
  "keywords": [],
12
15
  "author": "",
13
16
  "license": "ISC",
14
17
  "dependencies": {
18
+ "tsconfig-paths": "^4.2.0",
15
19
  "zod": "^3.24.2"
16
- },
17
- "devDependencies": {
18
- "tsx": "^4.19.3"
19
20
  }
20
21
  }