-
Notifications
You must be signed in to change notification settings - Fork 64
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
feat: Add Paseri to benchmarks #1503
base: master
Are you sure you want to change the base?
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
save-exact=true | ||
save-exact=true | ||
@jsr:registry=https://npm.jsr.io | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"module": "commonjs", | ||
"outDir": "build" | ||
"module": "ESNext", | ||
"outDir": "build", | ||
"allowImportingTsExtensions": false | ||
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. Please explain what these changes do 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 we inherited the tsconfig we need to flip the allowImportingTsExtensions setting, because it won’t work when transpiling, only for generating types. https://www.typescriptlang.org/tsconfig/#allowImportingTsExtensions The other two changes here are to make this module ESM to match the top-level module, since we can’t mix commonjs/ESM. |
||
}, | ||
"include": ["src/index.ts"], | ||
"reflection": true | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { default as jointz } from 'jointz/src/index'; | ||
|
||
export default jointz; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"module": "CommonJS", | ||
"moduleResolution": "Node", | ||
"outDir": "build", | ||
"strict": true, | ||
"declaration": true, | ||
"emitDeclarationOnly": true | ||
}, | ||
"include": ["src/index.ts"] | ||
} |
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.
Why we need this?
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.
This just adds a link to the jsr.io package registry, which is a modern version of the npm registry. Paseri is hosted there only, not on npm. https://jsr.io/#why-jsr