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
2 changes: 2 additions & 0 deletions .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/checkout@v2.3.1
with:
submodules: "true"

- name: Use Node.js 18.x
uses: actions/setup-node@v1
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

with:
submodules: "true"
- name: Install and Build OpenSCD
if: github.event.action != 'closed' # You might want to skip the build if the PR has been closed
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
# The logic below handles the npm publication:
- uses: actions/checkout@v4
with:
submodules: "true"
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v4
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2.3.1

with:
submodules: "true"
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
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/external-plugins/oscd-publisher"]
path = packages/external-plugins/oscd-publisher
url = https://github.com/openscd/oscd-publisher
branch = deploy
6 changes: 3 additions & 3 deletions docs/plug-ins.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ implemented in these plugins.

### Publisher

> <kbd>✅ Official</kbd> | <kbd>Editor</kbd> | by [OpenSCD](https://github.com/openscd) | [Repository](https://github.com/openscd/open-scd/)
>
> <kbd>✅ Official</kbd> | <kbd>Editor</kbd> | by [OpenSCD](https://github.com/openscd) | [Repository](https://github.com/openscd/oscd-publisher/)
>
> ```
> https://openscd.github.io/plugins/src/editors/Publisher.js
> https://openscd.github.io/external-plugins/oscd-publisher/oscd-publisher.js
> ```

### Cleanup
Expand Down
2 changes: 2 additions & 0 deletions packages/distribution/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
<body>
<open-scd></open-scd>

<script src="./src/polyfill/scoped-custom-elements-polyfill.js"></script>

<script>
const _customElementsDefine = window.customElements.define;
window.customElements.define = (name, cl, conf) => {
Expand Down
1 change: 1 addition & 0 deletions packages/distribution/snowpack.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default {
'./': '/',
'../plugins/': '/plugins/',
'../openscd/': '/openscd/',
'../external-plugins/': '/external-plugins/',
},
alias: {
'@openscd/open-scd': '../openscd/',
Expand Down

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

1 change: 1 addition & 0 deletions packages/external-plugins/oscd-publisher
Submodule oscd-publisher added at afb25a
2 changes: 1 addition & 1 deletion packages/openscd/src/plugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export const officialPlugins: PluginConfig[] = [
},
{
name: 'Publisher',
src: generatePluginPath('plugins/src/editors/Publisher.js'),
src: generatePluginPath('external-plugins/oscd-publisher/oscd-publisher.js'),
icon: 'publish',
activeByDefault: false,
kind: 'editor',
Expand Down
101 changes: 0 additions & 101 deletions packages/plugins/src/editors/Publisher.ts

This file was deleted.

Loading
Loading