Commit Graph

267 Commits

Author SHA1 Message Date
Sebastian Spier 013ff182c9 Run Prettier 2022-11-07 20:35:00 +01:00
Sebastian Spier 46fc13a5bc Add GHA that checks links (using lychee). Incl list of links to ignore. 2022-11-06 22:35:45 +01:00
Sidharth Vinod 4870d37027
chore: Remove Security from config 2022-11-03 11:17:24 +05:30
Sidharth Vinod fb855bfcfa
Merge branch 'pr/Andre601/2739' into develop
* pr/Andre601/2739:
  Add Security Policy
  chore: lint
  Discussions are now available
  Make colors required
  make setup not required
  Update theme_proposal.yml
  Update syntaxt_proposal.yml
  Update diagram_proposal.yml
  Update bug_report.yml
  Delete question.md
  Create syntaxt_proposal.yml
  Create theme_proposal.yml
  Create diagram_proposal.yml
  Switch to bug_report.yml
  Create config.yml
2022-11-03 11:15:35 +05:30
Sidharth Vinod c46a3b09b1
Add Security Policy 2022-11-03 10:53:15 +05:30
Sidharth Vinod b735c21a33
chore: Remove test branch 2022-10-31 22:08:04 +05:30
Sidharth Vinod 78565d16c1
Add pnpm 2022-10-31 21:54:57 +05:30
Sidharth Vinod 56c2fe3eb1
Publish 2022-10-31 21:46:48 +05:30
Sidharth Vinod f36e0ef941
chore: Add actions deploy 2022-10-31 21:44:09 +05:30
Sidharth Vinod 24198ed63e
Merge remote-tracking branch 'origin/develop' into pr/emersonbottero/3678
* origin/develop:
  chore(deps): update all non-major dependencies
  chore(deps): update all non-major dependencies
  chore: Update bug report template
2022-10-31 19:43:53 +05:30
Emerson Bottero f87d1630d1 chore: fix most of aloisklink reviews 2022-10-30 21:22:38 -03:00
Sidharth Vinod ec10316346
chore: lint 2022-10-30 00:07:12 +05:30
Sidharth Vinod 449dfe8b8e
Merge remote-tracking branch 'origin/develop' into pr/Andre601/2739
* origin/develop: (1249 commits)
  docs(git): Regenerate
  docs(git): Add a quoted branch name example
  chore: Update bug report template
  fix(git): Support quoted branch names
  Ensure example code and rendered output are synced
  Change fill attribute to style.
  chore(deps): update all non-major dependencies
  chore(deps): pin dependencies
  fix typo
  Update sequenceDiagram.md
  style: fix eslint-plugin-tsdoc linting issues
  style: lint typescript with eslint-plugin-tsdoc
  ran linter
  Update packages/mermaid/src/dagre-wrapper/mermaid-graphlib.js
  Ran linter (npm run lint:fix)
  added curly rule to eslintrc
  fix: Add default arg to options
  Theme update from release 9.2
  testcode
  Delete dependabot.yml
  ...
2022-10-30 00:03:33 +05:30
Sidharth Vinod 4adf79451e
Merge remote-tracking branch 'origin/master' into develop
* origin/master:
  chore: Update bug report template
2022-10-29 23:54:05 +05:30
Sidharth Vinod fed32607de
chore: Update docs build vitepress command 2022-10-29 01:14:11 +05:30
Emerson Bottero ec5568b943 chore: more revision fixes 2022-10-27 19:58:39 -03:00
Richard Gibson 5d048ce21e chore: Update bug report template
Add common pattern for reproduction with https://mermaid.live/
2022-10-26 23:17:15 -04:00
Emerson Bottero 47e1f611d8 fix: lint and spell errors 2022-10-26 16:24:06 -03:00
Emerson Bottero 563aff2d72 fix: gh pages workflow 2022-10-20 23:03:17 -03:00
Sidharth Vinod c1f51175a1
Delete dependabot.yml 2022-10-19 00:21:52 +05:30
Emerson Bottero c8b377bf74 docs: small improvements 2022-10-17 19:32:47 -03:00
Emerson Bottero 0da56a1249 docs: new Documentation 2022-10-15 00:50:57 -03:00
renovate[bot] 673a2e8228
chore(deps): update actions/setup-node action to v3 2022-10-12 22:52:41 +00:00
renovate[bot] e5c85cbc64
chore(deps): update actions/checkout action to v3 2022-10-11 20:56:31 +00:00
Sidharth Vinod 1570eb7b73
chore: Bump node to v18 2022-10-10 20:13:50 +08:00
Sean Killeen e21da2ec7f capitalization fix 2022-10-07 21:58:52 -04:00
Sean Killeen 44f463c4f4 format docs YAML 2022-10-07 21:42:39 -04:00
Sean Killeen 0b54366705 Add GH Action 2022-10-07 20:50:20 -04:00
Alois Klink 693616b00d ci(e2e): Skip pnpm cache if skipping cypress run
When running the e2e action from a fork, we prevent multi-processing
in the E2E cypress tests skipping runs that aren't
matrix.container == 1.

