@duraxis/storage-s3 0.0.0-stage → 0.1.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/CHANGELOG.md +11 -0
- package/LICENSE +15 -0
- package/README.md +288 -2
- package/dist/index.cjs +361 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +360 -0
- package/dist/index.js.map +1 -0
- package/dist/s3-error.mapper.d.ts +7 -0
- package/dist/s3-object.codec.d.ts +5 -0
- package/dist/s3-storage.driver.d.ts +19 -0
- package/dist/s3-storage.options.d.ts +16 -0
- package/package.json +65 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# @duraxis/storage-s3
|
|
2
|
+
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 8aa0c51: Add the S3 storage driver with an internally managed AWS SDK dependency, plain configuration, conditional manifest publication, nonce-protected object generations, tombstone CAS deletion, paginated metadata listing, safe mutation retry handling and coordinated shutdown. Include storage conformance, real core/ORM/Nest regression tests and opt-in live S3 integration tests.
|
|
8
|
+
|
|
9
|
+
## 0.1.0
|
|
10
|
+
|
|
11
|
+
Initial S3 driver with conditional writes, isolated namespaces and managed AWS SDK lifecycle.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
ISC License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 João Paulo Dias
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
7
|
+
copyright notice and this permission notice appear in all copies.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
10
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
11
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
12
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
13
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
14
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
15
|
+
PERFORMANCE OF THIS SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,289 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @duraxis/storage-s3
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Amazon S3 storage for Duraxis, with an internally managed AWS SDK v3 client. Applications only
|
|
4
|
+
import Duraxis APIs. Requires Node.js 22.12+ and a pre-existing general-purpose S3 bucket.
|
|
5
|
+
No network requests occur in the constructor.
|
|
6
|
+
|
|
7
|
+
## Installation and standalone usage
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pnpm add @duraxis/core @duraxis/storage-s3
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
import { DuraxisDatabase } from "@duraxis/core";
|
|
15
|
+
import { S3StorageDriver } from "@duraxis/storage-s3";
|
|
16
|
+
|
|
17
|
+
const storage = new S3StorageDriver({
|
|
18
|
+
bucket: "my-duraxis-bucket",
|
|
19
|
+
prefix: "databases/orders",
|
|
20
|
+
client: { region: "sa-east-1" },
|
|
21
|
+
});
|
|
22
|
+
const database = new DuraxisDatabase({ storage });
|
|
23
|
+
try {
|
|
24
|
+
await database.transaction((tx) => {
|
|
25
|
+
tx.put("greeting", new TextEncoder().encode("hello"));
|
|
26
|
+
});
|
|
27
|
+
await database.transaction(async (tx) => {
|
|
28
|
+
console.log(new TextDecoder().decode((await tx.get("greeting"))!));
|
|
29
|
+
});
|
|
30
|
+
} finally {
|
|
31
|
+
await database.close({ closeStorage: true });
|
|
32
|
+
}
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
The AWS SDK is a regular runtime dependency of this package. Do not install or construct an AWS
|
|
36
|
+
SDK client separately. For ORM usage, also install `@duraxis/orm` and pass the same database to
|
|
37
|
+
`DuraxisORM` as with the other drivers.
|
|
38
|
+
|
|
39
|
+
## NestJS
|
|
40
|
+
|
|
41
|
+
Install `@duraxis/nestjs`, `@duraxis/orm`, `@duraxis/core` and `@duraxis/storage-s3` alongside the
|
|
42
|
+
normal NestJS dependencies:
|
|
43
|
+
|
|
44
|
+
```ts
|
|
45
|
+
import { Module } from "@nestjs/common";
|
|
46
|
+
import { DuraxisModule } from "@duraxis/nestjs";
|
|
47
|
+
import { S3StorageDriver } from "@duraxis/storage-s3";
|
|
48
|
+
|
|
49
|
+
@Module({
|
|
50
|
+
imports: [
|
|
51
|
+
DuraxisModule.forRootAsync({
|
|
52
|
+
useFactory: async () => ({
|
|
53
|
+
driver: new S3StorageDriver({
|
|
54
|
+
client: { region: "sa-east-1" },
|
|
55
|
+
bucket: "my-duraxis-bucket",
|
|
56
|
+
prefix: "databases/orders",
|
|
57
|
+
}),
|
|
58
|
+
closeStorage: true,
|
|
59
|
+
autoLoadEntities: true,
|
|
60
|
+
schema: { mode: "validate" },
|
|
61
|
+
}),
|
|
62
|
+
}),
|
|
63
|
+
],
|
|
64
|
+
})
|
|
65
|
+
export class AppModule {}
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Provision the schema before using `validate`; an explicitly chosen `create` mode can initialize
|
|
69
|
+
a new namespace. Feature modules continue using `DuraxisModule.forFeature([Entity])`, ordinary
|
|
70
|
+
`providers: [Service]` and `@Transactional()`.
|
|
71
|
+
|
|
72
|
+
Nest treats a supplied driver instance as externally owned. Set **`closeStorage: true`** to close
|
|
73
|
+
it on shutdown. Alternatively, return `driver: () => new S3StorageDriver(options)`; Nest owns
|
|
74
|
+
factory-created drivers by default. No Nest ownership or transaction lifecycle rules are changed.
|
|
75
|
+
|
|
76
|
+
## Configuration and credentials
|
|
77
|
+
|
|
78
|
+
```ts
|
|
79
|
+
import type { S3StorageDriverOptions } from "@duraxis/storage-s3";
|
|
80
|
+
|
|
81
|
+
const options: S3StorageDriverOptions = {
|
|
82
|
+
bucket: "my-duraxis-bucket",
|
|
83
|
+
prefix: "database-a", // normalized to "database-a/"
|
|
84
|
+
client: {
|
|
85
|
+
region: "sa-east-1",
|
|
86
|
+
endpoint: "http://127.0.0.1:9000", // optional compatible endpoint
|
|
87
|
+
forcePathStyle: true, // commonly required by local compatible services
|
|
88
|
+
maxAttempts: 3, // read attempts only, from 1 to 10
|
|
89
|
+
credentials: {
|
|
90
|
+
// optional; normally omit this entire property
|
|
91
|
+
accessKeyId: process.env.S3_ACCESS_KEY_ID!,
|
|
92
|
+
secretAccessKey: process.env.S3_SECRET_ACCESS_KEY!,
|
|
93
|
+
sessionToken: process.env.S3_SESSION_TOKEN,
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
};
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Omitting credentials uses the internal SDK's default credential provider chain, including
|
|
100
|
+
environment credentials, shared configuration, workload identity, ECS and EC2 IAM roles.
|
|
101
|
+
Omitting `region` uses the SDK's region resolution. Prefer IAM roles with short-lived credentials
|
|
102
|
+
in production. Explicit credential objects are static snapshots; rotate them by replacing the
|
|
103
|
+
driver, or use the default role/provider chain for automatic refresh. Never hard-code secrets.
|
|
104
|
+
|
|
105
|
+
Endpoints must be HTTP(S) URLs without embedded credentials, query strings or fragments. Bucket
|
|
106
|
+
names must satisfy general-purpose bucket naming constraints. Directory buckets, access-point
|
|
107
|
+
ARNs and S3 on Outposts are outside this driver's supported configuration.
|
|
108
|
+
|
|
109
|
+
The prefix is a database namespace, not a filesystem path. A nonempty prefix gets a trailing slash;
|
|
110
|
+
it is prepended consistently and removed from logical `list()` results. Keys remain case-sensitive,
|
|
111
|
+
are not path-normalized, and must be well-formed UTF-8 with a nonempty nonblank logical value.
|
|
112
|
+
The complete physical key is limited to S3's 1,024-byte limit. An empty prefix dedicates the
|
|
113
|
+
bucket to this driver's format. Do not share the same prefix with other object formats or writers.
|
|
114
|
+
|
|
115
|
+
## Storage format, versions and conditions
|
|
116
|
+
|
|
117
|
+
The local `StorageDriver` contract has conditional create, replacement and deletion, opaque
|
|
118
|
+
generation versions, isolated byte arrays, deterministic listing and shared `StorageError` codes.
|
|
119
|
+
The S3 implementation preserves these contracts without changing core, ORM, Nest or other drivers.
|
|
120
|
+
|
|
121
|
+
Each physical object contains a versioned 72-byte envelope: an 8-byte format marker, a fresh
|
|
122
|
+
32-byte random nonce, a SHA-256 payload digest, and then the unchanged logical payload. S3 user
|
|
123
|
+
metadata identifies format `1` and state `live` or `deleted`. A tombstone has an empty logical
|
|
124
|
+
payload. The driver verifies and removes the envelope on GET. Empty logical objects are supported.
|
|
125
|
+
|
|
126
|
+
The **opaque quoted ETag** returned by S3 is the storage version. It is reused as an `If-Match`
|
|
127
|
+
value; it is not interpreted as a cryptographic checksum. S3 `VersionId` is never used as a
|
|
128
|
+
conditional token. GET, successful PUT and LIST agree on the current live object's ETag.
|
|
129
|
+
Versions must be reused exactly as issued; wildcard and multi-value conditional expressions
|
|
130
|
+
are not accepted. Missing or malformed service ETags fail explicitly.
|
|
131
|
+
|
|
132
|
+
The nonce changes the physical body for every write, including identical-value replacements,
|
|
133
|
+
deletions and recreations. This prevents ordinary same-content/ABA version reuse under S3's
|
|
134
|
+
ETag semantics, subject to the probabilistic uniqueness of random nonces and service tokens.
|
|
135
|
+
Payload integrity uses SHA-256 independently of ETag. This is not protection against an actor
|
|
136
|
+
authorized to rewrite both data and metadata. Copying/restoring old physical objects, external
|
|
137
|
+
unconditional writes or an endpoint that reuses ETags across distinct bodies invalidate the
|
|
138
|
+
concurrency assumptions. Bucket versioning is optional and does not replace these conditions.
|
|
139
|
+
|
|
140
|
+
| Operation | Physical behavior |
|
|
141
|
+
| ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
142
|
+
| GET | `GetObject`, consume/close body, decode envelope; `NoSuchKey` or a valid tombstone becomes `null`. |
|
|
143
|
+
| PUT `if-absent` | `PutObject` with `If-None-Match: *`. An existing live object conflicts. A tombstone can be replaced using `If-Match` against its observed ETag. |
|
|
144
|
+
| PUT `if-version` | HEAD checks live state and version; `PutObject` still uses the caller's `If-Match` token atomically. |
|
|
145
|
+
| DELETE `if-version` | HEAD checks live state and version; a conditional `PutObject` replaces it with a new tombstone using `If-Match`. |
|
|
146
|
+
| DELETE `if-absent` | A read-only absence assertion using HEAD; success if logically absent, conflict if live. No object is removed. |
|
|
147
|
+
| LIST | `ListObjectsV2` pages plus HEAD per physical entry; filters tombstones and returns sorted logical keys, current ETags and last-modified milliseconds. |
|
|
148
|
+
|
|
149
|
+
All physical mutations are conditional writes. Metadata preflights never authorize an
|
|
150
|
+
unconditional overwrite: if another writer wins after HEAD, the final `If-Match` fails. Two
|
|
151
|
+
independent drivers racing against one version cannot both publish a replacement, deletion or
|
|
152
|
+
recreation. The implementation never uses a GET followed by an unconditional PUT/DELETE.
|
|
153
|
+
|
|
154
|
+
**Why tombstones?** An idempotent S3 deletion API is not the same contract as Duraxis's deletion
|
|
155
|
+
CAS, where a missing object conflicts and exactly one competing mutation may succeed. The
|
|
156
|
+
implementation uses conditional PUT's existence precondition to avoid depending on missing-key
|
|
157
|
+
DeleteObject behavior. `if-absent` deletion is simply an atomic read-only assertion: a later
|
|
158
|
+
concurrent create may succeed, which is consistent with the assertion's earlier observation.
|
|
159
|
+
|
|
160
|
+
Deleting replaces the body with a small persistent tombstone; it does not issue `DeleteObject`.
|
|
161
|
+
These objects intentionally remain to preserve logical state. Do not expire tombstones or restore
|
|
162
|
+
historical object generations while the database is active. In versioned buckets, old object
|
|
163
|
+
versions also retain previous payloads and incur storage costs. Removing historical versions or
|
|
164
|
+
tombstones requires a separately planned, externally exclusive maintenance procedure; no automatic
|
|
165
|
+
physical tombstone compactor is provided.
|
|
166
|
+
|
|
167
|
+
ListObjectsV2 includes ETag and LastModified, but no Duraxis state metadata or S3 VersionId.
|
|
168
|
+
HEAD is needed to exclude tombstones and read a coherent current ETag/state/timestamp tuple.
|
|
169
|
+
Up to 16 HEAD requests run concurrently per page, and all settle before shutdown or a listing
|
|
170
|
+
error is returned. No object bodies are downloaded during listing. LastModified is the current
|
|
171
|
+
generation's creation time, not the original logical key's first-ever creation time. Listing is
|
|
172
|
+
not a multi-object snapshot under concurrent writes; external exclusive maintenance remains
|
|
173
|
+
necessary for destructive GC. Generic HEAD 404s are confirmed with a narrow listing so missing
|
|
174
|
+
buckets and permission failures are not silently treated as missing objects.
|
|
175
|
+
|
|
176
|
+
## Transactions, uncertain outcomes and errors
|
|
177
|
+
|
|
178
|
+
The existing core writes immutable objects/index nodes and a commit-history record before
|
|
179
|
+
publishing the manifest with a conditional write. The manifest ETag is its optimistic publication
|
|
180
|
+
token. Losing that CAS raises the existing `TransactionConflictError`; the driver never retries
|
|
181
|
+
the transaction callback. These guarantees rely on a service that correctly implements strongly
|
|
182
|
+
consistent reads/listing and atomic `If-Match` / `If-None-Match` conditional writes.
|
|
183
|
+
|
|
184
|
+
The SDK has **one attempt for every request**. The driver explicitly retries safe reads only,
|
|
185
|
+
with bounded jitter, for selected transient failures (default three attempts). The public
|
|
186
|
+
`client.maxAttempts` controls these read attempts, never mutation retries. Access denial, invalid
|
|
187
|
+
requests and known unsupported operations are not automatically retried. Explicit 412 responses
|
|
188
|
+
and 409 `ConditionalRequestConflict` responses become conflicts; unrelated 409 errors remain errors.
|
|
189
|
+
|
|
190
|
+
A lost response, timeout, cancellation or server failure during a mutation may have happened
|
|
191
|
+
after S3 committed it. The driver throws `StorageError` with `OUTCOME_UNKNOWN` instead of claiming
|
|
192
|
+
failure or retrying into a false conflict. The core wraps manifest publication exceptions in
|
|
193
|
+
`CommitOutcomeUnknownError` and supplies the transaction ID for `database.getCommitStatus(id)`.
|
|
194
|
+
Commit history can establish `committed` even after later commits. An absent history entry means
|
|
195
|
+
`unknown`, not proof that an operation failed. Confirm status before deciding on an application retry.
|
|
196
|
+
|
|
197
|
+
Other failures map to `INVALID_KEY`, `ACCESS_DENIED`, `UNAVAILABLE`, `TIMEOUT`, `RESOURCE_LIMIT`,
|
|
198
|
+
`CORRUPTION`, `CLOSED` or `UNKNOWN` as appropriate. GET returns `null` only for confirmed key absence
|
|
199
|
+
or a valid tombstone. The driver does not log credentials or include configuration, object keys,
|
|
200
|
+
signed URLs or raw SDK messages in its public error messages. Original causes are retained for
|
|
201
|
+
diagnosis; apply your normal redaction policy before logging nested causes.
|
|
202
|
+
|
|
203
|
+
The implementation preserves the core's snapshot/optimistic transaction model. It does not add
|
|
204
|
+
distributed transactions, transparent conflict retries or a blanket full-ACID certification.
|
|
205
|
+
|
|
206
|
+
## Lifecycle, GC and metrics
|
|
207
|
+
|
|
208
|
+
One AWS client belongs to each driver. `close()` is idempotent, rejects new operations with
|
|
209
|
+
`CLOSED`, waits for active operations (including streams, pagination and retry waits), and then
|
|
210
|
+
destroys the client's resources. It does not force-cancel a hung request or impose a shutdown
|
|
211
|
+
deadline. Close after completing database/ORM work; close the database with `closeStorage: true`
|
|
212
|
+
or close the externally managed driver yourself.
|
|
213
|
+
|
|
214
|
+
GC uses listing timestamps and versions. A changed object's old ETag cannot authorize replacing
|
|
215
|
+
the newer generation with a tombstone. The existing core defaults GC to dry run; destructive GC
|
|
216
|
+
requires `exclusiveMaintenance: true` and an actual external guarantee that all application
|
|
217
|
+
instances, uploads and readers have stopped. The flag is an assertion, not an S3 distributed lock.
|
|
218
|
+
No destructive GC is enabled by this driver. S3 lifecycle policies must not expire live database
|
|
219
|
+
objects or commit-history records independently of Duraxis reachability.
|
|
220
|
+
|
|
221
|
+
`getMetrics()` returns a snapshot. `reads`, `writes`, `deletes` and `lists` count validated logical
|
|
222
|
+
driver calls, including conflicts. Bytes count successfully returned logical data and acknowledged
|
|
223
|
+
logical writes, excluding envelopes, tombstones and uncertain writes. `synchronizationWaitMs` is
|
|
224
|
+
zero because the driver has no local mutation lock. Counts are **not HTTP request counts**: HEAD
|
|
225
|
+
preflights, pagination, conflict checks and read retries add requests.
|
|
226
|
+
|
|
227
|
+
## Permissions and operational costs
|
|
228
|
+
|
|
229
|
+
Allow `s3:GetObject` and `s3:PutObject` for the dedicated object prefix, and `s3:ListBucket` on the
|
|
230
|
+
bucket with an appropriate prefix restriction. HEAD uses GetObject permission. No bucket creation,
|
|
231
|
+
ACL, version-listing or DeleteObject permission is needed by the driver. Default bucket SSE-KMS
|
|
232
|
+
encryption also needs the appropriate KMS permissions (including decrypt and data-key generation).
|
|
233
|
+
The optional integration-test cleanup additionally needs `s3:DeleteObject` in its random test prefix.
|
|
234
|
+
|
|
235
|
+
Typical request costs are one PUT for a new key, one HEAD plus one PUT for a replacement/deletion,
|
|
236
|
+
and a failed PUT, HEAD and conditional PUT for recreation over a tombstone. Missing HEAD may add
|
|
237
|
+
a narrow LIST. Listing adds one HEAD per physical object, including retained tombstones. Duraxis
|
|
238
|
+
transactions can write many immutable/index objects; measure latency and request charges for your
|
|
239
|
+
workload. Full objects are buffered in memory, with 72 bytes of physical envelope overhead; this
|
|
240
|
+
driver uses single PUT, not multipart uploads (maximum physical object size 5 GiB). Versioning,
|
|
241
|
+
noncurrent generations, tombstones, KMS and data transfer can add costs.
|
|
242
|
+
|
|
243
|
+
MinIO and other compatible endpoints must be independently verified for all required conditions,
|
|
244
|
+
metadata, pagination and consistency. Passing a fake transport or MinIO test does not establish
|
|
245
|
+
Amazon S3 compatibility. Production bucket policies should prevent other writers from bypassing
|
|
246
|
+
the driver's conditional-write protocol. A correct configuration cannot compensate for a service
|
|
247
|
+
that ignores conditional headers.
|
|
248
|
+
|
|
249
|
+
## Tests
|
|
250
|
+
|
|
251
|
+
```bash
|
|
252
|
+
pnpm build
|
|
253
|
+
pnpm exec vitest run --project @duraxis/storage-s3
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
Default tests make no AWS requests and need no credentials. They reuse the storage conformance
|
|
257
|
+
suite, a fake SDK transport, the actual SDK against a loopback HTTP server, real core/ORM/Nest
|
|
258
|
+
modules, racing manifest publishers, unknown commit outcomes, retained recovery history and GC
|
|
259
|
+
version checks. Loopback tests verify serialized conditional headers and mutation retry behavior.
|
|
260
|
+
|
|
261
|
+
Live tests are disabled by default. To opt in for a dedicated test bucket:
|
|
262
|
+
|
|
263
|
+
```bash
|
|
264
|
+
DURAXIS_S3_INTEGRATION=1 \
|
|
265
|
+
DURAXIS_S3_TEST_BUCKET=my-dedicated-test-bucket \
|
|
266
|
+
DURAXIS_S3_TEST_REGION=sa-east-1 \
|
|
267
|
+
pnpm exec vitest run --project @duraxis/storage-s3 src/__test__/s3-integration.spec.ts
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
For a compatible endpoint, additionally set `DURAXIS_S3_TEST_ENDPOINT=http://127.0.0.1:9000` and
|
|
271
|
+
`DURAXIS_S3_TEST_PATH_STYLE=1`. Configure standard AWS credential environment variables or a role;
|
|
272
|
+
no SDK client code is needed. Live conformance tests include 100-way write/CAS races and incur
|
|
273
|
+
requests. Each run creates a random `duraxis-integration/<UUID>/` namespace. Cleanup conditionally
|
|
274
|
+
deletes only that run's current objects. Versioned buckets retain historical versions/delete markers;
|
|
275
|
+
use a dedicated bucket and arrange their cleanup separately. Interrupted tests can leave isolated
|
|
276
|
+
test objects. Never point live tests at an active application's namespace.
|
|
277
|
+
|
|
278
|
+
## Local architecture reviewed
|
|
279
|
+
|
|
280
|
+
The implementation follows `storage`'s exact interface and errors, `storage-memory`/`storage-disk`
|
|
281
|
+
byte isolation and CAS conventions, and `storage-testkit`'s complete conformance suite. Core's
|
|
282
|
+
`CommitCoordinator` publishes through manifest CAS; `RecoveryManager` follows transaction IDs and
|
|
283
|
+
history; `GarbageCollector` relies on current versions/timestamps and conditional deletion. Nest's
|
|
284
|
+
`DuraxisNestConnection` owns factory-created drivers and optionally closes external ones. None of
|
|
285
|
+
these production implementations are changed.
|
|
286
|
+
|
|
287
|
+
The package follows the local ESM/CommonJS Vite build, strict TypeScript declarations, pnpm
|
|
288
|
+
workspace, Vitest project, package-validation and Changesets conventions. Public declarations only
|
|
289
|
+
reference Duraxis types. The repository has no Turborepo build configuration to extend.
|