qcobjects 2.4.98 → 2.4.103-ts
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/.eslintrc.cjs +1 -2
- package/.github/workflows/npmpublish-beta.yml +4 -4
- package/.github/workflows/npmpublish-lts.yml +4 -4
- package/.github/workflows/npmpublish-main.yml +4 -4
- package/.github/workflows/npmpublish-ts.yml +38 -0
- package/Dockerfile +14 -57
- package/QCOBJECTS-DOCKER-README.md +202 -0
- package/README-es.pdf +0 -0
- package/README.pdf +0 -0
- package/VERSION +1 -1
- package/package.json +30 -15
- package/src/QCObjects.js +4536 -4519
- package/src/types.d.ts +20 -0
- package/tsconfig.d.json +18 -0
- package/tsconfig.json +6 -12
- /package/src/{index.cjs → index.cts} +0 -0
- /package/src/{index.mjs → index.mts} +0 -0
package/src/types.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare module "QCObjects" {
|
|
2
|
+
export function __qcobjects__(_top: any): void;
|
|
3
|
+
const _top: any;
|
|
4
|
+
let _default: {
|
|
5
|
+
__qcobjects__: (_top: any) => void;
|
|
6
|
+
global: any;
|
|
7
|
+
} | {
|
|
8
|
+
default: {
|
|
9
|
+
__qcobjects__: (_top: any) => void;
|
|
10
|
+
global: any;
|
|
11
|
+
};
|
|
12
|
+
__qcobjects__: (_top: any) => void;
|
|
13
|
+
global: any;
|
|
14
|
+
};
|
|
15
|
+
export { _default as default, _top as global };
|
|
16
|
+
}
|
|
17
|
+
declare module "index" {
|
|
18
|
+
import QCObjects from "QCObjects";
|
|
19
|
+
export default QCObjects;
|
|
20
|
+
}
|
package/tsconfig.d.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "qcobjects-tsconfig/tsconfig.d.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"strict": true, // Enables all strict type-checking options
|
|
5
|
+
"noImplicitAny": true,
|
|
6
|
+
"strictNullChecks": true,
|
|
7
|
+
"strictFunctionTypes": true,
|
|
8
|
+
"strictPropertyInitialization": true,
|
|
9
|
+
"noImplicitThis": true,
|
|
10
|
+
"alwaysStrict": true,
|
|
11
|
+
"outFile": "src/types.d.ts",
|
|
12
|
+
"typeRoots": ["types", "node_modules/@types", "@typescript-eslint"],
|
|
13
|
+
"allowSyntheticDefaultImports":true,
|
|
14
|
+
"esModuleInterop": true
|
|
15
|
+
},
|
|
16
|
+
"include": ["src/**/*.ts", "src/static/js/packages/components/*.d.ts"],
|
|
17
|
+
"exclude": ["src/**/*.spec.js", "src/*.js", "src/*.d.ts", "src/**/*.d.ts"]
|
|
18
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
+
"extends": ["qcobjects-tsconfig/tsconfig.json"],
|
|
2
3
|
"compilerOptions": {
|
|
3
|
-
"target": "es2021", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
|
|
4
|
-
"lib": ["ES2021"], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
|
|
5
|
-
"module": "commonjs", /* Specify what module code is generated. */
|
|
6
4
|
"rootDir": "src", /* Specify the root folder within your source files. */
|
|
7
|
-
"resolveJsonModule": true, /* Enable importing .json files. */
|
|
8
5
|
"allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
|
|
9
|
-
"outDir": "build",
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"strict": true, /* Enable all strict type-checking options. */
|
|
13
|
-
"noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
|
|
14
|
-
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
|
6
|
+
"outDir": "build", /* Specify an output folder for all emitted files. */
|
|
7
|
+
"allowSyntheticDefaultImports":true,
|
|
8
|
+
"esModuleInterop": true
|
|
15
9
|
},
|
|
16
|
-
"include": ["src/**/*.ts"],
|
|
17
|
-
"exclude": ["src/**/*.spec.
|
|
10
|
+
"include": ["src/**/*.ts", "src/**/*.mts", "src/**/*.cts"],
|
|
11
|
+
"exclude": ["src/**/*.spec.js", "src/*.js"]
|
|
18
12
|
}
|
|
File without changes
|
|
File without changes
|