Skip to content

Commit 92166ee

Browse files
authored
chore: remove cfnspec and cfn2ts (#27858)
These packages have been replaced by a more modern version. Please use `@aws-cdk/aws-service-spec` ([source](https://github.com/cdklabs/awscdk-service-spec)) and `spec2cdk` respectively. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent aac52e5 commit 92166ee

File tree

386 files changed

+16
-369116
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

386 files changed

+16
-369116
lines changed

.github/workflows/issue-label-assign.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ env:
265265
{"area":"@aws-cdk/aws-wafv2","keywords":["wafv2","aws-wafv2"],"labels":["@aws-cdk/aws-wafv2"]},
266266
{"area":"@aws-cdk/aws-workspaces","keywords":["aws-workspaces","workspaces"],"labels":["@aws-cdk/aws-workspaces"]},
267267
{"area":"@aws-cdk/aws-xray","keywords":["aws-xray","xray"],"labels":["@aws-cdk/aws-xray"]},
268-
{"area":"@aws-cdk/cfnspec","keywords":["cfnspec"],"labels":["@aws-cdk/cfnspec"]},
269268
{"area":"@aws-cdk/cloud-assembly-schema","keywords":["cloud-assembly-schema","manifest"],"labels":["@aws-cdk/cloud-assembly-schema"]},
270269
{"area":"@aws-cdk/cloudformation-diff","keywords":["cloudformation-diff","cfn-diff"],"labels":["@aws-cdk/cloudformation-diff"]},
271270
{"area":"@aws-cdk/cloudformation-include","keywords":["cloudformation-include","cfn-include"],"labels":["@aws-cdk/cloudformation-include"]},

CONTRIBUTING.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ let us know if it's not up-to-date (even better, submit a PR with your correcti
2828
- [Rosetta](#rosetta)
2929
- [Tools](#tools-advanced)
3030
- [Linters](#linters)
31-
- [cfn2ts](#cfn2ts)
3231
- [scripts/foreach.sh](#scriptsforeachsh)
3332
- [Jetbrains support (WebStorm/IntelliJ)](#jetbrains-support-webstormintellij)
3433
- [Linking against this repository](#linking-against-this-repository)
@@ -1055,22 +1054,6 @@ Here are a few useful commands:
10551054
evaluate only the rule specified [awslint README](./packages/awslint/README.md)
10561055
for details on include/exclude rule patterns.
10571056

1058-
### cfn2ts
1059-
1060-
This tool is used to generate our low-level CloudFormation resources
1061-
(L1/`CfnFoo`). It is executed as part of the build step of all modules in the
1062-
AWS Construct Library.
1063-
1064-
The tool consults the `cdk-build.cloudformation` key in `package.json` to
1065-
determine which CloudFormation namespace this library represents (e.g.
1066-
`AWS::EC2` is the namespace for `aws-ec2`). We maintain strict 1:1 relationship
1067-
between those.
1068-
1069-
Each module also has an npm script called `cfn2ts`:
1070-
1071-
* `yarn cfn2ts`: generates L1 for a specific module
1072-
* `lerna run cfn2ts`: generates L1 for the entire repo
1073-
10741057
### Jetbrains support (WebStorm/IntelliJ)
10751058

10761059
This project uses lerna and utilizes symlinks inside nested `node_modules` directories. You may encounter an issue during

lerna.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"packages/@aws-cdk/*/lambda-packages/*",
1313
"tools/@aws-cdk/cdk-build-tools",
1414
"tools/@aws-cdk/cdk-release",
15-
"tools/@aws-cdk/cfn2ts",
1615
"tools/@aws-cdk/eslint-plugin",
1716
"tools/@aws-cdk/node-bundle",
1817
"tools/@aws-cdk/pkglint",

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
"packages/@aws-cdk/*/lambda-packages/*",
8181
"tools/@aws-cdk/cdk-build-tools",
8282
"tools/@aws-cdk/cdk-release",
83-
"tools/@aws-cdk/cfn2ts",
8483
"tools/@aws-cdk/eslint-plugin",
8584
"tools/@aws-cdk/node-bundle",
8685
"tools/@aws-cdk/pkglint",

packages/@aws-cdk/aws-glue-alpha/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@
8282
"license": "Apache-2.0",
8383
"devDependencies": {
8484
"@aws-cdk/cdk-build-tools": "0.0.0",
85-
"@aws-cdk/cfn2ts": "0.0.0",
8685
"@aws-cdk/integ-runner": "0.0.0",
8786
"@aws-cdk/integ-tests-alpha": "0.0.0",
8887
"@aws-cdk/pkglint": "0.0.0",

packages/@aws-cdk/cfnspec/.eslintrc.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

packages/@aws-cdk/cfnspec/.gitignore

Lines changed: 0 additions & 20 deletions
This file was deleted.

packages/@aws-cdk/cfnspec/.npmignore

Lines changed: 0 additions & 14 deletions
This file was deleted.

packages/@aws-cdk/cfnspec/CHANGELOG.md

Lines changed: 0 additions & 20268 deletions
This file was deleted.

packages/@aws-cdk/cfnspec/LICENSE

Lines changed: 0 additions & 201 deletions
This file was deleted.

packages/@aws-cdk/cfnspec/NOTICE

Lines changed: 0 additions & 2 deletions
This file was deleted.

packages/@aws-cdk/cfnspec/README.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,2 @@
1-
# AWS CDK CloudFormation Tools
2-
3-
To update the CloudFormation spec, you can run `bump-cfnspec.sh` from a clean repo, as so -
4-
5-
```console
6-
./scripts/bump-cfnspec.sh
7-
```
8-
9-
If you wish to only update the CFN spec, make sure to install all dependencies and build the `cfnspec` module,
10-
and then you can just run:
11-
12-
```console
13-
yarn update
14-
```
1+
This package has been replaced by a more modern version.
2+
Please use `@aws-cdk/aws-service-spec` ([source](https://github.com/cdklabs/awscdk-service-spec)) instead.

packages/@aws-cdk/cfnspec/build-tools/build.ts

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)