@elizaos/test-utils 1.4.5 → 1.5.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/dist/index.js +289 -523
- package/dist/index.js.map +25 -1
- package/dist/src/DatabaseTestRegistry.d.ts +88 -0
- package/dist/src/DatabaseTestRegistry.d.ts.map +1 -0
- package/dist/src/TestInfrastructure.d.ts +64 -0
- package/dist/src/TestInfrastructure.d.ts.map +1 -0
- package/dist/src/factories.d.ts +141 -0
- package/dist/src/factories.d.ts.map +1 -0
- package/dist/src/index.d.ts +52 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/mocks/character.d.ts +65 -0
- package/dist/src/mocks/character.d.ts.map +1 -0
- package/dist/src/mocks/database.d.ts +40 -0
- package/dist/src/mocks/database.d.ts.map +1 -0
- package/dist/src/mocks/memory.d.ts +106 -0
- package/dist/src/mocks/memory.d.ts.map +1 -0
- package/dist/src/mocks/mockUtils.d.ts +17 -0
- package/dist/src/mocks/mockUtils.d.ts.map +1 -0
- package/dist/src/mocks/runtime.d.ts +34 -0
- package/dist/src/mocks/runtime.d.ts.map +1 -0
- package/dist/src/mocks/services.d.ts +99 -0
- package/dist/src/mocks/services.d.ts.map +1 -0
- package/dist/src/mocks/state.d.ts +100 -0
- package/dist/src/mocks/state.d.ts.map +1 -0
- package/dist/src/realRuntime.d.ts +85 -0
- package/dist/src/realRuntime.d.ts.map +1 -0
- package/dist/src/templates.d.ts +123 -0
- package/dist/src/templates.d.ts.map +1 -0
- package/dist/src/testDatabase.d.ts +44 -0
- package/dist/src/testDatabase.d.ts.map +1 -0
- package/dist/src/testModels.d.ts +105 -0
- package/dist/src/testModels.d.ts.map +1 -0
- package/dist/src/unifiedTestSuite.d.ts +40 -0
- package/dist/src/unifiedTestSuite.d.ts.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +6 -7
- package/dist/index.d.ts +0 -950
- package/tsup.config.ts +0 -20
package/tsup.config.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'tsup';
|
|
2
|
-
|
|
3
|
-
export default defineConfig({
|
|
4
|
-
entry: ['src/index.ts'],
|
|
5
|
-
outDir: 'dist',
|
|
6
|
-
tsconfig: './tsconfig.build.json', // Use build-specific tsconfig
|
|
7
|
-
sourcemap: true,
|
|
8
|
-
clean: true,
|
|
9
|
-
format: ['esm'], // Ensure you're targeting CommonJS
|
|
10
|
-
dts: true, // require DTS so we get d.ts in the dist folder on npm
|
|
11
|
-
external: [
|
|
12
|
-
'dotenv', // Externalize dotenv to prevent bundling
|
|
13
|
-
'fs', // Externalize fs to use Node.js built-in module
|
|
14
|
-
'path', // Externalize other built-ins if necessary
|
|
15
|
-
'https',
|
|
16
|
-
'http',
|
|
17
|
-
'@elizaos/core',
|
|
18
|
-
'zod',
|
|
19
|
-
],
|
|
20
|
-
});
|