gg_localize_refs 5.1.0
gg_localize_refs: ^5.1.0 copied to clipboard
gg_localize_refs allows to switch a local package and its local checkouts to local pathes
Changelog #
5.1.0 - 2026-10-14 #
Added #
- Add unlocalized-refs and keep local overrides in sync when dependencies change
5.0.0 - 2026-09-11 #
Changed #
- Breaking: the
tsconfig.workspace.jsonsource paths of 4.5.0 are gone again, and with themTsconfigWorkspaceIoandparseJsonc. They needed every repo to extend that file; the shims below replace them and work for any repo. change-refs-to-locallinks a pnpm TypeScript dependency through a shim in.gg/ts_links/<name>/— apackage.jsonwhosemain/typesare./src/index.tsnext to asrcsymlink into the sibling checkout — instead of straight to the sibling. vitest,tscand the editor thereby resolve the dependency to the sibling's TypeScript sources: edits are picked up immediately, stack traces name the.tsfile, breakpoints in the sibling hit. A sibling without asrc/index.tskeeps the directlink:.change-refs-to-pub-devandchange-refs-to-git-feature-branchremove the shims.
4.5.0 - 2026-09-11 #
Added #
change-refs-to-localmaps the TypeScript dependencies of a workspace to the sources of their sibling checkouts in thepathsoftsconfig.workspace.json, so tests and the editor step into the sibling'ssrc/instead of its compileddist/. Written only for a project whosetsconfig.jsonextends that file;change-refs-to-pub-devandchange-refs-to-git-feature-branchempty thepathsagain.TsconfigWorkspaceIoandparseJsoncin the public API.
4.4.1 - 2026-09-11 #
4.3.1 - 2026-09-01 #
4.3.0 - 2026-08-14 #
4.2.2 - 2026-08-10 #
4.2.0 - 2026-08-09 #
Changed #
- Move gg commit conventions from gg_git to gg_one_core
- Improve commit behavior
4.1.0 - 2026-08-09 #
Changed #
- Allow to publish hybrid packages
Fixed #
get-ref-versionlooks a dependency up in every manifest of a repository instead of only the oneUtils.findLanguagepicks. That one is Dart whenever apubspec.yamlexists, so an npm dependency of a hybrid came back as "not found" and its version was never propagated during a publish.set-ref-versionalready worked this way.
4.0.0 - 2026-08-08 #
3.4.0 - 2026-08-04 #
Changed #
- Rename .master to .ocean with automatic migration at next start
- Rename ocean workspace -> ocean
- Update version
3.3.2 - 2026-08-03 #
Changed #
- Prevent pubspec.lock interrupting publishing
Fixed #
- Fix issues with pubspec.lock
- Override transitive workspace dependencies too. Pub honors
dependency_overridesonly from the root package of a resolution, so a project two steps down was resolved from pub.dev while its siblings came from the ticket workspace.
3.3.0 - 2026-08-01 #
3.2.2 - 2026-08-01 #
Changed #
- Fix: Skipping unchanged repos from publishing does not work
- Make sure package is already published in registry before publishing
- Adapt first-publish gate to merge-only mode. Make sure package is at least one time published before publishing.
Fixed #
- Fix error with branch names that do only contain numbers
3.0.0 - 2026-07-31 #
2.7.1 - 2026-07-30 #
2.7.0 - 2026-07-30 #
Changed #
- BREAKING: change-refs-to-local writes the local paths as dependency_overrides into pubspec_overrides.yaml and does not edit pubspec.yaml anymore, so a localized package keeps its published constraints
- BREAKING: change-refs-to-local does not inject publish_to: none anymore - pubspec.yaml stays publishable while the refs are localized
- change-refs-to-git-feature-branch and change-refs-to-pub-dev remove the local path overrides, so exactly one of the three modes is ever active
- change-refs-to-local migrates a workspace that an earlier version localized inside pubspec.yaml: the dependency backup is restored, an injected publish_to: none is reverted, and the paths move to pubspec_overrides.yaml
- pubspec_overrides.yaml is committed - it holds relative paths only, so a shared ticket workspace keeps resolving against the sibling checkouts; change-refs-to-local removes a stale .gitignore entry for it, because gitignored plus checked in makes dart pub publish fail
- change-refs-to-local drops an override of a dependency that left pubspec.yaml, and one whose sibling checkout is gone - pub cannot resolve either, and the second kind also blocked deleting the file
- dependency_overrides declared in pubspec.yaml are carried over into pubspec_overrides.yaml, because pub replaces that section instead of merging
- change-refs-to-local writes no dependency backup anymore - pubspec.yaml remains the single source of truth for the remote refs
- TypeScript projects are unchanged: package.json keeps carrying the link: specs
- Use pubspec_override.yaml instead of editing pubspec.yaml files
- Commit pubspec_overrides.yaml to share it with others
2.6.0 - 2026-07-29 #
Changed #
- Support projects without manifest: ProjectType.none, checks skipped, version tracked as git tag only
- gg_multi: changed references to git
2.5.3 - 2026-07-22 #
Changed #
- Make publish_to handling CRLF-safe so restore-publish-to no longer appends a duplicate publish_to line on Windows checkouts
- gg_multi: changed references to git
2.5.2 - 2026-07-20 #
Fixed #
- Write
.gg/*instead of the bare.gginto.gitignore, so the!.gg/.gg.jsonre-include works and the check state reaches CI; a stale.ggis replaced where it stands - Make the file-changes-buffer failure test independent of the user it runs as: it wrote below
/root, which succeeds when the tests run as root (gg_one_server's container) and left the expectedFileSystemExceptionunthrown
2.5.1 - 2026-07-20 #
2.5.0 - 2026-07-01 #
Changed #
- feat(gg): do checkout + .gg/.ticket.json ticket marker; TS format no direct eslint & P:\programs\flutter/bin/internal/exit_with_errorlevel.bat
- gg_multi: changed references to git
2.4.1 - 2026-06-26 #
Changed #
- Preserve dependency constraint operator (^^/~/exact) through publish
- gg_multi: changed references to git
2.4.0 - 2026-06-19 #
Changed #
- Treat dart-typescript bridge repos as TypeScript for can/do review (npm install, skip dart pub get); export isBridgeProject from gg_one
- Process cross-language bridge repos in BOTH languages during ref localization: processProject now builds+rewrites the workspace once per language the root supports (buildGraph forLanguage), so a bridge's pubspec.yaml and package.json are both localized/unlocalized
- set-ref-version updates the dependency in every manifest a bridge declares it in (per-language loop over present manifests), so a bridge's package.json dependency is no longer missed; single-language repos unchanged
- Publish bridges as TypeScript: pnpm-aware publish, dual-manifest version bump, non-swallowed publish errors, idempotent resume, review skips merged repos, link: for local TS deps, package.json scripts check
- gg_multi: changed references to git
- Gg Multi: changed references to pub.dev
2.3.0 - 2026-06-09 #
Changed #
- feat(ts): version-pinned git deps via #semver: + tag-push for npm/pnpm
- refactor(ts): trim comments to grace-cloud style limits + do_maintain layout
- style: apply grace-cloud comment + 80-char limits across ticket
Fixed #
- refactor(tests): drive TS unlocalize scenarios from test/sample_folder_ts fixtures
2.2.0 - 2026-06-08 #
Changed #
- feat(do add): auto-clone transitive deps into master before graph build & P:\programs\flutter/bin/internal/exit_with_errorlevel.bat
- gg_multi: changed references to git
- gg_multi: changed references to git
2.1.2 - 2026-05-11 #
Changed #
- fix: add tag_pattern to git fallback in change-refs-to-pub-dev
- gg_multi: changed references to git
2.1.1 - 2026-04-24 #
2.0.0 - 2026-03-27 #
1.0.0 - 2026-03-24 #
Added #
- Initial boilerplate.
- Add git parameter to localize refs get
- Add commands to export
- Add tests for get ref and set ref
- Add get version command
- Add tests for process dependencies
- add .idea to .gitignore
- Add publish_to: none when localizing
- Add .gitattributes file
- Add --git-ref option to change-refs-to-local for custom git refs
- Add test for updating .gitignore with missing .gg entries
- Add tests for devDependencies handling in TS localize/unlocalize
- Add tests for dependency and manifest methods in language tests
- Add canCheckout to .gg.json; rename example and update print msg
Changed #
- Automatic checks
- Collect all nodes in allNodesMap
- posix style path
- change ggLog parameter to optional
- Use sample_folder for test files
- Create backend subfolder and move source files
- changed gg_local_package_dependencies to git dependency
- Update repository URL to ggsuite organization
- Downgrade package version from 1.0.0 to 0.0.1
Fixed #
- Fix tests on windows
Removed #
- Update gg_publish to ^^3.2.0 and remove publish_to field