refactor: monorepo+pnpm (removed husky)

This commit is contained in:
Andrew Bastin
2021-09-10 00:28:28 +05:30
parent 917550ff4d
commit b28f82a881
445 changed files with 81301 additions and 63752 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,51 @@
{
"!name": "pw-extra",
"console": {
"assert": {
"!type": "fn(assertion: bool, text: string)"
},
"clear": {
"!type": "fn()"
},
"count": {
"!type": "fn(label?: string)"
},
"debug": "console.log",
"dir": {
"!type": "fn(object: ?)"
},
"error": {
"!type": "fn(...msg: ?)"
},
"group": {
"!type": "fn(label?: string)"
},
"groupCollapsed": {
"!type": "fn(label?: string)"
},
"groupEnd": {
"!type": "fn()"
},
"info": {
"!type": "fn(...msg: ?)"
},
"log": {
"!type": "fn(...msg: ?)"
},
"table": {
"!type": "fn(data: []|?, columns?: [])"
},
"time": {
"!type": "fn(label: string)"
},
"timeEnd": {
"!type": "fn(label: string)"
},
"trace": {
"!type": "fn()"
},
"warn": {
"!type": "fn(...msg: ?)"
}
}
}

View File

@@ -0,0 +1,8 @@
{
"!name": "pw-pre",
"pw": {
"env": {
"set": "fn(key: string, value: string)"
}
}
}

View File

@@ -0,0 +1,24 @@
{
"!name": "pw-test",
"!define": {
"Expectation": {
"not": "Expectation",
"toBe": "fn(value: ?)",
"toBeLevel2xx": "fn()",
"toBeLevel3xx": "fn()",
"toBeLevel4xx": "fn()",
"toBeLevel5xx": "fn()",
"toBeType": "fn(type: string)",
"toHaveLength": "fn(length: number)"
}
},
"pw": {
"expect": "fn(value: ?) -> Expectation",
"response": {
"status": "number",
"headers": "?",
"body": "?"
},
"test": "fn(name: string, func: fn())"
}
}