Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@verdaccio/types

Package Overview
Dependencies
Maintainers
4
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@verdaccio/types - npm Package Compare versions

Comparing version 10.4.2 to 10.5.0

build/types.d.ts

20

package.json
{
"name": "@verdaccio/types",
"version": "10.4.2",
"version": "10.5.0",
"description": "verdaccio types definitions",

@@ -13,2 +13,5 @@ "keywords": [

"homepage": "https://verdaccio.org",
"files": [
"./build"
],
"repository": {

@@ -25,6 +28,9 @@ "type": "git",

},
"main": "index.d.ts",
"types": "index.d.ts",
"main": "build/types.d.ts",
"types": "build/types.d.ts",
"devDependencies": {
"@types/node": "14.18.0"
"@types/node": "12.12.6",
"typedoc": "^0.22.17",
"typedoc-plugin-missing-exports": "^0.22.6",
"typedoc-umlclass": "^0.6.1"
},

@@ -36,6 +42,8 @@ "funding": {

"scripts": {
"clean": "rimraf ./build",
"test": "exit 0",
"build": "exit 0"
"build": "tsc --emitDeclarationOnly -p tsconfig.json",
"docs": "typedoc --options ./typedoc.json --excludeExternals"
},
"readme": "# Typescript types for Verdaccio\n\nTypescript definitions for verdaccio plugins and internal code\n\n# Typescript\nFor usage with the library, the `tsconfig.json` should looks like this.\n\n```\n//tsconfig.json\n{\n \"compilerOptions\": {\n \"target\": \"esnext\",\n \"module\": \"commonjs\",\n \"declaration\": true,\n \"noImplicitAny\": false,\n \"strict\": true,\n \"outDir\": \"lib\",\n \"allowSyntheticDefaultImports\": true,\n \"esModuleInterop\": true,\n \"typeRoots\": [\n \"./node_modules/@verdaccio/types/lib/verdaccio\",\n \"./node_modules/@types\"\n ]\n },\n \"include\": [\n \"src/*.ts\",\n \"types/*.d.ts\"\n ]\n}\n```\n\n### Imports\n\n```\nimport type {ILocalData, LocalStorage, Logger, Config} from '@verdaccio/types';\n\n class LocalData implements ILocalData {\n\n path: string;\n logger: Logger;\n data: LocalStorage;\n config: Config;\n locked: boolean;\n ...\n}\n```\n\n\n"
"readme": "# Typescript types\n\nTypescript definitions for verdaccio plugins and internal code\n\n## Usage\n\nFor usage with the library, the `tsconfig.json` should looks like this.\n\n```\n//tsconfig.json\n{\n \"compilerOptions\": {\n \"target\": \"esnext\",\n \"module\": \"commonjs\",\n \"declaration\": true,\n \"noImplicitAny\": false,\n \"strict\": true,\n \"outDir\": \"lib\",\n \"allowSyntheticDefaultImports\": true,\n \"esModuleInterop\": true,\n \"typeRoots\": [\n \"./node_modules/@verdaccio/types/lib/verdaccio\",\n \"./node_modules/@types\"\n ]\n },\n \"include\": [\n \"src/*.ts\",\n \"types/*.d.ts\"\n ]\n}\n```\n\n### Example\n\n```typescript\nimport type {ILocalData, LocalStorage, Logger, Config} from '@verdaccio/types';\n\n class LocalData implements ILocalData {\n\n path: string;\n logger: Logger;\n data: LocalStorage;\n config: Config;\n locked: boolean;\n ...\n}\n```\n\n#### Plugins\n"
}

@@ -1,6 +0,7 @@

# Typescript types for Verdaccio
# Typescript types
Typescript definitions for verdaccio plugins and internal code
# Typescript
## Usage
For usage with the library, the `tsconfig.json` should looks like this.

@@ -32,5 +33,5 @@

### Imports
### Example
```
```typescript
import type {ILocalData, LocalStorage, Logger, Config} from '@verdaccio/types';

@@ -49,2 +50,2 @@

#### Plugins
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc