Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.2.1] - 2025-10-30

### Added

- Added a top level package.json (#246).

## [2.2.0] - 2025-10-30

### Changed
Expand Down Expand Up @@ -299,4 +305,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[2.1.0]: https://github.com/SolidLabResearch/miravi-a-linked-data-viewer/releases/tag/v2.1.0
[2.1.1]: https://github.com/SolidLabResearch/miravi-a-linked-data-viewer/releases/tag/v2.1.1
[2.2.0]: https://github.com/SolidLabResearch/miravi-a-linked-data-viewer/releases/tag/v2.2.0
[Unreleased]: https://github.com/SolidLabResearch/miravi-a-linked-data-viewer/compare/v2.2.0...HEAD
[2.2.1]: https://github.com/SolidLabResearch/miravi-a-linked-data-viewer/releases/tag/v2.2.1
[Unreleased]: https://github.com/SolidLabResearch/miravi-a-linked-data-viewer/compare/v2.2.1...HEAD
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ The instructions below explain when and how to use the `select-config.cjs` scrip

## Getting started

The Web application is located in directory `main`.
Go to that directory.

To install:

```bash
npm install
```

The Web application is located in directory `main`.
Go to that directory.

To select the appropriate configuration (here shown for `demo`):

```bash
Expand Down Expand Up @@ -104,12 +104,6 @@ Resources:

Go to directory `test`.

To install, execute:

```bash
npm install
```

Spin up resources:

```bash
Expand Down
1 change: 0 additions & 1 deletion main/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion main/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "miravi-a-linked-data-viewer",
"private": true,
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ function strip(obj, level = 0) {
if (level === 0 && k === 'id') {
// skip id at top level
} else if (level === 1 && k === 'datatype' && v && typeof v === 'object') {
// remove x.datatype.termType; promote x.datatype.value to x.datatype
// remove x.datatype.termType
const { termType, ...rest } = v;
result[k] = strip(rest, level + 1);
} else {
Expand Down
2 changes: 1 addition & 1 deletion main/src/version.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Maintain the version string on the development branch:
// - during development: set to (unreleased);
// - right before merging to the main branch for making a new release: set to the new release tag (see https://github.com/SolidLabResearch/miravi-a-linked-data-viewer/tags).
const version = "v2.2.0";
const version = "v2.2.1";
export default version;
12 changes: 12 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "miravi-a-linked-data-viewer-top-level",
"description": "Miravi - a linked data viewer",
"private": true,
"license": "MIT",
"author": "Martin Vanbrabant",
"scripts": {
"postinstall": "cd main && npm install && cd ../test && npm install"
}
}
1 change: 0 additions & 1 deletion test/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion test/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "tools-for-miravi-a-linked-data-viewer",
"private": true,
"version": "1.0.0",
"type": "module",
"scripts": {
"serve": "bash scripts/prepare-dir-to-serve.sh && http-server -p 5173 serve-this",
Expand Down