Sidharth Vinod
962ff73fc3
Batch by commit
2023-07-07 15:56:30 +05:30
Sidharth Vinod
79d38cef4b
Run `docs:release-version` in CI
2023-07-07 11:32:00 +05:30
Sidharth Vinod
0f4af09398
Add `Area: Documentation` to labeler
2023-07-07 10:32:13 +05:30
Sidharth Vinod
052e9db16a
Remove filter action
2023-07-07 10:30:59 +05:30
Sidharth Vinod
4648532814
Update .github/workflows/pr-labeler-config-validator.yml
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-07-07 10:29:58 +05:30
Sidharth Vinod
9263f75e5b
Update .github/pr-labeler.yml
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-07-07 10:27:56 +05:30
Sidharth Vinod
1682fa1e53
Update PR Labeler config
2023-07-06 22:05:58 +05:30
Sidharth Vinod
355586f297
Run PR-labeler-config-validator only if config changes
2023-07-06 22:03:48 +05:30
Sidharth Vinod
34abbcadae
Merge pull request #4604 from mermaid-js/sidv/fixCodecov
...
chore: Reduce codecov pushes
2023-07-06 10:20:26 +00:00
Sidharth Vinod
2b5da79cdf
Merge pull request #4112 from aloisklink/add-jsonschema-schema-for-config
...
Use JSON Schema to define and document `MermaidConfig`
2023-07-06 10:03:55 +00:00
Sidharth Vinod
4d0c461fa3
chore: Reduce codecov pushes
...
pushes to non-develop branches will not send coverage reports.
This might reduce the coverage variability issue we're having.
2023-07-06 11:32:37 +05:30
Sidharth Vinod
db30f21ac5
Turn off codecov project status check
2023-07-06 11:16:41 +05:30
Alois Klink
23d6a0dab7
ci(lint): check if MermaidConfig types are in sync
...
Add a CI check that runs
`pnpm run --filter mermaid types:verify-config` and checks whether
the MermaidConfig TypeScript types are in sync with the MermaidConfig
JSON Schema.
2023-07-06 03:53:40 +01:00
Sidharth Vinod
288f51216d
Add codecov token
2023-07-03 21:01:04 +05:30
Sidharth Vinod
8e15e534ea
Add codecov token
2023-07-03 19:19:11 +05:30
Sidharth Vinod
29c866b09a
Don't fail CI on codecov error
2023-07-02 13:22:00 +05:30
Sidharth Vinod
78377daf2f
Rename workflow jobs
2023-07-02 10:14:35 +05:30
Sidharth Vinod
4a95589b5a
Add `merge_group` to CI triggers
2023-07-02 10:03:31 +05:30
Sidharth Vinod
ae4d81cdfd
move codecov
2023-07-01 00:39:01 +05:30
Sidharth Vinod
b60ec8e5ff
Update .github/ISSUE_TEMPLATE/bug_report.yml
2023-06-27 11:51:44 +05:30
Yokozuna59
d15590f0a5
add suggested solutions field in bug_report.yml
2023-06-27 02:31:09 +03:00
Sidharth Vinod
3340240b9f
chore: Run codecov based on E2E test status
2023-06-17 23:23:00 +05:30
Sidharth Vinod
f8540e9468
Upload E2E
2023-06-17 17:54:13 +05:30
Sidharth Vinod
2ad32f9208
Fix path name
2023-06-17 17:44:27 +05:30
Sidharth Vinod
8d244062e2
Add codecov to unit tests
2023-06-17 17:40:06 +05:30
Sidharth Vinod
1e84668270
Add codecov to E2E
2023-06-17 17:34:19 +05:30
Sidharth Vinod
40199e28b8
Disable coveralls
2023-06-13 12:23:41 +05:30
Sidharth Vinod
245c4f8c78
Update coveralls
2023-06-13 11:49:43 +05:30
Sidharth Vinod
74ccf6410d
Update diagram proposal
2023-06-02 11:50:49 +05:30
Knut Sveidqvist
bd1343648e
Merge branch 'master' into develop
2023-05-24 19:20:47 +02:00
renovate[bot]
b1590c2211
Update all minor dependencies
2023-05-17 13:32:09 +00:00
Sidharth Vinod
fbd35ae95a
fix lint command
2023-05-09 10:24:05 +05:30
Sidharth Vinod
642397b36c
Fix applitools cypress
2023-04-23 15:59:27 +05:30
renovate[bot]
1c17f4c770
fix(deps): update all minor dependencies
2023-04-22 20:30:38 +00:00
renovate[bot]
4a258a0f2c
chore(deps): update fregante/setup-git-user action to v2
2023-04-22 20:02:23 +00:00
renovate[bot]
f93bac9dd4
chore(deps): update actions/deploy-pages action to v2
2023-04-22 18:49:44 +00:00
Sidharth Vinod
49bb87e14a
Split docs into build and deploy
2023-04-22 23:59:33 +05:30
Bishop Clark
8aa51cf3e7
Update bug_report.yml
...
correct adjective order
2023-04-13 16:59:13 -07:00
Matthias
a17463307b
Clean up list of ignored links
...
The removed links work again.
2023-03-08 21:30:12 +01:00
Alois Klink
f0a73696f5
ci(e2e): skip caching in actions/setup-node
...
Skip caching `pnpm` in `actions/setup-node`,
because the `cypress-io/github-action` natively supports caching `pnpm`,
as of [cypress-io/github-action@v4.2.0][1].
[1]: https://github.com/cypress-io/github-action/releases/tag/v4.2.0
2023-03-06 22:57:22 +00:00
renovate[bot]
6c2c28940b
chore(deps): update all non-major dependencies
2023-03-06 06:22:18 +00:00
Sidharth Vinod
e603840395
Update bug_report.yml
2023-03-03 11:55:18 +05:30
Alois Klink
06640aba06
test(gantt): test daylight savings in ganttdb
...
Add a quick test that ensures `ganttDb` correctly adds `1d` (1 day),
even on days with 25 hours.
This test only runs if the test PC has the TZ='America/Los_Angeles'
set (California has daylight savings).
I've added a test to the GitHub Actions `test.yml` action too for this.
It should only add about 5 seconds to each test, so it isn't too bad.
2023-02-26 06:43:14 +00:00
Sidharth Vinod
0c18c0309b
Enable blank issues
2023-02-19 00:37:41 +05:30
Sidharth Vinod
86cfb1bb60
Skip precommit hooks on CI
2023-02-16 17:09:02 +05:30
Sidharth Vinod
b10d243995
Fix release-publish
2023-02-16 17:07:03 +05:30
Sidharth Vinod
0a923dfe91
Remove node heap
2023-02-16 16:28:09 +05:30
Sidharth Vinod
743c636441
Revert "chore: Set node heap size"
...
This reverts commit 8df965bd60
.
2023-02-16 16:10:20 +05:30
Sidharth Vinod
76fdc00b06
Remove heap option
2023-02-16 14:41:22 +05:30
Sidharth Vinod
0db2657b7b
Test publish docs
2023-02-16 13:05:53 +05:30
Sidharth Vinod
533bd7da3c
chore: Add file extension for dynamic import
2023-02-16 12:56:32 +05:30
Sidharth Vinod
8df965bd60
chore: Set node heap size
2023-02-16 12:21:24 +05:30
Sidharth Vinod
2b3019fb94
Set node heap size
2023-02-16 12:16:00 +05:30
Sidharth Vinod
e9d2d084fd
Merge pull request #4066 from mermaid-js/renovate/actions-dependency-review-action-3.x
...
chore(deps): update actions/dependency-review-action action to v3
2023-02-09 11:14:27 +05:30
renovate[bot]
34c98717d5
chore(deps): update actions/dependency-review-action action to v3
2023-02-09 05:44:09 +00:00
Sidharth Vinod
f22ce38ada
Merge pull request #4065 from mermaid-js/renovate/actions-configure-pages-3.x
...
chore(deps): update actions/configure-pages action to v3
2023-02-09 11:13:54 +05:30
renovate[bot]
886d1c15c4
chore(deps): update timonvs/pr-labeler-action action to v4
2023-02-09 00:51:38 +00:00
renovate[bot]
bb3a48c91a
chore(deps): update actions/configure-pages action to v3
2023-02-09 00:42:44 +00:00
Alois Klink
4900647bf0
ci(lint): show nice error on lint failure
...
Prints a nice error on GitHub Actions if `pnpm run lint` fails.
2023-01-29 20:27:31 +00:00
Sidharth Vinod
549483d19b
Update funding :)
2023-01-17 22:09:22 +05:30
Sidharth Vinod
8f8ae64ced
upload error snapshots
2023-01-16 01:23:42 +05:30
Sidharth Vinod
967d3bbb60
Disable link checker on develop PRs
...
Runs link checker every day to keep cache warm.
2022-12-27 10:35:07 +05:30
Tom PERRILLAT-COLLOMB
3beb828988
chore(pr): add task in PR template
2022-12-20 18:35:03 +01:00
Sidharth Vinod
333b974f10
Add `workflow_dispatch` to lint.yml
2022-12-15 21:50:00 +05:30
Sidharth Vinod
59fdaa3b53
fix: Fail docs:verify on non push events
2022-12-07 11:58:09 +05:30
Sidharth Vinod
7553827985
fix: docs build command
2022-12-07 11:40:17 +05:30
Sidharth Vinod
792c1a8320
chore: Rebuild docs if linting fails
2022-12-07 11:19:44 +05:30
Sidharth Vinod
963a1f1eb1
Merge remote-tracking branch 'origin/develop' into sidv/autoBuildDocs
...
* origin/develop: (564 commits)
chore: Format Mermaid.vue
Made mermaidConfig a local variable so that it cannot be shared cross rendering.
Fix for issue #3882 moving the label when the path has been modified
Small fix for issue #3881
Fixed an issue that diagrams disappear from docs pages when switching themes or reloading pages
Fixed the issue that theme-switch does not work on docs.
chore: Fix mindmap link
chore: Switch back from unpkg to jsdelivr
delete functions not used in diagrams/c4 code (dead code)
Minor change
feat: Add @include support to docs
feat: Add @include example to docs
feat: Add @include support to docs
cleanup
fix lines
fix Async rendering
Revert "sync"
chore(deps): update pnpm to v7.17.1
chore(deps): remove dependency on `graphlib`
test(e2e): make gitgraph snapshots consistent
...
2022-12-07 11:11:45 +05:30
Sidharth Vinod
41033008ec
Merge branch 'master' into develop
...
* master:
doc: Add mindmap integration docs
fix: Fetch depth
fix: Fetch depth
fix: Fetch depth
fix: Add commit count to release preview
fix: Add commit count to release preview
chore: Add working directory
fix: release-preview-publish.yml
Fix #3799 : Remove `type` from package.json
2022-12-01 11:39:28 +05:30
Sidharth Vinod
183dee89c2
feat: Spellcheck docs when building
...
docs.yml is removed as `docs:verify` will cover spellchecks now.
2022-11-22 23:06:12 +05:30
renovate[bot]
a8c5f6d517
chore(deps): update lycheeverse/lychee-action action to v1.5.4
2022-11-21 04:51:51 +00:00
Sidharth Vinod
2092330eec
fix: Fetch depth
2022-11-16 11:30:58 +05:30
Sidharth Vinod
e05e0f8ae3
fix: Fetch depth
2022-11-16 10:31:49 +05:30
Sidharth Vinod
52ee234c0f
fix: Fetch depth
2022-11-16 10:31:07 +05:30
Sidharth Vinod
1d828fe8be
fix: Add commit count to release preview
2022-11-16 10:27:42 +05:30
Sidharth Vinod
503114c0eb
fix: Add commit count to release preview
2022-11-16 10:22:37 +05:30
Sidharth Vinod
1ad63d5b0b
chore: Add working directory
2022-11-16 09:49:41 +05:30
Sidharth Vinod
3358406e68
fix: release-preview-publish.yml
2022-11-16 00:06:47 +05:30
Sidharth Vinod
e27966c15f
chore: Add master to link checker
2022-11-15 14:16:41 +05:30
Alois Klink
195f3a5feb
ci(lint-checker): lock down permissions
...
Lock down the GITHUB_TOKEN permissions.
lychee only needs `GITHUB_TOKEN` to read public
data without hitting rate-limits, so having read-only
access to contents should be fine.
2022-11-10 18:23:03 +00:00
Sebastian Spier
7350b63e40
Remove unnecesary comment
2022-11-08 13:53:41 +01:00
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
c86d46eb8a
Add Security Policy
2022-11-03 11:06:21 +05:30
Sidharth Vinod
361dd6a96e
Add Security Policy
2022-11-03 10:59:57 +05:30
Sidharth Vinod
17adec38af
chore: lint
2022-11-03 10:59:56 +05:30
Andre_601
638b9d9aae
Discussions are now available
2022-11-03 10:59:56 +05:30
Andre_601
c8f6994895
Make colors required
2022-11-03 10:59:55 +05:30
Andre_601
1117a80500
make setup not required
2022-11-03 10:59:55 +05:30
Andre_601
5d83ec6fa2
Update theme_proposal.yml
2022-11-03 10:59:54 +05:30
Andre_601
bab5937426
Update syntaxt_proposal.yml
2022-11-03 10:59:54 +05:30
Andre_601
099a26977a
Update diagram_proposal.yml
2022-11-03 10:59:53 +05:30
Andre_601
0b834485a8
Update bug_report.yml
2022-11-03 10:59:52 +05:30
Andre_601
41f21d4f72
Delete question.md
2022-11-03 10:59:50 +05:30
Andre_601
312e5f3d96
Create syntaxt_proposal.yml
2022-11-03 10:59:35 +05:30
Andre_601
6ef3e7f536
Create theme_proposal.yml
2022-11-03 10:59:34 +05:30
Andre_601
4f5228aec4
Create diagram_proposal.yml
2022-11-03 10:59:32 +05:30
Andre_601
b9daa35558
Switch to bug_report.yml
2022-11-03 10:59:10 +05:30
Andre_601
21304a9677
Create config.yml
2022-11-03 10:57:57 +05:30
Sidharth Vinod
c46a3b09b1
Add Security Policy
2022-11-03 10:53:15 +05:30
Knut Sveidqvist
c8635c0b9b
Merge branch 'release/9.2.0'
...
Conflicts:
.github/ISSUE_TEMPLATE/bug_report.md
2022-11-01 15:37:00 +01:00
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
Sidharth Vinod
563c51d431
Get base sha from PR
2022-10-03 14:49:35 +08:00
Sidharth Vinod
455c61b2cf
Run doc lint only if files changed
2022-10-03 14:41:52 +08:00
Sidharth Vinod
0a547e524e
Run doc lint only if files changed
2022-10-03 14:30:46 +08:00
Sidharth Vinod
9c5c85d34a
Run doc lint only if files changed
2022-10-03 14:24:51 +08:00
Sidharth Vinod
8d6af3dfed
split lint docs action
2022-10-03 14:21:54 +08:00
Sidharth Vinod
3bae25fe6b
split lint docs action
2022-10-03 14:15:28 +08:00
Sidharth Vinod
1d8d677d81
fix: File location
2022-10-03 14:03:44 +08:00
Sidharth Vinod
75db08a60c
fix(docs): Test auto commit
2022-10-03 12:05:48 +08:00
Sidharth Vinod
d367e832be
fix(docs): Test auto commit
2022-10-03 12:00:59 +08:00
Sidharth Vinod
058f1c2edf
chore: Update docs path
2022-10-03 11:55:33 +08:00
Sidharth Vinod
9425b8adc2
Merge remote-tracking branch 'upstream/develop' into sidv/autoBuildDocs
...
* upstream/develop: (81 commits)
style(docs): fix prettier issues (extra newline)
Corrected theme variables reference table layout
Fix typos in README.md
build: lint-staged docs in packages/mermaid/src/…
chore(docs): run `pnpm run docs:build`
build(docs): fix `pnpm run docs:{build,verify}`
docs: replace `yarn` with `pnpm` in dev guide
build: re-enable `prepare` script for husky setup
build: update pre-commit rules to use `pnpm`
Arrow tip aligned to edge of box
updated pnpm-lock file
ci(e2e): Skip pnpm cache if skipping cypress run
ci(e2e): remove `headless` arg from cypress run
build(dev): Fix dev server not showing mermaid.js
Fixed sample test
Adding example diagram as a template for a new diagram
Removed test folder
Returning the borders to the e2e tests
Fix for tests
Updated version
...
2022-10-03 11:51:14 +08:00
Sidharth Vinod
21caa3eb72
chore: Auto build docs if only src/docs is changed
2022-10-03 11:50:42 +08: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