Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.
Open
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 6 additions & 4 deletions .github/workflows/attach-release-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ jobs:
steps:
- name: Checkout
uses: actions/[email protected]
with:
submodules: 'true'
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: "18.x"
- name: Install and Build OpenSCD
run: |
run: |
npm i @nx/nx-linux-x64-gnu
npm clean-install
npm run-script build
Expand All @@ -27,12 +29,12 @@ jobs:
run: cp -R packages/core/doc packages/distribution/build/core-doc

- name: Copy Plugin Docs to OpenSCD
run: cp -R packages/plugins/doc packages/distribution/build/plugin-doc
run: cp -R packages/oscd-official-plugins/doc packages/distribution/build/plugin-doc

- name: Compress files
run: tar -czf open-scd.tar.gz -C packages/distribution/build

- name: Upload release files
run: gh release upload ${{ steps.release.outputs.tag_name }} open-scd.tar.gz
env:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 3 additions & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
steps:
- name: Checkout
uses: actions/[email protected]
with:
submodules: 'true'

- name: Use Node.js 18.x
uses: actions/setup-node@v1
Expand All @@ -31,7 +33,7 @@ jobs:

- name: Copy Plugin Docs to OpenSCD
run: |
cp -R packages/plugins/doc packages/distribution/build/plugin-doc
cp -R packages/oscd-official-plugins/doc packages/distribution/build/plugin-doc

- name: Deploy
uses: JamesIves/[email protected]
Expand Down
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "packages/oscd-official-plugins"]
path = packages/oscd-official-plugins
url = https://github.com/david-monichi/oscd-official-plugins.git
branch = main
12,642 changes: 5,307 additions & 7,335 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/distribution/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"dependencies": {
"@openscd/addons": "*",
"@openscd/open-scd": "*",
"@openscd/plugins": "*"
"@openscd/official-plugins": "*"
},
"scripts": {
"clean": "rimraf build",
Expand Down
4 changes: 2 additions & 2 deletions packages/distribution/snowpack.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ export default {
workspaceRoot: '../../',
mount: {
'./': '/',
'../plugins/': '/plugins/',
'../oscd-official-plugins/apps/plugins/': '/plugins/',
'../openscd/': '/openscd/',
},
alias: {
'@openscd/open-scd': '../openscd/',
'@openscd/plugins': '../plugins/',
'@openscd/plugins': '../oscd-official-plugins/apps/plugins/',
},
buildOptions: {
baseUrl: process.env.PUBLIC_URL || '/',
Expand Down
1 change: 1 addition & 0 deletions packages/oscd-official-plugins
Submodule oscd-official-plugins added at 8115e3
24 changes: 0 additions & 24 deletions packages/plugins/.eslintrc.cjs

This file was deleted.

22 changes: 0 additions & 22 deletions packages/plugins/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion packages/plugins/.nojekyll

This file was deleted.

3 changes: 0 additions & 3 deletions packages/plugins/README.md

This file was deleted.

166 changes: 0 additions & 166 deletions packages/plugins/package.json

This file was deleted.

9 changes: 0 additions & 9 deletions packages/plugins/project.json

This file was deleted.

9 changes: 0 additions & 9 deletions packages/plugins/public/js/worker.js

This file was deleted.

1 change: 0 additions & 1 deletion packages/plugins/public/js/xmlvalidate.js

This file was deleted.

Binary file removed packages/plugins/public/js/xmlvalidate.wasm
Binary file not shown.
Binary file removed packages/plugins/public/xml/CC-EULA.pdf
Binary file not shown.
Loading