This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :checked { /* if */ } | |
| :not(:checked) { /* else */ } | |
| [data-attr="true"] { /* if */ } | |
| [data-attr="false"] { /* elseif */ } | |
| :not([data-attr]) { /* else */} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as fs from "fs"; | |
| import * as path from "path"; | |
| import * as ts from "typescript"; | |
| import type { API, FileInfo, Options, Transform } from "jscodeshift"; | |
| // List of barrel files to process; in an ideal world this shouldn't be | |
| // hardcoded, but it's a good starting point. | |
| const BARREL_IMPORTS = [ |
OlderNewer