Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
+14
-14
@@ -51,7 +51,7 @@ describe("Feature Manifest core build smoke verifier helpers", () => {
|
||||
root,
|
||||
"app/runtime.ts",
|
||||
[
|
||||
"import { loadPlugins } from '@toolctrl/plugins';",
|
||||
"import { loadPlugins } from '@hivegrid/plugins';",
|
||||
"const allowed = 'not a plugin reference';",
|
||||
"const manifestPath = 'packages/plugins/manifest.json';",
|
||||
].join("\n"),
|
||||
@@ -63,8 +63,8 @@ describe("Feature Manifest core build smoke verifier helpers", () => {
|
||||
{
|
||||
file: "app/runtime.ts",
|
||||
line: 1,
|
||||
id: "toolctrl-plugins-package",
|
||||
text: "import { loadPlugins } from '@toolctrl/plugins';",
|
||||
id: "hivegrid-plugins-package",
|
||||
text: "import { loadPlugins } from '@hivegrid/plugins';",
|
||||
},
|
||||
{
|
||||
file: "app/runtime.ts",
|
||||
@@ -77,7 +77,7 @@ describe("Feature Manifest core build smoke verifier helpers", () => {
|
||||
|
||||
it("scans package manifests and Dockerfile runtime copy paths", async () => {
|
||||
const root = await createFixtureRoot();
|
||||
await writeFixtureFile(root, "package.json", '{ "dependencies": { "@toolctrl/plugins": "workspace:*" } }\n');
|
||||
await writeFixtureFile(root, "package.json", '{ "dependencies": { "@hivegrid/plugins": "workspace:*" } }\n');
|
||||
await writeFixtureFile(root, "Dockerfile", "COPY --from=build /myapp/packages/plugins /myapp/packages/plugins\n");
|
||||
|
||||
const result = await scanForbiddenPluginImports(root, ["package.json", "Dockerfile"]);
|
||||
@@ -92,8 +92,8 @@ describe("Feature Manifest core build smoke verifier helpers", () => {
|
||||
{
|
||||
file: "package.json",
|
||||
line: 1,
|
||||
id: "toolctrl-plugins-package",
|
||||
text: '{ "dependencies": { "@toolctrl/plugins": "workspace:*" } }',
|
||||
id: "hivegrid-plugins-package",
|
||||
text: '{ "dependencies": { "@hivegrid/plugins": "workspace:*" } }',
|
||||
},
|
||||
]);
|
||||
});
|
||||
@@ -115,12 +115,12 @@ describe("Feature Manifest core build smoke verifier helpers", () => {
|
||||
it("ignores tests, docs, plugin-package files, dependency folders, TC metadata, and build output", async () => {
|
||||
const root = await createFixtureRoot();
|
||||
await writeFixtureFile(root, "app/entry.ts", "export const entry = true;\n");
|
||||
await writeFixtureFile(root, "app/entry.test.ts", "import '@toolctrl/plugins';\n");
|
||||
await writeFixtureFile(root, "app/entry.test.ts", "import '@hivegrid/plugins';\n");
|
||||
await writeFixtureFile(root, "app/readme.md", "packages/plugins docs reference\n");
|
||||
await writeFixtureFile(root, "packages/plugins/index.ts", "import '@toolctrl/plugins';\n");
|
||||
await writeFixtureFile(root, "app/node_modules/example/index.ts", "import '@toolctrl/plugins';\n");
|
||||
await writeFixtureFile(root, "app/.tc/tasks/plan.ts", "import '@toolctrl/plugins';\n");
|
||||
await writeFixtureFile(root, "app/build/server.js", "import '@toolctrl/plugins';\n");
|
||||
await writeFixtureFile(root, "packages/plugins/index.ts", "import '@hivegrid/plugins';\n");
|
||||
await writeFixtureFile(root, "app/node_modules/example/index.ts", "import '@hivegrid/plugins';\n");
|
||||
await writeFixtureFile(root, "app/.tc/tasks/plan.ts", "import '@hivegrid/plugins';\n");
|
||||
await writeFixtureFile(root, "app/build/server.js", "import '@hivegrid/plugins';\n");
|
||||
|
||||
const result = await scanForbiddenPluginImports(root, ["app", "packages"]);
|
||||
|
||||
@@ -141,7 +141,7 @@ describe("Feature Manifest core build smoke verifier helpers", () => {
|
||||
|
||||
it("detects forbidden lines directly from source text", () => {
|
||||
const diagnostics = findForbiddenPluginImports(
|
||||
"const pkg = '@toolctrl/plugins';\nconst path = 'packages/plugins/feature';\n",
|
||||
"const pkg = '@hivegrid/plugins';\nconst path = 'packages/plugins/feature';\n",
|
||||
"app/direct.ts",
|
||||
);
|
||||
|
||||
@@ -149,8 +149,8 @@ describe("Feature Manifest core build smoke verifier helpers", () => {
|
||||
{
|
||||
file: "app/direct.ts",
|
||||
line: 1,
|
||||
id: "toolctrl-plugins-package",
|
||||
text: "const pkg = '@toolctrl/plugins';",
|
||||
id: "hivegrid-plugins-package",
|
||||
text: "const pkg = '@hivegrid/plugins';",
|
||||
},
|
||||
{
|
||||
file: "app/direct.ts",
|
||||
|
||||
Reference in new issue
Block a user