-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: introduce customTypings injection
closes #25
- Loading branch information
1 parent
8f1b2a8
commit 68005d0
Showing
10 changed files
with
966 additions
and
941 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
declare module '@qiwi/libdefkitfake' { | ||
export const foo: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "@qiwi/libdefkit", | ||
"version": "3.0.0", | ||
"private": false, | ||
"description": "Util toolset to produce single-file TS and Flow libdefs for Qiwi OSS projects", | ||
"description": "Util toolset to produce single-file TS and Flow libdefs", | ||
"source": "src/main/ts/index.ts", | ||
"bin": { | ||
"libdefkit": "./target/es5/cli.js" | ||
|
@@ -28,7 +28,7 @@ | |
"test:unit": "mkdirp src/test/temp && jest --config=jest.config.json --runInBand", | ||
"test:deps": "npm-run-all -p -l test:depcheck test:depauditfix", | ||
"test:depcheck": "npm_config_yes=true npx depcheck --ignores tslib,@swissquote/crafty-preset-jest,@types/jest,flowgen,@qiwi/dts-bundle,esm,eslint-config-*", | ||
"test:depaudit": "yarn audit --level=moderate; [[ $? -ge 4 ]] && exit 1 || exit 0", | ||
"test:depaudit": "yarn audit --level=moderate --groups=dependencies; [[ $? -ge 4 ]] && exit 1 || exit 0", | ||
"test:depauditfix": "npm_config_yes=true npx yarn-audit-fix --audit-level=moderate", | ||
"clean": "rimraf target typings flow-typed", | ||
"build": "npm-run-all -p -l build:es5 build:es6 build:ts docs build:fix && yarn build:libdef", | ||
|
@@ -59,38 +59,39 @@ | |
}, | ||
"homepage": "https://github.com/qiwi/libdefkit#readme", | ||
"dependencies": { | ||
"@types/find-cache-dir": "^3.2.0", | ||
"@types/fs-extra": "^9.0.11", | ||
"chalk": "^4.1.1", | ||
"@qiwi/dts-bundle": "^0.7.5", | ||
"@types/find-cache-dir": "^3.2.1", | ||
"@types/fs-extra": "^9.0.12", | ||
"chalk": "^4.1.1", | ||
"find-cache-dir": "^3.3.1", | ||
"find-up": "^5.0.0", | ||
"flowgen": "1.14.1", | ||
"fs-extra": "^10.0.0", | ||
"tslib": "^2.2.0", | ||
"meow": "^10.0.0", | ||
"pkg-dir": "^5.0.0" | ||
"globby": "^11.0.4", | ||
"meow": "^10.1.0", | ||
"pkg-dir": "^5.0.0", | ||
"tslib": "^2.3.0" | ||
}, | ||
"devDependencies": { | ||
"@types/yargs-parser": "^20.2.0", | ||
"yargs-parser": "^20.2.7", | ||
"@qiwi/npm-run-all": "^4.1.7", | ||
"@types/jest": "^26.0.23", | ||
"coveralls": "^3.1.0", | ||
"@types/jest": "^26.0.24", | ||
"@types/yargs-parser": "^20.2.1", | ||
"coveralls": "^3.1.1", | ||
"cpy-cli": "^3.1.1", | ||
"eslint": "^7.28.0", | ||
"eslint": "^7.31.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-config-qiwi": "^1.13.0", | ||
"jest": "^27.0.4", | ||
"eslint-config-qiwi": "^1.13.2", | ||
"jest": "^27.0.6", | ||
"prettier": "^2.3.2", | ||
"prettier-config-qiwi": "^1.4.2", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^27.0.3", | ||
"typedoc": "^0.20.36", | ||
"typescript": "^4.3.2", | ||
"prettier": "^2.3.1", | ||
"prettier-config-qiwi": "^1.4.1" | ||
"ts-jest": "^27.0.4", | ||
"typedoc": "^0.21.4", | ||
"typescript": "^4.3.5", | ||
"yargs-parser": "^20.2.9" | ||
}, | ||
"prettier": "prettier-config-qiwi", | ||
"author": "QIWI <orensource@qiwi.com>", | ||
"author": "QIWI <opensource@qiwi.com>", | ||
"contributors": [ | ||
"Anton Golub <[email protected]>" | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.