Skip to content

Commit

Permalink
feat(jsii): enable source maps for declaration files
Browse files Browse the repository at this point in the history
  • Loading branch information
andrestone committed May 6, 2022
1 parent 8eec086 commit 88bf493
Show file tree
Hide file tree
Showing 355 changed files with 437 additions and 14 deletions.
1 change: 1 addition & 0 deletions packages/@jsii/benchmarks/bin/benchmark.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/benchmarks/lib/benchmark.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/benchmarks/lib/constants.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/benchmarks/lib/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/benchmarks/lib/util.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/check-node/lib/constants.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/check-node/lib/constants.test.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/check-node/lib/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/check-node/lib/index.test.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/check-node/lib/run.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/dotnet-runtime-test/lib/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/dotnet-runtime/lib/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/go-runtime-test/build-tools/go-run.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/go-runtime/build-tools/_constants.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/go-runtime/build-tools/gen.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/go-runtime/build-tools/go-run.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/go-runtime/lib/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/@jsii/integ-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"private": true,
"scripts": {
"build": "tsc --build && npm run lint",
"lint": "eslint . --ext .ts --ignore-path=.gitignore",
"lint": "eslint . --ext .ts --ignore-pattern '*.d.ts' --ignore-path=.gitignore",
"lint:fix": "yarn lint --fix",
"test:integ": "jest",
"package": "package-private"
Expand Down
2 changes: 2 additions & 0 deletions packages/@jsii/integ-test/test/build-cdk.test.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=build-cdk.test.d.ts.map
1 change: 1 addition & 0 deletions packages/@jsii/integ-test/test/build-cdk.test.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/@jsii/integ-test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"composite": false,
"declaration": false
"declaration": true
},
"extends": "../../../tsconfig-base",
"include": ["**/*.ts"],
Expand Down
48 changes: 48 additions & 0 deletions packages/@jsii/integ-test/utils/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/// <reference types="node" />
import { Readable } from 'stream';
/**
* @param num a quantity of minutes (could be fractional)
*
* @return equivalent number of milliseconds
*/
export declare function minutes(num: number): number;
/**
* Used to track and clean up processes if tests fail or timeout
*/
export declare class ProcessManager {
private readonly processes;
/**
* kill all still running processes
*
* @param signal sent to terminate process
*/
killAll(signal?: NodeJS.Signals): Promise<void>;
private add;
private remove;
/**
* spawn new child process
*
* @param shell command being called
* @param arguments passed to command
* @param options passed to child process spawn
*/
spawn(cmd: string, args: string[], opts?: any): Promise<void>;
}
/**
* write downloaded asset to file
*
* @param source stream
* @param destination directory for extracted files
*/
export declare function extractFileStream(source: Readable, destination: string): Promise<unknown>;
/**
* Wrap http calls to download release asset in a promise. Github responds with
* a 302 sometimes which is required to be handled. Returns the buffer to be
* streamed to destination fs stream.
*
* @param url of downloadable asset
*
* @returns readable stream of asset data
*/
export declare function downloadReleaseAsset(url: string): Promise<Readable>;
//# sourceMappingURL=index.d.ts.map
1 change: 1 addition & 0 deletions packages/@jsii/integ-test/utils/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/java-runtime/lib/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/kernel/lib/api.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/kernel/lib/index.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/kernel/lib/kernel.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/kernel/lib/objects.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/kernel/lib/on-exit.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/kernel/lib/serialization.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/kernel/test/kernel.test.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/kernel/test/objects.test.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/kernel/test/recording.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/kernel/test/serialization.test.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/@jsii/runtime/bin/jsii-runtime.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 88bf493

Please sign in to comment.