Skip to content

Commit 98a4188

Browse files
authored
fix: tegg-types publish (#212)
<!-- Thank you for your pull request. Please review below requirements. Bug fixes and new features should include tests and possibly benchmarks. Contributors guide: https://github.com/eggjs/egg/blob/master/CONTRIBUTING.md 感谢您贡献代码。请确认下列 checklist 的完成情况。 Bug 修复和新功能必须包含测试,必要时请附上性能测试。 Contributors guide: https://github.com/eggjs/egg/blob/master/CONTRIBUTING.md --> ##### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [ ] `npm test` passes - [ ] tests and/or benchmarks are included - [ ] documentation is changed or added - [ ] commit message follows commit guidelines ##### Affected core subsystem(s) <!-- Provide affected core subsystem(s). --> ##### Description of change <!-- Provide a description of the change below this comment. --> <!-- - any feature? - close https://github.com/eggjs/egg/ISSUE_URL --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Improved file inclusion patterns for packaging. - Streamlined TypeScript configuration settings. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent c6f2199 commit 98a4188

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

core/types/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
],
1111
"main": "./index.js",
1212
"files": [
13-
"*.js",
14-
"*.d.ts"
13+
"**/*.js",
14+
"**/*.d.ts"
1515
],
1616
"typings": "index.d.ts",
1717
"scripts": {

core/types/tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
4-
"baseUrl": "./",
5-
"outDir": "lib"
4+
"baseUrl": "./"
65
},
76
"exclude": [
87
"dist",

core/types/tsconfig.pub.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
4-
"baseUrl": "./",
5-
"outDir": "lib"
4+
"baseUrl": "./"
65
},
76
"exclude": [
87
"dist",

0 commit comments

Comments
 (0)