@plumeria/codemod 19.1.3 → 19.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/release.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -260,8 +260,8 @@ overwritten.
|
|
|
260
260
|
|
|
261
261
|
The export removes the `@plumeria/core` import, so a reference to `Style`,
|
|
262
262
|
`StyleProps`, `WithoutProperties`, `StaticStyles`, `AtomicStyle`,
|
|
263
|
-
`
|
|
264
|
-
declares it. Those are reported as `style-type-reference`, whether the type
|
|
263
|
+
`AtomicClassStyle`, `AtomicClassNameFor` or `AtomicClassStyleFor` is left without
|
|
264
|
+
the import that declares it. Those are reported as `style-type-reference`, whether the type
|
|
265
265
|
names a component prop, a type alias or a variable annotation.
|
|
266
266
|
|
|
267
267
|
A module that declares nothing but style prop types is the one shape this does
|
package/dist/release.js
CHANGED
|
@@ -84,8 +84,9 @@ const STYLE_TYPES = new Set([
|
|
|
84
84
|
'WithoutProperties',
|
|
85
85
|
'StaticStyles',
|
|
86
86
|
'AtomicStyle',
|
|
87
|
-
'
|
|
87
|
+
'AtomicClassStyle',
|
|
88
88
|
'AtomicClassNameFor',
|
|
89
|
+
'AtomicClassStyleFor',
|
|
89
90
|
]);
|
|
90
91
|
const memberOf = (node) => {
|
|
91
92
|
if (node?.type !== 'MemberExpression' || node.object.type !== 'Identifier')
|
package/package.json
CHANGED