Static analysis
3 tools
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
codeql |
Security scanning | uses github/codeql-action/analyze |
ci | .github/workflows/codeql.yml |
eslint |
Linting | eslint --cache --cache-strategy content --fix .eslint --quiet --stats --cache --cache-strategy content . |
ci, local | .github/workflows/autofix.yml package.json eslint.config.js |
tsc |
Type checking | tsc -p ./packages/mermaid/tsconfig.json --emitDeclarationOnly --watch |
local | package.json |
Testing
4 tools
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
ci-matrix |
Version and platform matrix | analyze (language: 2)e2e (containers: 4) |
ci | .github/workflows/codeql.yml .github/workflows/nightly-e2e.yml |
playwright |
End-to-end browser tests | playwright testplaywright test ${SPECS[@]} --shard=${SHARD}/${SHARD_TOTAL}playwright test --shard=${SHARD}/${SHARD_TOTAL} |
ci, local | .github/workflows/e2e-applitools.yml .github/workflows/e2e.yml .github/workflows/nightly-e2e.yml .github/workflows/refresh-sheet-order.yml |
vitest |
Unit and integration tests | vitest --coveragevitest run ./packages/mermaid/src/diagrams/gantt/ganttDb.spec.tsvitest run |
ci, local | .github/workflows/test.yml package.json |
jestconfigured, not run |
Unit and integration tests | package.json |
Formatting and hygiene
1 tool
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
prettier |
Formatting | prettier --write .prettier --cache --check . |
ci, local | .github/workflows/autofix.yml package.json .prettierrc.json |
Supply chain
1 tool
| Tool | Kind | Command | Runs in | Found in |
|---|---|---|---|---|
dependency-review |
Dependency audit | uses actions/dependency-review-action |
ci | .github/workflows/dependency-review.yml |
29 other commands the scanner could not classify
Commands from CI steps and task runners that look like checks but match no known tool. Some are checks, some are not.
argos upload e2e/argos-baseline --files ${globs[@]} --parallel --parallel-total $K --parallel-index $iargos upload e2e/screenshots --build-name Nightly E2E --files ${globs[@]} --parallel --parallel-total $K --parallel-i...argos upload e2e/screenshots --files ${globs[@]} --parallel --parallel-total $K --parallel-index $icase ${E2E_RESULT} indiff README.md docs/README.md -uemit_scoped $SPECemit_scoped $SPEC_PATTERN_INPUTlint-stagednode scripts/e2e-diagram-scope.mjsread -ra SPECS <<< $SPEC_PATTERNrimraf .nyc_output coverage/playwrightset_output fixture_tier pr-checkset_output fixture_tier pr-check,nightly-checkset_output matrix $E2E_FULL_MATRIXset_output matrix $E2E_PR_NIGHTLY_MATRIXset_output matrix $E2E_SCOPED_MATRIXset_output required_tests_missing trueset_output spec_patternset_output spec_pattern $1set_output spec_pattern $SPECset_output spec_pattern SKIPtr , )tsx ./scripts/jison/lint.mtstsx .build/types.tstsx scripts/coverage.tstsx scripts/fixCSpell.tstsx scripts/run-e2e-scoped.tstsx scripts/swimlanes-size.ts --compare --fail-on-growthtsx scripts/tsc-check.ts
Review prompts
most discussed first