Skip to content

Commit 9107465

Browse files
committed
WIP
1 parent 654f5a8 commit 9107465

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

.changeset/old-spoons-scream.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'braid-design-system': minor
3+
---
4+
5+
---
6+
updated:
7+
- test
8+
---
9+
10+
dummy for snapshot
11+
12+
<!-- Todo - remove file -->

packages/codemod/src/codemod.ts

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import importUpdatePlugin from './plugin-deprecate/plugin-import-update';
1818
import propRenamePlugin from './plugin-deprecate/plugin-prop-rename';
1919
import { v31 } from './plugin-deprecate/deprecationMaps/v31';
2020
import { v31_11 } from './plugin-deprecate/deprecationMaps/v31-11';
21+
import { v33 } from './plugin-deprecate/deprecationMaps/v33';
2122

2223
const pluginsForVersion = {
2324
v31: [
@@ -27,6 +28,7 @@ const pluginsForVersion = {
2728
importUpdatePlugin,
2829
],
2930
[`v31.11`]: [[propRenamePlugin, { renames: v31_11 }]],
31+
v33: [[propRenamePlugin, { renames: v33 }]],
3032
};
3133

3234
type Version = keyof typeof pluginsForVersion;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export const v33 = {
2+
Text: {
3+
truncate: 'maxLines={1}',
4+
},
5+
Heading: {
6+
truncate: 'maxLines={1}',
7+
},
8+
};

0 commit comments

Comments
 (0)