@elizaos/config 1.5.5 → 1.5.6

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@elizaos/config",
3
3
  "description": "Shared configuration for ElizaOS projects and plugins",
4
- "version": "1.5.5",
4
+ "version": "1.5.6",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",
@@ -42,7 +42,8 @@
42
42
  "typescript": "^5.8.2"
43
43
  },
44
44
  "scripts": {
45
- "build": "tsup",
45
+ "build": "bun run build.ts",
46
+ "dev": "bun run build.ts --watch",
46
47
  "lint": "prettier --write ./src",
47
48
  "format": "prettier --write ./src",
48
49
  "format:check": "prettier --check ./src"
@@ -50,5 +51,5 @@
50
51
  "publishConfig": {
51
52
  "access": "public"
52
53
  },
53
- "gitHead": "255e37c0e4a76da0b776219db5ebb9dadf20e89f"
54
+ "gitHead": "3d2f2c567d092273fae2486b5afd67b18abcbc75"
54
55
  }
@@ -5,8 +5,7 @@
5
5
  "outDir": "dist",
6
6
  "lib": ["ESNext", "DOM", "DOM.Iterable"],
7
7
  "jsx": "react-jsx",
8
- "declaration": true,
9
- "emitDeclarationOnly": true
8
+ "declaration": true
10
9
  },
11
10
  "include": ["src/**/*.ts", "src/**/*.tsx", "src/__tests__/**/*.ts", "__tests__/**/*.ts"],
