agentme 0.33.0 → 0.33.1
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.
|
@@ -204,24 +204,17 @@ Use this dependency set.
|
|
|
204
204
|
},
|
|
205
205
|
"homepage": "https://github.com/[owner]/[repo]#readme",
|
|
206
206
|
"devDependencies": {
|
|
207
|
-
"@eslint/eslintrc": "^3.3.1",
|
|
208
207
|
"@stutzlab/eslint-config": "^4.3.0",
|
|
209
208
|
"@tsconfig/node24": "^24.0.1",
|
|
210
|
-
"@types/jest": "^
|
|
209
|
+
"@types/jest": "^29.5.14",
|
|
210
|
+
"@types/node": "^22.0.0",
|
|
211
211
|
"@typescript-eslint/eslint-plugin": "^8.67.0",
|
|
212
212
|
"@typescript-eslint/parser": "^8.67.0",
|
|
213
213
|
"esbuild": "^0.28.2",
|
|
214
214
|
"eslint": "^10.0.0",
|
|
215
|
-
"eslint-import-resolver-typescript": "^4.0.0",
|
|
216
215
|
"eslint-plugin-functional": "^10.0.0",
|
|
217
|
-
"
|
|
218
|
-
"
|
|
219
|
-
"eslint-plugin-prettier": "^5.5.6",
|
|
220
|
-
"eslint-plugin-promise": "^7.0.0",
|
|
221
|
-
"eslint-plugin-unicorn": "^73.0.0",
|
|
222
|
-
"jest": "^30.4.2",
|
|
223
|
-
"prettier": "^3.9.6",
|
|
224
|
-
"ts-jest": "^29.4.12",
|
|
216
|
+
"jest": "^29.7.0",
|
|
217
|
+
"ts-jest": "^29.4.0",
|
|
225
218
|
"typescript": "^6.0.3"
|
|
226
219
|
}
|
|
227
220
|
}
|
|
@@ -239,7 +232,8 @@ Keep `package.json` without `"type": "module"`. Use `eslint.config.mjs` as the E
|
|
|
239
232
|
"rootDir": "src",
|
|
240
233
|
"declaration": true,
|
|
241
234
|
"declarationMap": true,
|
|
242
|
-
"sourceMap": true
|
|
235
|
+
"sourceMap": true,
|
|
236
|
+
"types": ["node", "jest"]
|
|
243
237
|
},
|
|
244
238
|
"include": ["src/**/*"],
|
|
245
239
|
"exclude": ["node_modules", "dist"]
|
|
@@ -275,30 +269,21 @@ This avoids the deprecated `globals['ts-jest']` configuration style while forcin
|
|
|
275
269
|
**`lib/eslint.config.mjs`** (ESLint 9 flat config format):
|
|
276
270
|
|
|
277
271
|
```js
|
|
278
|
-
import path from 'node:path';
|
|
279
|
-
import { fileURLToPath } from 'node:url';
|
|
280
|
-
import { FlatCompat } from '@eslint/eslintrc';
|
|
281
272
|
import baseConfig from '@stutzlab/eslint-config';
|
|
282
273
|
|
|
283
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
284
|
-
const __dirname = path.dirname(__filename);
|
|
285
|
-
|
|
286
|
-
const compat = new FlatCompat({
|
|
287
|
-
baseDirectory: __dirname,
|
|
288
|
-
});
|
|
289
|
-
|
|
290
274
|
export default [
|
|
291
|
-
...
|
|
275
|
+
...baseConfig,
|
|
292
276
|
{
|
|
293
277
|
files: ['src/**/*.ts'],
|
|
294
278
|
languageOptions: {
|
|
295
279
|
parserOptions: {
|
|
296
280
|
project: ['./tsconfig.json'],
|
|
297
|
-
tsconfigRootDir:
|
|
281
|
+
tsconfigRootDir: import.meta.dirname,
|
|
298
282
|
},
|
|
299
283
|
},
|
|
300
284
|
},
|
|
301
285
|
];
|
|
286
|
+
];
|
|
302
287
|
```
|
|
303
288
|
|
|
304
289
|
Do not name this file `eslint.config.js` unless the generated package also opts into ESM with `"type": "module"`, because that produces Node.js warnings and conflicts with the recommended Jest CommonJS setup.
|