Skip to content

Commit c401ce8

Browse files
authoredSep 24, 2024··
fix: type export of PodiumClientResourceOptions
1 parent 7205382 commit c401ce8

File tree

5 files changed

+15
-33
lines changed

5 files changed

+15
-33
lines changed
 

Diff for: ‎.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
package-lock=false
2+
save-exact=true

Diff for: ‎lib/layout.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import fs from 'fs';
2424
// @podium/layout).
2525
/**
2626
* @typedef {import('@podium/client').PodiumClientResource} PodiumClientResource
27-
* @typedef {import('@podium/client/lib/http-outgoing.js').PodiumClientResourceOptions} PodiumClientResourceOptions
27+
* @typedef {import('@podium/client').PodiumClientResourceOptions} PodiumClientResourceOptions
2828
* @typedef {import('@podium/client').PodiumClientResponse} PodiumClientResponse
2929
* @typedef {import('@podium/client').PodiumRedirect} PodiumRedirect
3030
* @typedef {import('@podium/client').PodletManifest} PodletManifest

Diff for: ‎package.json

+8-12
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"test": "tap --disable-coverage --allow-empty-coverage",
3636
"test:snapshots": "tap --snapshot --disable-coverage --allow-empty-coverage",
3737
"types": "run-s types:tsc types:fixup types:test",
38-
"types:tsc": "tsc --declaration --emitDeclarationOnly",
38+
"types:tsc": "tsc",
3939
"types:test": "tsc --project tsconfig.test.json",
4040
"types:fixup": "node ./fixup.js"
4141
},
@@ -54,26 +54,22 @@
5454
"devDependencies": {
5555
"@podium/podlet": "5.1.12",
5656
"@podium/test-utils": "2.5.2",
57+
"@podium/typescript-config": "1.0.0",
5758
"@semantic-release/changelog": "6.0.3",
58-
"@semantic-release/commit-analyzer": "11.1.0",
5959
"@semantic-release/git": "10.0.1",
60-
"@semantic-release/github": "9.2.6",
61-
"@semantic-release/npm": "11.0.3",
62-
"@semantic-release/release-notes-generator": "12.1.0",
6360
"@types/node": "20.14.10",
6461
"@types/readable-stream": "4.0.15",
65-
"eslint": "9.6.0",
62+
"eslint": "9.11.1",
6663
"eslint-config-prettier": "9.1.0",
67-
"eslint-plugin-prettier": "5.1.3",
64+
"eslint-plugin-prettier": "5.2.1",
6865
"express": "4.20.0",
6966
"globals": "15.8.0",
70-
"hbs": "4.2.0",
71-
"npm-run-all2": "5.0.2",
72-
"prettier": "3.1.0",
73-
"semantic-release": "22.0.12",
67+
"npm-run-all2": "6.2.3",
68+
"prettier": "3.3.3",
69+
"semantic-release": "24.1.1",
7470
"stoppable": "1.1.0",
7571
"supertest": "6.3.4",
76-
"tap": "18.8.0",
72+
"tap": "21.0.1",
7773
"typescript": "5.5.3"
7874
}
7975
}

Diff for: ‎tsconfig.json

+3-13
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
{
2+
"extends": "@podium/typescript-config/module.json",
3+
"include": ["./lib/**/*.js"],
24
"compilerOptions": {
3-
"lib": ["es2020"],
4-
"module": "nodenext",
5-
"target": "es2020",
6-
"resolveJsonModule": true,
7-
"checkJs": true,
8-
"allowJs": true,
9-
"moduleResolution": "nodenext",
10-
"declaration": true,
11-
"skipLibCheck": true,
12-
"allowSyntheticDefaultImports": true,
135
"outDir": "types"
14-
},
15-
"include": ["./lib/**/*.js"],
16-
"exclude": ["./lib/**/*.test.js"]
6+
}
177
}

Diff for: ‎tsconfig.test.json

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
{
2-
"extends": "./tsconfig.json",
3-
"include": ["./tests/**/*.js"],
4-
"compilerOptions": {
5-
"module": "nodenext",
6-
"moduleResolution": "nodenext",
7-
"noEmit": true
8-
}
2+
"extends": "@podium/typescript-config/test.json",
3+
"include": ["./tests/**/*.js"]
94
}

0 commit comments

Comments
 (0)
Please sign in to comment.