Skip to content

Commit

Permalink
Rename 'cfn-include-mapping-rewriter' to 'cfninclude-rewriter'.
Browse files Browse the repository at this point in the history
  • Loading branch information
skinny85 committed Dec 1, 2020
1 parent 24b15d3 commit ac3ed43
Show file tree
Hide file tree
Showing 13 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions packages/aws-cdk-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"stability": "experimental",
"maturity": "developer-preview",
"scripts": {
"gen": "ubergen && cfn-include-mapping-rewriter lib/cloudformation-include aws-cdk-lib",
"gen": "ubergen && cfninclude-rewriter lib/cloudformation-include aws-cdk-lib",
"build": "cdk-build",
"lint": "cdk-lint",
"test": "cdk-test",
Expand Down Expand Up @@ -272,7 +272,7 @@
"@types/fs-extra": "^8.1.1",
"@types/node": "^10.17.47",
"cdk-build-tools": "0.0.0",
"cfn-include-mapping-rewriter": "0.0.0",
"cfninclude-rewriter": "0.0.0",
"constructs": "^3.2.0",
"fs-extra": "^9.0.1",
"pkglint": "0.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/monocdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"stability": "experimental",
"maturity": "developer-preview",
"scripts": {
"gen": "ubergen && cfn-include-mapping-rewriter lib/cloudformation-include monocdk",
"gen": "ubergen && cfninclude-rewriter lib/cloudformation-include monocdk",
"build": "cdk-build",
"lint": "cdk-lint",
"test": "cdk-test",
Expand Down Expand Up @@ -271,7 +271,7 @@
"@types/fs-extra": "^8.1.1",
"@types/node": "^10.17.47",
"cdk-build-tools": "0.0.0",
"cfn-include-mapping-rewriter": "0.0.0",
"cfninclude-rewriter": "0.0.0",
"constructs": "^3.2.0",
"fs-extra": "^9.0.1",
"pkglint": "0.0.0",
Expand Down

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# cfn-include-mapping-rewriter
# cfninclude-rewriter

This tool modifies the `cfn-types-2-classes.json`
file that is generated by the build of the `@aws-cdk/cloudformation-include` package
Expand Down
3 changes: 3 additions & 0 deletions tools/cfninclude-rewriter/bin/cfninclude-rewriter
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require('./cfninclude-rewriter.js');
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as fs from 'fs';
import * as path from 'path';

if (process.argv.length != 4) {
process.stderr.write('Usage: cfn-include-mapping-rewriter <cfn-include directory> <monolithic package name>');
process.stderr.write('Usage: cfninclude-rewriter <cfn-include directory> <monolithic package name>');
process.exit(1);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "cfn-include-mapping-rewriter",
"name": "cfninclude-rewriter",
"private": true,
"version": "0.0.0",
"description": "Rewrites the 'CFN resource type to fully-qualified class name' mapping file from cfn-include for use in monolithic packages",
"repository": {
"type": "git",
"url": "https://github.com/aws/aws-cdk.git",
"directory": "tools/cfn-include-mapping-rewriter"
"directory": "tools/cfninclude-rewriter"
},
"bin": {
"cfn-include-mapping-rewriter": "bin/cfn-include-mapping-rewriter"
"cfninclude-rewriter": "bin/cfninclude-rewriter"
},
"scripts": {
"build": "cdk-build",
Expand Down
File renamed without changes.

0 comments on commit ac3ed43

Please sign in to comment.