Skip to content

Commit

Permalink
refactor(maintenance): pkg structure to support subpath exports; TS t…
Browse files Browse the repository at this point in the history
…ypes and external pkg name (#31)

* chore(maintenance): refactor package structure

* chore(maintenance): update pre-commit
  • Loading branch information
dreamorosi authored Jun 10, 2024
1 parent 7c6ef17 commit e56b105
Show file tree
Hide file tree
Showing 123 changed files with 11,339 additions and 839 deletions.
2 changes: 2 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
npx lint-staged
npm run build -ws && git add packages/*/types
1 change: 1 addition & 0 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npm t -ws
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
"editor.formatOnSave": true,
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"editor.codeActionsOnSave": {
"source.organizeImports.biome": "explicit"
}
}
13 changes: 9 additions & 4 deletions biome.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,13 @@
},
"formatter": {
"lineWidth": 120,
"indentWidth": 2,
"enabled": true,
"indentStyle": "tab"
"indentWidth": 2,
"enabled": true,
"indentStyle": "tab"
},
"files": {
"ignore": [
"packages/**/types/*"
]
}
}
}
Loading

0 comments on commit e56b105

Please sign in to comment.