-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds readme file to init output + logs
- Loading branch information
1 parent
598ec9e
commit 380ed84
Showing
6 changed files
with
103 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
'@codeshift/cli': minor | ||
'@codeshift/initializer': minor | ||
'@codeshift/validator': minor | ||
--- | ||
|
||
Codeshift projects can now be initialized a config file only via the `init --config-only` command. | ||
|
||
Initialized projects now contain a README with helpful getting started information. | ||
|
||
The init command now outputs getting started tips + commands |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# <% packageName %> | ||
|
||
This project was bootstrapped with [CodeshiftCommunity 🚚](https://www.codeshiftcommunity.com/). Please see the [external packages guide](https://www.codeshiftcommunity.com/docs/external-packages) for more information on how to work with this repo. | ||
|
||
![CodeshiftCommunity logo](https://www.codeshiftcommunity.com/img/logo.svg) | ||
|
||
## Scripts | ||
|
||
### `npm run dev` | ||
|
||
Runs the codeshift CLI useful for testing transform files as if they have been published | ||
|
||
**example:** `npm run dev -t src/10.0.0/transform.ts` | ||
|
||
See the [cli reference](https://www.codeshiftcommunity.com/docs/cli) for more information. | ||
|
||
### `npm run test` | ||
|
||
Launches the test runner in interactive watch mode. | ||
|
||
See the [testing guide](https://www.codeshiftcommunity.com/docs/testing) for more information. | ||
|
||
### `npm run validate` | ||
|
||
Checks the validity of your `codeshift.config.js` file. | ||
|
||
See the [configuration options](https://www.codeshiftcommunity.com/docs/configuration) for more information. | ||
|
||
### `npm run build` | ||
|
||
Builds the app for production to the `dist` folder. | ||
|
||
## Publishing | ||
|
||
This package can be published to npm via the normal commands `npm version` and `npm publish` | ||
|
||
## Build tooling | ||
|
||
Feel free to replace the preinstalled build tooling & dependencies to suit your needs. The only requirement is that there is a valid `codeshift.config.js` in your project root, `/src` or `/codemods` directories. |
This file contains 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