From 1d27406c987e9d906eb92e2fc2f4021a7288b06c Mon Sep 17 00:00:00 2001 From: Juan Munoz Date: Thu, 16 May 2024 12:16:20 +0200 Subject: [PATCH] chore: missing renaming of `package/open-scd` ot `packages/openscd` (#1528) * chore: adds serve script to distribution and root package.json * chore: remove unused imports * fix: plugins reactivity issue * chore: rename `pacakges/open-scd` to `packages/openscd` across the repo Signed-off-by: Juan Munoz * docs: added serve script to README in packages/distribution Signed-off-by: Juan Munoz --------- Signed-off-by: Juan Munoz --- .github/workflows/build-and-deploy.yml | 2 +- .release-please-manifest.json | 2 +- README.md | 2 +- docs/plug-ins.md | 2 +- packages/distribution/README.md | 1 + packages/openscd/package.json | 2 +- packages/openscd/project.json | 2 +- release-please-config.json | 2 +- 8 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index eb3f6c191..0521679fa 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -4,7 +4,7 @@ on: branches: - main paths: - - "packages/open-scd/**" + - "packages/openscd/**" jobs: build-and-deploy: diff --git a/.release-please-manifest.json b/.release-please-manifest.json index df9be7589..a162330e3 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,4 +1,4 @@ { - "packages/open-scd": "0.34.0", + "packages/openscd": "0.34.0", "packages/core": "0.1.1" } diff --git a/README.md b/README.md index bd968d80f..2258723bf 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ If you would like to list your plug-in here, please open a pull request. This repository is a [↗ monorepo](https://en.wikipedia.org/wiki/Monorepo), made up of several packages. To find out more about the development of each packages, such as the base distribution or the plugins, please refer to their respective READMEs: -- [open-scd](packages/open-scd/README.md): provides the base distribution available on [openscd.github.io](https://openscd.github.io) +- [open-scd](packages/openscd/README.md): provides the base distribution available on [openscd.github.io](https://openscd.github.io) - [core](packages/core/README.md): provides the agreed api of OpenSCD Core ## Contributing diff --git a/docs/plug-ins.md b/docs/plug-ins.md index d1cc9dcab..f05399a89 100644 --- a/docs/plug-ins.md +++ b/docs/plug-ins.md @@ -12,7 +12,7 @@ We mark our official plug-ins that are supported by the OpenSCD organization wit > If you want to add a plug-in to this list, please open a pull request. > [!TIP] -> How to install a plug-in: [Extensions.md](../packages/open-scd/public/md/Extensions.md) +> How to install a plug-in: [Extensions.md](../packages/openscd/public/md/Extensions.md) ## Core Plug-ins diff --git a/packages/distribution/README.md b/packages/distribution/README.md index 71188faf7..9ad41944a 100644 --- a/packages/distribution/README.md +++ b/packages/distribution/README.md @@ -52,6 +52,7 @@ We provide the following `npm` scripts for your convenience: - `npm run format` runs the formatter (formats your code in a unified way) - `npm run doc` builds HTML documentation into the `doc` directory - `npm run build` builds a deployable version of the project into the `dist` directory +- `npm run serve` starts a local server to serve the built project files (useful for testing the production version of OpenSCD) ## License diff --git a/packages/openscd/package.json b/packages/openscd/package.json index bd46ee42a..0073a604b 100644 --- a/packages/openscd/package.json +++ b/packages/openscd/package.json @@ -2,7 +2,7 @@ "name": "@openscd/open-scd", "version": "0.34.0", "repository": "https://github.com/openscd/open-scd.git", - "directory": "packages/open-scd", + "directory": "packages/openscd", "description": "A bottom-up substation configuration designer for projects described using SCL `IEC 61850-6` Edition 2 or greater.", "keywords": [ "SCL", diff --git a/packages/openscd/project.json b/packages/openscd/project.json index 22e7b9414..172f1d02f 100644 --- a/packages/openscd/project.json +++ b/packages/openscd/project.json @@ -2,7 +2,7 @@ "name": "@openscd/open-scd", "$schema": "../../node_modules/nx/schemas/project-schema.json", "projectType": "application", - "sourceRoot": "packages/open-scd/src", + "sourceRoot": "packages/openscd/src", "targets": { } } diff --git a/release-please-config.json b/release-please-config.json index 2b7b4beeb..e097954ff 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -49,7 +49,7 @@ } ], "packages": { - "packages/open-scd": { + "packages/openscd": { "component": "open-scd", "changelog-path": "CHANGELOG.md", "release-type": "node",