-
Notifications
You must be signed in to change notification settings - Fork 29
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
Miscellaneous changes #314
Open
RichDom2185
wants to merge
45
commits into
master
Choose a base branch
from
misc-20240522
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.
+3,229
−1,977
Open
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
d5be766
Bump dependencies in lockfile
RichDom2185 e833b1e
Update some versions in package.json
RichDom2185 472c53a
Bump js-slang to v1.0.74
RichDom2185 52c0cfe
Bump more dependencies
RichDom2185 f3fe745
Deduplicate dependencies
RichDom2185 90037ae
Remove unused ESLint plugin
RichDom2185 e3e3c3b
Bump Vite to v5
RichDom2185 49bcd65
Update Vite config
RichDom2185 5ff6342
Migrate to React 18 `createRoot`
RichDom2185 12fff08
Simplify Ace mode string
RichDom2185 d06442a
Fix Ace editor runtime error
RichDom2185 f4c38de
Clean up Playground and Editor components
RichDom2185 f31c0e3
Reformat test tab
RichDom2185 87960de
Remove `react-hotkeys` dependency
RichDom2185 a180f85
Remove `react-responsive` dependency
RichDom2185 0154670
Bump esbuild and remove resolution
RichDom2185 bb975a0
Remove unused classes
RichDom2185 995769f
Fix Vite types
RichDom2185 59db905
Remove unused ESLint disable directives
RichDom2185 69a3526
Bump husky from v5 to v9
RichDom2185 81db412
Bump gl resolution to v8
RichDom2185 9579c47
Revert "Bump gl resolution to v8"
RichDom2185 022e4f8
Make curve render functions have nice toStrings
leeyi45 3a1550c
Use parseInt instead of Number.parseFloat
leeyi45 86523a6
Fix too many lines at end of file
leeyi45 b9b7cba
Fix naming of test cases
leeyi45 b70eb1e
Merge branch 'master' of https://github.com/source-academy/modules in…
RichDom2185 1258bdb
Merge branch 'master' into misc-20240522
RichDom2185 b7947e1
Merge branch 'master' of https://github.com/source-academy/modules in…
RichDom2185 ece2212
Update lockfile post-merge
RichDom2185 ba219a7
Merge branch 'master' into misc-20240522
leeyi45 7894eab
Remove vscode setting now that flat configs are default
leeyi45 d443a8c
Update curve module tests
leeyi45 b77738b
Add a test for checking json documentation building
leeyi45 96f22e7
Update yarn lock
leeyi45 297452b
Fix lock file
leeyi45 80768e9
Update eslint config to use tseslint helper and fix new linting issues
leeyi45 be33e5e
Add new type imports linting config
leeyi45 233dd39
Run linting
leeyi45 5e94ed4
Move hextocolor to utilities
leeyi45 0e0be2c
Add building the linting plugin to the script building command
leeyi45 d619284
Fix scripts not compiling
leeyi45 1e745b1
Fix linting of scripts
leeyi45 b94848a
Update devserver
leeyi45 bbdbc47
Fix formatting
leeyi45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn yarnhook |
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 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn yarnhook |
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 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn yarnhook |
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 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn test --color |
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 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
yarn build --lint --tsc |
This file was deleted.
Oops, something went wrong.
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
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,13 +1,14 @@ | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
|
||
import './styles/index.scss'; | ||
import ReactDOM from 'react-dom/client'; | ||
import Playground from './components/Playground'; | ||
import './styles/index.scss'; | ||
|
||
const root = ReactDOM.createRoot(document.getElementById('root')!); | ||
|
||
ReactDOM.render(<React.StrictMode> | ||
root.render(<React.StrictMode> | ||
<div className="Application"> | ||
<div className="Application__main"> | ||
<Playground /> | ||
</div> | ||
</div> | ||
</React.StrictMode>, document.getElementById('root')!); | ||
</React.StrictMode>); |
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.
Does the js-slang theme work for you? It still doesn't for me
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.
bumping this comment
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.
Oops, I think your previous comment wasn't published yet that's why I couldn't see it. It's broken on Source Academy @ NUS as well. I suspect it's a js-slang issue, specifically the ace-builds version there is way too old. But I haven't looked at it yet