nmtjs 0.12.6 → 0.12.8

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
@@ -7,86 +7,30 @@
7
7
  "import": "./dist/index.js",
8
8
  "module-sync": "./dist/index.js"
9
9
  },
10
- "./common": {
11
- "types": "./dist/common.d.ts",
12
- "import": "./dist/common.js",
13
- "module-sync": "./dist/common.js"
14
- },
15
- "./type": {
16
- "types": "./dist/type.d.ts",
17
- "import": "./dist/type.js",
18
- "module-sync": "./dist/type.js"
19
- },
20
- "./contract": {
21
- "types": "./dist/contract.d.ts",
22
- "import": "./dist/contract.js",
23
- "module-sync": "./dist/contract.js"
24
- },
25
- "./core": {
26
- "types": "./dist/core.d.ts",
27
- "import": "./dist/core.js",
28
- "module-sync": "./dist/core.js"
29
- },
30
- "./protocol": {
31
- "types": "./dist/protocol.d.ts",
32
- "import": "./dist/protocol.js",
33
- "module-sync": "./dist/protocol.js"
34
- },
35
- "./protocol/client": {
36
- "types": "./dist/protocol-client.d.ts",
37
- "import": "./dist/protocol-client.js",
38
- "module-sync": "./dist/protocol-client.js"
39
- },
40
- "./protocol/server": {
41
- "types": "./dist/protocol-server.d.ts",
42
- "import": "./dist/protocol-server.js",
43
- "module-sync": "./dist/protocol-server.js"
44
- },
45
- "./json-format": {
46
- "types": "./dist/json-format.d.ts",
47
- "import": "./dist/json-format.js",
48
- "module-sync": "./dist/json-format.js"
49
- },
50
- "./ws-transport": {
51
- "types": "./dist/ws-transport.d.ts",
52
- "import": "./dist/ws-transport.js",
53
- "module-sync": "./dist/ws-transport.js"
54
- },
55
- "./application": {
56
- "types": "./dist/application.d.ts",
57
- "import": "./dist/application.js",
58
- "module-sync": "./dist/application.js"
59
- },
60
- "./server": {
61
- "types": "./dist/server.d.ts",
62
- "import": "./dist/server.js",
63
- "module-sync": "./dist/server.js"
64
- },
65
- "./cli": {
66
- "types": "./dist/cli.d.ts",
67
- "import": "./dist/cli.js",
68
- "module-sync": "./dist/cli.js"
10
+ "./*": {
11
+ "types": "./dist/*.d.ts",
12
+ "import": "./dist/*.js",
13
+ "module-sync": "./dist/*.js"
69
14
  }
70
15
  },
71
16
  "dependencies": {
72
- "@nmtjs/common": "0.12.6",
73
- "@nmtjs/protocol": "0.12.6",
74
- "@nmtjs/server": "0.12.6",
75
- "@nmtjs/core": "0.12.6",
76
- "@nmtjs/contract": "0.12.6",
77
- "@nmtjs/type": "0.12.6",
78
- "@nmtjs/json-format": "0.12.6",
79
- "@nmtjs/application": "0.12.6",
80
- "@nmtjs/ws-transport": "0.12.6",
81
- "@nmtjs/cli": "0.12.6"
17
+ "@nmtjs/common": "0.12.8",
18
+ "@nmtjs/protocol": "0.12.8",
19
+ "@nmtjs/core": "0.12.8",
20
+ "@nmtjs/application": "0.12.8",
21
+ "@nmtjs/server": "0.12.8",
22
+ "@nmtjs/type": "0.12.8",
23
+ "@nmtjs/contract": "0.12.8",
24
+ "@nmtjs/json-format": "0.12.8",
25
+ "@nmtjs/ws-transport": "0.12.8",
26
+ "@nmtjs/cli": "0.12.8"
82
27
  },
83
28
  "files": [
84
- "src",
85
29
  "dist",
86
30
  "LICENSE.md",
87
31
  "README.md"
88
32
  ],
