@domain-first/project-structure 8.8.0 → 8.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/287.js +397 -250
- package/dist/947.js +4 -0
- package/dist/agent-cli.d.ts +2 -1
- package/dist/agent-requests.d.ts +2 -0
- package/dist/graph.cjs +4 -0
- package/dist/index.cjs +401 -250
- package/dist/init.cjs +41 -37
- package/dist/integration.cjs +402 -251
- package/dist/integrations/drizzle.d.ts +8 -0
- package/dist/integrations/drizzle.spec.d.ts +1 -0
- package/dist/integrations/index.d.ts +1 -0
- package/dist/integrations/testcontainers.d.ts +1 -1
- package/dist/lint.cjs +4 -0
- package/dist/react.cjs +401 -250
- package/dist/use-cases/add-integration.d.ts +3 -3
- package/package.json +1 -1
- package/skills/df-ps-project-scripts/SKILL.md +22 -5
- package/skills/df-ps-scaffold/references/agent-operations.md +2 -1
- package/skills/df-ps-scaffold/references/generators.md +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** The Drizzle folder, relative to the project root. */
|
|
2
|
+
export declare const drizzleFolder: (rootFolder: string) => string;
|
|
3
|
+
export declare const drizzleConfigPath: (rootFolder: string) => string;
|
|
4
|
+
export declare const drizzleScripts: (rootFolder: string) => {
|
|
5
|
+
'drizzle:generate': string;
|
|
6
|
+
'drizzle:migrate': string;
|
|
7
|
+
};
|
|
8
|
+
export declare const addDrizzle: () => Promise<string[]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -2,7 +2,7 @@ export declare const testcontainersScripts: {
|
|
|
2
2
|
'test:integration': string;
|
|
3
3
|
};
|
|
4
4
|
export declare const testcontainersVitestConfig: (inlineHandlersNext: boolean) => string;
|
|
5
|
-
export declare const testcontainersGlobalSetup: (
|
|
5
|
+
export declare const testcontainersGlobalSetup: (migrationCommands?: string[]) => string;
|
|
6
6
|
export declare const testcontainersSetupEnv = "import 'dotenv/config';\nimport { inject } from 'vitest';\n\n// Runs before each spec's imports: development implementations get the .env\n// config, and DATABASE_URL points to the container instead of the one from .env.\nif (process.env.NODE_ENV !== 'development') {\n throw new Error(\n `Integration specs need NODE_ENV=development to wire development implementations, got \"${process.env.NODE_ENV}\"`\n );\n}\n\nprocess.env.DATABASE_URL = inject('databaseUrl');\n";
|
|
7
7
|
/**
|
|
8
8
|
* Adds the integration folder to `test.exclude` of the unit test config.
|