projen 0.61.9 → 0.61.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +2 -2
- package/lib/awscdk/auto-discover.js +5 -5
- package/lib/awscdk/awscdk-app-java.js +1 -1
- package/lib/awscdk/awscdk-app-py.js +1 -1
- package/lib/awscdk/awscdk-app-ts.js +1 -1
- package/lib/awscdk/awscdk-construct.js +2 -2
- package/lib/awscdk/awscdk-deps-java.js +1 -1
- package/lib/awscdk/awscdk-deps-js.js +1 -1
- package/lib/awscdk/awscdk-deps.js +1 -1
- package/lib/awscdk/cdk-config.js +1 -1
- package/lib/awscdk/cdk-tasks.js +1 -1
- package/lib/awscdk/integration-test.js +1 -1
- package/lib/awscdk/lambda-extension.js +1 -1
- package/lib/awscdk/lambda-function.js +2 -2
- package/lib/build/build-workflow.js +1 -1
- package/lib/cdk/auto-discover-base.js +2 -2
- package/lib/cdk/construct-lib.js +1 -1
- package/lib/cdk/integration-test-base.js +1 -1
- package/lib/cdk/jsii-docgen.js +1 -1
- package/lib/cdk/jsii-project.js +1 -1
- package/lib/cdk8s/auto-discover.js +2 -2
- package/lib/cdk8s/cdk8s-app-py.js +1 -1
- package/lib/cdk8s/cdk8s-app-ts.js +1 -1
- package/lib/cdk8s/cdk8s-construct.js +1 -1
- package/lib/cdk8s/cdk8s-deps-py.js +1 -1
- package/lib/cdk8s/cdk8s-deps.js +1 -1
- package/lib/cdk8s/integration-test.js +1 -1
- package/lib/cdktf/cdktf-construct.js +1 -1
- package/lib/circleci/circleci.js +1 -1
- package/lib/component.js +1 -1
- package/lib/dependencies.js +1 -1
- package/lib/dev-env.js +1 -1
- package/lib/docker-compose.js +2 -2
- package/lib/file.js +1 -1
- package/lib/gitattributes.js +1 -1
- package/lib/github/auto-approve.js +1 -1
- package/lib/github/auto-merge.js +1 -1
- package/lib/github/dependabot.js +1 -1
- package/lib/github/github-credentials.js +1 -1
- package/lib/github/github-project.js +1 -1
- package/lib/github/github.js +1 -1
- package/lib/github/mergify.js +1 -1
- package/lib/github/pr-template.js +1 -1
- package/lib/github/pull-request-lint.js +1 -1
- package/lib/github/stale.js +1 -1
- package/lib/github/task-workflow.js +1 -1
- package/lib/github/workflows.js +1 -1
- package/lib/gitlab/configuration.js +1 -1
- package/lib/gitlab/gitlab-configuration.js +1 -1
- package/lib/gitlab/nested-configuration.js +1 -1
- package/lib/gitpod.js +1 -1
- package/lib/ignore-file.js +1 -1
- package/lib/ini.js +1 -1
- package/lib/java/java-project.js +1 -1
- package/lib/java/junit.js +1 -1
- package/lib/java/maven-compile.js +1 -1
- package/lib/java/maven-packaging.js +1 -1
- package/lib/java/maven-sample.js +1 -1
- package/lib/java/pom.js +1 -1
- package/lib/java/projenrc.js +1 -1
- package/lib/javascript/bundler.js +1 -1
- package/lib/javascript/eslint.js +1 -1
- package/lib/javascript/jest.js +1 -1
- package/lib/javascript/node-package.js +1 -1
- package/lib/javascript/node-project.js +1 -1
- package/lib/javascript/npm-config.js +1 -1
- package/lib/javascript/prettier.js +1 -1
- package/lib/javascript/projenrc.js +1 -1
- package/lib/javascript/typescript-config.js +1 -1
- package/lib/javascript/upgrade-dependencies.js +2 -2
- package/lib/json.js +1 -1
- package/lib/license.js +1 -1
- package/lib/logger.js +1 -1
- package/lib/makefile.js +1 -1
- package/lib/object-file.js +1 -1
- package/lib/project-build.js +1 -1
- package/lib/project.js +1 -1
- package/lib/projects.js +1 -1
- package/lib/projenrc-json.js +1 -1
- package/lib/python/pip.js +1 -1
- package/lib/python/poetry.js +2 -2
- package/lib/python/projenrc.js +1 -1
- package/lib/python/pytest-sample.js +1 -1
- package/lib/python/pytest.js +1 -1
- package/lib/python/python-project.js +1 -1
- package/lib/python/python-sample.js +1 -1
- package/lib/python/requirements-file.js +1 -1
- package/lib/python/setuppy.js +1 -1
- package/lib/python/setuptools.js +1 -1
- package/lib/python/venv.js +1 -1
- package/lib/readme.js +1 -1
- package/lib/release/publisher.js +1 -1
- package/lib/release/release-trigger.js +1 -1
- package/lib/release/release.js +1 -1
- package/lib/renovatebot.js +1 -1
- package/lib/sample-file.js +2 -2
- package/lib/semver.js +1 -1
- package/lib/source-code.js +1 -1
- package/lib/task-runtime.js +1 -1
- package/lib/task.js +1 -1
- package/lib/tasks.js +1 -1
- package/lib/testing.js +1 -1
- package/lib/textfile.js +1 -1
- package/lib/toml.js +1 -1
- package/lib/typescript/projenrc.js +1 -1
- package/lib/typescript/typescript-typedoc.js +1 -1
- package/lib/typescript/typescript.js +3 -3
- package/lib/version.js +1 -1
- package/lib/vscode/devcontainer.js +1 -1
- package/lib/vscode/launch-config.js +1 -1
- package/lib/vscode/vscode.js +1 -1
- package/lib/web/next.js +3 -3
- package/lib/web/postcss.js +1 -1
- package/lib/web/react.js +4 -4
- package/lib/web/tailwind.js +1 -1
- package/lib/xmlfile.js +1 -1
- package/lib/yaml.js +1 -1
- package/node_modules/xmlbuilder2/node_modules/@types/node/README.md +1 -1
- package/node_modules/xmlbuilder2/node_modules/@types/node/index.d.ts +1 -0
- package/node_modules/xmlbuilder2/node_modules/@types/node/package.json +2 -2
- package/node_modules/xmlbuilder2/node_modules/@types/node/readline/promises.d.ts +143 -0
- package/node_modules/xmlbuilder2/node_modules/@types/node/readline.d.ts +19 -16
- package/package.json +1 -1
|
@@ -34,7 +34,10 @@
|
|
|
34
34
|
*/
|
|
35
35
|
declare module 'readline' {
|
|
36
36
|
import { Abortable, EventEmitter } from 'node:events';
|
|
37
|
-
|
|
37
|
+
import * as promises from 'node:readline/promises';
|
|
38
|
+
|
|
39
|
+
export { promises };
|
|
40
|
+
export interface Key {
|
|
38
41
|
sequence?: string | undefined;
|
|
39
42
|
name?: string | undefined;
|
|
40
43
|
ctrl?: boolean | undefined;
|
|
@@ -48,7 +51,7 @@ declare module 'readline' {
|
|
|
48
51
|
* and is read from, the `input` stream.
|
|
49
52
|
* @since v0.1.104
|
|
50
53
|
*/
|
|
51
|
-
class Interface extends EventEmitter {
|
|
54
|
+
export class Interface extends EventEmitter {
|
|
52
55
|
readonly terminal: boolean;
|
|
53
56
|
/**
|
|
54
57
|
* The current input data being processed by node.
|
|
@@ -315,11 +318,11 @@ declare module 'readline' {
|
|
|
315
318
|
prependOnceListener(event: 'history', listener: (history: string[]) => void): this;
|
|
316
319
|
[Symbol.asyncIterator](): AsyncIterableIterator<string>;
|
|
317
320
|
}
|
|
318
|
-
type ReadLine = Interface; // type forwarded for backwards compatibility
|
|
319
|
-
type Completer = (line: string) => CompleterResult;
|
|
320
|
-
type AsyncCompleter = (line: string, callback: (err?: null | Error, result?: CompleterResult) => void) => void;
|
|
321
|
-
type CompleterResult = [string[], string];
|
|
322
|
-
interface ReadLineOptions {
|
|
321
|
+
export type ReadLine = Interface; // type forwarded for backwards compatibility
|
|
322
|
+
export type Completer = (line: string) => CompleterResult;
|
|
323
|
+
export type AsyncCompleter = (line: string, callback: (err?: null | Error, result?: CompleterResult) => void) => void;
|
|
324
|
+
export type CompleterResult = [string[], string];
|
|
325
|
+
export interface ReadLineOptions {
|
|
323
326
|
input: NodeJS.ReadableStream;
|
|
324
327
|
output?: NodeJS.WritableStream | undefined;
|
|
325
328
|
completer?: Completer | AsyncCompleter | undefined;
|
|
@@ -380,8 +383,8 @@ declare module 'readline' {
|
|
|
380
383
|
* ```
|
|
381
384
|
* @since v0.1.98
|
|
382
385
|
*/
|
|
383
|
-
function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean): Interface;
|
|
384
|
-
function createInterface(options: ReadLineOptions): Interface;
|
|
386
|
+
export function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean): Interface;
|
|
387
|
+
export function createInterface(options: ReadLineOptions): Interface;
|
|
385
388
|
/**
|
|
386
389
|
* The `readline.emitKeypressEvents()` method causes the given `Readable` stream to begin emitting `'keypress'` events corresponding to received input.
|
|
387
390
|
*
|
|
@@ -503,9 +506,9 @@ declare module 'readline' {
|
|
|
503
506
|
* ```
|
|
504
507
|
* @since v0.7.7
|
|
505
508
|
*/
|
|
506
|
-
function emitKeypressEvents(stream: NodeJS.ReadableStream, readlineInterface?: Interface): void;
|
|
507
|
-
type Direction = -1 | 0 | 1;
|
|
508
|
-
interface CursorPos {
|
|
509
|
+
export function emitKeypressEvents(stream: NodeJS.ReadableStream, readlineInterface?: Interface): void;
|
|
510
|
+
export type Direction = -1 | 0 | 1;
|
|
511
|
+
export interface CursorPos {
|
|
509
512
|
rows: number;
|
|
510
513
|
cols: number;
|
|
511
514
|
}
|
|
@@ -516,7 +519,7 @@ declare module 'readline' {
|
|
|
516
519
|
* @param callback Invoked once the operation completes.
|
|
517
520
|
* @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
|
|
518
521
|
*/
|
|
519
|
-
function clearLine(stream: NodeJS.WritableStream, dir: Direction, callback?: () => void): boolean;
|
|
522
|
+
export function clearLine(stream: NodeJS.WritableStream, dir: Direction, callback?: () => void): boolean;
|
|
520
523
|
/**
|
|
521
524
|
* The `readline.clearScreenDown()` method clears the given `TTY` stream from
|
|
522
525
|
* the current position of the cursor down.
|
|
@@ -524,7 +527,7 @@ declare module 'readline' {
|
|
|
524
527
|
* @param callback Invoked once the operation completes.
|
|
525
528
|
* @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
|
|
526
529
|
*/
|
|
527
|
-
function clearScreenDown(stream: NodeJS.WritableStream, callback?: () => void): boolean;
|
|
530
|
+
export function clearScreenDown(stream: NodeJS.WritableStream, callback?: () => void): boolean;
|
|
528
531
|
/**
|
|
529
532
|
* The `readline.cursorTo()` method moves cursor to the specified position in a
|
|
530
533
|
* given `TTY` `stream`.
|
|
@@ -532,7 +535,7 @@ declare module 'readline' {
|
|
|
532
535
|
* @param callback Invoked once the operation completes.
|
|
533
536
|
* @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
|
|
534
537
|
*/
|
|
535
|
-
function cursorTo(stream: NodeJS.WritableStream, x: number, y?: number, callback?: () => void): boolean;
|
|
538
|
+
export function cursorTo(stream: NodeJS.WritableStream, x: number, y?: number, callback?: () => void): boolean;
|
|
536
539
|
/**
|
|
537
540
|
* The `readline.moveCursor()` method moves the cursor _relative_ to its current
|
|
538
541
|
* position in a given `TTY` `stream`.
|
|
@@ -643,7 +646,7 @@ declare module 'readline' {
|
|
|
643
646
|
* @param callback Invoked once the operation completes.
|
|
644
647
|
* @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
|
|
645
648
|
*/
|
|
646
|
-
function moveCursor(stream: NodeJS.WritableStream, dx: number, dy: number, callback?: () => void): boolean;
|
|
649
|
+
export function moveCursor(stream: NodeJS.WritableStream, dx: number, dy: number, callback?: () => void): boolean;
|
|
647
650
|
}
|
|
648
651
|
declare module 'node:readline' {
|
|
649
652
|
export * from 'readline';
|