Skip to content

Decouple typespec-ts from rlc-common#3926

Open
timovv wants to merge 3 commits into
Azure:mainfrom
timovv:rlc-common-decouple
Open

Decouple typespec-ts from rlc-common#3926
timovv wants to merge 3 commits into
Azure:mainfrom
timovv:rlc-common-decouple

Conversation

@timovv
Copy link
Copy Markdown
Member

@timovv timovv commented Apr 20, 2026

In preparation for move to the TypeSpec repo. This PR removes the dependency typespec-ts has on rlc-common so that we don't need to migrate rlc-common to the new repo. Since autorest is going away, there's no point in having a separate rlc-common package.

This was achieved by:

  • Copying the rlc-common source code into typespec-ts/src/rlc-common/
  • Updating all rlc-common references in typespec-ts to refer to the new subfolder instead of the external package
  • Fixing lint errors
  • Removing (some) now-unused code in the rlc-common subfolder.

This PR makes the migration easier and opens the door for a more thorough refactor/integration of the rlc-common code in the future.

@qiaozha
Copy link
Copy Markdown
Member

qiaozha commented Apr 22, 2026

@JialinHuang803 could you help take a look at this PR? Thanks

@timovv timovv marked this pull request as ready for review April 22, 2026 16:08
Comment thread packages/typespec-ts/src/framework/hooks/sdkTypes.ts
@timovv timovv force-pushed the rlc-common-decouple branch from 8096de0 to 5a09300 Compare May 4, 2026 16:28
@timovv timovv force-pushed the rlc-common-decouple branch from 6b05380 to 5a09300 Compare May 14, 2026 16:00
timovv added 2 commits May 14, 2026 14:51
- Copy packages/rlc-common/src/ into packages/typespec-ts/src/rlc-common/
- Update all imports from @azure-tools/rlc-common to relative paths
- Remove @azure-tools/rlc-common workspace dependency from package.json
- Add handlebars as direct dependency (was transitive via rlc-common)
- Update test file imports to point to new location
@timovv timovv force-pushed the rlc-common-decouple branch from 5a09300 to 7e97b7a Compare May 14, 2026 21:52
@qiaozha qiaozha added HRLC p0 priority 0 labels May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

HRLC p0 priority 0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants