Skip to content

Commit

Permalink
fix: resolve issues with genversion and api-extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgoss committed Jan 7, 2024
1 parent 2bf51c0 commit 8fcde54
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
Please see [CONTRIBUTING.md](./CONTRIBUTING.md) on how to contribute to Cucumber.

## [Unreleased]
### Fixed
- Resolve release process issues

## [10.2.0] - 2024-01-07
### Changed
Expand Down
2 changes: 1 addition & 1 deletion exports/root/report.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ export class UsageJsonFormatter extends Formatter {
}

// @public (undocumented)
export const version = "10.1.0";
export const version: string;

// @public (undocumented)
export const When: IDefineStep_2;
Expand Down
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@ import { default as _PickleFilter } from './pickle_filter'
import * as parallelCanAssignHelpers from './support_code_library_builder/parallel_can_assign_helpers'
import { default as _Runtime } from './runtime'
import supportCodeLibraryBuilder from './support_code_library_builder'
import { version as _version } from './version'

// type version as string to avoid tripping api-extractor every release
export const version = _version as string

// Top level
export { default as supportCodeLibraryBuilder } from './support_code_library_builder'
export { default as DataTable } from './models/data_table'
export { default as TestCaseHookDefinition } from './models/test_case_hook_definition'
export { version } from './version'

// Formatters
export { default as Formatter, IFormatterOptions } from './formatter'
Expand Down
3 changes: 2 additions & 1 deletion src/wrapper.mjs
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import cucumber from './index.js'

export const version = cucumber.version

export const supportCodeLibraryBuilder = cucumber.supportCodeLibraryBuilder
export const Status = cucumber.Status
export const DataTable = cucumber.DataTable
export const TestCaseHookDefinition = cucumber.TestCaseHookDefinition
export const version = cucumber.version

export const Formatter = cucumber.Formatter
export const FormatterBuilder = cucumber.FormatterBuilder
Expand Down

0 comments on commit 8fcde54

Please sign in to comment.