File tree Expand file tree Collapse file tree 4 files changed +12
-11
lines changed Expand file tree Collapse file tree 4 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 2121 "scripts" : {
2222 "test" : " npm run build && jest" ,
2323 "test:cov" : " npm run build && jest --coverage" ,
24- "build" : " rimraf ./lib && npm run lint && tsc --noEmit && pkgroll" ,
24+ "build" : " rimraf ./dist && npm run lint && tsc --noEmit && pkgroll" ,
2525 "lint" : " eslint \" ./src/**/*.{js,ts}\" --quiet --fix" ,
2626 "prepare" : " npm run build" ,
2727 "version" : " npm run format && git add -A src" ,
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { changelogTemplate } from './templates/changelog-template';
99import { ReflectionErrors } from '../errors/errors' ;
1010import { apply } from '#utils/fp' ;
1111import { filterScope } from '../reflection/filter-scope' ;
12- import { skip } from '../../index ' ;
12+ import { skip } from '../shared/utils ' ;
1313
1414export type ChangeLogPageData = {
1515 content : string ;
Original file line number Diff line number Diff line change 11import { Skip } from './types' ;
22
3+ /**
4+ * Represents a file to be skipped.
5+ */
6+ export function skip ( ) : Skip {
7+ return {
8+ _tag : 'Skip' ,
9+ } ;
10+ }
11+
312export function isSkip ( value : unknown ) : value is Skip {
413 return Object . prototype . hasOwnProperty . call ( value , '_tag' ) && ( value as Skip ) . _tag === 'Skip' ;
514}
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import type {
1414 UserDefinedOpenApiConfig ,
1515 UserDefinedChangelogConfig ,
1616} from './core/shared/types' ;
17+ import { skip } from './core/shared/utils' ;
1718import { changeLogDefaults , markdownDefaults , openApiDefaults } from './defaults' ;
1819import { process } from './node/process' ;
1920
@@ -59,15 +60,6 @@ function defineChangelogConfig(config: ConfigurableChangelogConfig): Partial<Use
5960 } ;
6061}
6162
62- /**
63- * Represents a file to be skipped.
64- */
65- function skip ( ) : Skip {
66- return {
67- _tag : 'Skip' ,
68- } ;
69- }
70-
7163export {
7264 defineMarkdownConfig ,
7365 ConfigurableMarkdownConfig ,
You can’t perform that action at this time.
0 commit comments