Skip to content

Commit

Permalink
release/0.7.2 (#100)
Browse files Browse the repository at this point in the history
* chore: update version to 0.7.2
* fix: remove type field from package json (#99)
* see: #98

---------

Signed-off-by: Casey Occhialini <1508707+littlespex@users.noreply.github.com>
  • Loading branch information
littlespex authored Aug 28, 2024
1 parent f7672d8 commit 2fbc22d
Show file tree
Hide file tree
Showing 13 changed files with 415 additions and 324 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]


## [0.7.2] - 2024-06-21

### Fix
- Cannot import library in jest tests [#98](https://github.com/streaming-video-technology-alliance/common-media-library/issues/98)


## [0.7.1] - 2024-06-21

### Fix
Expand Down Expand Up @@ -199,7 +205,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Bootstrap project [#2](https://github.com/streaming-video-technology-alliance/common-media-library/issues/2)


[Unreleased]\: https://github.com/streaming-video-technology-alliance/common-media-library/compare/v0.7.1...HEAD
[Unreleased]\: https://github.com/streaming-video-technology-alliance/common-media-library/compare/v0.7.2...HEAD
[0.7.2]\: https://github.com/streaming-video-technology-alliance/common-media-library/compare/v0.7.1...v0.7.2
[0.7.1]\: https://github.com/streaming-video-technology-alliance/common-media-library/compare/v0.7.0...v0.7.1
[0.7.0]\: https://github.com/streaming-video-technology-alliance/common-media-library/compare/v0.6.4...v0.7.0
[0.6.4]\: https://github.com/streaming-video-technology-alliance/common-media-library/compare/v0.6.3...v0.6.4
Expand Down
4 changes: 2 additions & 2 deletions dev/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@svta/common-media-library-dev",
"private": true,
"version": "0.7.1",
"version": "0.7.2",
"license": "Apache-2.0",
"type": "module",
"homepage": "https://github.com/streaming-video-technology-alliance/common-media-library",
Expand All @@ -17,6 +17,6 @@
"start": "wds --node-resolve --open --watch"
},
"devDependencies": {
"@web/dev-server": "0.4.3"
"@web/dev-server": "0.4.6"
}
}
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@svta/common-media-library-docs",
"private": true,
"version": "0.7.1",
"version": "0.7.2",
"license": "Apache-2.0",
"type": "module",
"homepage": "https://github.com/streaming-video-technology-alliance/common-media-library",
Expand Down
4 changes: 2 additions & 2 deletions lib/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@svta/common-media-library",
"version": "0.7.1",
"version": "0.7.2",
"license": "Apache-2.0",
"type": "module",
"homepage": "https://github.com/streaming-video-technology-alliance/common-media-library",
Expand Down Expand Up @@ -68,7 +68,7 @@
"scripts": {
"build": "npm run build:esm && npm run build:cjs",
"postbuild": "api-extractor run --local",
"build:esm": "node --no-warnings --loader ts-node/esm ../scripts/build.ts",
"build:esm": "node --no-warnings --loader ts-node/esm ../scripts/build.mts",
"build:cjs": "tsc --module commonjs --outDir dist/cjs",
"test": "node --no-warnings --loader ts-node/esm --test ./test/**/*.test.ts",
"prepublishOnly": "npm run build"
Expand Down
6 changes: 4 additions & 2 deletions lib/test/structuredfield/util/read.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { promises as fs } from 'node:fs';

// read json test suite
export async function read(name: string) {
const json = await import(`../../../../structured-field-tests/${name}.json`, { assert: { type: 'json' } });
return json.default;
const json = await fs.readFile(`../structured-field-tests/${name}.json`, 'utf8');
return JSON.parse(json);
}
Loading

0 comments on commit 2fbc22d

Please sign in to comment.