@ts-type/package-dts
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -6,2 +6,30 @@ # Change Log | ||
## [2.0.6](https://github.com/bluelovers/ws-ts-type/compare/@ts-type/package-dts@2.0.5...@ts-type/package-dts@2.0.6) (2022-10-10) | ||
### ✨ Features | ||
* update `exports` ([1b6d0af](https://github.com/bluelovers/ws-ts-type/commit/1b6d0affeb98d3a4ee32ab605481022a9fdd4a03)) | ||
### 🛠 Build System | ||
* update typescript ([eb59d89](https://github.com/bluelovers/ws-ts-type/commit/eb59d897c2888c7a45406ffcad4b9033608b0b66)) | ||
* **schema:** update schema ([4c2bea8](https://github.com/bluelovers/ws-ts-type/commit/4c2bea8b2c52d3602d8fbbc20fae8d6fd8dfed4f)) | ||
### 📌 Dependencies | ||
* update deps ([ab5f3e4](https://github.com/bluelovers/ws-ts-type/commit/ab5f3e48da1f10ddd4445ba6dda9a0a68c5f656f)) | ||
### 🔖 Miscellaneous | ||
* . ([6f3d921](https://github.com/bluelovers/ws-ts-type/commit/6f3d92130961bd99365dc297c7cf4644e32d3c7d)) | ||
* . ([ed63e32](https://github.com/bluelovers/ws-ts-type/commit/ed63e326e593f2aac0258db1c6cf15db3d73d943)) | ||
* . ([9219017](https://github.com/bluelovers/ws-ts-type/commit/92190178fcf30f881c1d0d36fb141a3394ab3b38)) | ||
## [2.0.5](https://github.com/bluelovers/ws-ts-type/compare/@ts-type/package-dts@2.0.4...@ts-type/package-dts@2.0.5) (2022-08-10) | ||
@@ -8,0 +36,0 @@ |
@@ -5,3 +5,3 @@ /** | ||
import { JSONSchemaForESLintConfigurationFiles, Rule } from './types/eslintrc.json'; | ||
export declare type ILibEslint = typeof import('./types/eslintrc.json'); | ||
export type ILibEslint = typeof import('./types/eslintrc.json'); | ||
export declare const enum EnumRule { | ||
@@ -12,4 +12,4 @@ off = "off", | ||
} | ||
export declare type IRule = Rule | EnumRule; | ||
export declare type IEslintrcJson = JSONSchemaForESLintConfigurationFiles & { | ||
export type IRule = Rule | EnumRule; | ||
export type IEslintrcJson = JSONSchemaForESLintConfigurationFiles & { | ||
parser?: string | '@typescript-eslint/parser'; | ||
@@ -16,0 +16,0 @@ extends?: (string | 'plugin:@typescript-eslint/recommended' | 'bluelovers')[]; |
@@ -11,4 +11,4 @@ /** | ||
export type { IReleaseType }; | ||
declare type _Command = AJSONSchemaForLernaJsonFiles["command"]; | ||
declare type _MergeCommand<T extends Record<string, Record<string, any>>> = { | ||
type _Command = AJSONSchemaForLernaJsonFiles["command"]; | ||
type _MergeCommand<T extends Record<string, Record<string, any>>> = { | ||
[P in keyof (T & _Command)]?: (P extends keyof _Command ? P extends keyof T ? ITSMergeBoth<_Command[P], T[P]> : _Command[P] : T[P]); | ||
@@ -15,0 +15,0 @@ }; |
@@ -1,1 +0,1 @@ | ||
export declare type INpmClient = string | 'npm' | 'yarn' | 'lerna'; | ||
export type INpmClient = string | 'npm' | 'yarn' | 'lerna'; |
@@ -7,8 +7,8 @@ /** | ||
import { ITSArrayListMaybeReadonly } from 'ts-type/lib/type/base'; | ||
import { ITSValueOfArray, ITSValueOfRecord } from 'ts-type/lib/helper'; | ||
import { ITSValueOf, ITSValueOfArray } from 'ts-type/lib/helper/key-value'; | ||
import { ITSTypeAndStringLiteral } from 'ts-type/lib/helper/string'; | ||
export declare type IDependency<T extends ITSArrayListMaybeReadonly<string> = string[]> = Record<ITSValueOfArray<T>, IVersionValue>; | ||
export type IDependency<T extends ITSArrayListMaybeReadonly<string> | string = string[]> = Record<T extends string ? T : T extends ITSArrayListMaybeReadonly<string> ? ITSValueOfArray<T> : never, IVersionValue>; | ||
export type { IDependency as IPackageMap }; | ||
export type { IDependency as IDependencies }; | ||
export declare type IVersionValue = ITSTypeAndStringLiteral<EnumVersionValue.latest> | ITSTypeAndStringLiteral<EnumVersionValue2> | string; | ||
export type IVersionValue = ITSTypeAndStringLiteral<EnumVersionValue.latest> | ITSTypeAndStringLiteral<EnumVersionValue2> | string; | ||
export declare enum EnumVersionValue { | ||
@@ -30,3 +30,3 @@ 'major' = "major", | ||
} | ||
export declare type IPackageJsonDependenciesField = 'dependencies' | 'devDependencies' | 'peerDependencies' | 'optionalDependencies'; | ||
export type IPackageJsonDependenciesField = 'dependencies' | 'devDependencies' | 'peerDependencies' | 'optionalDependencies'; | ||
declare const packageJsonDependenciesFields: readonly ["dependencies", "devDependencies", "peerDependencies", "optionalDependencies"]; | ||
@@ -49,3 +49,3 @@ export { packageJsonDependenciesFields }; | ||
} | ||
export declare type IPackageJsonTag = string | ITSTypeAndStringLiteral<Exclude<ITSValueOfRecord<typeof EnumVersionValue2>, EnumVersionValue2.any>>; | ||
export type IPackageJsonTag = string | ITSTypeAndStringLiteral<Exclude<ITSValueOf<typeof EnumVersionValue2>, EnumVersionValue2.any>>; | ||
export type { IReleaseType }; |
@@ -1,2 +0,2 @@ | ||
export declare type IBooleanString = "true" | "false"; | ||
export declare type IBranch = string | "master" | "canary"; | ||
export type IBooleanString = "true" | "false"; | ||
export type IBranch = string | "master" | "canary" | "main"; |
/** | ||
* Created by user on 2019/5/18. | ||
*/ | ||
import type { JSONSchemaForNPMPackageJsonFiles as CoreProperties } from './types/package.json'; | ||
import type { IPackageJsonDependenciesField, IDependency } from './lib/package-json/types'; | ||
import type { JSONSchemaForNPMPackageJsonFiles2 as CoreProperties } from './types/package.json'; | ||
import type { IDependency, IPackageJsonDependenciesField } from './lib/package-json/types'; | ||
import type { ITSOverwrite } from 'ts-type/lib/type/record'; | ||
@@ -11,11 +11,12 @@ import { IPackageJsonExtendYarn } from './lib/package-json/yarn'; | ||
import { _IPackageJsonCore } from './lib/package-json/extend'; | ||
import { IPackageJsonExports } from './lib/package-json/exports'; | ||
export { EnumVersionValue2 } from './lib/package-json/types'; | ||
export * from './lib/package-json/types'; | ||
export declare type ILibPackageJson = typeof import('./types/package.json'); | ||
export type ILibPackageJson = typeof import('./types/package.json'); | ||
/** | ||
* @example IPackageJson<unknown> | ||
*/ | ||
export interface IPackageJson<T = any> extends ITSOverwrite<ITSOmitIndexSignatures<CoreProperties>, _IPackageJsonCore & ITSPartialRecord<IPackageJsonDependenciesField, IDependency> & IPackageJsonExtendYarn> { | ||
export interface IPackageJson<T = unknown> extends ITSOverwrite<ITSOmitIndexSignatures<CoreProperties>, _IPackageJsonCore & ITSPartialRecord<IPackageJsonDependenciesField, IDependency> & IPackageJsonExtendYarn & IPackageJsonExports> { | ||
[k: string]: T; | ||
} | ||
export default IPackageJson; |
{ | ||
"name": "@ts-type/package-dts", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"private": false, | ||
@@ -41,3 +41,4 @@ "description": "A Typescript type definition for NPM package json", | ||
"type": "git", | ||
"url": "git+https://github.com/bluelovers/ws-ts-type.git" | ||
"url": "git+https://github.com/bluelovers/ws-ts-type.git", | ||
"directory": "packages/package-dts" | ||
}, | ||
@@ -55,2 +56,6 @@ "license": "ISC", | ||
"test": "yarn run ts:check", | ||
"test:jest": "jest --passWithNoTests", | ||
"test:jest:snapshot": "yarn run test:jest -- -u", | ||
"test:snapshot": "yarn run test -- -u", | ||
"test:tsd": "ynpx tsd", | ||
"posttest": "git commit -m \"build(schema): update schema\" ./types ./schema & echo posttest", | ||
@@ -66,16 +71,9 @@ "build": "yarn run update:schema", | ||
"dependencies": { | ||
"@types/semver": "^7.3.11", | ||
"ts-type": "^2.1.10" | ||
"@types/semver": "^7.3.12", | ||
"ts-type": "^3.0.1" | ||
}, | ||
"devDependencies": { | ||
"axios": "^0.27.2", | ||
"bluebird": "^3.7.2", | ||
"dot-values2": "^2.0.6", | ||
"fs-extra": "^10.1.0", | ||
"json-schema-to-typescript": "^11.0.2" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"gitHead": "39049cae0123305c59b08c33069075b99411f4f4", | ||
"gitHead": "fa34eea119b9bcbb363061ddffcfe9d78c2d0ddd", | ||
"sharedDependencies": { | ||
@@ -82,0 +80,0 @@ "eslint-config-bluelovers": "latest" |
@@ -497,2 +497,3 @@ { | ||
"redis", | ||
"redis-server", | ||
"rethinkdb", | ||
@@ -499,0 +500,0 @@ "riak", |
@@ -5,4 +5,4 @@ /** | ||
import { JSONSchemaForTravisCIConfigurationFiles } from './types/travis.json'; | ||
export declare type ILibCore = typeof import('./types/travis.json'); | ||
export declare type ITravisCI = JSONSchemaForTravisCIConfigurationFiles & {}; | ||
export type ILibCore = typeof import('./types/travis.json'); | ||
export type ITravisCI = JSONSchemaForTravisCIConfigurationFiles & {}; | ||
export default ITravisCI; |
@@ -5,4 +5,4 @@ /** | ||
import { JSONSchemaForTheTypeScriptCompilerSConfigurationFile } from './types/tsconfig.json'; | ||
export declare type ILibCore = typeof import('./types/tsconfig.json'); | ||
export declare type ITsconfig = JSONSchemaForTheTypeScriptCompilerSConfigurationFile & {}; | ||
export type ILibCore = typeof import('./types/tsconfig.json'); | ||
export type ITsconfig = JSONSchemaForTheTypeScriptCompilerSConfigurationFile & {}; | ||
export default ITsconfig; |
@@ -143,2 +143,3 @@ /* tslint:disable */ | ||
| "redis" | ||
| "redis-server" | ||
| "rethinkdb" | ||
@@ -145,0 +146,0 @@ | "riak" |
@@ -449,2 +449,3 @@ /* tslint:disable */ | ||
| "ES2019.Array" | ||
| "ES2019.Intl" | ||
| "ES2019.Object" | ||
@@ -530,2 +531,6 @@ | "ES2019.String" | ||
/** | ||
* Specify how TypeScript determine a file as module. | ||
*/ | ||
moduleDetection?: "auto" | "legacy" | "force"; | ||
/** | ||
* When type checking, take into account `null` and `undefined`. | ||
@@ -532,0 +537,0 @@ */ |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
0
58
994893
7824
2
+ Addedts-type@3.0.1(transitive)
- Removed@types/bluebird@3.5.42(transitive)
- Removedts-type@2.1.10(transitive)
Updated@types/semver@^7.3.12
Updatedts-type@^3.0.1