89
- "version": "0.12.6",
33
+ "version": "0.12.8",
90
34
  "scripts": {
91
35
  "build": "tsc",
92
36
  "type-check": "tsc --noEmit"
@@ -1 +0,0 @@
1
- export * from '@nmtjs/application'
package/src/cli.ts DELETED
@@ -1 +0,0 @@
1
- export * from '@nmtjs/cli'
package/src/common.ts DELETED
@@ -1 +0,0 @@
1
- export * from '@nmtjs/common'
package/src/contract.ts DELETED
@@ -1,3 +0,0 @@
1
- import importDefault from '@nmtjs/contract'
2
- export default importDefault
3
- export * from '@nmtjs/contract'
package/src/core.ts DELETED
@@ -1 +0,0 @@
1
- export * from '@nmtjs/core'
package/src/index.ts DELETED
@@ -1,74 +0,0 @@
1
- // biome-ignore lint/correctness/noUnusedImports: TSC wants it
2
- // biome-ignore assist/source/organizeImports: TSC wants it
3
- import type { kClassInjectable, kInjectable } from '@nmtjs/core'
4
-
5
- import {
6
- AppInjectables,
7
- createApplication,
8
- createContractNamespace,
9
- createContractProcedure,
10
- createContractRouter,
11
- createFilter,
12
- createGuard,
13
- createMiddleware,
14
- createNamespace,
15
- createProcedure,
16
- createRouter,
17
- createTask,
18
- } from '@nmtjs/application'
19
- import {
20
- CoreInjectables,
21
- createClassInjectable,
22
- createConsolePrettyDestination,
23
- createExtendableClassInjectable,
24
- createFactoryInjectable,
25
- createLazyInjectable,
26
- createOptionalInjectable,
27
- createPlugin,
28
- createValueInjectable,
29
- } from '@nmtjs/core'
30
- import { createTransport, ProtocolInjectables } from '@nmtjs/protocol/server'
31
- import { createServer } from '@nmtjs/server'
32
-
33
- export const neemata = {
34
- app: createApplication,
35
- server: createServer,
36
- injectables: {
37
- ...CoreInjectables,
38
- ...ProtocolInjectables,
39
- ...AppInjectables,
40
- },
41
- transport: createTransport,
42
- plugin: createPlugin,
43
- logging: {
44
- console:
45
- // TODO: TSC wants it
46
- createConsolePrettyDestination as typeof createConsolePrettyDestination,
47
- },
48
- optional: createOptionalInjectable,
49
- value: createValueInjectable,
50
- lazy: createLazyInjectable,
51
- factory: createFactoryInjectable,
52
- class: createClassInjectable,
53
- extendClass: createExtendableClassInjectable,
54
- task: createTask,
55
- router: createRouter,
56
- contractRouter: createContractRouter,
57
- namespace: createNamespace,
58
- contractNamespace: createContractNamespace,
59
- procedure: createProcedure,
60
- contractProcedure: createContractProcedure,
61
- middleware: createMiddleware,
62
- guard: createGuard,
63
- filter: createFilter,
64
- }
65
-
66
- export { ApiError, WorkerType } from '@nmtjs/application'
67
- export { c } from '@nmtjs/contract'
68
- export { Hook, Scope } from '@nmtjs/core'
69
- export { ErrorCode, ProtocolBlob, TransportType } from '@nmtjs/protocol'
70
- export { createStreamResponse } from '@nmtjs/protocol/server'
71
- export { t } from '@nmtjs/type'
72
-
73
- export { neemata as n }
74
- export default neemata
@@ -1 +0,0 @@
1
- export * from '@nmtjs/json-format/server'
@@ -1 +0,0 @@
1
- export * from '@nmtjs/protocol/client'
@@ -1 +0,0 @@
1
- export * from '@nmtjs/protocol/server'
package/src/protocol.ts DELETED
@@ -1 +0,0 @@
1
- export * from '@nmtjs/protocol'
package/src/server.ts DELETED
@@ -1 +0,0 @@
1
- export * from '@nmtjs/server'
package/src/type.ts DELETED
@@ -1,3 +0,0 @@
1
- import importDefault from '@nmtjs/type'
2
- export default importDefault
3
- export * from '@nmtjs/type'
@@ -1 +0,0 @@
1
- export * from '@nmtjs/ws-transport'
File without changes
File without changes