- upate imports
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
import {Extractor, Regex, Rule, Sort, Transformer} from 'github-pr-collector/lib/configuration'
|
import {Rule, Extractor, Regex, Transformer, Sort, PullConfiguration} from 'github-pr-collector/lib/types'
|
||||||
import {PullConfiguration} from 'github-pr-collector/lib/types'
|
|
||||||
|
|
||||||
export interface Configuration extends PullConfiguration {
|
export interface Configuration extends PullConfiguration {
|
||||||
max_tags_to_fetch: number
|
max_tags_to_fetch: number
|
||||||
|
|||||||
+1
-2
@@ -1,8 +1,7 @@
|
|||||||
import * as core from '@actions/core'
|
import * as core from '@actions/core'
|
||||||
import {Rule} from 'github-pr-collector/lib/configuration'
|
import {Rule, RegexTransformer} from 'github-pr-collector/lib/types'
|
||||||
import {PullRequestInfo, retrieveProperty} from 'github-pr-collector/lib/pullRequests'
|
import {PullRequestInfo, retrieveProperty} from 'github-pr-collector/lib/pullRequests'
|
||||||
import {validateTransformer} from 'github-pr-collector/lib/regexUtils'
|
import {validateTransformer} from 'github-pr-collector/lib/regexUtils'
|
||||||
import {RegexTransformer} from 'github-pr-collector/lib/types'
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if any of the rules match the given PR
|
* Checks if any of the rules match the given PR
|
||||||
|
|||||||
+1
-2
@@ -4,10 +4,9 @@ import {createOrSet, haveCommonElementsArr, haveEveryElementsArr} from './utils'
|
|||||||
import {CommentInfo, EMPTY_COMMENT_INFO, PullRequestInfo, retrieveProperty, sortPullRequests} from 'github-pr-collector/lib/pullRequests'
|
import {CommentInfo, EMPTY_COMMENT_INFO, PullRequestInfo, retrieveProperty, sortPullRequests} from 'github-pr-collector/lib/pullRequests'
|
||||||
import {DiffInfo} from 'github-pr-collector/lib/commits'
|
import {DiffInfo} from 'github-pr-collector/lib/commits'
|
||||||
import {validateTransformer} from 'github-pr-collector/lib/regexUtils'
|
import {validateTransformer} from 'github-pr-collector/lib/regexUtils'
|
||||||
import {Transformer} from 'github-pr-collector/lib/configuration'
|
import {Transformer, RegexTransformer} from 'github-pr-collector/lib/types'
|
||||||
import {ReleaseNotesOptions} from './releaseNotesBuilder'
|
import {ReleaseNotesOptions} from './releaseNotesBuilder'
|
||||||
import {matchesRules} from './regexUtils'
|
import {matchesRules} from './regexUtils'
|
||||||
import {RegexTransformer} from 'github-pr-collector/lib/types'
|
|
||||||
|
|
||||||
const EMPTY_MAP = new Map<string, string>()
|
const EMPTY_MAP = new Map<string, string>()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user