@elliemae/pui-cli 9.0.0-next.2 → 9.0.0-next.20
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/dist/cjs/commands/lint.js +26 -7
- package/dist/cjs/commands/start.js +1 -1
- package/dist/cjs/commands/storybook.js +2 -2
- package/dist/cjs/commands/test.js +2 -2
- package/dist/cjs/commands/utils.js +3 -1
- package/dist/cjs/index.js +3 -1
- package/dist/cjs/lint-config/eslint/common.cjs +3 -2
- package/dist/cjs/lint-config/eslint/typescript/common.cjs +3 -3
- package/dist/cjs/lint-config/stylelint.config.cjs +14 -13
- package/dist/cjs/monorepo/delete-merged-tags.js +1 -1
- package/dist/cjs/monorepo/set-registry-version.js +1 -1
- package/dist/cjs/monorepo/set-workspace-version.js +1 -1
- package/dist/cjs/pui-config.js +2 -2
- package/dist/cjs/server/csp.js +1 -1
- package/dist/cjs/server/utils.js +2 -2
- package/dist/cjs/testing/ExtendedJSDomEnv.cjs +38 -0
- package/dist/cjs/testing/extended/axe-core/getMessageAndPass.js +37 -0
- package/dist/cjs/testing/extended/axe-core/index.js +24 -0
- package/dist/cjs/testing/extended/axe-core/reporter.js +51 -0
- package/dist/cjs/testing/extended/axe-core/shouldIgnoreNodeViolation.js +31 -0
- package/dist/cjs/testing/extended/axe-core/toHaveNoViolations.js +43 -0
- package/dist/cjs/testing/jest.config.cjs +3 -1
- package/dist/cjs/testing/setup-test-env.js +1 -1
- package/dist/cjs/testing/setup-tests.js +25 -4
- package/dist/cjs/transpile/esbuild.js +4 -2
- package/dist/cjs/update-notifier.js +1 -1
- package/dist/cjs/utils.js +1 -1
- package/dist/cjs/webpack/helpers.js +18 -6
- package/dist/cjs/webpack/webpack.base.babel.js +27 -5
- package/dist/cjs/webpack/webpack.dev.babel.js +4 -3
- package/dist/cjs/webpack/webpack.lib.base.babel.js +13 -5
- package/dist/cjs/webpack/webpack.lib.dev.babel.js +5 -11
- package/dist/cjs/webpack/webpack.lib.prod.babel.js +4 -5
- package/dist/cjs/webpack/webpack.prod.babel.js +3 -2
- package/dist/cjs/webpack/webpack.storybook.js +10 -11
- package/dist/esm/commands/lint.js +27 -7
- package/dist/esm/commands/start.js +1 -1
- package/dist/esm/commands/storybook.js +2 -2
- package/dist/esm/commands/test.js +2 -2
- package/dist/esm/commands/utils.js +3 -1
- package/dist/esm/index.js +3 -1
- package/dist/esm/lint-config/eslint/common.cjs +3 -2
- package/dist/esm/lint-config/eslint/typescript/common.cjs +3 -3
- package/dist/esm/lint-config/stylelint.config.cjs +14 -13
- package/dist/esm/monorepo/delete-merged-tags.js +1 -1
- package/dist/esm/monorepo/set-registry-version.js +1 -1
- package/dist/esm/monorepo/set-workspace-version.js +1 -1
- package/dist/esm/server/csp.js +1 -1
- package/dist/esm/server/utils.js +2 -2
- package/dist/esm/testing/ExtendedJSDomEnv.cjs +38 -0
- package/dist/esm/testing/extended/axe-core/getMessageAndPass.js +17 -0
- package/dist/esm/testing/extended/axe-core/index.js +4 -0
- package/dist/esm/testing/extended/axe-core/reporter.js +31 -0
- package/dist/esm/testing/extended/axe-core/shouldIgnoreNodeViolation.js +11 -0
- package/dist/esm/testing/extended/axe-core/toHaveNoViolations.js +23 -0
- package/dist/esm/testing/jest.config.cjs +3 -1
- package/dist/esm/testing/setup-test-env.js +1 -1
- package/dist/esm/testing/setup-tests.js +25 -4
- package/dist/esm/transpile/esbuild.js +4 -2
- package/dist/esm/update-notifier.js +1 -1
- package/dist/esm/utils.js +1 -1
- package/dist/esm/webpack/helpers.js +18 -6
- package/dist/esm/webpack/webpack.base.babel.js +27 -5
- package/dist/esm/webpack/webpack.dev.babel.js +4 -3
- package/dist/esm/webpack/webpack.lib.base.babel.js +13 -5
- package/dist/esm/webpack/webpack.lib.dev.babel.js +6 -12
- package/dist/esm/webpack/webpack.lib.prod.babel.js +9 -6
- package/dist/esm/webpack/webpack.prod.babel.js +3 -2
- package/dist/esm/webpack/webpack.storybook.js +11 -12
- package/dist/types/babel.config.d.cts +7 -7
- package/dist/types/commands/build.d.ts +2 -2
- package/dist/types/commands/codemod.d.ts +2 -2
- package/dist/types/commands/lint.d.ts +3 -2
- package/dist/types/commands/pack.d.ts +2 -2
- package/dist/types/commands/start.d.ts +2 -2
- package/dist/types/commands/storybook.d.ts +2 -2
- package/dist/types/commands/test.d.ts +2 -2
- package/dist/types/commands/tscheck.d.ts +2 -2
- package/dist/types/commands/utils.d.ts +2 -1
- package/dist/types/commands/version.d.ts +2 -2
- package/dist/types/commands/vitest.d.ts +2 -2
- package/dist/types/index.d.ts +1 -0
- package/dist/types/lint-config/commitlint.config.d.cts +1 -1
- package/dist/types/lint-config/eslint/common.d.cts +18 -12
- package/dist/types/lint-config/eslint/non-react.d.cts +8 -1
- package/dist/types/lint-config/eslint/react.d.cts +8 -1
- package/dist/types/lint-config/eslint/typescript/common.d.cts +6 -6
- package/dist/types/lint-config/eslint/typescript/non-react.d.cts +9 -2
- package/dist/types/lint-config/eslint/typescript/react.d.cts +9 -2
- package/dist/types/lint-config/lint-staged.config.d.ts +3 -3
- package/dist/types/lint-config/prettier.config.d.cts +6 -6
- package/dist/types/lint-config/stylelint.config.d.cts +6 -6
- package/dist/types/release.config.d.cts +2 -2
- package/dist/types/server/csp.d.ts +2 -2
- package/dist/types/testing/ExtendedJSDomEnv.d.cts +5 -0
- package/dist/types/testing/extended/axe-core/getMessageAndPass.d.ts +8 -0
- package/dist/types/testing/extended/axe-core/index.d.ts +1 -0
- package/dist/types/testing/extended/axe-core/reporter.d.ts +2 -0
- package/dist/types/testing/extended/axe-core/shouldIgnoreNodeViolation.d.ts +2 -0
- package/dist/types/testing/extended/axe-core/toHaveNoViolations.d.ts +12 -0
- package/dist/types/testing/jest.config.d.cts +24 -22
- package/dist/types/testing/jest.node.config.d.cts +2 -0
- package/dist/types/testing/mocks/axios.d.ts +7 -7
- package/dist/types/testing/mocks/pui-diagnostics.d.ts +13 -13
- package/dist/types/testing/vitest.config.d.ts +1 -1
- package/dist/types/tests/basic.test.d.ts +0 -0
- package/dist/types/transpile/esbuild.d.ts +3 -3
- package/dist/types/typedoc.d.cts +3 -3
- package/dist/types/webpack/helpers.d.ts +4 -1
- package/dist/types/webpack/webpack.storybook.d.ts +0 -1
- package/package.json +149 -138
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { CommandModule } from 'yargs';
|
|
2
|
-
|
|
2
|
+
interface Arguments {
|
|
3
3
|
fix: boolean;
|
|
4
4
|
watch: boolean;
|
|
5
5
|
debug: boolean;
|
|
6
6
|
passWithNoTests: boolean;
|
|
7
7
|
findReleatedTests: boolean;
|
|
8
8
|
silent: boolean;
|
|
9
|
-
}
|
|
9
|
+
}
|
|
10
10
|
export declare const testCmd: CommandModule<Record<string, never>, Arguments>;
|
|
11
11
|
export {};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
export declare const exec: (command: string, options?: import("execa").Options<
|
|
2
|
+
export declare const exec: (command: string, options?: import("execa").Options<import("execa").BufferEncodingOption> | undefined) => Promise<import("execa").ExecaReturnValue<Buffer>>;
|
|
3
3
|
export declare const logInfo: {
|
|
4
4
|
(...data: any[]): void;
|
|
5
5
|
(message?: any, ...optionalParams: any[]): void;
|
|
6
6
|
};
|
|
7
|
+
export declare const logWarning: (...args: string[]) => void;
|
|
7
8
|
export declare const logSuccess: (...args: string[]) => void;
|
|
8
9
|
export declare const logError: {
|
|
9
10
|
(...data: any[]): void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CommandModule } from 'yargs';
|
|
2
|
-
|
|
2
|
+
interface Arguments {
|
|
3
3
|
deleteTags: boolean;
|
|
4
4
|
useRegistry: boolean;
|
|
5
5
|
useWorkspace: boolean;
|
|
6
6
|
lernaOptions?: string;
|
|
7
|
-
}
|
|
7
|
+
}
|
|
8
8
|
export declare const versionCmd: CommandModule<Record<string, never>, Arguments>;
|
|
9
9
|
export {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { CommandModule } from 'yargs';
|
|
2
|
-
|
|
2
|
+
interface Arguments {
|
|
3
3
|
fix?: boolean;
|
|
4
4
|
watch?: boolean;
|
|
5
5
|
passWithNoTests?: boolean;
|
|
6
6
|
findReleatedTests?: boolean;
|
|
7
7
|
silent?: boolean;
|
|
8
|
-
}
|
|
8
|
+
}
|
|
9
9
|
export declare const vitestCmd: CommandModule<Record<string, never>, Arguments>;
|
|
10
10
|
export {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -9,3 +9,4 @@ export { vitestConfig } from './testing/vitest.config.js';
|
|
|
9
9
|
export { jestNodeConfig } from './testing/jest.node.config.cjs';
|
|
10
10
|
export { lintStagedConfig } from './lint-config/lint-staged.config.js';
|
|
11
11
|
export { loadRoutes } from './server/appRoutes.js';
|
|
12
|
+
export { webpackFinal } from './webpack/webpack.storybook.js';
|
|
@@ -6,24 +6,24 @@ export const baseOverrides: {
|
|
|
6
6
|
};
|
|
7
7
|
}[];
|
|
8
8
|
export namespace baseConfig {
|
|
9
|
-
export
|
|
9
|
+
export let parser: string;
|
|
10
10
|
export { basePlugins as plugins };
|
|
11
11
|
export namespace env {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
let jest: boolean;
|
|
13
|
+
let browser: boolean;
|
|
14
|
+
let node: boolean;
|
|
15
|
+
let es2021: boolean;
|
|
16
16
|
}
|
|
17
17
|
export namespace parserOptions {
|
|
18
|
-
|
|
18
|
+
let sourceType: string;
|
|
19
19
|
namespace ecmaFeatures {
|
|
20
|
-
|
|
20
|
+
let jsx: boolean;
|
|
21
21
|
}
|
|
22
22
|
namespace babelOptions {
|
|
23
|
-
|
|
23
|
+
let plugins: string[];
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
export
|
|
26
|
+
export let settings: {
|
|
27
27
|
react: {
|
|
28
28
|
version: string;
|
|
29
29
|
};
|
|
@@ -36,11 +36,18 @@ export namespace baseConfig {
|
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
|
-
export
|
|
39
|
+
export let ignorePatterns: string[];
|
|
40
40
|
}
|
|
41
41
|
export const basePlugins: string[];
|
|
42
42
|
export const baseRules: {
|
|
43
|
-
"prettier/prettier": (string |
|
|
43
|
+
"prettier/prettier": (string | {
|
|
44
|
+
printWidth: number;
|
|
45
|
+
tabWidth: number;
|
|
46
|
+
useTabs: boolean;
|
|
47
|
+
semi: boolean;
|
|
48
|
+
singleQuote: boolean;
|
|
49
|
+
trailingComma: string;
|
|
50
|
+
})[];
|
|
44
51
|
"arrow-body-style": (string | number)[];
|
|
45
52
|
"class-methods-use-this": number;
|
|
46
53
|
"import/imports-first": number;
|
|
@@ -127,4 +134,3 @@ export const reactRules: {
|
|
|
127
134
|
"redux-saga/no-yield-in-race": number;
|
|
128
135
|
"redux-saga/yield-effects": number;
|
|
129
136
|
};
|
|
130
|
-
import prettierOptions = require("../prettier.config.cjs");
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
export const esConfig: {
|
|
2
2
|
extends: string[];
|
|
3
3
|
rules: {
|
|
4
|
-
"prettier/prettier": (string |
|
|
4
|
+
"prettier/prettier": (string | {
|
|
5
|
+
printWidth: number;
|
|
6
|
+
tabWidth: number;
|
|
7
|
+
useTabs: boolean;
|
|
8
|
+
semi: boolean;
|
|
9
|
+
singleQuote: boolean;
|
|
10
|
+
trailingComma: string;
|
|
11
|
+
})[];
|
|
5
12
|
"arrow-body-style": (string | number)[];
|
|
6
13
|
"class-methods-use-this": number;
|
|
7
14
|
"import/imports-first": number;
|
|
@@ -31,7 +31,14 @@ export const esReactConfig: {
|
|
|
31
31
|
})[];
|
|
32
32
|
"redux-saga/no-yield-in-race": number;
|
|
33
33
|
"redux-saga/yield-effects": number;
|
|
34
|
-
"prettier/prettier": (string |
|
|
34
|
+
"prettier/prettier": (string | {
|
|
35
|
+
printWidth: number;
|
|
36
|
+
tabWidth: number;
|
|
37
|
+
useTabs: boolean;
|
|
38
|
+
semi: boolean;
|
|
39
|
+
singleQuote: boolean;
|
|
40
|
+
trailingComma: string;
|
|
41
|
+
})[];
|
|
35
42
|
"arrow-body-style": (string | number)[];
|
|
36
43
|
"class-methods-use-this": number;
|
|
37
44
|
"import/imports-first": number;
|
|
@@ -20,14 +20,14 @@ export const tsBaseRules: {
|
|
|
20
20
|
})[];
|
|
21
21
|
};
|
|
22
22
|
export namespace tsBaseConfig {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
let files: string[];
|
|
24
|
+
let parser: string;
|
|
25
|
+
let plugins: string[];
|
|
26
26
|
namespace parserOptions {
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
let tsconfigRootDir: string;
|
|
28
|
+
let project: boolean;
|
|
29
29
|
}
|
|
30
|
-
|
|
30
|
+
let settings: {
|
|
31
31
|
'import/resolver': {
|
|
32
32
|
typescript: {
|
|
33
33
|
alwaysTryTypes: boolean;
|
|
@@ -19,7 +19,14 @@ export const tsConfig: {
|
|
|
19
19
|
'@typescript-eslint/no-floating-promises': (string | {
|
|
20
20
|
ignoreIIFE: boolean;
|
|
21
21
|
})[];
|
|
22
|
-
"prettier/prettier": (string |
|
|
22
|
+
"prettier/prettier": (string | {
|
|
23
|
+
printWidth: number;
|
|
24
|
+
tabWidth: number;
|
|
25
|
+
useTabs: boolean;
|
|
26
|
+
semi: boolean;
|
|
27
|
+
singleQuote: boolean;
|
|
28
|
+
trailingComma: string;
|
|
29
|
+
})[];
|
|
23
30
|
"arrow-body-style": (string | number)[];
|
|
24
31
|
"class-methods-use-this": number;
|
|
25
32
|
"import/imports-first": number;
|
|
@@ -75,7 +82,7 @@ export const tsConfig: {
|
|
|
75
82
|
plugins: string[];
|
|
76
83
|
parserOptions: {
|
|
77
84
|
tsconfigRootDir: string;
|
|
78
|
-
project:
|
|
85
|
+
project: boolean;
|
|
79
86
|
};
|
|
80
87
|
settings: {
|
|
81
88
|
'import/resolver': {
|
|
@@ -50,7 +50,14 @@ export const tsReactConfig: {
|
|
|
50
50
|
'@typescript-eslint/no-floating-promises': (string | {
|
|
51
51
|
ignoreIIFE: boolean;
|
|
52
52
|
})[];
|
|
53
|
-
"prettier/prettier": (string |
|
|
53
|
+
"prettier/prettier": (string | {
|
|
54
|
+
printWidth: number;
|
|
55
|
+
tabWidth: number;
|
|
56
|
+
useTabs: boolean;
|
|
57
|
+
semi: boolean;
|
|
58
|
+
singleQuote: boolean;
|
|
59
|
+
trailingComma: string;
|
|
60
|
+
})[];
|
|
54
61
|
"arrow-body-style": (string | number)[];
|
|
55
62
|
"class-methods-use-this": number;
|
|
56
63
|
"import/imports-first": number;
|
|
@@ -106,7 +113,7 @@ export const tsReactConfig: {
|
|
|
106
113
|
plugins: string[];
|
|
107
114
|
parserOptions: {
|
|
108
115
|
tsconfigRootDir: string;
|
|
109
|
-
project:
|
|
116
|
+
project: boolean;
|
|
110
117
|
};
|
|
111
118
|
settings: {
|
|
112
119
|
'import/resolver': {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export namespace prettierConfig {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
let printWidth: number;
|
|
3
|
+
let tabWidth: number;
|
|
4
|
+
let useTabs: boolean;
|
|
5
|
+
let semi: boolean;
|
|
6
|
+
let singleQuote: boolean;
|
|
7
|
+
let trailingComma: string;
|
|
8
8
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export namespace stylelintConfig {
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
|
|
2
|
+
export let ignoreFiles: string[];
|
|
3
|
+
export let customSyntax: string;
|
|
4
|
+
let _extends: string[];
|
|
5
5
|
export { _extends as extends };
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
export let rules: {
|
|
7
|
+
"selector-type-no-unknown": null;
|
|
8
|
+
"function-no-unknown": null;
|
|
9
9
|
};
|
|
10
10
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import fs from 'node:fs';
|
|
3
3
|
import { Application, Response } from 'express';
|
|
4
|
-
|
|
4
|
+
interface CSPConfig {
|
|
5
5
|
buildPath: string;
|
|
6
6
|
page?: string;
|
|
7
7
|
nonceRegex?: RegExp;
|
|
8
8
|
res: Response<unknown, Record<string, unknown>>;
|
|
9
9
|
fileSystem?: typeof fs;
|
|
10
|
-
}
|
|
10
|
+
}
|
|
11
11
|
export declare const sendFileWithCSPNonce: ({ buildPath, page, nonceRegex, res, fileSystem, }: CSPConfig) => void;
|
|
12
12
|
export declare const csp: (app: Application) => void;
|
|
13
13
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { toHaveNoViolations } from './toHaveNoViolations.js';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { AxeResults, Result } from 'axe-core';
|
|
2
|
+
export declare const toHaveNoViolations: {
|
|
3
|
+
toHaveNoViolations(results: AxeResults): {
|
|
4
|
+
message: () => string;
|
|
5
|
+
pass: true;
|
|
6
|
+
actual: Result[];
|
|
7
|
+
} | {
|
|
8
|
+
message: () => string;
|
|
9
|
+
pass: false;
|
|
10
|
+
actual: Result[];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export namespace jestConfig {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
let collectCoverageFrom: string[];
|
|
3
|
+
let coverageThreshold: {};
|
|
4
|
+
let coverageDirectory: string;
|
|
5
|
+
let coverageReporters: string[];
|
|
6
|
+
let moduleDirectories: string[];
|
|
7
|
+
let moduleNameMapper: {
|
|
8
|
+
d3: string;
|
|
9
|
+
'^d3-(.*)$': string;
|
|
8
10
|
'.*\\webpack-hmr(.[t|j]s)?$': string;
|
|
9
11
|
'.*\\.(css|scss)$': string;
|
|
10
12
|
'.*\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico)$': string;
|
|
@@ -16,26 +18,26 @@ export namespace jestConfig {
|
|
|
16
18
|
'react-spring/web': string;
|
|
17
19
|
'react-spring/renderprops': string;
|
|
18
20
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
let moduleFileExtensions: string[];
|
|
22
|
+
let setupFilesAfterEnv: string[];
|
|
23
|
+
let setupFiles: string[];
|
|
24
|
+
let testRegex: string;
|
|
25
|
+
let snapshotSerializers: never[];
|
|
26
|
+
let testResultsProcessor: string;
|
|
27
|
+
let resolver: string;
|
|
28
|
+
let transform: {
|
|
27
29
|
'^.+\\.[jt]sx?$': any[];
|
|
28
30
|
};
|
|
29
|
-
|
|
31
|
+
let transformIgnorePatterns: string[];
|
|
30
32
|
namespace globals {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
+
let APP_CONFIG: string | Buffer;
|
|
34
|
+
let __webpack_public_path__: string;
|
|
33
35
|
}
|
|
34
36
|
namespace testEnvironmentOptions {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
let url: string;
|
|
38
|
+
let resources: string;
|
|
37
39
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
let testEnvironment: string;
|
|
41
|
+
let watchPlugins: string[];
|
|
42
|
+
let testTimeout: number;
|
|
41
43
|
}
|
|
@@ -9,6 +9,8 @@ export const jestNodeConfig: {
|
|
|
9
9
|
coverageReporters: string[];
|
|
10
10
|
moduleDirectories: string[];
|
|
11
11
|
moduleNameMapper: {
|
|
12
|
+
d3: string;
|
|
13
|
+
'^d3-(.*)$': string;
|
|
12
14
|
'.*\\webpack-hmr(.[t|j]s)?$': string;
|
|
13
15
|
'.*\\.(css|scss)$': string;
|
|
14
16
|
'.*\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|ico)$': string;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
|
-
|
|
2
|
+
let defaults: {};
|
|
3
3
|
namespace interceptors {
|
|
4
4
|
namespace request {
|
|
5
|
-
|
|
5
|
+
let use: jest.Mock<any, any, any>;
|
|
6
6
|
}
|
|
7
7
|
namespace response {
|
|
8
|
-
|
|
8
|
+
let use_1: jest.Mock<any, any, any>;
|
|
9
9
|
export { use_1 as use };
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
let create: jest.Mock<any, any, any>;
|
|
13
|
+
let get: jest.Mock<any, any, any>;
|
|
14
|
+
let post: jest.Mock<any, any, any>;
|
|
15
|
+
let put: jest.Mock<any, any, any>;
|
|
16
16
|
}
|
|
17
17
|
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export namespace LogLevels {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
let DEBUG: number;
|
|
3
|
+
let INFO: number;
|
|
4
|
+
let AUDIT: number;
|
|
5
|
+
let WARN: number;
|
|
6
|
+
let ERROR: number;
|
|
7
|
+
let FATAL: number;
|
|
8
8
|
}
|
|
9
9
|
export function logger(): {
|
|
10
10
|
setLogLevel(): void;
|
|
@@ -19,13 +19,13 @@ export function logger(): {
|
|
|
19
19
|
fatal(): void;
|
|
20
20
|
};
|
|
21
21
|
export namespace LogLevel {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
22
|
+
let info: string;
|
|
23
|
+
let debug: string;
|
|
24
|
+
let trace: string;
|
|
25
|
+
let warn: string;
|
|
26
|
+
let error: string;
|
|
27
|
+
let audit: string;
|
|
28
|
+
let fatal: string;
|
|
29
29
|
}
|
|
30
30
|
export function Console(): {
|
|
31
31
|
log: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const vitestConfig: import("
|
|
1
|
+
export declare const vitestConfig: import("vite").UserConfig;
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export namespace TARGETS {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
let browserslist: string[];
|
|
3
|
+
let web: string;
|
|
4
|
+
let node: string;
|
|
5
5
|
}
|
|
6
6
|
export function esBuild({ srcdir, outdir, esmOnly, target, injectReactShim, skipNestedPackageJSON, }: {
|
|
7
7
|
srcdir: any;
|
package/dist/types/typedoc.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export let entryPoints: string[];
|
|
2
|
+
export let exclude: string[];
|
|
3
|
+
export let out: string;
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
+
import zlib from 'zlib';
|
|
2
3
|
import CompressionPlugin from 'compression-webpack-plugin';
|
|
3
4
|
import { ObjectPattern } from 'copy-webpack-plugin';
|
|
4
|
-
import zlib from 'zlib';
|
|
5
5
|
export declare const LATEST_VERSION = "latest";
|
|
6
6
|
export declare const excludeNodeModulesExcept: (modules: string[]) => (modulePath: string) => boolean;
|
|
7
7
|
export declare const getLibraryName: () => string;
|
|
8
8
|
export declare const getLibraryVariableName: () => string[];
|
|
9
9
|
export declare const mapToFolder: (dependencies: string[], folder: string) => {};
|
|
10
10
|
export declare const getAlias: () => {};
|
|
11
|
+
export declare const getLibraryAlias: (name: string, alias: string) => {
|
|
12
|
+
[x: string]: string;
|
|
13
|
+
};
|
|
11
14
|
export declare const modulesToTranspile: string[];
|
|
12
15
|
export declare const getAppVersion: () => string;
|
|
13
16
|
export declare const getPaths: (latestVersion?: boolean) => {
|