Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.
Closed
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
14 changes: 7 additions & 7 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
run: |
cp -R packages/plugins/doc packages/distribution/build/plugin-doc

- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
branch: master
folder: packages/distribution/build
repository-name: openscd/openscd.github.io
ssh-key: ${{ secrets.DEPLOY_KEY }}
# - name: Deploy
# uses: JamesIves/github-pages-deploy-action@4.1.5
# with:
# branch: master
# folder: packages/distribution/build
# repository-name: openscd/openscd.github.io
# ssh-key: ${{ secrets.DEPLOY_KEY }}
35 changes: 33 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
id: release
with:
release-type: node
command: manifest
token: ${{ secrets.GITHUB_TOKEN }}
# The logic below handles the npm publication:
- uses: actions/checkout@v4
Expand All @@ -32,7 +31,39 @@ jobs:
if: ${{ steps.release.outputs.release_created }}
- run: npm run build
if: ${{ steps.release.outputs.release_created }}
- run: cd packages/core && npm publish --access public

- name: Publish core to npm
run: cd packages/core && npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
continue-on-error: true
- name: Publish addons to npm
run: cd packages/addons && npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
continue-on-error: true
- name: Publish forms to npm
run: cd packages/forms && npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
continue-on-error: true
- name: Publish wizards to npm
run: cd packages/wizards && npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
continue-on-error: true
- name: Publish xml to npm
run: cd packages/xml && npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
continue-on-error: true
- name: Publish open-scd to npm
run: cd packages/openscd && npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
Expand Down
64 changes: 40 additions & 24 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions packages/addons/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@openscd/addons",
"name": "@compas-oscd/addons",
"version": "0.34.0",
"repository": "https://github.com/openscd/open-scd.git",
"directory": "packages/addons",
Expand All @@ -20,7 +20,7 @@
],
"dependencies": {
"lit": "^2.2.7",
"@openscd/core": "*"
"@openscd/core": "npm:@compas-oscd/core@*"
},
"//": {
"clean": "rimraf build",
Expand Down Expand Up @@ -133,4 +133,4 @@
],
"commitUrlFormat": "https://github.com/openscd/open-scd/commits/{{hash}}"
}
}
}
2 changes: 1 addition & 1 deletion packages/addons/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@openscd/addons",
"name": "@compas-oscd/addons",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"sourceRoot": "packages/addons/src",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@openscd/core",
"name": "@compas-oscd/core",
"version": "0.1.4",
"description": "The core editor component of open-scd, without any extensions pre-installed.",
"author": "Open-SCD",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@openscd/core",
"name": "@compas-oscd/core",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"sourceRoot": "packages/core/src",
Expand Down
4 changes: 2 additions & 2 deletions packages/distribution/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"./dist/**"
],
"dependencies": {
"@openscd/addons": "*",
"@openscd/open-scd": "*",
"@compas-oscd/addons": "npm:@compas-oscd/addons@*",
"@compas-oscd/open-scd": "npm:@compas-oscd/open-scd@*",
"@openscd/plugins": "*"
},
"scripts": {
Expand Down
9 changes: 7 additions & 2 deletions packages/distribution/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@
"sourceMap": true,
"inlineSources": true,
"resolveJsonModule": true,
"rootDir": "./"
},
"paths": {
"@openscd/addons": ["../addons/src"],
"@openscd/addons/*": ["../addons/*"],
"@openscd/open-scd": ["../openscd/src/open-scd.ts"],
"@openscd/open-scd/*": ["../openscd/*"]
}
},
"include": ["**/*.ts"]
}
2 changes: 1 addition & 1 deletion packages/forms/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@openscd/forms",
"name": "@compas-oscd/forms",
"version": "0.0.1",
"description": "The forms package OpenSCD",
"author": "Open-SCD",
Expand Down
2 changes: 1 addition & 1 deletion packages/forms/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@openscd/forms",
"name": "@compas-oscd/forms",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"sourceRoot": "packages/forms/src",
Expand Down
6 changes: 3 additions & 3 deletions packages/openscd/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@openscd/open-scd",
"name": "@compas-oscd/open-scd",
"version": "0.34.0",
"repository": "https://github.com/openscd/open-scd.git",
"directory": "packages/openscd",
Expand Down Expand Up @@ -40,8 +40,8 @@
"@material/mwc-textfield": "0.22.1",
"@material/mwc-top-app-bar-fixed": "0.22.1",
"@openscd/oscd-api": "^0.1.5",
"@openscd/core": "*",
"@openscd/xml": "*",
"@openscd/core": "npm:@compas-oscd/core@*",
"@openscd/xml": "npm:@compas-oscd/xml@*",
"ace-custom-element": "^1.6.5",
"lit": "^2.2.7",
"lit-translate": "^1.2.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/openscd/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@openscd/open-scd",
"name": "@compas-oscd/open-scd",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "application",
"sourceRoot": "packages/openscd/src",
Expand Down
7 changes: 6 additions & 1 deletion packages/openscd/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@
"sourceMap": true,
"inlineSources": true,
"resolveJsonModule": true,
"rootDir": "./src"
"paths": {
"@openscd/core": ["../core/foundation.ts"],
"@openscd/core/*": ["../core/*"],
"@openscd/xml": ["../xml/src"],
"@openscd/xml/*": ["../xml/*"]
}
},
"include": ["./src/**/*.ts"]
}
8 changes: 4 additions & 4 deletions packages/plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
"@material/mwc-textarea": "0.22.1",
"@material/mwc-textfield": "0.22.1",
"@openenergytools/scl-lib": "^1.8.0",
"@openscd/core": "*",
"@openscd/open-scd": "*",
"@openscd/wizards": "*",
"@openscd/xml": "*",
"@openscd/core": "npm:@compas-oscd/core@*",
"@openscd/open-scd": "npm:@compas-oscd/open-scd@*",
"@openscd/wizards": "npm:@compas-oscd/wizards@*",
"@openscd/xml": "npm:@compas-oscd/xml@*",
"lit": "^2.2.7",
"lit-translate": "^1.2.1",
"marked": "^4.0.10",
Expand Down
11 changes: 10 additions & 1 deletion packages/plugins/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,16 @@
"sourceMap": true,
"inlineSources": true,
"resolveJsonModule": true,
"rootDir": "./src"
"paths": {
"@openscd/core": ["../core/foundation.ts"],
"@openscd/core/*": ["../core/*"],
"@openscd/open-scd": ["../openscd/src/open-scd.ts"],
"@openscd/open-scd/*": ["../openscd/*"],
"@openscd/wizards": ["../wizards/src"],
"@openscd/wizards/*": ["../wizards/*"],
"@openscd/xml": ["../xml/src"],
"@openscd/xml/*": ["../xml/*"]
}
},
"include": ["src/**/*.ts"]
}
4 changes: 2 additions & 2 deletions packages/wizards/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@openscd/wizards",
"name": "@compas-oscd/wizards",
"version": "0.0.1",
"repository": "https://github.com/openscd/open-scd.git",
"directory": "packages/wizards",
Expand All @@ -20,7 +20,7 @@
],
"dependencies": {
"@material/mwc-dialog": "0.22.1",
"@openscd/core": "*"
"@openscd/core": "npm:@compas-oscd/core@*"
},
"//": {
"clean": "rimraf build",
Expand Down
2 changes: 1 addition & 1 deletion packages/wizards/project.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@openscd/wizards",
"name": "@compas-oscd/wizards",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "library",
"sourceRoot": "packages/wizards/src",
Expand Down
Loading
Loading