@plumeria/codemod 19.0.0 → 19.1.1

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
@@ -259,10 +259,10 @@ together with every file whose definitions they still need. A target
259
259
  overwritten.
260
260
 
261
261
  The export removes the `@plumeria/core` import, so a reference to `Style`,
262
- `StyleProps`, `WithoutProperties`, `StaticStyles` or `AtomicClassNameFor` is left
263
- without the import that declares it. Those are reported as
264
- `style-type-reference`, whether the type names a component prop, a type alias or
265
- a variable annotation.
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
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
268
268
  not reach: it defines no styles, so there is no stylesheet for the report to hold
package/dist/release.js CHANGED
@@ -83,6 +83,8 @@ const STYLE_TYPES = new Set([
83
83
  'StyleProps',
84
84
  'WithoutProperties',
85
85
  'StaticStyles',
86
+ 'AtomicStyle',
87
+ 'AtomicDynamicStyle',
86
88
  'AtomicClassNameFor',
87
89
  ]);
88
90
  const memberOf = (node) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/codemod",
3
- "version": "19.0.0",
3
+ "version": "19.1.1",
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",