Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into sidv/removeWebpackBabel
* develop: (77 commits) cleanup Fix docs Fix coverage Fix for issues in errorhandling and class diagrams after refactoring Replace GoogleAnalytics with Plausible chore(deps): bump dompurify from 2.3.10 to 2.4.0 (#3444) chore(deps): bump stylis from 4.1.1 to 4.1.2 (#3439) chore(deps-dev): bump webpack-dev-server from 4.10.1 to 4.11.0 (#3450) fix(git): support single character branch names Cleanup unused variables and some commented out code Cleanup fixing som lingering issues Remove extension Apply suggestions from code review ci(e2e): re-enable e2e tests style: fix .github/workflow/e2e styling chore: upgrade cypress to v10 fix(flowchart-v2): fix arrowMarkerAbsolute=true test(e2e): fix most arrowMarkerAbsolute tests text(e2e): give git tests consistent commit id test(e2e): widen flowchart width to within 10% ...
- Loading branch information
Showing
131 changed files
with
1,764 additions
and
1,340 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: E2E | ||
|
||
on: [push, pull_request] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: yarn | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install Yarn | ||
run: npm i yarn --global | ||
|
||
- name: Install Packages | ||
run: | | ||
yarn install --frozen-lockfile | ||
env: | ||
CYPRESS_CACHE_FOLDER: .cache/Cypress | ||
|
||
- name: Run Build | ||
run: yarn build | ||
|
||
- name: Run E2E Tests | ||
run: yarn e2e | ||
env: | ||
CYPRESS_CACHE_FOLDER: .cache/Cypress |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"src/docs/**": ["yarn docs:build --git"], | ||
"*.{ts,js,json,html,md}": ["eslint --fix", "prettier --write"], | ||
"src/docs.mts": ["yarn docs:build --git"], | ||
"*.{ts,js,json,html,md,mts}": ["eslint --fix", "prettier --write"], | ||
"*.jison": ["yarn lint:jison"] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
const { defineConfig } = require('cypress'); | ||
|
||
module.exports = defineConfig({ | ||
testConcurrency: 1, | ||
browser: [ | ||
// Add browsers with different viewports | ||
// { width: 800, height: 600, name: 'chrome' }, | ||
// { width: 700, height: 500, name: 'firefox' }, | ||
// { width: 1600, height: 1200, name: 'ie11' }, | ||
// { width: 1024, height: 768, name: 'edgechromium' }, | ||
// { width: 800, height: 600, name: 'safari' }, | ||
// // Add mobile emulation devices in Portrait mode | ||
// { deviceName: 'iPhone X', screenOrientation: 'portrait' }, | ||
// { deviceName: 'Pixel 2', screenOrientation: 'portrait' }, | ||
], | ||
// set batch name to the configuration | ||
batchName: `Mermaid ${process.env.APPLI_BRANCH ?? "'no APPLI_BRANCH set'"}`, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.