From d53c55ab602095a2c99c3bae4f9e7eb80425ca72 Mon Sep 17 00:00:00 2001 From: Henry Date: Fri, 22 Nov 2024 01:22:33 -0800 Subject: [PATCH] Add missing exports for build --- navigator-html-injectables/CHANGELOG.MD | 6 ++++++ navigator-html-injectables/package.json | 2 +- navigator-html-injectables/src/modules/index.ts | 1 + navigator/CHANGELOG.MD | 6 ++++++ navigator/package.json | 2 +- navigator/src/helpers/index.ts | 1 + navigator/src/index.ts | 3 ++- shared/CHANGELOG.MD | 12 ++++++++++++ shared/package.json | 2 +- shared/src/fetcher/index.ts | 3 ++- shared/src/publication/index.ts | 1 + 11 files changed, 34 insertions(+), 5 deletions(-) create mode 100644 navigator/src/helpers/index.ts create mode 100644 shared/CHANGELOG.MD diff --git a/navigator-html-injectables/CHANGELOG.MD b/navigator-html-injectables/CHANGELOG.MD index 32b4470..4e35841 100644 --- a/navigator-html-injectables/CHANGELOG.MD +++ b/navigator-html-injectables/CHANGELOG.MD @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.3.2] - 2024-11-22 + +### Fixed + +- Export of `Decorator` was missing in build, preventing its usage + ## [1.3.1] - 2024-11-22 ### Fixed diff --git a/navigator-html-injectables/package.json b/navigator-html-injectables/package.json index 31039af..6b91bd5 100644 --- a/navigator-html-injectables/package.json +++ b/navigator-html-injectables/package.json @@ -1,6 +1,6 @@ { "name": "@readium/navigator-html-injectables", - "version": "1.3.1", + "version": "1.3.2", "type": "module", "description": "An embeddable solution for connecting frames of HTML publications with a Readium Navigator", "author": "readium", diff --git a/navigator-html-injectables/src/modules/index.ts b/navigator-html-injectables/src/modules/index.ts index 7075e17..311bafd 100644 --- a/navigator-html-injectables/src/modules/index.ts +++ b/navigator-html-injectables/src/modules/index.ts @@ -1,3 +1,4 @@ +export * from './Decorator'; export * from './Module'; export * from './ModuleLibrary'; export * from './Peripherals'; \ No newline at end of file diff --git a/navigator/CHANGELOG.MD b/navigator/CHANGELOG.MD index de178bc..1b895e0 100644 --- a/navigator/CHANGELOG.MD +++ b/navigator/CHANGELOG.MD @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.3.2] - 2024-11-22 + +### Added + +- Export of `sML` utility is now exposed for User Agent sniffing + ## [1.3.1] - 2024-11-22 ### Fixed diff --git a/navigator/package.json b/navigator/package.json index d7d0533..b2fb79d 100644 --- a/navigator/package.json +++ b/navigator/package.json @@ -1,6 +1,6 @@ { "name": "@readium/navigator", - "version": "1.3.1", + "version": "1.3.2", "type": "module", "description": "Next generation SDK for publications in Web Apps", "author": "readium", diff --git a/navigator/src/helpers/index.ts b/navigator/src/helpers/index.ts new file mode 100644 index 0000000..e6c0fa2 --- /dev/null +++ b/navigator/src/helpers/index.ts @@ -0,0 +1 @@ +export * from './sML'; \ No newline at end of file diff --git a/navigator/src/index.ts b/navigator/src/index.ts index db4defc..c87af6f 100644 --- a/navigator/src/index.ts +++ b/navigator/src/index.ts @@ -1,3 +1,4 @@ export * from './Navigator'; export * from './epub'; -export * from './audio'; \ No newline at end of file +export * from './audio'; +export * from './helpers'; \ No newline at end of file diff --git a/shared/CHANGELOG.MD b/shared/CHANGELOG.MD new file mode 100644 index 0000000..ce10a96 --- /dev/null +++ b/shared/CHANGELOG.MD @@ -0,0 +1,12 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [1.2.1] - 2024-11-22 + +### Fixed + +- Export of `Resource` and `services` folder was missing in build, preventing usage of `Resource`, `ContentTokenizer`, `Tokenizer`, `Iterator`, etc. \ No newline at end of file diff --git a/shared/package.json b/shared/package.json index 04b0739..3e71391 100644 --- a/shared/package.json +++ b/shared/package.json @@ -1,6 +1,6 @@ { "name": "@readium/shared", - "version": "1.2.0", + "version": "1.2.1", "type": "module", "description": "Shared models to be used across other Readium projects and implementations in Typescript", "author": "readium", diff --git a/shared/src/fetcher/index.ts b/shared/src/fetcher/index.ts index 253e3c3..0887914 100644 --- a/shared/src/fetcher/index.ts +++ b/shared/src/fetcher/index.ts @@ -1,2 +1,3 @@ export * from './Fetcher'; -export * from "./HttpFetcher"; \ No newline at end of file +export * from './HttpFetcher'; +export * from './Resource'; \ No newline at end of file diff --git a/shared/src/publication/index.ts b/shared/src/publication/index.ts index 595851d..f0fdc66 100644 --- a/shared/src/publication/index.ts +++ b/shared/src/publication/index.ts @@ -3,6 +3,7 @@ export * from './epub'; export * from './html'; export * from './opds'; export * from './presentation'; +export * from './services'; export * from './BelongsTo'; export * from './Contributor'; export * from './Link';