testeranto 0.79.22 → 0.79.23
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/common/Project.js +0 -4
- package/dist/common/esbuildConfigs/report.js +13 -12
- package/dist/common/tsconfig.common.tsbuildinfo +1 -1
- package/dist/module/Project.js +0 -4
- package/dist/module/esbuildConfigs/report.js +14 -11
- package/dist/module/tsconfig.module.tsbuildinfo +1 -1
- package/dist/types/esbuildConfigs/report.d.ts +0 -4
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +3 -7
- package/src/Project.ts +0 -11
- package/src/esbuildConfigs/report.ts +13 -13
- package/tsconfig.module.json +0 -1
- package/tsconfig.types.json +0 -1
- package/dist/prebuild/Report.css +0 -11358
- package/dist/prebuild/Report.js +0 -37666
- package/src/Report.tsx +0 -498
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "testeranto",
|
|
3
3
|
"description": "teeny tiny tightly-typed typescript tests",
|
|
4
|
-
"version": "0.79.
|
|
4
|
+
"version": "0.79.23",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "18.18.0"
|
|
7
7
|
},
|
|
@@ -121,10 +121,6 @@
|
|
|
121
121
|
"import": "./dist/module/Features.js",
|
|
122
122
|
"require": "./dist/common/Features.js"
|
|
123
123
|
},
|
|
124
|
-
"./src/Report": {
|
|
125
|
-
"import": "./dist/module/Report.js",
|
|
126
|
-
"require": "./dist/common/Report.js"
|
|
127
|
-
},
|
|
128
124
|
"./src/Project": {
|
|
129
125
|
"import": "./dist/module/Project.js",
|
|
130
126
|
"require": "./dist/common/Project.js"
|
|
@@ -179,8 +175,8 @@
|
|
|
179
175
|
"scripts": {
|
|
180
176
|
"commit": "yarn build; git add --all && git commit -m 'stash'",
|
|
181
177
|
"doit": "rm -rf node_modules && yarn install && yarn build",
|
|
182
|
-
"build": "sh prebuild.sh; cp ./src/cjs-shim.js ./dist/cjs-shim.js; tsc -p tsconfig.module.json; tsc -p tsconfig.common.json; tsc -p tsconfig.types.json; yarn esbuild src/
|
|
183
|
-
"dev": "cp ./src/cjs-shim.js ./dist/cjs-shim.js && tsc -p tsconfig.module.json --watch & tsc -p tsconfig.common.json --watch & tsc -p tsconfig.types.json --watch & yarn esbuild src/
|
|
178
|
+
"build": "sh prebuild.sh; cp ./src/cjs-shim.js ./dist/cjs-shim.js; tsc -p tsconfig.module.json; tsc -p tsconfig.common.json; tsc -p tsconfig.types.json; yarn esbuild src/TaskManFrontEnd.tsx --outfile=dist/prebuild/TaskManFrontEnd.js --bundle; yarn esbuild src/TaskManBackEnd.ts --outfile=dist/prebuild/TaskManBackEnd.mjs --bundle --platform=node --format=esm --packages=external; sh postBuild.sh; ",
|
|
179
|
+
"dev": "cp ./src/cjs-shim.js ./dist/cjs-shim.js && tsc -p tsconfig.module.json --watch & tsc -p tsconfig.common.json --watch & tsc -p tsconfig.types.json --watch & yarn esbuild src/TaskManFrontEnd.tsx --outfile=dist/prebuild/TaskManFrontEnd.js --bundle --watch & yarn esbuild src/TaskManBackEnd.ts --platform=node --outfile=dist/prebuild/TaskManBackEnd.mjs --bundle --watch --format=esm --packages=external",
|
|
184
180
|
"build-module": "tsc -p tsconfig.module.json",
|
|
185
181
|
"build-common": "tsc -p tsconfig.common.json",
|
|
186
182
|
"build-types": "tsc -p tsconfig.types.json",
|
package/src/Project.ts
CHANGED
|
@@ -143,17 +143,6 @@ export class ITProject {
|
|
|
143
143
|
}
|
|
144
144
|
);
|
|
145
145
|
|
|
146
|
-
fs.copyFileSync(
|
|
147
|
-
"./node_modules/testeranto/dist/prebuild/Report.js",
|
|
148
|
-
"./docs/Report.js"
|
|
149
|
-
);
|
|
150
|
-
fs.copyFileSync(
|
|
151
|
-
"./node_modules/testeranto/dist/prebuild/Report.css",
|
|
152
|
-
"./docs/Report.css"
|
|
153
|
-
);
|
|
154
|
-
|
|
155
|
-
fs.writeFileSync(`${config.outdir}/report.html`, reportHtmlFrame());
|
|
156
|
-
|
|
157
146
|
Promise.all([
|
|
158
147
|
fs.promises.writeFile(
|
|
159
148
|
`${config.outdir}/testeranto.json`,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { BuildOptions } from "esbuild";
|
|
1
|
+
// import { BuildOptions } from "esbuild";
|
|
2
2
|
|
|
3
|
-
import { IBaseConfig } from "../lib/types";
|
|
3
|
+
// import { IBaseConfig } from "../lib/types";
|
|
4
4
|
|
|
5
|
-
export default (config: IBaseConfig): BuildOptions => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
5
|
+
// export default (config: IBaseConfig): BuildOptions => {
|
|
6
|
+
// return {
|
|
7
|
+
// bundle: true,
|
|
8
|
+
// entryPoints: ["./node_modules/testeranto/dist/module/report.js"],
|
|
9
|
+
// minify: config.minify === true,
|
|
10
|
+
// outbase: config.outbase,
|
|
11
|
+
// write: true,
|
|
12
|
+
// outfile: `${config.outdir}/report.js`,
|
|
13
|
+
// external: ["tests.json", "features.test.js"],
|
|
14
|
+
// };
|
|
15
|
+
// };
|
package/tsconfig.module.json
CHANGED