@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.
Files changed (38) hide show
  1. package/dist/index.js +289 -523
  2. package/dist/index.js.map +25 -1
  3. package/dist/src/DatabaseTestRegistry.d.ts +88 -0
  4. package/dist/src/DatabaseTestRegistry.d.ts.map +1 -0
  5. package/dist/src/TestInfrastructure.d.ts +64 -0
  6. package/dist/src/TestInfrastructure.d.ts.map +1 -0
  7. package/dist/src/factories.d.ts +141 -0
  8. package/dist/src/factories.d.ts.map +1 -0
  9. package/dist/src/index.d.ts +52 -0
  10. package/dist/src/index.d.ts.map +1 -0
  11. package/dist/src/mocks/character.d.ts +65 -0
  12. package/dist/src/mocks/character.d.ts.map +1 -0
  13. package/dist/src/mocks/database.d.ts +40 -0
  14. package/dist/src/mocks/database.d.ts.map +1 -0
  15. package/dist/src/mocks/memory.d.ts +106 -0
  16. package/dist/src/mocks/memory.d.ts.map +1 -0
  17. package/dist/src/mocks/mockUtils.d.ts +17 -0
  18. package/dist/src/mocks/mockUtils.d.ts.map +1 -0
  19. package/dist/src/mocks/runtime.d.ts +34 -0
  20. package/dist/src/mocks/runtime.d.ts.map +1 -0
  21. package/dist/src/mocks/services.d.ts +99 -0
  22. package/dist/src/mocks/services.d.ts.map +1 -0
  23. package/dist/src/mocks/state.d.ts +100 -0
  24. package/dist/src/mocks/state.d.ts.map +1 -0
  25. package/dist/src/realRuntime.d.ts +85 -0
  26. package/dist/src/realRuntime.d.ts.map +1 -0
  27. package/dist/src/templates.d.ts +123 -0
  28. package/dist/src/templates.d.ts.map +1 -0
  29. package/dist/src/testDatabase.d.ts +44 -0
  30. package/dist/src/testDatabase.d.ts.map +1 -0
  31. package/dist/src/testModels.d.ts +105 -0
  32. package/dist/src/testModels.d.ts.map +1 -0
  33. package/dist/src/unifiedTestSuite.d.ts +40 -0
  34. package/dist/src/unifiedTestSuite.d.ts.map +1 -0
  35. package/dist/tsconfig.build.tsbuildinfo +1 -0
  36. package/package.json +6 -7
  37. package/dist/index.d.ts +0 -950
  38. 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
- });