@waiting/shared-types
Advanced tools
Comparing version 23.19.0 to 23.19.1
@@ -6,3 +6,3 @@ /** | ||
*/ | ||
import { DateISOString } from './alias.js'; | ||
import type { DateISOString } from './alias.js'; | ||
export interface NpmPkg { | ||
@@ -9,0 +9,0 @@ name: string; |
@@ -1,2 +0,2 @@ | ||
import { XOR } from './common.js'; | ||
import type { XOR } from './common.js'; | ||
export type MiddlewareConfig<T = unknown> = { | ||
@@ -3,0 +3,0 @@ /** |
{ | ||
"name": "@waiting/shared-types", | ||
"author": "waiting", | ||
"version": "23.19.0", | ||
"version": "23.19.1", | ||
"description": "shared typescript types", | ||
@@ -56,2 +56,3 @@ "keywords": [ | ||
"build": "npm run tsc && tsc-alias && npm run rp", | ||
"build:prod": "npm run tsc -- --declaration --declarationMap && tsc-alias && npm run rp", | ||
"build:unit": "tsc -p test/tsconfig.json", | ||
@@ -63,11 +64,12 @@ "clean": "npm run clean:lock && npm run clean:dist && npm run clean:log", | ||
"clean:log": "rm -rf ./logs ./run", | ||
"cov": "c8 --all npm run test -- --parallel=false", | ||
"lint": "eslint --fix --cache src test", | ||
"cov": "c8 --all npm run test --", | ||
"lint": "eslint --fix --cache src test ", | ||
"lint:nofix": "eslint --cache src test", | ||
"pretest": "npm run build && npm run build:unit", | ||
"pretest": "npm run build:unit", | ||
"rp": "tsx bin-hashbang.js", | ||
"test": "cross-env NODE_ENV=test TS_NODE_PROJECT=test/tsconfig.json mocha --jobs=4", | ||
"test": "cross-env NODE_ENV=test TS_NODE_PROJECT=test/tsconfig.json mocha", | ||
"test:deb": "cross-env NODE_ENV=test TS_NODE_PROJECT=test/tsconfig.json mocha --parallel=false", | ||
"tsc": "tsc -p tsconfig.json" | ||
}, | ||
"gitHead": "ded0b93acfe02e9ad308adcbf4df852b49193584" | ||
"gitHead": "ffd89abaa91638608bff8ab7955cf67013a740a4" | ||
} |
@@ -21,3 +21,3 @@ /* eslint-disable @typescript-eslint/no-redundant-type-constituents */ | ||
TThis = any, | ||
> = (this: TThis, ...input: ArgsType) => ReturnType | ||
> = (this: TThis, ...input: ArgsType) => ReturnType | ||
/** | ||
@@ -30,3 +30,3 @@ * ReturnType is unknown | ||
TThis = any, | ||
> = (this: TThis, ...input: ArgsType) => ReturnType | ||
> = (this: TThis, ...input: ArgsType) => ReturnType | ||
@@ -40,3 +40,3 @@ /** | ||
TThis = any, | ||
> = (this: TThis, ...input: ArgsType) => Promise<ResultType> | ||
> = (this: TThis, ...input: ArgsType) => Promise<ResultType> | ||
@@ -43,0 +43,0 @@ |
@@ -7,3 +7,3 @@ /** | ||
import { DateISOString } from './alias.js' | ||
import type { DateISOString } from './alias.js' | ||
@@ -10,0 +10,0 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ |
@@ -1,2 +0,2 @@ | ||
import { XOR } from './common.js' | ||
import type { XOR } from './common.js' | ||
@@ -3,0 +3,0 @@ |
{ | ||
"compilerOptions": { | ||
"baseUrl": ".", | ||
"baseUrl": "${configDir}", | ||
"declaration": true, | ||
"declarationMap": true, | ||
"declarationMap": false, | ||
"emitDecoratorMetadata": true, | ||
@@ -12,2 +12,3 @@ "esModuleInterop": true, | ||
"incremental": true, | ||
"isolatedDeclarations": false, | ||
"module": "NodeNext", | ||
@@ -31,2 +32,3 @@ "moduleResolution": "NodeNext", | ||
"resolveJsonModule": true, | ||
"rootDir": "${configDir}/src", | ||
"skipLibCheck": true, | ||
@@ -37,15 +39,16 @@ "sourceMap": true, | ||
"stripInternal": true, | ||
"target": "ES2022", | ||
"target": "ES2023", | ||
"tsBuildInfoFile": ".tsbuildinfo", | ||
"types" : ["mocha", "node"] | ||
"types" : ["mocha", "node"], | ||
"verbatimModuleSyntax": false | ||
}, | ||
"include": [ | ||
"src/**/*.ts" | ||
"${configDir}/src/**/*.ts" | ||
], | ||
"exclude": [ | ||
"asset", | ||
"app/public", | ||
"app/views", | ||
"dist", | ||
"fixtures", | ||
"${configDir}/asset", | ||
"${configDir}/app/public", | ||
"${configDir}/app/views", | ||
"${configDir}/dist", | ||
"${configDir}/fixtures", | ||
"node_modules*", | ||
@@ -52,0 +55,0 @@ "**/*.d.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78943
1378