Skip to content

chore: bump @adobe/aio-cli-plugin-app-templates to 2.1.3 (APPBLD-5119) - #844

Merged
AnujVishwakarma-src merged 1 commit into
adobe:masterfrom
AnujVishwakarma-src:APPBLD-5119-bump-app-templates
Sep 21, 2026
Merged

AnujVishwakarma-src merged 1 commit into
adobe:masterfrom
AnujVishwakarma-src:APPBLD-5119-bump-app-templates

Conversation

@AnujVishwakarma-src

@AnujVishwakarma-src AnujVishwakarma-src commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Patch-only dependency bump: pins package-lock.json's resolved @adobe/aio-cli-plugin-app-templates entry to 2.1.3 (declared range ^2 unchanged).

Why

Fixes ESM template loading in templates:install (JIRA APPBLD-5119, adobe/aio-cli-plugin-app-templates#83) — require() failed with "constructor is not a constructor" for ESM-packaged templates (e.g. dx/excshell/1, dx/asset-compute/worker/1 when built as ESM). #83 switches to dynamic import() with a .default unwrap, handling both ERR_REQUIRE_ESM and ERR_REQUIRE_ASYNC_MODULE.

aio-cli ships its own package-lock.json in the published npm package (see files in package.json), so a global npm install -g @adobe/aio-cli resolves dependencies from that committed lockfile rather than re-resolving ^2 fresh from the registry — a leaf release alone does not reach end users without this bump + a new aio-cli release.

Validated

  • @adobe/[email protected] and 2.1.1 (previously locked version) have identical declared dependencies — this is a version/resolved/integrity-only lockfile change, no dependency-tree churn.
  • npm test (jest + lint): 53/53 tests pass, 100% coverage, lint clean.
  • npm run check-overrides: no override changes needed.
  • Verified the new tarball installs and loads correctly (require('@adobe/aio-cli-plugin-app-templates/package.json').version === '2.1.3').

@codecov

codecov Bot commented Sep 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@AnujVishwakarma-src
AnujVishwakarma-src merged commit 2a02086 into adobe:master Sep 21, 2026
11 checks passed
This was referenced Sep 21, 2026
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.

2 participants