4 Commits

Author SHA1 Message Date
e70d8abc8a 1.0.67 2022-03-18 16:56:51 +01:00
c5ef13acbe fix(core): update 2022-03-18 16:56:50 +01:00
d0f107dc4b 1.0.66 2022-03-16 10:49:03 +01:00
e8534691b4 fix(core): update 2022-03-16 10:49:03 +01:00
9 changed files with 3299 additions and 376 deletions

View File

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

View File

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

View File

@ -3,8 +3,8 @@ import * as deesWccTools from '@designestate/dees-wcctools';
import * as deesDomTools from '@designestate/dees-domtools'; import * as deesDomTools from '@designestate/dees-domtools';
// elements and pages // elements and pages
import * as elements from '../ts_web/elements'; import * as elements from '../ts_web/elements/index.js';
import * as pages from '../ts_web/pages'; import * as pages from '../ts_web/pages/index.js';
deesWccTools.setupWccTools(elements as any, pages); deesWccTools.setupWccTools(elements as any, pages);
deesDomTools.elementBasic.setup(); deesDomTools.elementBasic.setup();

3608
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,34 +1,37 @@
{ {
"name": "@designestate/dees-editor", "name": "@designestate/dees-editor",
"version": "1.0.65", "version": "1.0.67",
"private": false, "private": false,
"description": "an advanced editor for markdown documents based on monaco.", "description": "an advanced editor for markdown documents based on monaco.",
"main": "dist_ts_web/index.js", "main": "dist_ts_web/index.js",
"typings": "dist_ts_web/index.d.ts", "typings": "dist_ts_web/index.d.ts",
"type": "module",
"scripts": { "scripts": {
"test": "npm run build", "test": "tstest test/",
"build": "tsbuild element --commonjs --allowimplicitany && tsbundle element --commonjs --allowimplicitany --production", "build": "tsbuild element --allowimplicitany --skiplibcheck && tsbundle element --allowimplicitany",
"watch": "tswatch element" "watch": "tswatch element"
}, },
"author": "Lossless GmbH", "author": "Lossless GmbH",
"license": "UNLICENSED", "license": "UNLICENSED",
"dependencies": { "dependencies": {
"@designestate/dees-domtools": "^1.0.41", "@designestate/dees-domtools": "^2.0.1",
"@designestate/dees-element": "^1.0.26", "@designestate/dees-element": "^2.0.2",
"@designestate/dees-wcctools": "^1.0.37", "@designestate/dees-wcctools": "^1.0.37",
"@gitzone/tsrun": "^1.2.31", "@gitzone/tsrun": "^1.2.31",
"@losslessone_private/loint-pubapi": "^1.0.9", "@losslessone_private/loint-pubapi": "^1.0.9",
"@pushrocks/smartexpress": "^3.0.76", "@pushrocks/smartexpress": "^3.0.110",
"monaco-editor": "^0.33.0", "monaco-editor": "^0.33.0",
"typescript": "^4.4.3", "typescript": "^4.4.3",
"xterm": "^4.18.0", "xterm": "^4.18.0",
"xterm-addon-fit": "^0.5.0" "xterm-addon-fit": "^0.5.0"
}, },
"devDependencies": { "devDependencies": {
"@gitzone/tsbuild": "^2.1.55", "@gitzone/tsbuild": "^2.1.59",
"@gitzone/tsbundle": "^1.0.94", "@gitzone/tsbundle": "^1.0.101",
"@gitzone/tswatch": "^1.0.62", "@gitzone/tstest": "^1.0.69",
"@gitzone/tswatch": "^1.0.68",
"@pushrocks/projectinfo": "^4.0.5", "@pushrocks/projectinfo": "^4.0.5",
"@pushrocks/tapbundle": "^5.0.2",
"buffer": "^6.0.3", "buffer": "^6.0.3",
"process": "^0.11.10", "process": "^0.11.10",
"tslint": "^6.1.3", "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,3 +1,3 @@
export * from './dees-editor'; export * from './dees-editor.js';
export * from './dees-editor-ace'; export * from './dees-editor-ace.js';
export * from './dees-terminal'; export * from './dees-terminal.js';

View File

@ -1 +1 @@
export * from './elements/index'; export * from './elements/index.js';

View File

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