Skip to content

Commit 2fd143f

Browse files
committed
enable skipLibCheck
1 parent 3bcaa22 commit 2fd143f

File tree

10 files changed

+51900
-60426
lines changed

10 files changed

+51900
-60426
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,16 @@ const project = new GitHubActionTypeScriptProject({
118118
],
119119
tsconfig: {
120120
compilerOptions: {
121-
lib: ['es2019', 'esnext'],
121+
lib: ['es2022', 'esnext'],
122+
// TODO: https://github.com/aws/aws-cdk-cli/issues/418
123+
skipLibCheck: true,
122124
},
123125
},
124126
tsconfigDev: {
125127
compilerOptions: {
126-
lib: ['es2019', 'esnext'],
128+
lib: ['es2022', 'esnext'],
129+
// TODO: https://github.com/aws/aws-cdk-cli/issues/418
130+
skipLibCheck: true,
127131
},
128132
},
129133
jestOptions: {

dist/index.js

Lines changed: 51876 additions & 60416 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/assembly.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
import * as path from 'path';
1+
import * as core from '@actions/core';
22
import { CloudAssembly } from '@aws-cdk/cx-api';
33
import mock from 'mock-fs';
44
import { AssemblyManifestReader } from '../src/assembly';
55

6+
jest.spyOn(core, 'debug').mockImplementation(() => {});
7+
68
describe('cloud assembly manifest reader', () => {
79
beforeEach(() => {
810
mock({

test/comment.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
import * as core from '@actions/core';
12
import { Context } from '@actions/github/lib/context';
23
import { GitHub } from '@actions/github/lib/utils';
34
import { Comments } from '../src/comment';
45

6+
jest.spyOn(core, 'debug').mockImplementation(() => {});
7+
58
const createComment = jest.fn();
69
const updateComment = jest.fn();
710
const listComments = jest.fn();

test/diff.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
import * as path from 'path';
2+
import * as core from '@actions/core';
23
import { ResourceImpact } from '@aws-cdk/cloudformation-diff';
34
import { DiffMethod, StackSelectionStrategy, Toolkit } from '@aws-cdk/toolkit-lib';
45
import mock from 'mock-fs';
56
import { FakeIoHost } from './util';
67
import { StackDiff } from '../src/diff';
78

9+
jest.spyOn(core, 'debug').mockImplementation(() => {});
10+
811
const toolkit = new Toolkit({
912
ioHost: new FakeIoHost(),
1013
});

test/stage-processor.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
import * as fs from 'fs';
22
import path from 'path';
3+
import * as core from '@actions/core';
34
import { DifferenceCollection, ResourceDifference, ResourceImpact, TemplateDiff } from '@aws-cdk/cloudformation-diff';
45
import { Toolkit, DiffMethod } from '@aws-cdk/toolkit-lib';
56
import mock from 'mock-fs';
67
import { FakeIoHost } from './util';
78
import { Comments } from '../src/comment';
89
import { AssemblyProcessor } from '../src/stage-processor';
10+
jest.spyOn(core, 'debug').mockImplementation(() => {});
911

1012
const toolkit = new Toolkit({
1113
ioHost: new FakeIoHost(),

tsconfig.dev.json

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tsconfig.json

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)