Change Log
0.18.0
Minor Changes
-
#3303
93e3bbc5cThanks @ALacker! - Removed "proposed" feature from iconsRemove deprecated icons:
- hBrowser2
- hBrowser3
- hBrowser
- hHoverMiter
- hPalette
- iAlertCircle
- iBarChart
- iCheckCircle
- iCopy
- iHome
- iLayers
- iMapPin
- iMap
- iMessageSquare
- iPlusCircle
- iShare2
- iSliders
- iTool
- hBuilding
- hClipboardCheck
- hClipboardList
Also removes deprecated fill and shape button parameters
0.17.1
Patch Changes
- #3191
c44136624Thanks @ALacker! - Update icons to use Bauhaus icons instead of historical icon sets
0.17.0
Minor Changes
- #3176
24ae2f4dcThanks @jhines-hover! - Adds a new import source transformer to help migrate rewriting old @hover packages to @hoverinc
0.16.2
Patch Changes
-
#3174
d521b8261Thanks @jhines-hover! - Fix publishConfig for all packages -
Updated dependencies [
d521b8261]:- @hoverinc/utilities@0.19.5
0.16.1
Patch Changes
- #3172
869e50cdeThanks @jhines-hover! - Switches all packages from the npm registry namespace to the github registry namespace - Updated dependencies
[
869e50cde]:- @hoverinc/utilities@0.19.4
0.16.0
Minor Changes
-
#2736
bf3f0c90Thanks @jrolfs! - Add support for arrays in transform schemas -
#2736
1ccaf5e0Thanks @jrolfs! - Add a transform for updating all usages of typography components (Body, Heading, and Link) to use the respectivesizealias in place of the raw typography size preset (e.g:300โ'small').
0.15.0
Minor Changes
-
#2534
aa00d3d6Thanks @jrolfs! - Support usingdescription/describe()in Zod to customize the prompt for a particular transform option -
#2534
48e41801Thanks @jrolfs! - Add support for specifying that a transform to always run with--dryby exportingexport const dry = true -
#2534
93a65dfbThanks @jrolfs! - Add transform for extracting type token usage -
#2534
af76183cThanks @jrolfs! - Pass root files directory to all transforms asoptions.__pathExample
npx @hover/transforms ./src/componentsconst transformer: Transform<Options> = (file,{ jscodeshift: j },options,) => {const root = j(file.source);// ./src/componentsconsole.log(options.__path);};export default transform; -
#2534
4ce6052dThanks @jrolfs! - Add support for prompting for unions of string literals in transform schemas with a select and for requiring fields conditionally based on the value of a boolean field viarequiredWhenhelper. -
#2534
3d15ebafThanks @jrolfs! - Support using built-in jscodeshiftreport()function to log output from transforms (in addition to `log` prefix that was added earlier)
Patch Changes
-
#2534
d31bddafThanks @jrolfs! - Fix error output when used with transform logging and likely some other issues with result reporting related to how jscodeshift results are parsed -
#2534
8ca1805dThanks @jrolfs! - Throw an error when encountering an invalidschemaexported from a transform -
#2534
46337136Thanks @jrolfs! - Upgrade jscodeshift to 0.15 -
Updated dependencies [
22047c1e]:- @hover/utilities@0.19.1
0.14.6
Patch Changes
- Updated dependencies
[
37aafd59]:- @hover/utilities@0.19.0
0.14.5
Patch Changes
0.14.4
Patch Changes
0.14.3
Patch Changes
0.14.2
Patch Changes
- Updated dependencies
[
e3fc88bc]:- @hover/utilities@0.16.0
0.14.1
Patch Changes
0.14.0
Minor Changes
-
#1916
400feb99Thanks @jrolfs! - Add transform for migration fromisTruncatedtonoOfLines={1} -
#1916
69e19415Thanks @jrolfs! - Add transform for migration fromisTruncatedtonoOfLines={1}
0.13.0
Minor Changes
b885b69cThanks @jrolfs! - Add support forRegExpvalues for the source option of the rename props transform to make it easier to target components that compose system components
0.12.0
Minor Changes
fa2da733Thanks @jrolfs! - Support passing atemplateto find setters transforms and add presets with a basic template, and a GitHub template for web-react links
Patch Changes
-
5fcf768eThanks @jrolfs! - Fix interactive prompting to support unions in transform schemas -
f81fabaeThanks @jrolfs! - Fix transform option issue that occurred when some options were correctly passed via arguments and the rest are entered via interactive prompts. Only the prompted options were being passed to the transform, now the combination of arguments and options are correctly passed to the transform. -
fa2da733Thanks @jrolfs! - Fix find setters transform to find multiple settings per file instead of just one -
Updated dependencies [
e74fcd2d]:- @hover/utilities@0.14.0
0.11.0
Minor Changes
-
911f06efThanks @jrolfs! - Add transform for finding all ReactuseStatesetting invocations -
9bb5ee8eThanks @jrolfs! - Add basic support for logging information without using jscodeshift'sstatfunction (for now it's just a simple prefix of__log__)
0.10.2
Patch Changes
0.10.1
Patch Changes
17667e59Thanks @jrolfs! - EnabletranspileOnlyflag on ts-node when consuming transforms. We're primarily using ts-node to support consuming transforms written in TypeScript, so I don't think it actually makes sense to do any type-checking at runtime.
0.10.0
Minor Changes
-
#2065
1cd0ab99Thanks @jrolfs! - Addaliasoption to Rename Imports transform to support renaming imports without relying on an import alias -
#2065
1cd0ab99Thanks @jrolfs! - AddupdateSourceoption to Rename Imports transform to support simple import source updates, for example:// โฃโฃโฃโฃโฃโฃโฃโฃโฃโฃโฃimport { AwesomeIcon } from '../../AwesomeIcon';npx @hover/transforms -t rename-imports --from=AwesomeIcon --to=Icon --source=/.*AwesomeIcon/ --updateSource// โฃโฃโฃโฃimport { Icon } from '../../Icon'; -
#2065
1cd0ab99Thanks @jrolfs! - Add Rename Import presets for swappingAwesomeIconwithIcon
Patch Changes
- #2065
565ab3ecThanks @jrolfs! - Fix an issue where camel-cased options weren't being passed to the transform correctly
0.9.1
Patch Changes
-
#2047
300eb9f2Thanks @jrolfs! - FixhRulerTriangleโhTriangleRulertypo in icon migration transform and add in a type to prevent that from happening again -
#2047
ecc0a17cThanks @jrolfs! - Add a few icon mappings manually
0.9.0
Minor Changes
Patch Changes
- Updated dependencies
[
9924631c]:- @hover/utilities@0.12.0
0.8.2
Patch Changes
0.8.1
Patch Changes
- #1926
fb52d896Thanks @jrolfs! - Remove Prettier formatting functionality as it seems to be causing a significant performance decline and weird, incorrect behavior even in transforms that didn't leverage Prettier formatting. Ultimately, I don't think @hover/transforms should actually concern itself with Prettier formatting as it adds some complexity (configuration resolution, etc.) and is probably better just left as an end user concern and can simply be run separately after running a transform.
0.8.0
Minor Changes
Patch Changes
0.7.3
Patch Changes
- #1895
a9a97052Thanks @jrolfs! - Add jscodeshift version and raw command invocation information to--debugoutput
0.7.2
Patch Changes
0.7.1
Patch Changes
0.7.0
Minor Changes
- #1853
a61331d8Thanks @jrolfs! - Add transform for migrating from Font Awesome icons to @hover/icons
0.6.0
Minor Changes
- #1838
e4cd9e64Thanks @jrolfs! - Add 'Rename Import' transform, which currently includes the following 1.0 preset:useChakraThemeโuseThemechakraThemeโtheme
0.5.1
Patch Changes
- Updated dependencies
[
686feed1]:- @hover/utilities@0.10.0
0.5.0
Minor Changes
0.4.3
Patch Changes
0.4.2
Patch Changes
-
fcbf745cThanks @jrolfs! - Include @types/jscodeshift in dependencies as it's required when consuming TypeScript-based transforms via ts-node -
88e298a5Thanks @jrolfs! - Yet another attempt to fix the TypeScript configuration in the published package... it seems ts-node needs aproject?
0.4.1
Patch Changes
- #1753
892c1aadThanks @jrolfs! - Fix missing base TypeScript configuration by inlining the configuration for now
0.4.0
Minor Changes
-
#1733
b92b9d44Thanks @jrolfs! - Add/schemaentrypoint exposing Zod schema helpers forboolean,string,numberandregexthat all attempt to deserialize values from strings -
#1733
1549e156Thanks @jrolfs! - Add transform for extracting Font Awesome icon usage -
#1733
adb683d1Thanks @jrolfs! - Add support for outputing results ofstats()calls in transforms
Patch Changes
-
#1742
f7c8cb21Thanks @jrolfs! - Add descriptions for CLI flags -
#1746
0a75109dThanks @jrolfs! - Include TypeScript configuration in package -
#1733
9b2bc018Thanks @jrolfs! - Display regex options properly -
#1742
f3be1f5eThanks @jrolfs! - Don't prompt for presets when transform doesn't have any
0.3.0
Minor Changes
- #1735
574656cdThanks @jrolfs! - Update presets for 'Rename Props' transform to include all prop renames for the 1.0 upgrade
Patch Changes
-
#1736
3a6b8e7aThanks @jrolfs! - Specify abinin the package.json for @hover/transforms -
#1735
6c5d31c6Thanks @jrolfs! - Fix formatting of question in presets prompt
0.2.0
Minor Changes
- #1732
6d923588Thanks @jrolfs! - Add spinner with intermediate status feedback during transformation
Patch Changes
-
#1732
9040cfa3Thanks @jrolfs! - Ensure 'Rename Prop' transform gracefully handles files that don't import the component to apply renames too and files that don't import from the specified importsourceat all -
#1732
70ed8718Thanks @jrolfs! - Oops, don't pass--drytojscodeshiftunless it's specified
0.1.1
Patch Changes
- Updated dependencies
[
95ae6d8f]:- @hover/utilities@0.9.0