Skip to content

feat(types): declare the namespaceId generator option - #359

Open
mshima wants to merge 2 commits into
mainfrom
types-namespace-id
Open

mshima wants to merge 2 commits into
mainfrom
types-namespace-id

Conversation

@mshima

@mshima mshima commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Summary

Declare namespaceId?: string in GeneratorEnvironmentOptions: the namespace a generator was created for, complete with its version, instance id, methods and flags (namespace@semver@#id+method?), passed by the environment at instantiation time. namespace stays the one of the generator, without them.

Related:

Test plan

  • npm test (eslint, prettier, workspace tests), tsc of @yeoman/types

🤖 Generated with Claude Code

mshima and others added 2 commits October 13, 2026 19:06
The environment passes the namespace a generator was created for, with its
instance id (`namespace#id`), as the `namespaceId` option.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…and flags

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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