Releases: ijlee2/codemod-utils
Releases · ijlee2/codemod-utils
Removed unnecessary file path resolutions. Added tests.
Updated packages
Latest versions
Name |
Version |
@codemod-utils/ast-javascript |
0.3.1 |
@codemod-utils/ast-template |
0.3.0 |
@codemod-utils/blueprints |
0.2.1 |
@codemod-utils/cli |
0.1.2 |
@codemod-utils/ember-cli-string |
0.1.0 |
@codemod-utils/files |
0.5.2 |
@codemod-utils/json |
0.3.3 |
@codemod-utils/tests |
0.2.5 |
Ensured that blueprint files are installed
⚠️ Some blueprint files are still missing. Please install @codemod-utils/[email protected]
or higher.
Updated packages
Latest versions
Name |
Version |
@codemod-utils/ast-javascript |
0.3.1 |
@codemod-utils/ast-template |
0.3.0 |
@codemod-utils/blueprints |
0.2.1 |
@codemod-utils/cli |
0.1.1 (install 0.1.2 or higher) |
@codemod-utils/ember-cli-string |
0.1.0 |
@codemod-utils/files |
0.5.2 |
@codemod-utils/json |
0.3.3 |
@codemod-utils/tests |
0.2.5 |
Created @codemod-utils/cli
If you've wanted to write a codemod, there is now a CLI to help you get started. 🌟
New packages
Updated packages
- @codemod-utils/ast-javascript (#43)
- @codemod-utils/files (#43)
- @codemod-utils/json (#43)
- @codemod-utils/tests (#43)
Latest versions
Name |
Version |
@codemod-utils/ast-javascript |
0.3.1 |
@codemod-utils/ast-template |
0.3.0 |
@codemod-utils/blueprints |
0.2.1 |
@codemod-utils/cli |
0.1.0 (install 0.1.2 or higher) |
@codemod-utils/ember-cli-string |
0.1.0 |
@codemod-utils/files |
0.5.2 |
@codemod-utils/json |
0.3.3 |
@codemod-utils/tests |
0.2.5 |
Updated a dependency (glob) to the latest
Updated packages
- @codemod-utils/files (#41)
- @codemod-utils/tests (#41)
Latest versions
Name |
Version |
@codemod-utils/ast-javascript |
0.3.0 |
@codemod-utils/ast-template |
0.3.0 |
@codemod-utils/blueprints |
0.2.1 |
@codemod-utils/ember-cli-string |
0.1.0 |
@codemod-utils/files |
0.5.1 |
@codemod-utils/json |
0.3.2 |
@codemod-utils/tests |
0.2.4 |
Created ast-javascript, ast-template, and ember-cli-string
Updated packages
- @codemod-utils/ast-javascript (#32, #36, breaking)1
- @codemod-utils/ast-template (#32, #36, breaking)1
- @codemod-utils/blueprints (#37)
- @codemod-utils/ember-cli-string (#39)
- @codemod-utils/files (#37, #38)
- @codemod-utils/json (#37)
- @codemod-utils/tests (#37)
1. Please replace @codemod-utils/ast
with @codemod-utils/ast-javascript
and/or @codemod-utils/ast-template
.
Latest versions
Name |
Version |
@codemod-utils/ast-javascript |
0.3.0 |
@codemod-utils/ast-template |
0.3.0 |
@codemod-utils/blueprints |
0.2.1 |
@codemod-utils/ember-cli-string |
0.1.0 |
@codemod-utils/files |
0.5.0 |
@codemod-utils/json |
0.3.2 |
@codemod-utils/tests |
0.2.3 |
Patched and re-exported types
Updated packages
- @codemod-utils/json (#29)
- @codemod-utils/tests (#30)
Latest versions
Name |
Version |
@codemod-utils/ast |
0.2.0 |
@codemod-utils/blueprints |
0.2.0 |
@codemod-utils/files |
0.4.1 |
@codemod-utils/json |
0.3.1 |
@codemod-utils/tests |
0.2.2 |
Patched types for @codemod-utils/files
Updated packages
- @codemod-utils/files (#27)
Latest versions
Name |
Version |
@codemod-utils/ast |
0.2.0 |
@codemod-utils/blueprints |
0.2.0 |
@codemod-utils/files |
0.4.1 |
@codemod-utils/json |
0.3.0 |
@codemod-utils/tests |
0.2.1 |
Introduced TypeScript to all packages
Updated packages
- @codemod-utils/ast (#25)
- @codemod-utils/blueprints (#22)
- @codemod-utils/files (#21, #25)
- @codemod-utils/json (#20, #21)
- @codemod-utils/tests (#20, #21)
Latest versions
Name |
Version |
@codemod-utils/ast |
0.2.0 |
@codemod-utils/blueprints |
0.2.0 |
@codemod-utils/files |
0.4.0 |
@codemod-utils/json |
0.3.0 |
@codemod-utils/tests |
0.2.1 |
Introduced TypeScript to @codemod-utils/tests
Updated packages
- @codemod-utils/tests (#18)
Latest versions
Name |
Version |
@codemod-utils/ast |
0.1.1 |
@codemod-utils/blueprints |
0.1.2 |
@codemod-utils/files |
0.3.1 |
@codemod-utils/json |
0.2.0 |
@codemod-utils/tests |
0.2.0 |
Separated validation concerns
Updated packages
- @codemod-utils/json (#16)
Migration guide for updating @codemod-utils/json from 0.1.2 to 0.2.0
In @codemod-utils/[email protected]
, readPackageJson
checked whether package.json
has the fields name
and version
. In 0.2.0
, you will need to call validatePackageJson
explicitly (opt-in).
import { readPackageJson, validatePackageJson } from '@codemod-utils/json';
const packageJson = readPackageJson({
projectRoot: '__projectRoot__',
});
validatePackageJson(packageJson);
const { name, version } = packageJson;
Latest versions
Name |
Version |
@codemod-utils/ast |
0.1.1 |
@codemod-utils/blueprints |
0.1.2 |
@codemod-utils/files |
0.3.1 |
@codemod-utils/json |
0.2.0 |
@codemod-utils/tests |
0.1.2 |