Skip to content

Commit 4621905

Browse files
authored
Merge pull request #291 from com-pas/release_v0_33_0_6
Sync CoMPAS-OpenSCD with OpenSCD
2 parents 0703eaa + 023e35c commit 4621905

File tree

914 files changed

+310607
-26753
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

914 files changed

+310607
-26753
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ updates:
1212
interval: "daily"
1313
open-pull-requests-limit: 5
1414
- package-ecosystem: "docker"
15-
directory: "packages/compas-openscd/"
15+
directory: "packages/compas-open-scd/"
1616
schedule:
1717
interval: "daily"
1818
open-pull-requests-limit: 5

.github/workflows/test-and-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
run: |
1818
cd packages/compas-open-scd
1919
npm ci
20-
npm run-script build
20+
npm run-script build

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Test
2-
on:
2+
on:
33
push:
44
branches-ignore:
55
- main
@@ -20,4 +20,4 @@ jobs:
2020
run: |
2121
cd packages/compas-open-scd
2222
npm ci
23-
npm run-script test
23+
npm run-script test

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@ to use the CoMPAS Backend Service to open and save SCL Files and more.
2121

2222
This repository is a [↗ monorepo](https://en.wikipedia.org/wiki/Monorepo), made up of several packages.
2323
To find out more about the development of each packages, such as the base distribution or the plugins, please refer to their respective READMEs:
24+
2425
- [open-scd](packages/open-scd/README.md): provides the (upstream) base distribution available on [openscd.github.io](https://openscd.github.io)
2526
- [compas-open-scd](packages/compas-open-scd/README.md): provides the base distribution available on [demo.compas.energy](https://demo.compas.energy)
2627

2728
## Contributing
2829

2930
A recommended read for every newcomer to the CoMPAS project is [the CoMPAS Contributing guide](https://com-pas.github.io/contributing/).
3031

31-
You can also get in touch by joining the `#compas` channel hosted on [the LF Energy Slack server](https://lfenergy.slack.com/archives/C01926K9D39).
32+
You can also get in touch by joining the `#compas` channel hosted on [the LF Energy Slack server](https://lfenergy.slack.com/archives/C01926K9D39).
3233

3334
## Documentation
3435

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# 2. Use Monorepo
2+
3+
Date: 2023-08
4+
5+
## Status
6+
7+
Accepted
8+
9+
## Context
10+
11+
We want:
12+
- better access management to core functionalities, plugins and ui components
13+
- easier maintainability and refactorability of critical parts
14+
- more shareable code
15+
16+
17+
## Decision
18+
19+
We will use a monorepo to manage the codebase for the time being.
20+
21+
To control access to the codebase we will use CODEOWNERS files.
22+
23+
24+
## Consequences
25+
26+
- it makes the the dependency discovery and management easier between packages
27+
- we can add packages that can be deployed and published independently and still used directly inside the monorepo
28+
- it will allow us to experiment and beta test packages before publishing them
29+
- CI pipeline runs will be faster because changes are more separated
30+
- it will make it harder to bundle and distribute parts of the base distribution
31+
- it moves the complexity of package management into a concentrated place
32+
33+

docs/decisions/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Decisions
2+
3+
- [ADR-0001: Record architecture decisions](0001-record-architecture-decisions.md) <kbd>✅ active</kbd>
4+
- [ADR-0002: Use Monorepo](0002-use-monorepo.md) <kbd>✅ active</kbd>

0 commit comments

Comments
 (0)