refactor: rename workspace adapters

This commit is contained in:
Kit Langton
2026-04-29 20:27:20 -04:00
parent 61dfae31e7
commit 76e2ff4522
22 changed files with 163 additions and 163 deletions
@@ -31,7 +31,7 @@ afterAll(() => {
})
describe("plugin.workspace", () => {
test("plugin can install a workspace adaptor", async () => {
test("plugin can install a workspace adapter", async () => {
await using tmp = await tmpdir({
init: async (dir) => {
const type = `plug-${Math.random().toString(36).slice(2)}`
@@ -44,7 +44,7 @@ describe("plugin.workspace", () => {
"export default async ({ experimental_workspace }) => {",
` experimental_workspace.register(${JSON.stringify(type)}, {`,
' name: "plug",',
' description: "plugin workspace adaptor",',
' description: "plugin workspace adapter",',
" configure(input) {",
` return { ...input, name: "plug", branch: "plug/main", directory: ${JSON.stringify(space)} }`,
" },",