@waiting/shared-types
Advanced tools
Comparing version 21.3.1 to 21.4.0
@@ -6,2 +6,3 @@ /** | ||
*/ | ||
import { DateISOString } from './alias.js'; | ||
export interface NpmPkg { | ||
@@ -40,2 +41,61 @@ name: string; | ||
} | ||
export interface NpmPkgDist { | ||
integrity: string; | ||
shasum: string; | ||
tarball: string; | ||
fileCount?: number; | ||
unpackedSize?: number; | ||
signatures?: { | ||
keyid: string; | ||
sig: string; | ||
}; | ||
} | ||
export interface NpmPkgView { | ||
access?: 'public' | 'private'; | ||
author?: string; | ||
bin?: Record<string, string>; | ||
bugs?: Record<string, string>; | ||
bundleDependencies?: string[]; | ||
dependencies?: Record<string, string>; | ||
devDependencies?: Record<string, string>; | ||
description?: string; | ||
directories?: Record<string, string>; | ||
dist: NpmPkgDist; | ||
engines?: Record<string, string>; | ||
exports?: Record<string, string | Record<string, string>>; | ||
files?: string[]; | ||
gitHead?: string; | ||
homepage?: string; | ||
keywords?: string[]; | ||
license?: string; | ||
main: string; | ||
maintainers?: (NpmPkgPersion | string)[]; | ||
name: string; | ||
'dist-tags': { | ||
latest: string; | ||
[name: string]: string; | ||
}; | ||
private: boolean; | ||
readme: string; | ||
readmeFilename: string; | ||
repository?: { | ||
type: string; | ||
url: string; | ||
directory?: string; | ||
}; | ||
scripts?: Record<string, string>; | ||
time: Record<string, DateISOString>; | ||
type?: 'module' | 'commonjs' | 'bundle'; | ||
types?: string; | ||
users?: Record<string, boolean>; | ||
version: string; | ||
versions: string[]; | ||
workspaces?: string[]; | ||
_id: string; | ||
_contentLength: number; | ||
_hasShrinkwrap?: boolean; | ||
_nodeVersion: string; | ||
_npmVersion: string; | ||
[key: string]: any; | ||
} | ||
export interface NpmPkgPublishConfig { | ||
@@ -42,0 +102,0 @@ access: boolean; |
{ | ||
"name": "@waiting/shared-types", | ||
"author": "waiting", | ||
"version": "21.3.1", | ||
"version": "21.4.0", | ||
"description": "shared typescript types", | ||
@@ -63,3 +63,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "d729a79f3f79b3c3c277f409778529f30f22e044" | ||
"gitHead": "d476bfcf99440b8edcaa6320aff4c481f6a56ef9" | ||
} |
@@ -7,2 +7,4 @@ /** | ||
import { DateISOString } from './alias.js' | ||
/* eslint-disable @typescript-eslint/no-explicit-any */ | ||
@@ -43,2 +45,63 @@ export interface NpmPkg { | ||
export interface NpmPkgDist { | ||
integrity: string | ||
shasum: string | ||
tarball: string | ||
fileCount?: number | ||
unpackedSize?: number | ||
signatures?: { | ||
keyid: string, | ||
sig: string, | ||
} | ||
} | ||
export interface NpmPkgView { | ||
access?: 'public' | 'private' | ||
author?: string | ||
bin?: Record<string, string> | ||
bugs?: Record<string, string> | ||
bundleDependencies?: string[] | ||
dependencies?: Record<string, string> | ||
devDependencies?: Record<string, string> | ||
description?: string | ||
directories?: Record<string, string> | ||
dist: NpmPkgDist | ||
engines?: Record<string, string> | ||
exports?: Record<string, string | Record<string, string>> | ||
files?: string[] | ||
gitHead?: string | ||
homepage?: string | ||
keywords?: string[] | ||
license?: string | ||
main: string | ||
maintainers?: (NpmPkgPersion | string)[] | ||
name: string | ||
'dist-tags': { | ||
latest: string, | ||
[name: string]: string, | ||
} | ||
private: boolean | ||
readme: string | ||
readmeFilename: string | ||
repository?: { | ||
type: string, | ||
url: string, | ||
directory?: string, | ||
} | ||
scripts?: Record<string, string> | ||
time: Record<string, DateISOString> | ||
type?: 'module' | 'commonjs' | 'bundle' | ||
types?: string | ||
users?: Record<string, boolean> | ||
version: string | ||
versions: string[] | ||
workspaces?: string[] | ||
_id: string | ||
_contentLength: number | ||
_hasShrinkwrap?: boolean | ||
_nodeVersion: string | ||
_npmVersion: string | ||
[key: string]: any | ||
} | ||
export interface NpmPkgPublishConfig { | ||
@@ -45,0 +108,0 @@ access: boolean |
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
95214
1352