(internal): fix typings in scripts files
This commit is contained in:
parent
6ef2bd3a6c
commit
190d19037b
2 changed files with 14 additions and 1 deletions
13
@types/lerna-changelog.d.ts
vendored
Normal file
13
@types/lerna-changelog.d.ts
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
// import { Changelog } from ''
|
||||
// import { load } from 'lerna-changelog/lib/configuration.js'
|
||||
|
||||
declare module 'lerna-changelog' {
|
||||
class Changelog {
|
||||
constructor(options: any)
|
||||
createMarkdown: (options: { tagFrom: string }) => Promise<string>
|
||||
}
|
||||
}
|
||||
|
||||
declare module 'lerna-changelog/lib/configuration.js' {
|
||||
var load: (options: { nextVersionFromMetadata: boolean }) => any
|
||||
}
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
"create": "node --loader ts-node/esm ./scripts/generateSubPackage.ts",
|
||||
"backport": "node --loader ts-node/esm ./scripts/backport.ts",
|
||||
"build": "run-s clean:build generate compile copy",
|
||||
"changelog": "node --loader ts-node/esm ./scripts/changelog.js",
|
||||
"changelog": "node --loader ts-node/esm ./scripts/changelog.ts",
|
||||
"ci": "run-s setup test test:e2e",
|
||||
"clean": "run-p clean:*",
|
||||
"clean:build": "rimraf --glob ./packages/*/build",
|
||||
|
|
|
|||
Loading…
Reference in a new issue