Skip to content

Commit

Permalink
prepare for switch over
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgrain committed Jun 30, 2023
1 parent f722dc8 commit bf79b1d
Show file tree
Hide file tree
Showing 31 changed files with 9 additions and 30 deletions.
1 change: 0 additions & 1 deletion packages/@aws-cdk/aws-amplify-alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^29.5.1",
"aws-sdk": "^2.1379.0",
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk/aws-apigatewayv2-alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^29.5.1",
"aws-cdk-lib": "0.0.0",
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk/aws-apprunner-alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"aws-cdk-lib": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk/aws-batch-alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^29.5.1",
"jest": "^29.5.0",
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk/aws-cloud9-alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^29.5.1",
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk/aws-codestar-alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^29.5.1",
"aws-cdk-lib": "0.0.0",
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk/aws-gamelift-alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^29.5.1",
"jest": "^29.5.0",
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk/aws-glue-alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^29.5.1",
"jest": "^29.5.0",
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk/aws-iot-alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^29.5.1",
"jest": "^29.5.0",
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk/aws-iotevents-alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^29.5.1",
"jest": "^29.5.0",
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk/aws-ivs-alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^29.5.1",
"aws-cdk-lib": "0.0.0",
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk/aws-kinesisfirehose-alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^29.5.1",
"aws-cdk-lib": "0.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^29.5.1",
"jest": "^29.5.0",
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk/aws-location-alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^29.5.1",
"aws-cdk-lib": "0.0.0",
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk/aws-msk-alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^29.5.1",
"jest": "^29.5.0",
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk/aws-neptune-alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^29.5.1",
"aws-cdk-lib": "0.0.0",
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk/aws-redshift-alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^29.5.1",
"aws-sdk": "^2.1379.0",
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk/aws-route53resolver-alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^29.5.1",
"aws-cdk-lib": "0.0.0",
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk/aws-s3objectlambda-alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^29.5.1",
"jest": "^29.5.0",
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk/aws-sagemaker-alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
"license": "Apache-2.0",
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^29.5.1",
Expand Down
3 changes: 1 addition & 2 deletions packages/@aws-cdk/aws-scheduler-alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^29.5.1",
"aws-cdk-lib": "0.0.0",
Expand Down Expand Up @@ -116,4 +115,4 @@
"assert/assert-dependency"
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@types/jest": "^29.5.1",
"aws-cdk-lib": "0.0.0",
Expand Down
1 change: 0 additions & 1 deletion packages/@aws-cdk/aws-synthetics-alpha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
"devDependencies": {
"@aws-cdk/cdk-build-tools": "0.0.0",
"@aws-cdk/integ-runner": "0.0.0",
"@aws-cdk/cfn2ts": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@aws-cdk/integ-tests-alpha": "0.0.0",
"@types/jest": "^29.5.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ export interface ParseCfnOptions {
* While this file not exported from the module
* (to not make it part of the public API),
* it is directly referenced in the generated L1 code,
* so any renames of it need to be reflected in cfn2ts/codegen.ts as well.
* so any renames of it need to be reflected in codegen as well.
*
*/
export class CfnParser {
Expand Down
1 change: 1 addition & 0 deletions packages/aws-cdk-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@
"@aws-cdk/cfnspec": "0.0.0",
"@aws-cdk/pkglint": "0.0.0",
"@aws-cdk/custom-resource-handlers": "0.0.0",
"@aws-cdk/spec2cdk": "0.0.0",
"@aws-sdk/client-s3": "^3.350.0",
"@aws-sdk/credential-providers": "^3.350.0",
"@types/aws-lambda": "^8.10.115",
Expand Down
1 change: 1 addition & 0 deletions packages/aws-cdk-lib/scripts/codegen.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@aws-cdk/cfn2ts';
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/scripts/gen.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as path from 'node:path';
import { generateAll, ModuleMap } from '@aws-cdk/cfn2ts';
import * as fs from 'fs-extra';
import { generateAll, ModuleMap } from './codegen';
import submodulesGen from './submodules';

const awsCdkLibDir = path.join(__dirname, '..');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
*/
import * as fs from 'node:fs';
import * as path from 'node:path';
import { ModuleMap } from '@aws-cdk/cfn2ts';
import * as sdkMetadata from 'aws-sdk/apis/metadata.json';
import * as packageInfo from 'aws-sdk/package.json';
import { ModuleMap } from '../codegen';

export default async function awsEventsTargets(_moduleMap: ModuleMap, outPath: string) {
fs.writeFileSync(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

import * as path from 'node:path';
import { ModuleMap } from '@aws-cdk/cfn2ts';
import * as fs from 'fs-extra';
import { ModuleMap } from '../codegen';

export default async function cloudformationInclude(moduleMap: ModuleMap, outPath: string) {
const classMap: { [cfnType: string]: string } = {};
Expand Down
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/scripts/submodules/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as path from 'node:path';
import { ModuleMap, ModuleMapEntry } from '@aws-cdk/cfn2ts';
import { createLibraryReadme } from '@aws-cdk/pkglint';
import * as fs from 'fs-extra';
import awsEventsTargets from './aws-events-targets';
import cloudformationInclude from './cloudformation-include';
import { ModuleMap, ModuleMapEntry } from '../codegen';

export default async function submodulesGen(modules: ModuleMap, outPath: string) {
for (const submodule of Object.values(modules)) {
Expand Down
2 changes: 1 addition & 1 deletion scripts/gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ fail() {

echo "============================================================================================="
echo "building required build tools..."
time npx lerna run --stream build --scope @aws-cdk/cfn2ts --scope @aws-cdk/ubergen --include-dependencies || fail
time npx lerna run --stream build --scope @aws-cdk/cfn2ts --scope @aws-cdk/spec2cdk --include-dependencies || fail

echo "============================================================================================="
echo "executing gen..."
Expand Down

0 comments on commit bf79b1d

Please sign in to comment.