-
Notifications
You must be signed in to change notification settings - Fork 8
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
Tram-One, now with Types! Typescript! v11.0.0 #175
Merged
Merged
Changes from 5 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
dc2bf8c
Initial Pass at migrating to Typescript
JRJurman a43298e
re-add lint (placeholder)
JRJurman e56dc64
migrate test app to ts as well
JRJurman 64dab27
type definitions!
JRJurman 1b76e38
npm ci in pipeline
JRJurman 1ca3030
11.0.0
JRJurman 349d159
remove manual type checks
JRJurman 839e459
add eslint typescript config
JRJurman 029217e
fix lint, add comments to config, update test files to ts
JRJurman fdcadee
cleanup jsdocs, more types, add unit test for root effect
JRJurman 30f8370
use prettier
JRJurman f18e844
fix docstring, update dependency name in config
JRJurman 7e8d7fd
clean up layout for tasks test component
JRJurman c6842cf
Update README
JRJurman c8a677e
more strict typing
JRJurman 771d55e
formatting for test app
JRJurman ca74d2a
Fix app by being dependent on loading
JRJurman 31024f5
fix performance test ts
JRJurman 8195f6b
use functions for node filter
JRJurman da0e1fb
typescript build config
JRJurman 74e2788
use parcel 2.0
JRJurman 2edd8c2
strictNullChecks, remove domino
JRJurman d7727f9
rearrange and expose types in main export
JRJurman 1df7179
strict ruleset, update test files to verify type
JRJurman 0968852
change to type module
JRJurman 2914e36
update runkit example
JRJurman eb88229
update eslint, remove logs, expose TramOneElement
JRJurman adef448
fixes for code coverage
JRJurman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
integration-tests/test-app/account.js → integration-tests/test-app/account.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
integration-tests/test-app/click-tracker.js → integration-tests/test-app/click-tracker.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 17 additions & 9 deletions
26
integration-tests/test-app/index.js → integration-tests/test-app/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
integration-tests/test-app/logo.js → integration-tests/test-app/logo.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
integration-tests/test-app/mirror-input.js → integration-tests/test-app/mirror-input.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
integration-tests/test-app/startup-wait.js → integration-tests/test-app/startup-wait.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 5 additions & 3 deletions
8
...ration-tests/test-app/sub-mirror-input.js → ...ration-tests/test-app/sub-mirror-input.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 10 additions & 2 deletions
12
integration-tests/test-app/sub-tab.js → integration-tests/test-app/sub-tab.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
integration-tests/test-app/sub-title.js → integration-tests/test-app/sub-title.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
integration-tests/test-app/tasks.js → integration-tests/test-app/tasks.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
integration-tests/test-app/title.js → integration-tests/test-app/title.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
module.exports = { | ||
setupFilesAfterEnv: ['@testing-library/jest-dom/extend-expect'], | ||
testEnvironment: 'jsdom' | ||
testEnvironment: 'jsdom', | ||
transform: { | ||
'^.+\\.ts?$': 'ts-jest' | ||
}, | ||
moduleFileExtensions: ['ts', 'js'] | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I think this project originally predated
npm ci
, but now that it exists, we should be using that, and not regenerating the lock file on every PR.