Comments (5)
the bump to the latest version is blocked due to an issue with the underlying library.
I see. Personally, that issue feels less of a problem to me than the typescript one. It can be easily solved on my end by running my formatter after the MUI codemod.
It's also not the only parentheses formatting problem with codemod. I ran into the following as well on the Toolpad codebase:
const x = () => ({ foo: 'bar' }) as Foo;
gets turned into
const x = () => ({ foo: 'bar' } as Foo);
from mui-x.
Hey @gvidaver could you tell us what the content of /Users/go22670/Projects/kwicked2/src/components/transcript/Transcript.tsx
is?
from mui-x.
Looks like the codemod struggles with modern typescript constructs, like satisfies
or instantiation expressions. Seeing it on the v7 migration in Toolpad as well
from mui-x.
The reason migration on some of the recently introduced typescript constructs fails is the usage of the previous version of the jscodeshift
which doesn't support them, the bump to the latest version is blocked due to an issue with the underlying library.
We will try to have a workaround by pinning the dependencies to a previous version using yarn resolutions as suggested in facebook/jscodeshift#534 (comment)
from mui-x.
+1
from mui-x.
Related Issues (20)
- Remove formatting of rows on hover on a grid with pinned columns [question] HOT 2
- [Missing v7 artifact in npm] HOT 3
- [data grid] How can I prevent data grid rows from formatting on hover when the grid contains pinned columns? HOT 2
- [data grid] Column definition flex doesn't work correctly with pinned columns HOT 2
- [data grid] Column Resize within column threshold HOT 1
- [pickers][DateTimeRangePicker] selecting the same date for the second part of the range does not work as expected HOT 7
- [data grid] Cell TextArea resize broken in v7.0.0 HOT 1
- [question] Annoying `MUI License Expired` watermark when support expires HOT 3
- [pickers][DateRangeCalendar] auto focusing on previous month when selecting an endDate from a future month HOT 1
- [pickers] Year placeholder on Spanish and Portuguese switches to YYYY on focus HOT 3
- [charts] Dependecy Issue - Possible missing module HOT 5
- [Datagrid-v7] theme.components.MuiDataGrid.styleOverrides.main no longer affects styles on 'MuiDataGrid-main' class/element HOT 1
- [charts] Highlighting not working in Scatter series with `number` ID HOT 2
- [data grid] Remove Empty String Option in MUI DataGrid SingleSelect Filter HOT 4
- [data grid] Cannot transpile since latest update v7.0.0 HOT 9
- [data grid] Custom Header Keyboard Navigation HOT 4
- [data grid] singleSelect cell stays in edit mode after selection HOT 1
- [data grid] QuickFilter is not filtering from master details HOT 9
- [data grid] Allow a row to be wrapped in a Link HOT 2
- [tree view] Can't focus input inside TreeItem label HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mui-x.