@thalorlabs/jokeapi 1.1.0 → 1.1.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.
package/.prettierrc CHANGED
@@ -1,7 +1 @@
1
- {
2
- "semi": true,
3
- "singleQuote": true,
4
- "trailingComma": "es5",
5
- "printWidth": 80,
6
- "tabWidth": 2
7
- }
1
+ "@thalorlabs/eslint-plugin-dev-config/prettier"
package/eslint.config.mjs CHANGED
@@ -1,21 +1,3 @@
1
- import eslint from '@eslint/js';
2
- import tseslint from 'typescript-eslint';
3
- import prettier from 'eslint-config-prettier';
4
- import nodePlugin from 'eslint-plugin-n';
1
+ import { backend } from '@thalorlabs/eslint-plugin-dev-config';
5
2
 
6
- export default tseslint.config(
7
- eslint.configs.recommended,
8
- ...tseslint.configs.recommended,
9
- nodePlugin.configs['flat/recommended-module'],
10
- prettier,
11
- {
12
- rules: {
13
- '@typescript-eslint/no-explicit-any': 'error',
14
- 'n/no-missing-import': 'off',
15
- 'n/no-unpublished-import': 'off',
16
- },
17
- },
18
- {
19
- ignores: ['dist/', 'node_modules/'],
20
- }
21
- );
3
+ export default backend;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@thalorlabs/jokeapi",
3
3
  "author": "ThalorLabs",
4
4
  "private": false,
5
- "version": "1.1.0",
5
+ "version": "1.1.1",
6
6
  "description": "Provider adapter for v2.jokeapi.dev — returns TLJoke",
7
7
  "homepage": "https://github.com/ThalorLabs/jokeapi#readme",
8
8
  "bugs": {
@@ -28,15 +28,11 @@
28
28
  "format:check": "prettier --check \"src/**/*.ts\""
29
29
  },
30
30
  "devDependencies": {
31
- "@eslint/js": "^10.0.1",
31
+ "@thalorlabs/eslint-plugin-dev-config": "^2.1.1",
32
32
  "@types/node": "^25.5.2",
33
- "eslint": "^10.1.0",
34
- "eslint-config-prettier": "^10.1.8",
35
- "eslint-plugin-n": "^17.24.0",
36
33
  "prettier": "^3.8.1",
37
34
  "rimraf": "^5.0.0",
38
35
  "typescript": "^5.0.0",
39
- "typescript-eslint": "^8.58.0",
40
36
  "vitest": "^3.0.0"
41
37
  },
42
38
  "dependencies": {
package/tsconfig.json CHANGED
@@ -1,13 +1,7 @@
1
1
  {
2
+ "extends": "@thalorlabs/eslint-plugin-dev-config/tsconfig/backend.json",
2
3
  "compilerOptions": {
3
- "target": "ES2020",
4
- "module": "CommonJS",
5
- "declaration": true,
6
- "outDir": "./dist",
7
- "strict": true,
8
- "esModuleInterop": true,
9
- "skipLibCheck": true,
10
- "moduleResolution": "node"
4
+ "outDir": "./dist"
11
5
  },
12
6
  "include": ["src"],
13
7
  "exclude": ["node_modules", "dist"]