Skip to content

Commit 1b00c7f

Browse files
authored
Merge pull request #494 from com-pas/chore/replace-snowpack-2
build: Replace snowpack with vite
2 parents 860ba72 + c47a7c2 commit 1b00c7f

415 files changed

Lines changed: 11024 additions & 22472 deletions

File tree

Some content is hidden

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

.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-open-scd/"
15+
directory: "/"
1616
schedule:
1717
interval: "daily"
1818
open-pull-requests-limit: 5

.github/workflows/build-project.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ jobs:
4646
run: |
4747
npm ci
4848
npm run-script build
49-
cd packages/compas-open-scd
5049
npm run-script test
5150
5251
- name: Build application with npm
@@ -59,6 +58,6 @@ jobs:
5958
if: ${{ github.event_name == 'pull_request' }}
6059
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f #v7.1.0
6160
with:
62-
# Set the context to use the packages/compas-open-scd directory and not execute it's own git checkout.
63-
context: packages/compas-open-scd
61+
# Set the context to use the root directory and not execute it's own git checkout.
62+
context: .
6463
push: false

.github/workflows/release-project.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ jobs:
5858
id: build-push
5959
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f #v7.1.0
6060
with:
61-
# Set the context to use the packages/compas-open-scd directory and not execute it's own git checkout.
62-
context: packages/compas-open-scd
61+
# Set the context to use the root directory and not execute it's own git checkout.
62+
context: .
6363
push: true
6464
# Tag the images using the tagname and also latest.
6565
tags: |

.github/workflows/sonarcloud-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
workflow: SonarCloud Build
8787
run_id: ${{ github.event.workflow_run.id }}
8888
name: coverage
89-
path: packages/compas-open-scd/coverage/
89+
path: coverage/
9090

9191
- name: Analyze (Pull Request)
9292
if: ${{ github.event.workflow_run.event == 'pull_request' }}

.github/workflows/sonarcloud-build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ jobs:
3737
run: npm run-script build
3838

3939
- name: Run tests with coverage
40-
run: |
41-
cd packages/compas-open-scd
42-
npm run-script test
40+
run: npm run-script test
4341

4442
- name: Save PR number to file
4543
if: ${{ github.event_name == 'pull_request' }}
@@ -58,4 +56,4 @@ jobs:
5856
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
5957
with:
6058
name: coverage
61-
path: packages/compas-open-scd/coverage/
59+
path: coverage/

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,4 @@ jobs:
1919
run: |
2020
npm ci
2121
npm run-script build
22-
cd packages/compas-open-scd
2322
npm run-script test

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,4 @@ jobs:
2424
run: |
2525
npm ci
2626
npm run-script build
27-
cd packages/compas-open-scd
2827
npm run-script test

CHANGELOG.md

Lines changed: 611 additions & 110 deletions
Large diffs are not rendered by default.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN echo "deb http://deb.debian.org/debian sid main" > /etc/apt/sources.list.d/s
1313
rm -rf /var/lib/apt/lists/*
1414

1515
COPY ./nginx/default.conf.template /etc/nginx/templates/default.conf.template
16-
COPY build/. /usr/share/nginx/html
16+
COPY dist/. /usr/share/nginx/html
1717

1818
ENV NGINX_PORT=8080
1919
EXPOSE 8080

0 commit comments

Comments
 (0)