fix(core): update

This commit is contained in:
Philipp Kunz 2022-03-18 16:56:50 +01:00
parent d0f107dc4b
commit c5ef13acbe
6 changed files with 2742 additions and 366 deletions

View File

@ -22,5 +22,6 @@
}
}
}
]
],
"typescript.tsdk": "node_modules/typescript/lib"
}

View File

@ -17,7 +17,7 @@
}
</style>
<script type="module" src="./index.ts"></script>
<script type="module" src="/bundle.js"></script>
</head>
<body>
</body>

3056
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -7,29 +7,31 @@
"typings": "dist_ts_web/index.d.ts",
"type": "module",
"scripts": {
"test": "npm run build",
"test": "tstest test/",
"build": "tsbuild element --allowimplicitany --skiplibcheck && tsbundle element --allowimplicitany",
"watch": "tswatch element"
},
"author": "Lossless GmbH",
"license": "UNLICENSED",
"dependencies": {
"@designestate/dees-domtools": "^1.0.41",
"@designestate/dees-element": "^1.0.26",
"@designestate/dees-domtools": "^2.0.1",
"@designestate/dees-element": "^2.0.2",
"@designestate/dees-wcctools": "^1.0.37",
"@gitzone/tsrun": "^1.2.31",
"@losslessone_private/loint-pubapi": "^1.0.9",
"@pushrocks/smartexpress": "^3.0.76",
"@pushrocks/smartexpress": "^3.0.110",
"monaco-editor": "^0.33.0",
"typescript": "^4.4.3",
"xterm": "^4.18.0",
"xterm-addon-fit": "^0.5.0"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.56",
"@gitzone/tsbundle": "^1.0.95",
"@gitzone/tswatch": "^1.0.62",
"@gitzone/tsbuild": "^2.1.59",
"@gitzone/tsbundle": "^1.0.101",
"@gitzone/tstest": "^1.0.69",
"@gitzone/tswatch": "^1.0.68",
"@pushrocks/projectinfo": "^4.0.5",
"@pushrocks/tapbundle": "^5.0.2",
"buffer": "^6.0.3",
"process": "^0.11.10",
"tslint": "^6.1.3",

15
test/test.browser.ts Normal file
View File

@ -0,0 +1,15 @@
import { expect, expectAsync, tap, webhelpers } from '@pushrocks/tapbundle';
import * as deesEditorLib from '../ts_web/index.js';
tap.test('test dees-editor', async () => {
const deesEditor = new deesEditorLib.DeesEditor;
expect(deesEditor).toBeInstanceOf(deesEditorLib.DeesEditor)
});
tap.test('test dees-terminal', async () => {
const deesTerminal = await webhelpers.fixture(`<dees-terminal></dees-terminal>`);
expect(deesTerminal).toBeInstanceOf(deesEditorLib.DeesTerminal);
})
tap.start()

View File

@ -1,16 +1,8 @@
{
"compilerOptions": {
"target": "es2017",
"module": "es2015",
"moduleResolution": "node",
"lib": ["es2017", "dom"],
"declaration": true,
"inlineSources": true,
"inlineSourceMap": true,
"noUnusedLocals": false,
"noFallthroughCasesInSwitch": true,
"outDir": "dist/",
"skipLibCheck": false,
"experimentalDecorators": true
"experimentalDecorators": true,
"target": "ES2020",
"module": "ES2020",
"moduleResolution": "node12"
}
}