Repository navigation
fix: move @adobe/aio-lib-ims to devDependencies to drop deprecated uuid@8 from the consumer tree (APPBLD-4864) - #58
Merged
AnujVishwakarma-src merged 1 commit intoSep 9, 2026
Conversation
…id@8 from the consumer tree (APPBLD-4864) aio-lib-ims is only used in tests (to obtain a token to pass into init()); the library src never imports it — init(accessToken, ...) receives the token from the caller. As a runtime dependency it needlessly pulled aio-lib-ims@7 -> aio-lib-state@3 -> @azure/cosmos@3 -> uuid@8.3.2 (deprecated) into every consumer (e.g. @adobe/aio-cli-plugin-app-templates). Moving it to devDependencies (and bumping to ^8) removes aio-lib-ims and the uuid@8 chain entirely from the production/consumer dependency tree. Added @adobe/aio-lib-ims to the existing node/no-unpublished-require allowModules (same pattern already used for @jest/globals) so the test-only require lints cleanly. Validation: production install (--omit=dev) no longer contains aio-lib-ims or uuid@8; unit tests 39/39 pass with 100% coverage; lint clean. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
aroragarvit666-hue
approved these changes
Sep 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Move
@adobe/aio-lib-imsfromdependenciestodevDependencies(and bump^7 → ^8).Why
aio-lib-imsis only used in tests — to obtain a token to pass intoinit(). The library source never imports it:init(accessToken, ...)receives the token from the caller. As a runtime dependency it needlessly pulled:into every consumer (e.g.
@adobe/aio-cli-plugin-app-templates). Reclassifying it as a devDependency removesaio-lib-imsand theuuid@8chain entirely from the production/consumer dependency tree.The test-only
require('@adobe/aio-lib-ims')is allow-listed under the existingnode/no-unpublished-requireallowModules(same pattern already used for@jest/globals).Validation
npm install --omit=dev): no longer containsaio-lib-imsoruuid@8— zero production deprecations🤖 Generated with Claude Code