fix(core): update
This commit is contained in:
parent
ca51c9e15b
commit
994a1bc98d
17913
package-lock.json
generated
17913
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
16
package.json
16
package.json
@ -18,21 +18,21 @@
|
||||
"build": "(tsbuild --web)"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@gitzone/tsbuild": "^2.1.25",
|
||||
"@gitzone/tsbuild": "^2.1.26",
|
||||
"tslint": "^6.1.3",
|
||||
"tslint-config-prettier": "^1.18.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@gitzone/tsbundle": "^1.0.80",
|
||||
"@gitzone/tsrun": "^1.2.12",
|
||||
"@gitzone/tsbundle": "^1.0.84",
|
||||
"@gitzone/tsrun": "^1.2.17",
|
||||
"@pushrocks/consolecolor": "^2.0.1",
|
||||
"@pushrocks/smartbrowser": "^1.0.17",
|
||||
"@pushrocks/smartdelay": "^2.0.10",
|
||||
"@pushrocks/smartexpress": "^3.0.100",
|
||||
"@pushrocks/smartdelay": "^2.0.13",
|
||||
"@pushrocks/smartexpress": "^3.0.102",
|
||||
"@pushrocks/smartfile": "^8.0.10",
|
||||
"@pushrocks/smartlog": "^2.0.39",
|
||||
"@pushrocks/smartpromise": "^3.1.5",
|
||||
"@pushrocks/smartshell": "^2.0.25",
|
||||
"@pushrocks/smartlog": "^2.0.44",
|
||||
"@pushrocks/smartpromise": "^3.1.6",
|
||||
"@pushrocks/smartshell": "^2.0.28",
|
||||
"@pushrocks/tapbundle": "^3.2.14",
|
||||
"@types/figures": "^3.0.1",
|
||||
"figures": "^3.0.0"
|
||||
|
@ -100,7 +100,7 @@ export class TsTest {
|
||||
|
||||
// lets bundle the test
|
||||
await plugins.smartfile.fs.ensureDir(tsbundleCacheDirPath);
|
||||
await this.tsbundleInstance.buildTest(fileNameArg, bundleFilePath, 'parcel');
|
||||
await this.tsbundleInstance.buildTest(process.cwd(), fileNameArg, bundleFilePath, 'parcel');
|
||||
|
||||
// lets create a server
|
||||
const server = new plugins.smartexpress.Server({
|
||||
@ -132,7 +132,7 @@ export class TsTest {
|
||||
const evaluation = await this.smartbrowserInstance.evaluateOnPage(
|
||||
`http://localhost:3007/test?bundleName=${bundleFileName}`,
|
||||
async () => {
|
||||
const convertToText = (obj) => {
|
||||
const convertToText = (obj: any): string => {
|
||||
// create an array that will later be joined into a string.
|
||||
const stringArray = [];
|
||||
|
||||
@ -198,8 +198,8 @@ export class TsTest {
|
||||
console.error(err);
|
||||
}
|
||||
|
||||
if (globalThis.tapbundleDeferred && globalThis.tapbundleDeferred.promise) {
|
||||
await globalThis.tapbundleDeferred.promise;
|
||||
if ((globalThis as any).tapbundleDeferred && (globalThis as any).tapbundleDeferred.promise) {
|
||||
await (globalThis as any).tapbundleDeferred.promise;
|
||||
} else {
|
||||
console.log('Error: Could not find tapbundle Deferred');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user