Skip to content

Commit 79d8134

Browse files
committed
chore(gates): publish provider-webdriver/providers and record the surface
The provider vocabulary needs a door of its own so a consumer asking whether a string names a known cloud provider does not load the WebDriver runtime. `src/providers.ts` has no imports, so the subpath points straight at it and costs the package nothing. R11's recorded export surface for the package grows by exactly that entry; the assertion is sorted so the list stays order-independent. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Jqfa11D8QsCMuL17SsLvDz
1 parent 14c8c06 commit 79d8134

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

‎packages/provider-webdriver/package.json‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
".": {
1515
"types": "./src/index.ts",
1616
"default": "./src/index.ts"
17+
},
18+
"./providers": {
19+
"types": "./src/providers.ts",
20+
"default": "./src/providers.ts"
1721
}
1822
}
1923
}

‎scripts/layering/package-boundaries.test.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -656,10 +656,10 @@ test('the real tree parses, declares, and passes R11', () => {
656656
(pkg) => pkg.name === '@agent-device/provider-webdriver',
657657
);
658658
assert.ok(providerWebDriverPackage, 'provider-webdriver package must exist');
659-
assert.deepEqual(
660-
[...providerWebDriverPackage.exportTargets.keys()],
661-
['@agent-device/provider-webdriver'],
662-
);
659+
assert.deepEqual([...providerWebDriverPackage.exportTargets.keys()].sort(), [
660+
'@agent-device/provider-webdriver',
661+
'@agent-device/provider-webdriver/providers',
662+
]);
663663
assert.deepEqual([...providerWebDriverPackage.workspaceDependencies].sort(), [
664664
'@agent-device/capture-kit',
665665
'@agent-device/contracts',

0 commit comments

Comments
 (0)