Compare commits
16 Commits
Author | SHA1 | Date | |
---|---|---|---|
929a67585f | |||
fb8d291441 | |||
5657b49a51 | |||
db39da1faf | |||
e9d6e9f9dd | |||
d8e638a07f | |||
85eb222bd9 | |||
189c0bae30 | |||
570422ae61 | |||
4ba34a4b88 | |||
ae2aabaa86 | |||
269a8c974e | |||
10ab777e7f | |||
898eed4584 | |||
7a1eae2bfb | |||
8f7167f201 |
@ -12,10 +12,10 @@
|
|||||||
"projectType": "npm",
|
"projectType": "npm",
|
||||||
"module": {
|
"module": {
|
||||||
"githost": "gitlab.com",
|
"githost": "gitlab.com",
|
||||||
"gitscope": "pushrocks",
|
"gitscope": "push.rocks",
|
||||||
"gitrepo": "tapbundle",
|
"gitrepo": "tapbundle",
|
||||||
"shortDescription": "tap bundled for tapbuffer",
|
"shortDescription": "tap bundled for tapbuffer",
|
||||||
"npmPackagename": "@pushrocks/tapbundle",
|
"npmPackagename": "@push.rocks/tapbundle",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
19858
package-lock.json
generated
19858
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
31
package.json
31
package.json
@ -1,14 +1,14 @@
|
|||||||
{
|
{
|
||||||
"name": "@pushrocks/tapbundle",
|
"name": "@push.rocks/tapbundle",
|
||||||
"private": false,
|
"private": false,
|
||||||
"version": "5.0.3",
|
"version": "5.0.11",
|
||||||
"description": "tap bundled for tapbuffer",
|
"description": "tap bundled for tapbuffer",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
"typings": "dist_ts/index.d.ts",
|
"typings": "dist_ts/index.d.ts",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "(tstest test/)",
|
"test": "(tstest test/)",
|
||||||
"build": "(tsbuild --web --allowimplicitany)"
|
"build": "(tsbuild --web --allowimplicitany --skiplibcheck)"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -21,21 +21,20 @@
|
|||||||
},
|
},
|
||||||
"homepage": "https://gitlab.com/pushrocks/tapbundle#README",
|
"homepage": "https://gitlab.com/pushrocks/tapbundle#README",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@open-wc/testing-helpers": "^2.1.2",
|
"@open-wc/testing": "^3.2.0",
|
||||||
"@pushrocks/smartdelay": "^2.0.13",
|
"@open-wc/testing-helpers": "^2.3.0",
|
||||||
"@pushrocks/smartenv": "^5.0.0",
|
"@push.rocks/smartdelay": "^3.0.1",
|
||||||
"@pushrocks/smartexpect": "^1.0.13",
|
"@push.rocks/smartenv": "^5.0.5",
|
||||||
"@pushrocks/smartpromise": "^3.1.7",
|
"@push.rocks/smartexpect": "^1.0.15",
|
||||||
"@pushrocks/smarttime": "^3.0.45"
|
"@push.rocks/smartpromise": "^4.0.2",
|
||||||
|
"@push.rocks/smarttime": "^4.0.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsbuild": "^2.1.60",
|
"@gitzone/tsbuild": "^2.1.66",
|
||||||
"@gitzone/tsrun": "^1.2.31",
|
"@gitzone/tsrun": "^1.2.43",
|
||||||
"@gitzone/tstest": "^1.0.69",
|
"@gitzone/tstest": "^1.0.72",
|
||||||
"@types/node": "^17.0.23",
|
"@types/node": "^20.4.2",
|
||||||
"randomstring": "^1.2.2",
|
"randomstring": "^1.3.0"
|
||||||
"tslint": "^6.1.3",
|
|
||||||
"tslint-config-prettier": "^1.18.0"
|
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"ts/**/*",
|
"ts/**/*",
|
||||||
|
4684
pnpm-lock.yaml
generated
Normal file
4684
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
8
ts/00_commitinfo_data.ts
Normal file
8
ts/00_commitinfo_data.ts
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* autocreated commitinfo by @pushrocks/commitinfo
|
||||||
|
*/
|
||||||
|
export const commitinfo = {
|
||||||
|
name: '@push.rocks/tapbundle',
|
||||||
|
version: '5.0.11',
|
||||||
|
description: 'tap bundled for tapbuffer'
|
||||||
|
}
|
@ -2,7 +2,7 @@ export { tap } from './tapbundle.classes.tap.js';
|
|||||||
export { TapWrap } from './tapbundle.classes.tapwrap.js';
|
export { TapWrap } from './tapbundle.classes.tapwrap.js';
|
||||||
export { webhelpers } from './webhelpers.js';
|
export { webhelpers } from './webhelpers.js';
|
||||||
|
|
||||||
import { expect, expectAsync } from '@pushrocks/smartexpect';
|
import { expect, expectAsync } from '@push.rocks/smartexpect';
|
||||||
|
|
||||||
export {
|
export {
|
||||||
expect,
|
expect,
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import * as plugins from './tapbundle.plugins.js';
|
import * as plugins from './tapbundle.plugins.js';
|
||||||
|
|
||||||
import { IPreTaskFunction, PreTask } from './tapbundle.classes.pretask.js';
|
import { type IPreTaskFunction, PreTask } from './tapbundle.classes.pretask.js';
|
||||||
import { TapTest, ITestFunction } from './tapbundle.classes.taptest.js';
|
import { TapTest, type ITestFunction } from './tapbundle.classes.taptest.js';
|
||||||
export class Tap <T> {
|
export class Tap<T> {
|
||||||
/**
|
/**
|
||||||
* skips a test
|
* skips a test
|
||||||
* tests marked with tap.skip.test() are never executed
|
* tests marked with tap.skip.test() are never executed
|
||||||
|
@ -3,8 +3,8 @@ import { tapCreator } from './tapbundle.tapcreator.js';
|
|||||||
import { TapTools } from './tapbundle.classes.taptools.js';
|
import { TapTools } from './tapbundle.classes.taptools.js';
|
||||||
|
|
||||||
// imported interfaces
|
// imported interfaces
|
||||||
import { Deferred } from '@pushrocks/smartpromise';
|
import { Deferred } from '@push.rocks/smartpromise';
|
||||||
import { HrtMeasurement } from '@pushrocks/smarttime';
|
import { HrtMeasurement } from '@push.rocks/smarttime';
|
||||||
|
|
||||||
// interfaces
|
// interfaces
|
||||||
export type TTestStatus = 'success' | 'error' | 'pending' | 'errorAfterSuccess' | 'timeout';
|
export type TTestStatus = 'success' | 'error' | 'pending' | 'errorAfterSuccess' | 'timeout';
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
// pushrocks
|
// pushrocks
|
||||||
import * as smartdelay from '@pushrocks/smartdelay';
|
import * as smartdelay from '@push.rocks/smartdelay';
|
||||||
import * as smartenv from '@pushrocks/smartenv';
|
import * as smartenv from '@push.rocks/smartenv';
|
||||||
import * as smartexpect from '@pushrocks/smartexpect';
|
import * as smartexpect from '@push.rocks/smartexpect';
|
||||||
import * as smartpromise from '@pushrocks/smartpromise';
|
import * as smartpromise from '@push.rocks/smartpromise';
|
||||||
|
|
||||||
export { smartdelay, smartenv, smartexpect, smartpromise };
|
export { smartdelay, smartenv, smartexpect, smartpromise };
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import * as plugins from './tapbundle.plugins.js';
|
import * as plugins from './tapbundle.plugins.js';
|
||||||
import type { fixture, html } from '@open-wc/testing-helpers';
|
import type { fixture, html } from '@open-wc/testing';
|
||||||
import { tap } from './tapbundle.classes.tap.js';
|
import { tap } from './tapbundle.classes.tap.js';
|
||||||
|
|
||||||
class WebHelpers {
|
class WebHelpers {
|
||||||
@ -15,7 +15,7 @@ class WebHelpers {
|
|||||||
|
|
||||||
public enable() {
|
public enable() {
|
||||||
tap.preTask('enable webhelpers', async () => {
|
tap.preTask('enable webhelpers', async () => {
|
||||||
const webhelpers = await import('@open-wc/testing-helpers')
|
const webhelpers = await import('@open-wc/testing');
|
||||||
this.html = webhelpers.html;
|
this.html = webhelpers.html;
|
||||||
this.fixture = webhelpers.fixture;
|
this.fixture = webhelpers.fixture;
|
||||||
})
|
})
|
||||||
|
11
tsconfig.json
Normal file
11
tsconfig.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"experimentalDecorators": true,
|
||||||
|
"useDefineForClassFields": false,
|
||||||
|
"target": "ES2022",
|
||||||
|
"module": "ES2022",
|
||||||
|
"moduleResolution": "nodenext",
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"verbatimModuleSyntax": true,
|
||||||
|
}
|
||||||
|
}
|
17
tslint.json
17
tslint.json
@ -1,17 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": ["tslint:latest", "tslint-config-prettier"],
|
|
||||||
"rules": {
|
|
||||||
"semicolon": [true, "always"],
|
|
||||||
"no-console": false,
|
|
||||||
"ordered-imports": false,
|
|
||||||
"object-literal-sort-keys": false,
|
|
||||||
"member-ordering": {
|
|
||||||
"options":{
|
|
||||||
"order": [
|
|
||||||
"static-method"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"defaultSeverity": "warning"
|
|
||||||
}
|
|
Reference in New Issue
Block a user