12
11
  "exclude": [
@@ -4,7 +4,6 @@
4
4
  "compilerOptions": {
5
5
  "outDir": "dist",
6
6
  "lib": ["ESNext", "DOM"],
7
- "emitDeclarationOnly": true,
8
7
  "declaration": true,
9
8
  "moduleResolution": "bundler",
10
9
  "types": ["node", "cypress", "bun-types"],
package/dist/index.d.ts DELETED
@@ -1,490 +0,0 @@
1
- import * as _typescript_eslint_eslint_plugin_use_at_your_own_risk_rules from '@typescript-eslint/eslint-plugin/use-at-your-own-risk/rules';
2
- import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
3
- import typescriptParser from '@typescript-eslint/parser';
4
-
5
- var $schema$3 = "https://json.schemastore.org/tsconfig";
6
- var compilerOptions$3 = {
7
- target: "ES2022",
8
- lib: [
9
- "ES2022"
10
- ],
11
- module: "ES2022",
12
- moduleResolution: "bundler",
13
- strict: true,
14
- esModuleInterop: true,
15
- allowSyntheticDefaultImports: true,
16
- skipLibCheck: true,
17
- forceConsistentCasingInFileNames: true,
18
- allowImportingTsExtensions: true,
19
- resolveJsonModule: true,
20
- isolatedModules: true,
21
- allowJs: true,
22
- checkJs: false,
23
- noEmitOnError: false,
24
- moduleDetection: "force",
25
- allowArbitraryExtensions: true,
26
- types: [
27
- "node"
28
- ],
29
- baseUrl: "../../../",
30
- paths: {
31
- "@elizaos/core": [
32
- "packages/core/src"
33
- ],
34
- "@elizaos/core/*": [
35
- "packages/core/src/*"
36
- ],
37
- "@elizaos/client": [
38
- "packages/client/src"
39
- ],
40
- "@elizaos/client/*": [
41
- "packages/client/src/*"
42
- ],
43
- "@elizaos/server": [
44
- "packages/server/src"
45
- ],
46
- "@elizaos/server/*": [
47
- "packages/server/src/*"
48
- ],
49
- "@elizaos/api-client": [
50
- "packages/api-client/src"
51
- ],
52
- "@elizaos/api-client/*": [
53
- "packages/api-client/src/*"
54
- ],
55
- "@elizaos/cli": [
56
- "packages/cli/src"
57
- ],
58
- "@elizaos/cli/*": [
59
- "packages/cli/src/*"
60
- ],
61
- "@elizaos/plugin-sql": [
62
- "packages/plugin-sql/src"
63
- ],
64
- "@elizaos/plugin-sql/*": [
65
- "packages/plugin-sql/src/*"
66
- ],
67
- "@elizaos/plugin-bootstrap": [
68
- "packages/plugin-bootstrap/src"
69
- ],
70
- "@elizaos/plugin-bootstrap/*": [
71
- "packages/plugin-bootstrap/src/*"
72
- ],
73
- "@elizaos/plugin-dummy-services": [
74
- "packages/plugin-dummy-services/src"
75
- ],
76
- "@elizaos/plugin-dummy-services/*": [
77
- "packages/plugin-dummy-services/src/*"
78
- ],
79
- "@elizaos/autodoc": [
80
- "packages/autodoc/src"
81
- ],
82
- "@elizaos/autodoc/*": [
83
- "packages/autodoc/src/*"
84
- ],
85
- "@elizaos/app": [
86
- "packages/app/src"
87
- ],
88
- "@elizaos/app/*": [
89
- "packages/app/src/*"
90
- ],
91
- "@elizaos/config": [
92
- "packages/config/src"
93
- ],
94
- "@elizaos/config/*": [
95
- "packages/config/src/*"
96
- ]
97
- }
98
- };
99
- var tsconfig_base = {
100
- $schema: $schema$3,
101
- compilerOptions: compilerOptions$3
102
- };
103
-
104
- var $schema$2 = "https://json.schemastore.org/tsconfig";
105
- var compilerOptions$2 = {
106
- outDir: "dist",
107
- lib: [
108
- "ESNext",
109
- "DOM"
110
- ],
111
- emitDeclarationOnly: true,
112
- declaration: true,
113
- moduleResolution: "bundler",
114
- types: [
115
- "node",
116
- "cypress",
117
- "bun-types"
118
- ],
119
- jsx: "react",
120
- allowImportingTsExtensions: true,
121
- noEmitOnError: false,
122
- allowArbitraryExtensions: true
123
- };
124
- var tsconfig_plugin = {
125
- $schema: $schema$2,
126
- "extends": "./tsconfig.base.json",
127
- compilerOptions: compilerOptions$2
128
- };
129
-
130
- var $schema$1 = "https://json.schemastore.org/tsconfig";
131
- var compilerOptions$1 = {
132
- outDir: "dist",
133
- lib: [
134
- "ESNext",
135
- "DOM",
136
- "DOM.Iterable"
137
- ],
138
- jsx: "react-jsx",
139
- declaration: true,
140
- emitDeclarationOnly: true
141
- };
142
- var include$1 = [
143
- "src/**/*.ts",
144
- "src/**/*.tsx",
145
- "src/__tests__/**/*.ts",
146
- "__tests__/**/*.ts"
147
- ];
148
- var exclude = [
149
- "node_modules",
150
- "dist",
151
- "src/**/*.test.ts",
152
- "src/**/*.spec.ts",
153
- "**/*.test.ts",
154
- "**/*.spec.ts",
155
- "**/*.test.tsx",
156
- "**/*.spec.tsx"
157
- ];
158
- var tsconfig_frontend = {
159
- $schema: $schema$1,
160
- "extends": "./tsconfig.base.json",
161
- compilerOptions: compilerOptions$1,
162
- include: include$1,
163
- exclude: exclude
164
- };
165
-
166
- var $schema = "https://json.schemastore.org/tsconfig";
167
- var compilerOptions = {
168
- outDir: "dist",
169
- lib: [
170
- "ESNext",
171
- "DOM"
172
- ],
173
- noEmit: true,
174
- types: [
175
- "node",
176
- "bun-types",
177
- "@types/jest"
178
- ]
179
- };
180
- var include = [
181
- "src/**/*.ts",
182
- "src/**/*.tsx",
183
- "src/__tests__/**/*.ts",
184
- "__tests__/**/*.ts",
185
- "**/*.test.ts"
186
- ];
187
- var tsconfig_test = {
188
- $schema: $schema,
189
- "extends": "./tsconfig.base.json",
190
- compilerOptions: compilerOptions,
191
- include: include
192
- };
193
-
194
- declare const _default$2: ({
195
- readonly rules: Readonly<Linter.RulesRecord>;
196
- } | {
197
- ignores: string[];
198
- files?: undefined;
199
- languageOptions?: undefined;
200
- rules?: undefined;
201
- })[];
202
-
203
- declare const _default$1: ({
204
- readonly rules: Readonly<Linter.RulesRecord>;
205
- } | {
206
- files: string[];
207
- languageOptions: {
208
- globals: {
209
- window: string;
210
- document: string;
211
- HTMLElement: string;
212
- HTMLInputElement: string;
213
- HTMLButtonElement: string;
214
- HTMLDivElement: string;
215
- HTMLCanvasElement: string;
216
- HTMLTextAreaElement: string;
217
- HTMLSelectElement: string;
218
- HTMLTableElement: string;
219
- HTMLTableSectionElement: string;
220
- HTMLTableRowElement: string;
221
- HTMLTableCellElement: string;
222
- HTMLTableCaptionElement: string;
223
- Element: string;
224
- Document: string;
225
- PointerEvent: string;
226
- MouseEvent: string;
227
- KeyboardEvent: string;
228
- Event: string;
229
- EventTarget: string;
230
- CanvasRenderingContext2D: string;
231
- WebGLRenderingContext: string;
232
- WebGL2RenderingContext: string;
233
- SVGElement: string;
234
- SVGSVGElement: string;
235
- ScrollBehavior: string;
236
- MutationObserver: string;
237
- ResizeObserver: string;
238
- IntersectionObserver: string;
239
- ImageData: string;
240
- DOMRect: string;
241
- FileReader: string;
242
- navigator: string;
243
- requestAnimationFrame: string;
244
- cancelAnimationFrame: string;
245
- React: string;
246
- };
247
- };
248
- rules: {
249
- 'jsx-quotes': string[];
250
- 'no-undef': string;
251
- };
252
- ignores?: undefined;
253
- } | {
254
- ignores: string[];
255
- files?: undefined;
256
- languageOptions?: undefined;
257
- rules?: undefined;
258
- })[];
259
-
260
- /**
261
- * Base ESLint configuration for ElizaOS packages
262
- * Provides consistent code quality across all packages
263
- */
264
- declare const baseConfig: ({
265
- readonly rules: Readonly<Linter.RulesRecord>;
266
- } | {
267
- files: string[];
268
- languageOptions: {
269
- parser: typeof typescriptParser;
270
- parserOptions: {
271
- ecmaVersion: number;
272
- sourceType: string;
273
- ecmaFeatures: {
274
- jsx: boolean;
275
- };
276
- };
277
- globals: {
278
- console: string;
279
- process: string;
280
- Buffer: string;
281
- __dirname: string;
282
- __filename: string;
283
- module: string;
284
- require: string;
285
- global: string;
286
- globalThis: string;
287
- exports: string;
288
- setTimeout: string;
289
- clearTimeout: string;
290
- setInterval: string;
291
- clearInterval: string;
292
- setImmediate: string;
293
- clearImmediate: string;
294
- FormData: string;
295
- File: string;
296
- Blob: string;
297
- URL: string;
298
- URLSearchParams: string;
299
- ArrayBuffer: string;
300
- Uint8Array: string;
301
- Float32Array: string;
302
- fetch: string;
303
- performance: string;
304
- AbortController: string;
305
- AbortSignal: string;
306
- NodeJS: string;
307
- btoa: string;
308
- atob: string;
309
- Bun: string;
310
- Response: string;
311
- BufferEncoding: string;
312
- };
313
- };
314
- plugins: {
315
- '@typescript-eslint': {
316
- configs: Record<string, _typescript_eslint_utils_ts_eslint.ClassicConfig.Config>;
317
- meta: _typescript_eslint_utils_ts_eslint.FlatConfig.PluginMeta;
318
- rules: typeof _typescript_eslint_eslint_plugin_use_at_your_own_risk_rules;
319
- };
320
- };
321
- rules: {
322
- '@typescript-eslint/no-unused-vars': (string | {
323
- argsIgnorePattern: string;
324
- varsIgnorePattern: string;
325
- caughtErrorsIgnorePattern: string;
326
- })[];
327
- '@typescript-eslint/no-explicit-any': string;
328
- '@typescript-eslint/explicit-function-return-type': string;
329
- '@typescript-eslint/explicit-module-boundary-types': string;
330
- '@typescript-eslint/no-inferrable-types': string;
331
- '@typescript-eslint/no-non-null-assertion': string;
332
- '@typescript-eslint/ban-ts-comment': string;
333
- 'no-unused-vars': string;
334
- 'no-console': string;
335
- 'no-debugger': string;
336
- 'no-alert': string;
337
- 'no-var': string;
338
- 'prefer-const': string;
339
- 'prefer-arrow-callback': string;
340
- 'arrow-spacing': string;
341
- 'object-shorthand': string;
342
- 'prefer-template': string;
343
- 'template-curly-spacing': string;
344
- 'no-multiple-empty-lines': (string | {
345
- max: number;
346
- maxEOF: number;
347
- })[];
348
- 'eol-last': string;
349
- 'comma-dangle': string[];
350
- semi: string[];
351
- quotes: (string | {
352
- avoidEscape: boolean;
353
- })[];
354
- indent: (string | number | {
355
- SwitchCase: number;
356
- })[];
357
- 'no-trailing-spaces': string;
358
- 'keyword-spacing': string;
359
- 'space-before-blocks': string;
360
- 'object-curly-spacing': string[];
361
- 'array-bracket-spacing': string[];
362
- 'computed-property-spacing': string[];
363
- 'space-in-parens': string[];
364
- 'space-before-function-paren': (string | {
365
- anonymous: string;
366
- named: string;
367
- asyncArrow: string;
368
- })[];
369
- eqeqeq: string[];
370
- curly: string[];
371
- 'no-eval': string;
372
- 'no-implied-eval': string;
373
- 'no-new-func': string;
374
- 'no-return-assign': string;
375
- 'no-self-compare': string;
376
- 'no-sequences': string;
377
- 'no-throw-literal': string;
378
- 'no-unmodified-loop-condition': string;
379
- 'no-unused-expressions': string;
380
- 'no-useless-call': string;
381
- 'no-useless-concat': string;
382
- 'no-useless-return': string;
383
- 'prefer-promise-reject-errors': string;
384
- radix: string;
385
- yoda: string;
386
- 'no-duplicate-imports': string;
387
- 'no-useless-catch': string;
388
- 'no-fallthrough': string;
389
- 'no-case-declarations': string;
390
- 'no-control-regex': string;
391
- 'no-useless-escape': string;
392
- 'no-empty': string;
393
- 'no-unreachable': string;
394
- 'no-undef': string;
395
- };
396
- })[];
397
- declare namespace testOverrides {
398
- let files: string[];
399
- namespace languageOptions {
400
- namespace globals {
401
- let describe: string;
402
- let it: string;
403
- let test: string;
404
- let expect: string;
405
- let beforeEach: string;
406
- let afterEach: string;
407
- let beforeAll: string;
408
- let afterAll: string;
409
- let jest: string;
410
- let vitest: string;
411
- let mock: string;
412
- }
413
- }
414
- let rules: {
415
- '@typescript-eslint/no-explicit-any': string;
416
- '@typescript-eslint/no-unused-vars': string;
417
- '@typescript-eslint/no-non-null-assertion': string;
418
- 'no-console': string;
419
- 'no-undef': string;
420
- 'no-duplicate-imports': string;
421
- 'no-useless-catch': string;
422
- 'no-fallthrough': string;
423
- 'no-case-declarations': string;
424
- 'no-control-regex': string;
425
- 'no-useless-escape': string;
426
- };
427
- }
428
- declare const standardIgnores: string[];
429
-
430
- declare namespace _default {
431
- let printWidth: number;
432
- let tabWidth: number;
433
- let useTabs: boolean;
434
- let semi: boolean;
435
- let singleQuote: boolean;
436
- let quoteProps: string;
437
- let jsxSingleQuote: boolean;
438
- let trailingComma: string;
439
- let bracketSpacing: boolean;
440
- let bracketSameLine: boolean;
441
- let arrowParens: string;
442
- let proseWrap: string;
443
- let htmlWhitespaceSensitivity: string;
444
- let vueIndentScriptAndStyle: boolean;
445
- let endOfLine: string;
446
- let embeddedLanguageFormatting: string;
447
- let overrides: ({
448
- files: string;
449
- options: {
450
- printWidth: number;
451
- proseWrap?: undefined;
452
- tabWidth?: undefined;
453
- };
454
- } | {
455
- files: string;
456
- options: {
457
- printWidth: number;
458
- proseWrap: string;
459
- tabWidth?: undefined;
460
- };
461
- } | {
462
- files: string;
463
- options: {
464
- tabWidth: number;
465
- printWidth?: undefined;
466
- proseWrap?: undefined;
467
- };
468
- })[];
469
- }
470
-
471
- /**
472
- * Standard configuration exports for ElizaOS packages
473
- * Provides centralized access to all base configurations
474
- */
475
-
476
- declare const configPaths: {
477
- typescript: {
478
- base: string;
479
- plugin: string;
480
- frontend: string;
481
- test: string;
482
- };
483
- eslint: {
484
- plugin: string;
485
- frontend: string;
486
- };
487
- prettier: string;
488
- };
489
-
490
- export { configPaths, baseConfig as eslintBaseConfig, _default$1 as eslintConfigFrontend, _default$2 as eslintConfigPlugin, _default as prettierConfig, standardIgnores, testOverrides, tsconfig_base as tsConfigBase, tsconfig_frontend as tsConfigFrontend, tsconfig_plugin as tsConfigPlugin, tsconfig_test as tsConfigTest };
package/dist/index.js DELETED
@@ -1,38 +0,0 @@
1
- import { default as default2 } from "./typescript/tsconfig.base.json";
2
- import { default as default3 } from "./typescript/tsconfig.plugin.json";
3
- import { default as default4 } from "./typescript/tsconfig.frontend.json";
4
- import { default as default5 } from "./typescript/tsconfig.test.json";
5
- import { default as default6 } from "./eslint/eslint.config.plugin.js";
6
- import { default as default7 } from "./eslint/eslint.config.frontend.js";
7
- import {
8
- baseConfig,
9
- testOverrides,
10
- standardIgnores
11
- } from "./eslint/eslint.config.base.js";
12
- import { default as default8 } from "./prettier/prettier.config.js";
13
- const configPaths = {
14
- typescript: {
15
- base: "@elizaos/config/typescript/tsconfig.base.json",
16
- plugin: "@elizaos/config/typescript/tsconfig.plugin.json",
17
- frontend: "@elizaos/config/typescript/tsconfig.frontend.json",
18
- test: "@elizaos/config/typescript/tsconfig.test.json"
19
- },
20
- eslint: {
21
- plugin: "@elizaos/config/eslint/eslint.config.plugin.js",
22
- frontend: "@elizaos/config/eslint/eslint.config.frontend.js"
23
- },
24
- prettier: "@elizaos/config/prettier/prettier.config.js"
25
- };
26
- export {
27
- configPaths,
28
- baseConfig as eslintBaseConfig,
29
- default7 as eslintConfigFrontend,
30
- default6 as eslintConfigPlugin,
31
- default8 as prettierConfig,
32
- standardIgnores,
33
- testOverrides,
34
- default2 as tsConfigBase,
35
- default4 as tsConfigFrontend,
36
- default3 as tsConfigPlugin,
37
- default5 as tsConfigTest
38
- };