Skip to content

docs: align introduction, reference, CLI, guides, migration, CI/CD, and blog with EasyP v1.0 - #17

Open
ZergsLaw wants to merge 1 commit into
mainfrom
docs/v1-cli-guides-reference
Open

ZergsLaw wants to merge 1 commit into
mainfrom
docs/v1-cli-guides-reference

Conversation

@ZergsLaw

Copy link
Copy Markdown
Contributor

Summary

Independent PR (2 of 4 — strictly touches content/docs/{index.*,introduction,reference,cli/{index,configuration,auto-completion,generator,package-manager},guides,migration,ci-cd,architecture,blog} + 12 meta.ru.json; zero file overlap with the other 3 PRs).

  • P0 fixes (EN + RU):
    • Remove deleted --gen-config, --cfg, EASYP_CFG, and nonexistent easyp completion fish; document command-local --config and global flags (--frozen, --debug/-d, --format/-f).
    • Fix built-in WASM myth (go/go-grpc are not built-in WASM) and document the real 15 built-in WASM plugins (cpp, csharp, java, kotlin, objc, php, python, ruby, grpc_*); make Quickstart step 4 work out of the box.
    • Fix what-is (3-file v1 config model, remove formatting, replace broken api.easyp.tech/protoc-gen-typescript:latest, remove empty starchart link).
    • Fix breaking.categories across all sections (FILE, PACKAGE, WIRE_JSON, WIRE, default ["FILE"]) and PACKAGE_NO_IMPORT_CYCLE (implemented in MINIMAL) in reference/easyp-yaml.
    • Fix invalid protobuf.mod examples (required module, /v2 major paths), local replace behavior (only --frozen rejects replace), and Buf includes/excludes + bsr.StaticResolver support.
  • P1 updates for v1.0.0 (EN + RU, incorporates install: v1 is the stable release #9):
    • Update install and quickstart for stable v1.0.0 (Homebrew macOS + Linux installing easyp + easyp-mcp + completions, Go 1.26.6+, Docker latest = v1, v0.17.0 legacy pin, easyp get / validate-config / breaking); remove "v1 Pilot" wording.
    • Highlight pure-Go easyprotoc compiler (zero protoc, Protobuf Editions 2023), add missing easyp get (@tag, --import-root) and easyp migrate in cli/index & cli/configuration, env vars (EASYP_PROXY, EASYP_GIT_TIMEOUT, EASYP_INIT_DIR), easyp-mcp, generate.paths & object generate.modules[], 19 managed file_option + jstype, internal config symlinks, validate paths: source_relative, protobuf.lock modules[].bsr & version: integer, selective dirhash.Hash1, ${...} ParsePolicyLiteral boundary in extends, and --frozen + validate-config in CI/CD.
    • Replace stubs/copy-paste in migration/{buf-cli,protolock,prototool} with real migration guides and fix migration/easyp-v0 limitations contradiction.
  • P2 polish & RU parity:
    • Add 12 meta.ru.json files for localized Russian sidebar titles.
    • Fix 2 RU links missing /ru (migration/{protoc,prototool}.ru.mdx), restore 4 missing RU #-anchors, translate mixed EN/RU prose, and fix Go code bugs/typos in blog/working-with-proto-errors-correctly.{mdx,ru.mdx}.

Note: Incorporates the v1 stable install/quickstart updates from draft #9 (so #9 can be closed once this is reviewed/merged).

Verification

  • npm run types:check, npm run test:release (20/20 pass), npm run build (692/692 static pages)
  • easyp validate-config passed on updated v1 protobuf.mod, easyp.yaml, easyp.gen.yaml, and protobuf.lock examples
  • Verified 0 forbidden legacy flags/tokens, 0 broken internal links, 0 RU locale leaks, and 0 conflicts in a 4-way combined merge.

…asyP v1.0

Bring CLI core/generator/package-manager, reference, introduction, guides, migration, CI/CD, architecture, and blog documentation in sync with EasyP v1.0.0 and easyprotoc v0.1.1 (EN + RU), plus add 12 meta.ru.json sidebar translations.

- Remove obsolete --gen-config, --cfg, EASYP_CFG, and easyp completion fish; document command-local --config, all 11 CLI commands/aliases/flags, env vars (EASYP_PROXY, EASYP_GIT_TIMEOUT, EASYP_INIT_DIR), and easyp-mcp
- Fix built-in WASM plugin list (15 plugins; go and go-grpc are not bundled WASM) across quickstart, generator, examples, and reference
- Update install and quickstart for stable v1.0.0 (Homebrew macOS/Linux with easyp-mcp + completions, Go 1.26.6+, Docker latest=v1, v0.17.0 legacy pin)
- Document easyprotoc pure-Go compiler, Protobuf Editions 2023, generate.paths / object generate.modules, 19 managed file options + jstype, breaking profiles (FILE/PACKAGE/WIRE_JSON/WIRE), PACKAGE_NO_IMPORT_CYCLE, selective dirhash.Hash1, BSR StaticResolver + Buf includes/excludes, modules[].bsr in protobuf.lock, local replace semantics, and env-var expansion boundary
- Replace migration stubs/copy-paste for buf-cli, protolock, and prototool; add --frozen and validate-config in CI/CD; fix invalid protobuf.mod examples, RU anchors/locale links, and blog Go snippets
- Add 12 meta.ru.json files for Russian sidebar titles
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