nmtjs 0.3.3 → 0.3.5
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 +5 -0
- package/dist/index.js.map +1 -0
- package/package.json +11 -25
- package/src/index.ts +22 -0
- package/dist/application.js +0 -1
- package/dist/application.js.map +0 -1
- package/dist/common.js +0 -1
- package/dist/common.js.map +0 -1
- package/dist/contract.js +0 -1
- package/dist/contract.js.map +0 -1
- package/dist/server.js +0 -1
- package/dist/server.js.map +0 -1
- package/src/application.ts +0 -1
- package/src/common.ts +0 -1
- package/src/contract.ts +0 -1
- package/src/server.ts +0 -1
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,33 +2,19 @@
|
|
|
2
2
|
"name": "nmtjs",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"exports": {
|
|
5
|
-
"
|
|
6
|
-
"bun": "./src/
|
|
7
|
-
"types": "./src/
|
|
8
|
-
"default": "./dist/
|
|
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"
|
|
5
|
+
".": {
|
|
6
|
+
"bun": "./src/index.ts",
|
|
7
|
+
"types": "./src/index.ts",
|
|
8
|
+
"default": "./dist/index.js"
|
|
24
9
|
}
|
|
25
10
|
},
|
|
26
11
|
"dependencies": {
|
|
27
|
-
"@nmtjs/common": "0.3.
|
|
28
|
-
"@nmtjs/application": "0.3.
|
|
29
|
-
"@nmtjs/
|
|
30
|
-
"@nmtjs/contract": "0.3.
|
|
31
|
-
"@nmtjs/
|
|
12
|
+
"@nmtjs/common": "0.3.5",
|
|
13
|
+
"@nmtjs/application": "0.3.5",
|
|
14
|
+
"@nmtjs/cli": "0.3.5",
|
|
15
|
+
"@nmtjs/contract": "0.3.5",
|
|
16
|
+
"@nmtjs/type": "0.3.5",
|
|
17
|
+
"@nmtjs/server": "0.3.5"
|
|
32
18
|
},
|
|
33
19
|
"files": [
|
|
34
20
|
"src",
|
|
@@ -37,7 +23,7 @@
|
|
|
37
23
|
"LICENSE.md",
|
|
38
24
|
"README.md"
|
|
39
25
|
],
|
|
40
|
-
"version": "0.3.
|
|
26
|
+
"version": "0.3.5",
|
|
41
27
|
"scripts": {
|
|
42
28
|
"build": "neemata-build --root=./src './**/*.ts'",
|
|
43
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'
|
package/dist/application.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '@nmtjs/application';
|
package/dist/application.js.map
DELETED
|
@@ -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';
|
package/dist/common.js.map
DELETED
|
@@ -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';
|
package/dist/contract.js.map
DELETED
|
@@ -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';
|
package/dist/server.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/server.ts"],"sourcesContent":["export * from '@nmtjs/server'\n"],"names":[],"mappings":"AAAA,cAAc,gBAAe"}
|
package/src/application.ts
DELETED
|
@@ -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'
|