nmtjs 0.3.4 → 0.3.6

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/dist/index.js ADDED
@@ -0,0 +1,5 @@
1
+ export { n, builtin, ApiError, WorkerType, Hook, Scope, asOptional, Application } from '@nmtjs/application';
2
+ export { c } from '@nmtjs/contract';
3
+ export { t } from '@nmtjs/type';
4
+ export { ErrorCode, TransportType } from '@nmtjs/common';
5
+ export { ApplicationServer, injectWorkerOptions, provideWorkerOptions, WTSubManagerPlugin } from '@nmtjs/server';
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export {\n n,\n builtin,\n type GuardLike,\n type MiddlewareLike,\n type FilterLike,\n ApiError,\n WorkerType,\n Hook,\n Scope,\n asOptional,\n Application,\n} from '@nmtjs/application'\nexport { c } from '@nmtjs/contract'\nexport { t } from '@nmtjs/type'\nexport { ErrorCode, TransportType, type ApiBlobMetadata } from '@nmtjs/common'\nexport {\n ApplicationServer,\n injectWorkerOptions,\n provideWorkerOptions,\n WTSubManagerPlugin,\n} from '@nmtjs/server'\n"],"names":["n","builtin","ApiError","WorkerType","Hook","Scope","asOptional","Application","c","t","ErrorCode","TransportType","ApplicationServer","injectWorkerOptions","provideWorkerOptions","WTSubManagerPlugin"],"mappings":"AAAA,SACEA,CAAC,EACDC,OAAO,EAIPC,QAAQ,EACRC,UAAU,EACVC,IAAI,EACJC,KAAK,EACLC,UAAU,EACVC,WAAW,QACN,qBAAoB;AAC3B,SAASC,CAAC,QAAQ,kBAAiB;AACnC,SAASC,CAAC,QAAQ,cAAa;AAC/B,SAASC,SAAS,EAAEC,aAAa,QAA8B,gBAAe;AAC9E,SACEC,iBAAiB,EACjBC,mBAAmB,EACnBC,oBAAoB,EACpBC,kBAAkB,QACb,gBAAe"}
package/package.json CHANGED
@@ -2,39 +2,19 @@
2
2
  "name": "nmtjs",
3
3
  "type": "module",
4
4
  "exports": {
5
- "./application": {
6
- "bun": "./src/application.ts",
7
- "types": "./src/application.ts",
8
- "default": "./dist/application.js"
9
- },
10
- "./server": {
11
- "bun": "./src/server.ts",
12
- "types": "./src/server.ts",
13
- "default": "./dist/server.js"
14
- },
15
- "./contract": {
16
- "bun": "./src/contract.ts",
17
- "types": "./src/contract.ts",
18
- "default": "./dist/contract.js"
19
- },
20
- "./common": {
21
- "bun": "./src/common.ts",
22
- "types": "./src/common.ts",
23
- "default": "./dist/common.js"
24
- },
25
- "./type": {
26
- "bun": "./src/type.ts",
27
- "types": "./src/type.ts",
28
- "default": "./dist/type.js"
5
+ ".": {
6
+ "bun": "./src/index.ts",
7
+ "types": "./src/index.ts",
8
+ "default": "./dist/index.js"
29
9
  }
30
10
  },
31
11
  "dependencies": {
32
- "@nmtjs/common": "0.3.4",
33
- "@nmtjs/contract": "0.3.4",
34
- "@nmtjs/application": "0.3.4",
35
- "@nmtjs/server": "0.3.4",
36
- "@nmtjs/cli": "0.3.4",
37
- "@nmtjs/type": "0.3.4"
12
+ "@nmtjs/common": "0.3.6",
13
+ "@nmtjs/contract": "0.3.6",
14
+ "@nmtjs/type": "0.3.6",
15
+ "@nmtjs/application": "0.3.6",
16
+ "@nmtjs/cli": "0.3.6",
17
+ "@nmtjs/server": "0.3.6"
38
18
  },
39
19
  "files": [
40
20
  "src",
@@ -43,7 +23,7 @@
43
23
  "LICENSE.md",
44
24
  "README.md"
45
25
  ],
46
- "version": "0.3.4",
26
+ "version": "0.3.6",
47
27
  "scripts": {
48
28
  "build": "neemata-build --root=./src './**/*.ts'",
49
29
  "type-check": "tsc --noEmit"
package/src/index.ts ADDED
@@ -0,0 +1,22 @@
1
+ export {
2
+ n,
3
+ builtin,
4
+ type GuardLike,
5
+ type MiddlewareLike,
6
+ type FilterLike,
7
+ ApiError,
8
+ WorkerType,
9
+ Hook,
10
+ Scope,
11
+ asOptional,
12
+ Application,
13
+ } from '@nmtjs/application'
14
+ export { c } from '@nmtjs/contract'
15
+ export { t } from '@nmtjs/type'
16
+ export { ErrorCode, TransportType, type ApiBlobMetadata } from '@nmtjs/common'
17
+ export {
18
+ ApplicationServer,
19
+ injectWorkerOptions,
20
+ provideWorkerOptions,
21
+ WTSubManagerPlugin,
22
+ } from '@nmtjs/server'
@@ -1 +0,0 @@
1
- export * from '@nmtjs/application';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/application.ts"],"sourcesContent":["export * from '@nmtjs/application'\n"],"names":[],"mappings":"AAAA,cAAc,qBAAoB"}
package/dist/common.js DELETED
@@ -1 +0,0 @@
1
- export * from '@nmtjs/common';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/common.ts"],"sourcesContent":["export * from '@nmtjs/common'\n"],"names":[],"mappings":"AAAA,cAAc,gBAAe"}
package/dist/contract.js DELETED
@@ -1 +0,0 @@
1
- export * from '@nmtjs/contract';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/contract.ts"],"sourcesContent":["export * from '@nmtjs/contract'\n"],"names":[],"mappings":"AAAA,cAAc,kBAAiB"}
package/dist/server.js DELETED
@@ -1 +0,0 @@
1
- export * from '@nmtjs/server';
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/server.ts"],"sourcesContent":["export * from '@nmtjs/server'\n"],"names":[],"mappings":"AAAA,cAAc,gBAAe"}
package/dist/type.js DELETED
@@ -1 +0,0 @@
1
- export { t } from '@nmtjs/type/temporal';
package/dist/type.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/type.ts"],"sourcesContent":["export { t } from '@nmtjs/type/temporal'\n"],"names":["t"],"mappings":"AAAA,SAASA,CAAC,QAAQ,uBAAsB"}
@@ -1 +0,0 @@
1
- export * from '@nmtjs/application'
package/src/common.ts DELETED
@@ -1 +0,0 @@
1
- export * from '@nmtjs/common'
package/src/contract.ts DELETED
@@ -1 +0,0 @@
1
- export * from '@nmtjs/contract'
package/src/server.ts DELETED
@@ -1 +0,0 @@
1
- export * from '@nmtjs/server'
package/src/type.ts DELETED
@@ -1 +0,0 @@
1
- export { t } from '@nmtjs/type/temporal'