Skip to content

docs(scripts): refresh development scripts reference#10861

Open
yogeshwaran-c wants to merge 1 commit into
swagger-api:masterfrom
yogeshwaran-c:docs/refresh-development-scripts
Open

docs(scripts): refresh development scripts reference#10861
yogeshwaran-c wants to merge 1 commit into
swagger-api:masterfrom
yogeshwaran-c:docs/refresh-development-scripts

Conversation

@yogeshwaran-c
Copy link
Copy Markdown

Description

The script table in docs/development/scripts.md was last meaningfully updated several years ago and has drifted from the actual scripts block in package.json. The page still documents scripts that have been renamed or removed, and is missing many that exist today, which makes it misleading for new contributors trying to find the right command.

Motivation and Context

Concretely, the doc currently lists the following scripts that no longer exist in package.json:

  • watch
  • build-bundle, build-core, build-standalone (renamed to build:bundle, build:core, build:standalone)
  • e2e (the Selenium runner is gone)
  • e2e-cypress, dev-e2e-cypress (replaced by the cy:* family)
  • test:artifact:umd:bundle, test:artifact:es:bundle, test:artifact:es:bundle:core

And it never mentions these scripts that currently exist:

  • start, serve-static, clean, build-all-bundles
  • cy:mock-api, cy:server, cy:start, cy:open, cy:run, cy:ci, cy:dev
  • deps-license, deps-size
  • security-audit, security-audit:all, security-audit:prod

This PR rewrites the table so each section matches the current package.json and groups scripts by purpose (Developing, Building, Testing, Security).

How Has This Been Tested?

Pure documentation change — verified each row in the new table maps 1:1 to a script currently defined in package.json. No code paths touched.

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

The scripts table in docs/development/scripts.md drifted from
package.json: it still listed scripts that were renamed
(build-bundle, build-core, build-standalone) or removed
(watch, e2e, e2e-cypress, dev-e2e-cypress, the per-bundle
test:artifact entries) and was missing the cy:* Cypress runners,
clean, build-all-bundles, the deps/security audit scripts, and
serve-static/start. Update the page so each section matches the
current scripts in package.json and groups them by purpose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant