@plumeria/codemod 19.1.3 → 19.1.4

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 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
- `AtomicDynamicStyle` or `AtomicClassNameFor` is left without the import that
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
- 'AtomicDynamicStyle',
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/codemod",
3
- "version": "19.1.3",
3
+ "version": "19.1.4",
4
4
  "description": "Codemods for Plumeria: migrate a CSS Modules codebase in, export it back out, and rename the styling prop",
5
5
  "author": "Refirst 11",
6
6
  "license": "MIT",