However, this means that the pnpm cache folder isn't created, causing
the cache action to throw an error.

To fix this, we also skip building Node/cache setup step.

Fixes: f60c7fff65
2022-09-28 20:19:08 +01:00
Alois Klink 30f6550e61 ci(e2e): remove `headless` arg from cypress run
Since [cypress-io/github-action v4.0.1][1], the headless argument
no longer exists.

Since Cypress v8.0.0, it didn't do anything, since this was the
default behaviour.

[1]: https://github.com/cypress-io/github-action/releases/tag/v4.0.1
2022-09-28 20:12:40 +01:00
Knut Sveidqvist f60c7fff65 Merge branch 'develop' into 3061_making_a_monorepo 2022-09-28 14:26:07 +02:00
Alois Klink 56e1411d37 ci(e2e): fix e2e action when running from fork
PRs from forks don't have acess to the secrets.CYPRESS_RECORD_KEY.
Because of this, we need to disable `recording`.
2022-09-25 20:11:42 +01:00
Alois Klink e0805b8272 ci(build): fix build CI to use pnpm
The packages/mermaid/dist build is now uploaded seperately from
the packages/mermaid-mindmap/dist build.
2022-09-25 20:02:23 +01:00
Alois Klink e72059ba87 ci(e2e-applitools): fix applitools CI to use pnpm 2022-09-25 20:02:23 +01:00
Alois Klink 24d46fb936 ci(e2e): fix e2e tests CI to use pnpm
We need to upgrade cypress-io/github-action to v4.2.0
as that's the first version that supported pnpm.

See https://github.com/cypress-io/github-action/releases/tag/v4.2.0
2022-09-25 20:02:23 +01:00
Alois Klink 77831c424c ci(lint): fix lint tests CI to use pnpm 2022-09-25 20:02:23 +01:00
Alois Klink d633ec62df ci(unit): fix unit tests CI to use pnpm 2022-09-25 20:02:23 +01:00
Sidharth Vinod 065756a90d
Merge branch 'develop' into sidv/parallelE2E
* develop: (28 commits)
  fix(docs): update link
  Revert "unify Jison tranformers"
  Update yarn.lock
  Revert "fix(test): No esm exports"
  fix(test): No esm exports
  fix(docs): `mmd` detection
  Hope this fails
  unify Jison tranformers
  Fix jest
  Remove `docs:build` from postbuild.
  Add verification log
  This should fail CI
  fix: imports in HTML
  Revert "Add diagramAPI to outfile"
  Add `type: module` to package.json
  chore(deps-dev): bump @types/lodash from 4.14.184 to 4.14.185
  Update integrations.md
  Add vitepress pluin
  Update mermaid version
  Fix ports
  ...
2022-09-21 12:06:18 +05:30
Sidharth Vinod 3982d19e57
Merge branch 'develop' into sidv/removeWebpackBabel
* develop:
  Revert #3475
  ci(e2e-applitols): add applitools CI action
2022-09-21 11:04:35 +05:30
Sidharth Vinod 55d706323d
CI Concurrency 4 2022-09-21 10:42:27 +05:30
Sidharth Vinod 51df0a68cc
Remove build 2022-09-21 10:41:47 +05:30
Sidharth Vinod ca053e0a11
Parallel e2e 2022-09-21 10:36:38 +05:30
Alois Klink 5c8fda3891 ci(e2e-applitols): add applitools CI action
Adds a [`workflow_dispatch`][1] GitHub Actions CI workflow
that performs an E2E Cypress rendering test with Applitools
integration.

If the APPLITOOLS_API_KEY secret is not set, this action fallsback to
just doing a normal E2E Cypress test without Applitools support.

[1]: https://docs.github.com/en/actions/managing-workflow-runs/manually-running-a-workflow
2022-09-17 22:34:29 +01:00
Sidharth Vinod 25ed9063f2
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%
  ...
2022-09-16 23:24:17 +05:30
Andre_601 fe9a1c59cb
Discussions are now available 2022-09-15 01:39:57 +02:00
Andre_601 612a57bdf7
Make colors required 2022-09-15 01:28:59 +02:00
Andre_601 979a376855
make setup not required 2022-09-15 01:28:20 +02:00
Alois Klink 20d22a6468 ci(e2e): re-enable e2e tests
I've removed the coverage upload bit, since although the
[@cypress/code-coverage][1] plugin is pretty easy to setup,
it requires babel, which we're about to remove and replace
with ESBuild.
2022-09-14 04:15:52 +01:00
Alois Klink c5033b92b4 style: fix .github/workflow/e2e styling
Uses prettier to fix e2e style issues.
2022-09-14 04:15:52 +01:00
Sidharth Vinod e7ac2368c3
Add local jison linting 2022-09-13 12:46:14 +05:30