-
Notifications
You must be signed in to change notification settings - Fork 3
build: drop --dts, which emitted declarations nothing can import #166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -9,9 +9,9 @@ | |||||
| }, | ||||||
| "homepage": "https://github.com/harperfast", | ||||||
| "scripts": { | ||||||
| "dev": "tsup index.ts cli.ts --format esm --clean --dts --watch --external puppeteer", | ||||||
| "dev": "tsup index.ts cli.ts --format esm --clean --watch --external puppeteer", | ||||||
| "link": "npm run build && npm link", | ||||||
| "build": "tsup index.ts cli.ts --format esm --clean --dts --external puppeteer && cp node_modules/harper/schema.graphql dist/", | ||||||
| "build": "tsup index.ts cli.ts --format esm --clean --external puppeteer && cp node_modules/harper/schema.graphql dist/", | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since To clean this up and avoid exposing an untyped entry point, consider removing Note: If you apply this suggestion, please also remember to:
Suggested change
|
||||||
| "commitlint": "commitlint --edit", | ||||||
| "start": "node ./dist/cli.js", | ||||||
| "lint": "oxlint --format stylish .", | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In sync with the build script changes, consider removing
index.tsfrom thedevscript entry points to avoid compiling the unused library entry point.