@types/git-revision-webpack-plugin
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -11,8 +11,8 @@ // Type definitions for git-revision-webpack-plugin 3.0 | ||
interface Options { | ||
lightweightTags?: boolean; | ||
branch?: boolean; | ||
commithashCommand?: string; | ||
versionCommand?: string; | ||
branchCommand?: string; | ||
gitWorkTree?: string; | ||
lightweightTags?: boolean | undefined; | ||
branch?: boolean | undefined; | ||
commithashCommand?: string | undefined; | ||
versionCommand?: string | undefined; | ||
branchCommand?: string | undefined; | ||
gitWorkTree?: string | undefined; | ||
} | ||
@@ -19,0 +19,0 @@ } |
{ | ||
"name": "@types/git-revision-webpack-plugin", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "TypeScript definitions for git-revision-webpack-plugin", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-revision-webpack-plugin", | ||
"license": "MIT", | ||
@@ -24,4 +25,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "cfd3ac31fc2dde054cf74943befddda192e33424145f1e3c88ba7a2f21f42be7", | ||
"typesPublisherContentHash": "4b4b0c4518d02e52f645a93a0edeaf8b39aeebcf0a610cc8e0181b8e6e0551a8", | ||
"typeScriptVersion": "3.7" | ||
} |
@@ -9,5 +9,37 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-revision-webpack-plugin. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-revision-webpack-plugin/index.d.ts) | ||
````ts | ||
// Type definitions for git-revision-webpack-plugin 3.0 | ||
// Project: https://github.com/pirelenito/git-revision-webpack-plugin | ||
// Definitions by: Anders Kaseorg <https://github.com/andersk> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 3.7 | ||
import { Compiler, WebpackPluginInstance } from 'webpack'; | ||
declare namespace GitRevisionPlugin { | ||
interface Options { | ||
lightweightTags?: boolean | undefined; | ||
branch?: boolean | undefined; | ||
commithashCommand?: string | undefined; | ||
versionCommand?: string | undefined; | ||
branchCommand?: string | undefined; | ||
gitWorkTree?: string | undefined; | ||
} | ||
} | ||
declare class GitRevisionPlugin implements WebpackPluginInstance { | ||
constructor(options?: GitRevisionPlugin.Options); | ||
apply(compiler: Compiler): void; | ||
version(): string; | ||
commithash(): string; | ||
branch(): string; | ||
} | ||
export = GitRevisionPlugin; | ||
```` | ||
### Additional Details | ||
* Last updated: Thu, 25 Mar 2021 20:31:57 GMT | ||
* Last updated: Thu, 08 Jul 2021 12:02:08 GMT | ||
* Dependencies: [@types/webpack](https://npmjs.com/package/@types/webpack) | ||
@@ -14,0 +46,0 @@ * Global values: none |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4690
0
49