generic-type-guard
Advanced tools
Comparing version 5.0.0 to 5.0.1
# generic-type-guard | ||
## 5.0.1 | ||
### Patch Changes | ||
- ae61593: Fixed some deployment issues | ||
## 5.0.0 | ||
@@ -4,0 +10,0 @@ |
225
package.json
{ | ||
"name": "generic-type-guard", | ||
"version": "5.0.0", | ||
"type": "module", | ||
"publishConfig": { | ||
"provenance": true | ||
}, | ||
"description": "Generic type guards for TypeScript", | ||
"main": "dist/index.js", | ||
"types": "dist/generic-type-guard.d.ts", | ||
"engines": { | ||
"node": ">= 16" | ||
}, | ||
"exports": { | ||
".": { | ||
"require": { | ||
"types": "./generic-type-guard.d.cts", | ||
"default": "./generic-type-guard.cjs" | ||
}, | ||
"import": { | ||
"types": "./generic-type-guard.d.ts", | ||
"default": "./generic-type-guard.js" | ||
} | ||
} | ||
}, | ||
"scripts": { | ||
"clean": "rimraf dist generic-type-guard.* coverage temp", | ||
"build": "npm run build:tsc && npm run build:api && npm run build:esbuild", | ||
"build:tsc": "tsc --target es5", | ||
"build:api": "api-extractor run --local --verbose && cp generic-type-guard.d.ts generic-type-guard.d.cts", | ||
"build:esbuild": "npm run build:esbuild:esm && npm run build:esbuild:cjs", | ||
"build:esbuild:cjs": "esbuild dist/index.js --bundle --sourcemap=linked --outfile=generic-type-guard.cjs --platform=node --packages=external", | ||
"build:esbuild:esm": "esbuild dist/index.js --bundle --sourcemap=linked --outfile=generic-type-guard.js --platform=neutral --packages=external", | ||
"prepack": "npm run clean && npm run build", | ||
"test": "npm run lint && npm run mocha && git diff --name-only --exit-code", | ||
"test-watch": "nodemon -e ts,json --exec npm run test", | ||
"lint": "eslint", | ||
"lint-fix": "eslint", | ||
"lint-watch": "nodemon -e ts,json --exec eslint", | ||
"mocha": "c8 mocha 'src/**/*.spec.ts'", | ||
"mocha-watch": "nodemon -e ts,json --exec npm run mocha 'src/**/*.spec.ts'", | ||
"stryker": "stryker run", | ||
"stryker-watch": "nodemon -e ts,json --exec stryker run", | ||
"cs-version": "npm run build && changeset version", | ||
"cs-release": "changeset publish" | ||
}, | ||
"c8": { | ||
"include": [ | ||
"src/**/*.ts", | ||
"src/**/*.tsx" | ||
], | ||
"exclude": [ | ||
"**/*.spec.ts" | ||
], | ||
"extension": [ | ||
".ts", | ||
".tsx" | ||
], | ||
"reporter": [ | ||
"text-summary", | ||
"html" | ||
], | ||
"sourceMap": true, | ||
"instrument": true, | ||
"checkCoverage": true, | ||
"lines": 100, | ||
"functions": 100, | ||
"branches": 100, | ||
"statements": 100 | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/mscharley/generic-type-guard.git" | ||
}, | ||
"keywords": [ | ||
"typescript", | ||
"typeguard", | ||
"type-guard", | ||
"ts" | ||
], | ||
"author": "Matthew Scharley", | ||
"license": "MPL-2.0", | ||
"bugs": { | ||
"url": "https://github.com/mscharley/generic-type-guard/issues" | ||
}, | ||
"homepage": "https://github.com/mscharley/generic-type-guard/tree/master/packages/generic-type-guard#readme", | ||
"funding": { | ||
"type": "individual", | ||
"url": "https://github.com/sponsors/mscharley" | ||
}, | ||
"devDependencies": { | ||
"@changesets/cli": "2.27.9", | ||
"@microsoft/api-extractor": "7.47.9", | ||
"@mscharley/eslint-config": "4.0.3", | ||
"@mscharley/prettier-config": "3.0.6", | ||
"@stryker-mutator/core": "8.6.0", | ||
"@stryker-mutator/mocha-runner": "8.6.0", | ||
"@stryker-mutator/typescript-checker": "8.6.0", | ||
"@types/chai": "5.0.0", | ||
"@types/mocha": "10.0.8", | ||
"@types/node": "20.16.10", | ||
"c8": "10.1.2", | ||
"chai": "5.1.1", | ||
"esbuild": "0.24.0", | ||
"eslint-plugin-notice": "^1.0.0", | ||
"mocha": "10.7.3", | ||
"nodemon": "3.1.7", | ||
"rimraf": "6.0.1", | ||
"source-map-support": "0.5.21", | ||
"testdouble": "3.20.2", | ||
"ts-node": "10.9.2", | ||
"typescript": "5.6.2" | ||
}, | ||
"packageManager": "npm@10.9.0+sha512.65a9c38a8172948f617a53619762cd77e12b9950fe1f9239debcb8d62c652f2081824b986fee7c0af6c0a7df615becebe4bf56e17ec27214a87aa29d9e038b4b" | ||
} | ||
"name": "generic-type-guard", | ||
"version": "5.0.1", | ||
"type": "module", | ||
"publishConfig": { | ||
"provenance": true | ||
}, | ||
"description": "Generic type guards for TypeScript", | ||
"main": "./generic-type-guard.cjs", | ||
"types": "./generic-type-guard.d.cts", | ||
"engines": { | ||
"node": ">= 18" | ||
}, | ||
"exports": { | ||
".": { | ||
"require": { | ||
"types": "./generic-type-guard.d.cts", | ||
"default": "./generic-type-guard.cjs" | ||
}, | ||
"import": { | ||
"types": "./generic-type-guard.d.ts", | ||
"default": "./generic-type-guard.js" | ||
} | ||
} | ||
}, | ||
"c8": { | ||
"include": [ | ||
"src/**/*.ts", | ||
"src/**/*.tsx" | ||
], | ||
"exclude": [ | ||
"**/*.spec.ts" | ||
], | ||
"extension": [ | ||
".ts", | ||
".tsx" | ||
], | ||
"reporter": [ | ||
"text-summary", | ||
"html" | ||
], | ||
"sourceMap": true, | ||
"instrument": true, | ||
"checkCoverage": true, | ||
"lines": 100, | ||
"functions": 100, | ||
"branches": 100, | ||
"statements": 100 | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/mscharley/generic-type-guard.git" | ||
}, | ||
"keywords": [ | ||
"typescript", | ||
"typeguard", | ||
"type-guard", | ||
"ts" | ||
], | ||
"author": "Matthew Scharley", | ||
"license": "MPL-2.0", | ||
"bugs": { | ||
"url": "https://github.com/mscharley/generic-type-guard/issues" | ||
}, | ||
"homepage": "https://github.com/mscharley/generic-type-guard/tree/master/packages/generic-type-guard#readme", | ||
"funding": { | ||
"type": "individual", | ||
"url": "https://github.com/sponsors/mscharley" | ||
}, | ||
"devDependencies": { | ||
"@changesets/cli": "2.27.9", | ||
"@microsoft/api-extractor": "7.47.9", | ||
"@mscharley/eslint-config": "4.0.3", | ||
"@mscharley/prettier-config": "3.0.6", | ||
"@stryker-mutator/core": "8.6.0", | ||
"@stryker-mutator/mocha-runner": "8.6.0", | ||
"@stryker-mutator/typescript-checker": "8.6.0", | ||
"@types/chai": "5.0.0", | ||
"@types/mocha": "10.0.8", | ||
"@types/node": "20.16.10", | ||
"c8": "10.1.2", | ||
"chai": "5.1.1", | ||
"esbuild": "0.24.0", | ||
"eslint-plugin-notice": "1.0.0", | ||
"mocha": "10.7.3", | ||
"nodemon": "3.1.7", | ||
"rimraf": "6.0.1", | ||
"source-map-support": "0.5.21", | ||
"testdouble": "3.20.2", | ||
"ts-node": "10.9.2", | ||
"turbo": "2.1.3", | ||
"typescript": "5.6.2" | ||
}, | ||
"scripts": { | ||
"clean": "rimraf dist generic-type-guard.* coverage temp .turbo/cache", | ||
"build:tsc": "tsc --target es5", | ||
"build:api": "api-extractor run --local --verbose && cp generic-type-guard.d.ts generic-type-guard.d.cts", | ||
"build:esbuild:cjs": "esbuild dist/index.js --bundle --sourcemap=linked --outfile=generic-type-guard.cjs --platform=node --packages=external", | ||
"build:esbuild:esm": "esbuild dist/index.js --bundle --sourcemap=linked --outfile=generic-type-guard.js --platform=neutral --packages=external", | ||
"test": "git diff --name-only --exit-code", | ||
"test-watch": "nodemon -e ts,json --exec turbo test", | ||
"lint": "eslint", | ||
"lint-fix": "eslint", | ||
"lint-watch": "nodemon -e ts,json --exec eslint", | ||
"mocha": "c8 mocha 'src/**/*.spec.ts'", | ||
"mocha-watch": "nodemon -e ts,json --exec turbo mocha", | ||
"stryker": "stryker run", | ||
"stryker-watch": "nodemon -e ts,json --exec stryker run", | ||
"cs-version": "turbo build && changeset version", | ||
"cs-release": "pnpm publish -r" | ||
} | ||
} |
{ | ||
"$schema": "./node_modules/@stryker-mutator/core/schema/stryker-schema.json", | ||
"packageManager": "npm", | ||
"packageManager": "pnpm", | ||
"plugins": ["@stryker-mutator/mocha-runner", "@stryker-mutator/typescript-checker"], | ||
"reporters": [ | ||
@@ -8,3 +9,3 @@ "html", | ||
], | ||
"buildCommand": "npm run build", | ||
"buildCommand": "turbo build", | ||
"testRunner": "mocha", | ||
@@ -11,0 +12,0 @@ "checkers": ["typescript"], |
164530
22
15
1636