Conversation
leeyi45
left a comment
There was a problem hiding this comment.
Left some comments. Also please address some of the linting errors. Otherwise, thanks for doing the migration work
|
Will close #557 |
|
Btw, was there any particular reason why you're performing this migration? @AaravMalani |
I wanted to increase build times for |
RichDom2185
left a comment
There was a problem hiding this comment.
If @leeyi45 has further comments please do comment
| @@ -1 +1,2 @@ | |||
| nodeLinker: node-modules | |||
| checksumBehavior: update | |||
There was a problem hiding this comment.
Revert
| checksumBehavior: update |
| 'prefer-const': ['warn', { destructuring: 'all' }], | ||
|
|
||
| '@sourceacademy/default-import-name': ['warn', { path: 'pathlib' }], | ||
| '@sourceacademy/no-barrel-imports': ['error', ['lodash']], |
| "react": "^18.3.1", | ||
| "react-dom": "^18.3.1", |
There was a problem hiding this comment.
Revert
| "react": "^18.3.1", | |
| "react-dom": "^18.3.1", |
|
|
||
| ## `no-barrel-imports` | ||
|
|
||
| _Note: Due to the migration to es-toolkit, this rule is no longer used_ |
There was a problem hiding this comment.
Revert
| _Note: Due to the migration to es-toolkit, this rule is no longer used_ |
| expect(utils.extractPackageName('es-toolkit@npm:^1.44.0')) | ||
| .toEqual('es-toolkit'); |
There was a problem hiding this comment.
Why do we need to update these?
Description
Migrate from lodash to es-toolkit
Type of change
Please delete options that are not relevant.
Checklist:
Note:
A couple of Github Actions tests fail, hence I'm making a draft PR till it gets resolvedFixed, making it a normal PR