@intellibiz/intellibiz 1.0.0
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/LICENSE +125 -0
- package/dist/index.cjs +205 -0
- package/dist/index.d.cts +7 -0
- package/dist/index.d.mts +7 -0
- package/dist/index.mjs +7 -0
- package/package.json +67 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity.
|
|
18
|
+
|
|
19
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
20
|
+
exercising permissions granted by this License.
|
|
21
|
+
|
|
22
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
23
|
+
including but not limited to software source code, documentation
|
|
24
|
+
source, and configuration files.
|
|
25
|
+
|
|
26
|
+
"Object" form shall mean any form resulting from mechanical
|
|
27
|
+
transformation or translation of a Source form, including but
|
|
28
|
+
not limited to compiled object code, generated documentation,
|
|
29
|
+
and conversions to other media types.
|
|
30
|
+
|
|
31
|
+
"Work" shall mean the work of authorship made available under
|
|
32
|
+
the License, as indicated by a copyright notice that is included
|
|
33
|
+
in or attached to the work.
|
|
34
|
+
|
|
35
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
36
|
+
form, that is based on (or derived from) the Work and for which the
|
|
37
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
38
|
+
represent, as a whole, an original work of authorship.
|
|
39
|
+
|
|
40
|
+
"Contribution" shall mean, as submitted to the Licensor for inclusion
|
|
41
|
+
in the Work by the copyright owner or by an individual or Legal Entity
|
|
42
|
+
authorized to submit on behalf of the copyright owner.
|
|
43
|
+
|
|
44
|
+
"Contributor" shall mean Licensor and any Legal Entity on behalf of
|
|
45
|
+
whom a Contribution has been received by the Licensor and included
|
|
46
|
+
within the Work.
|
|
47
|
+
|
|
48
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
49
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
50
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
51
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
52
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
53
|
+
Work and such Derivative Works in Source or Object form.
|
|
54
|
+
|
|
55
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
56
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
57
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
58
|
+
patent license to make, use, sell, offer for sale, import, and
|
|
59
|
+
otherwise transfer the Work.
|
|
60
|
+
|
|
61
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
62
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
63
|
+
modifications, and in Source or Object form, provided that You
|
|
64
|
+
meet the following conditions:
|
|
65
|
+
|
|
66
|
+
(a) You must give any other recipients of the Work or Derivative
|
|
67
|
+
Works a copy of this License; and
|
|
68
|
+
|
|
69
|
+
(b) You must cause any modified files to carry prominent notices
|
|
70
|
+
stating that You changed the files; and
|
|
71
|
+
|
|
72
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
73
|
+
that You distribute, all copyright, patent, trademark, and
|
|
74
|
+
attribution notices from the Source form of the Work; and
|
|
75
|
+
|
|
76
|
+
(d) If the Work includes a "NOTICE" text file, you must include a
|
|
77
|
+
readable copy of the attribution notices contained within such
|
|
78
|
+
NOTICE file.
|
|
79
|
+
|
|
80
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
81
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
82
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
83
|
+
this License, without any additional terms or conditions.
|
|
84
|
+
|
|
85
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
86
|
+
names, trademarks, service marks, or product names of the Licensor.
|
|
87
|
+
|
|
88
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
89
|
+
agreed to in writing, Licensor provides the Work on an "AS IS"
|
|
90
|
+
BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
|
|
91
|
+
or implied, including, without limitation, any warranties or
|
|
92
|
+
conditions of TITLE, MERCHANTIBILITY, or FITNESS FOR A PARTICULAR
|
|
93
|
+
PURPOSE. You are solely responsible for determining the
|
|
94
|
+
appropriateness of using or reproducing the Work.
|
|
95
|
+
|
|
96
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
97
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
98
|
+
unless required by applicable law, shall any Contributor be liable
|
|
99
|
+
to You for damages, including any direct, indirect, special,
|
|
100
|
+
incidental, or exemplary damages of any character arising as a
|
|
101
|
+
result of this License or out of the use or inability to use the
|
|
102
|
+
Work.
|
|
103
|
+
|
|
104
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
105
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
106
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
107
|
+
or other liability obligations and rights consistent with this
|
|
108
|
+
License. However, in accepting such obligations, You may offer such
|
|
109
|
+
conditions only on Your own behalf and on Your sole responsibility.
|
|
110
|
+
|
|
111
|
+
END OF TERMS AND CONDITIONS
|
|
112
|
+
|
|
113
|
+
Copyright 2025 Intellibiz
|
|
114
|
+
|
|
115
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
116
|
+
you may not use this file except in compliance with the License.
|
|
117
|
+
You may obtain a copy of the License at
|
|
118
|
+
|
|
119
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
120
|
+
|
|
121
|
+
Unless required by applicable law or agreed to in writing, software
|
|
122
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
123
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
124
|
+
See the License for the specific language governing permissions and
|
|
125
|
+
limitations under the License.
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
let _intellibiz_core = require("@intellibiz/core");
|
|
3
|
+
let _intellibiz_http = require("@intellibiz/http");
|
|
4
|
+
let _intellibiz_db = require("@intellibiz/db");
|
|
5
|
+
let _intellibiz_finance = require("@intellibiz/finance");
|
|
6
|
+
let _intellibiz_commerce = require("@intellibiz/commerce");
|
|
7
|
+
let _intellibiz_identity = require("@intellibiz/identity");
|
|
8
|
+
Object.defineProperty(exports, "ConfigDependencyError", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function() {
|
|
11
|
+
return _intellibiz_core.ConfigDependencyError;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "ConfigValidationError", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function() {
|
|
17
|
+
return _intellibiz_core.ConfigValidationError;
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "ContextMissingError", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function() {
|
|
23
|
+
return _intellibiz_core.ContextMissingError;
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "IntellibizError", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function() {
|
|
29
|
+
return _intellibiz_core.IntellibizError;
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "Money", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function() {
|
|
35
|
+
return _intellibiz_finance.Money;
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
Object.defineProperty(exports, "StrictTenancyViolationError", {
|
|
39
|
+
enumerable: true,
|
|
40
|
+
get: function() {
|
|
41
|
+
return _intellibiz_core.StrictTenancyViolationError;
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "commerce", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function() {
|
|
47
|
+
return _intellibiz_commerce.commerce;
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
Object.defineProperty(exports, "createTraceId", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function() {
|
|
53
|
+
return _intellibiz_core.createTraceId;
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "db", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function() {
|
|
59
|
+
return _intellibiz_db.db;
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
Object.defineProperty(exports, "defineAction", {
|
|
63
|
+
enumerable: true,
|
|
64
|
+
get: function() {
|
|
65
|
+
return _intellibiz_core.defineAction;
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "defineConfig", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function() {
|
|
71
|
+
return _intellibiz_core.defineConfig;
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
Object.defineProperty(exports, "definePlugin", {
|
|
75
|
+
enumerable: true,
|
|
76
|
+
get: function() {
|
|
77
|
+
return _intellibiz_core.definePlugin;
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "emit", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function() {
|
|
83
|
+
return _intellibiz_core.emit;
|
|
84
|
+
}
|
|
85
|
+
});
|
|
86
|
+
Object.defineProperty(exports, "finance", {
|
|
87
|
+
enumerable: true,
|
|
88
|
+
get: function() {
|
|
89
|
+
return _intellibiz_finance.finance;
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "getContext", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function() {
|
|
95
|
+
return _intellibiz_core.getContext;
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
Object.defineProperty(exports, "getElapsedMs", {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function() {
|
|
101
|
+
return _intellibiz_core.getElapsedMs;
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "getNative", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function() {
|
|
107
|
+
return _intellibiz_core.getNative;
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
Object.defineProperty(exports, "getOrigin", {
|
|
111
|
+
enumerable: true,
|
|
112
|
+
get: function() {
|
|
113
|
+
return _intellibiz_core.getOrigin;
|
|
114
|
+
}
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, "getRole", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function() {
|
|
119
|
+
return _intellibiz_core.getRole;
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
Object.defineProperty(exports, "getTenantId", {
|
|
123
|
+
enumerable: true,
|
|
124
|
+
get: function() {
|
|
125
|
+
return _intellibiz_core.getTenantId;
|
|
126
|
+
}
|
|
127
|
+
});
|
|
128
|
+
Object.defineProperty(exports, "getTraceId", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function() {
|
|
131
|
+
return _intellibiz_core.getTraceId;
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
Object.defineProperty(exports, "getUserId", {
|
|
135
|
+
enumerable: true,
|
|
136
|
+
get: function() {
|
|
137
|
+
return _intellibiz_core.getUserId;
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
Object.defineProperty(exports, "hasContext", {
|
|
141
|
+
enumerable: true,
|
|
142
|
+
get: function() {
|
|
143
|
+
return _intellibiz_core.hasContext;
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
Object.defineProperty(exports, "http", {
|
|
147
|
+
enumerable: true,
|
|
148
|
+
get: function() {
|
|
149
|
+
return _intellibiz_http.http;
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
Object.defineProperty(exports, "identity", {
|
|
153
|
+
enumerable: true,
|
|
154
|
+
get: function() {
|
|
155
|
+
return _intellibiz_identity.identity;
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
Object.defineProperty(exports, "isTraceId", {
|
|
159
|
+
enumerable: true,
|
|
160
|
+
get: function() {
|
|
161
|
+
return _intellibiz_core.isTraceId;
|
|
162
|
+
}
|
|
163
|
+
});
|
|
164
|
+
Object.defineProperty(exports, "money", {
|
|
165
|
+
enumerable: true,
|
|
166
|
+
get: function() {
|
|
167
|
+
return _intellibiz_finance.money;
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
Object.defineProperty(exports, "off", {
|
|
171
|
+
enumerable: true,
|
|
172
|
+
get: function() {
|
|
173
|
+
return _intellibiz_core.off;
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
Object.defineProperty(exports, "on", {
|
|
177
|
+
enumerable: true,
|
|
178
|
+
get: function() {
|
|
179
|
+
return _intellibiz_core.on;
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
Object.defineProperty(exports, "resetNative", {
|
|
183
|
+
enumerable: true,
|
|
184
|
+
get: function() {
|
|
185
|
+
return _intellibiz_core.resetNative;
|
|
186
|
+
}
|
|
187
|
+
});
|
|
188
|
+
Object.defineProperty(exports, "runWithContext", {
|
|
189
|
+
enumerable: true,
|
|
190
|
+
get: function() {
|
|
191
|
+
return _intellibiz_core.runWithContext;
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
Object.defineProperty(exports, "setNative", {
|
|
195
|
+
enumerable: true,
|
|
196
|
+
get: function() {
|
|
197
|
+
return _intellibiz_core.setNative;
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
Object.defineProperty(exports, "sql", {
|
|
201
|
+
enumerable: true,
|
|
202
|
+
get: function() {
|
|
203
|
+
return _intellibiz_db.sql;
|
|
204
|
+
}
|
|
205
|
+
});
|
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ActionContext, ApplicationContext, ConfigDependencyError, ConfigValidationError, ContextMissingError, ContextOrigin, EventContext, IntellibizConfig, IntellibizError, IntellibizErrorOptions, IntellibizEvents, IntellibizStore, IntellibiзConfig, JobContext, NativeBridge, RequestContext, RequestContext as HttpRequestParam, SharedServices, StrictTenancyViolationError, TaskContext, createTraceId, defineAction, defineConfig, definePlugin, emit, getContext, getElapsedMs, getNative, getOrigin, getRole, getTenantId, getTraceId, getUserId, hasContext, isTraceId, off, on, resetNative, runWithContext, setNative } from "@intellibiz/core";
|
|
2
|
+
import { http } from "@intellibiz/http";
|
|
3
|
+
import { SqlFragment, SqlQuery, SudoBuilder, db, sql } from "@intellibiz/db";
|
|
4
|
+
import { Money, TaxDestination, TotalInput, TotalResult, finance, money } from "@intellibiz/finance";
|
|
5
|
+
import { ChargeParams, ChargeResult, PaymentProvider, TransactionHandle, TransactionState, commerce } from "@intellibiz/commerce";
|
|
6
|
+
import { ActiveTenant, BusinessUser, identity } from "@intellibiz/identity";
|
|
7
|
+
export { type ActionContext, type ActiveTenant, type ApplicationContext, type BusinessUser, type ChargeParams, type ChargeResult, ConfigDependencyError, ConfigValidationError, ContextMissingError, type ContextOrigin, type EventContext, type HttpRequestParam, type IntellibizConfig, IntellibizError, type IntellibizErrorOptions, type IntellibizEvents, type IntellibizStore, type IntellibiзConfig, type JobContext, Money, type NativeBridge, type PaymentProvider, type RequestContext, type SharedServices, type SqlFragment, type SqlQuery, StrictTenancyViolationError, type SudoBuilder, type TaskContext, type TaxDestination, type TotalInput, type TotalResult, type TransactionHandle, type TransactionState, commerce, createTraceId, db, defineAction, defineConfig, definePlugin, emit, finance, getContext, getElapsedMs, getNative, getOrigin, getRole, getTenantId, getTraceId, getUserId, hasContext, http, identity, isTraceId, money, off, on, resetNative, runWithContext, setNative, sql };
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ActionContext, ApplicationContext, ConfigDependencyError, ConfigValidationError, ContextMissingError, ContextOrigin, EventContext, IntellibizConfig, IntellibizError, IntellibizErrorOptions, IntellibizEvents, IntellibizStore, IntellibiзConfig, JobContext, NativeBridge, RequestContext, RequestContext as HttpRequestParam, SharedServices, StrictTenancyViolationError, TaskContext, createTraceId, defineAction, defineConfig, definePlugin, emit, getContext, getElapsedMs, getNative, getOrigin, getRole, getTenantId, getTraceId, getUserId, hasContext, isTraceId, off, on, resetNative, runWithContext, setNative } from "@intellibiz/core";
|
|
2
|
+
import { http } from "@intellibiz/http";
|
|
3
|
+
import { SqlFragment, SqlQuery, SudoBuilder, db, sql } from "@intellibiz/db";
|
|
4
|
+
import { Money, TaxDestination, TotalInput, TotalResult, finance, money } from "@intellibiz/finance";
|
|
5
|
+
import { ChargeParams, ChargeResult, PaymentProvider, TransactionHandle, TransactionState, commerce } from "@intellibiz/commerce";
|
|
6
|
+
import { ActiveTenant, BusinessUser, identity } from "@intellibiz/identity";
|
|
7
|
+
export { type ActionContext, type ActiveTenant, type ApplicationContext, type BusinessUser, type ChargeParams, type ChargeResult, ConfigDependencyError, ConfigValidationError, ContextMissingError, type ContextOrigin, type EventContext, type HttpRequestParam, type IntellibizConfig, IntellibizError, type IntellibizErrorOptions, type IntellibizEvents, type IntellibizStore, type IntellibiзConfig, type JobContext, Money, type NativeBridge, type PaymentProvider, type RequestContext, type SharedServices, type SqlFragment, type SqlQuery, StrictTenancyViolationError, type SudoBuilder, type TaskContext, type TaxDestination, type TotalInput, type TotalResult, type TransactionHandle, type TransactionState, commerce, createTraceId, db, defineAction, defineConfig, definePlugin, emit, finance, getContext, getElapsedMs, getNative, getOrigin, getRole, getTenantId, getTraceId, getUserId, hasContext, http, identity, isTraceId, money, off, on, resetNative, runWithContext, setNative, sql };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ConfigDependencyError, ConfigValidationError, ContextMissingError, IntellibizError, StrictTenancyViolationError, createTraceId, defineAction, defineConfig, definePlugin, emit, getContext, getElapsedMs, getNative, getOrigin, getRole, getTenantId, getTraceId, getUserId, hasContext, isTraceId, off, on, resetNative, runWithContext, setNative } from "@intellibiz/core";
|
|
2
|
+
import { http } from "@intellibiz/http";
|
|
3
|
+
import { db, sql } from "@intellibiz/db";
|
|
4
|
+
import { Money, finance, money } from "@intellibiz/finance";
|
|
5
|
+
import { commerce } from "@intellibiz/commerce";
|
|
6
|
+
import { identity } from "@intellibiz/identity";
|
|
7
|
+
export { ConfigDependencyError, ConfigValidationError, ContextMissingError, IntellibizError, Money, StrictTenancyViolationError, commerce, createTraceId, db, defineAction, defineConfig, definePlugin, emit, finance, getContext, getElapsedMs, getNative, getOrigin, getRole, getTenantId, getTraceId, getUserId, hasContext, http, identity, isTraceId, money, off, on, resetNative, runWithContext, setNative, sql };
|
package/package.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@intellibiz/intellibiz",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"type": "module",
|
|
6
|
+
"description": "Intellibiz — Business Application Engine. The public face of the V1 framework.",
|
|
7
|
+
"main": "./dist/index.cjs",
|
|
8
|
+
"module": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.mts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": "./dist/index.mjs",
|
|
13
|
+
"require": "./dist/index.cjs",
|
|
14
|
+
"types": "./dist/index.d.mts"
|
|
15
|
+
},
|
|
16
|
+
"./commerce": {
|
|
17
|
+
"import": "./dist/commerce.mjs",
|
|
18
|
+
"require": "./dist/commerce.cjs",
|
|
19
|
+
"types": "./dist/commerce.d.mts"
|
|
20
|
+
},
|
|
21
|
+
"./finance": {
|
|
22
|
+
"import": "./dist/finance.mjs",
|
|
23
|
+
"require": "./dist/finance.cjs",
|
|
24
|
+
"types": "./dist/finance.d.mts"
|
|
25
|
+
},
|
|
26
|
+
"./identity": {
|
|
27
|
+
"import": "./dist/identity.mjs",
|
|
28
|
+
"require": "./dist/identity.cjs",
|
|
29
|
+
"types": "./dist/identity.d.mts"
|
|
30
|
+
},
|
|
31
|
+
"./http": {
|
|
32
|
+
"import": "./dist/http.mjs",
|
|
33
|
+
"require": "./dist/http.cjs",
|
|
34
|
+
"types": "./dist/http.d.mts"
|
|
35
|
+
},
|
|
36
|
+
"./config": {
|
|
37
|
+
"import": "./dist/config.mjs",
|
|
38
|
+
"require": "./dist/config.cjs",
|
|
39
|
+
"types": "./dist/config.d.mts"
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"files": [
|
|
43
|
+
"dist"
|
|
44
|
+
],
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@intellibiz/core": "1.0.0",
|
|
47
|
+
"@intellibiz/identity": "1.0.0",
|
|
48
|
+
"@intellibiz/commerce": "1.0.0",
|
|
49
|
+
"@intellibiz/finance": "1.0.0",
|
|
50
|
+
"@intellibiz/db": "1.0.0",
|
|
51
|
+
"@intellibiz/http": "1.0.0"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@types/node": "^22.0.0",
|
|
55
|
+
"tsdown": "^0.22.14",
|
|
56
|
+
"typescript": "^5.8.3",
|
|
57
|
+
"vitest": "^4.1.10"
|
|
58
|
+
},
|
|
59
|
+
"scripts": {
|
|
60
|
+
"build": "tsdown src/index.ts --format esm,cjs --dts --clean",
|
|
61
|
+
"dev": "tsdown src/index.ts --format esm,cjs --dts --watch",
|
|
62
|
+
"test": "vitest run",
|
|
63
|
+
"typecheck": "tsc --noEmit",
|
|
64
|
+
"lint": "tsc --noEmit",
|
|
65
|
+
"clean": "rm -rf dist"
|
|
66
|
+
}
|
|
67
|
+
}
|