-
Notifications
You must be signed in to change notification settings - Fork 6
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
Switch to Bun #623
Draft
aviupadhyayula
wants to merge
23
commits into
master
Choose a base branch
from
use-bun
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Switch to Bun #623
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
50650d1
Update node to 16
aviupadhyayula aadb79f
Update Dockerfile to node16
aviupadhyayula b0bf4cf
Pass in node16 to shared actions
aviupadhyayula 9c71b0a
Update TS linting, enable legacy SSL
aviupadhyayula e89bb3f
Fix pageProps type
aviupadhyayula 5409e99
Make linter happy
aviupadhyayula 541e8cb
Update yarn lockfile
aviupadhyayula be79e1a
Builds on node 18 + latest versions of everything. Adapted Input comp…
julianweng 9cb1e62
Bump node in build step
julianweng 9e7b3b0
Add Node 18 to build step as well
julianweng f6684a8
Update build image
julianweng ed7c23d
Node 20, fix Links, and attempt to move stylesheet imports to _document
julianweng 428cb1d
Fix TextField styling
julianweng 9fd22ab
Definitely not a typo
julianweng dbad1d9
Merge branch 'master' into bump-frontend-dependencies
julianweng bed701c
Fix add club button, tag deletion, textarea, orderinput dropdown trig…
julianweng 741e1a9
Fix multi-select tag delete and downgrade react-datepicker.
julianweng e831b47
Use next Script tag
aviupadhyayula b6c4d91
BUN!
julianweng 7c8dd0a
Suppress hydration warnings for dates to satisfy bun
julianweng 71db670
Add next middleware proxy library
julianweng 14cb4e8
update frontend Dockerfile
rm03 d197a5b
update pre-commit to use bun
rm03 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ jobs: | |
uses: pennlabs/shared-actions/.github/workflows/[email protected] | ||
with: | ||
path: frontend | ||
nodeVersion: 20.11.1 | ||
|
||
build-backend: | ||
name: Build backend | ||
|
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,18 +1,12 @@ | ||
{ | ||
"presets": [ | ||
"next/babel" | ||
], | ||
"plugins": [ | ||
"istanbul" | ||
], | ||
"env": { | ||
"production": { | ||
"plugins": [["styled-components", { "ssr": true }]] | ||
}, | ||
"development": { | ||
"plugins": [ | ||
"babel-plugin-styled-components" | ||
] | ||
} | ||
"presets": ["next/babel"], | ||
"plugins": ["istanbul"], | ||
"env": { | ||
"production": { | ||
"plugins": [["styled-components", { "ssr": true }]] | ||
}, | ||
"development": { | ||
"plugins": ["babel-plugin-styled-components"] | ||
} | ||
} | ||
} |
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,8 +1,8 @@ | ||
{ | ||
"endOfLine": "lf", | ||
"semi": false, | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"trailingComma": "all" | ||
"endOfLine": "lf", | ||
"semi": false, | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"trailingComma": "all" | ||
} |
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,8 +1,4 @@ | ||
{ | ||
"presets": [ | ||
"next/babel" | ||
], | ||
"plugins": [ | ||
"styled-components" | ||
] | ||
} | ||
"presets": ["next/babel"], | ||
"plugins": ["styled-components"] | ||
} |
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 = { | ||
stories: ['../components/**/*.stories.@(js|ts|mdx|tsx)'], | ||
addons: ['@storybook/addon-actions/register', '@storybook/addon-links/register', '@storybook/addon-docs'], | ||
stories: ['../components/**/*.stories.@(js|ts|mdx|tsx)'], | ||
addons: [ | ||
'@storybook/addon-actions/register', | ||
'@storybook/addon-links/register', | ||
'@storybook/addon-docs', | ||
], | ||
} |
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,21 +1,21 @@ | ||
{ | ||
"editor.tabSize": 2, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true | ||
}, | ||
"files.exclude": { | ||
"**/.git": true, | ||
"**/.svn": true, | ||
"**/.hg": true, | ||
"**/CVS": true, | ||
"**/.DS_Store": true, | ||
"**/.next": true, | ||
"**/.nyc_output": true | ||
}, | ||
"search.exclude": { | ||
"**/node_modules": true, | ||
"**/bower_components": true, | ||
"**/*.code-search": true, | ||
"**/coverage": true | ||
} | ||
"editor.tabSize": 2, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": "explicit" | ||
}, | ||
"files.exclude": { | ||
"**/.git": true, | ||
"**/.svn": true, | ||
"**/.hg": true, | ||
"**/CVS": true, | ||
"**/.DS_Store": true, | ||
"**/.next": true, | ||
"**/.nyc_output": true | ||
}, | ||
"search.exclude": { | ||
"**/node_modules": true, | ||
"**/bower_components": true, | ||
"**/*.code-search": true, | ||
"**/coverage": true | ||
} | ||
} |
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
Binary file not shown.
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
Oops, something went wrong.
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.
Perhaps we can consider using the docker image instead? https://hub.docker.com/r/oven/bun/tags