@prisma/migrate 6.6.0-dev.57 → 6.6.0-dev.59
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/dist/Migrate.js +2 -2
- package/dist/bin.js +19 -19
- package/dist/{chunk-CKRN45WP.js → chunk-63X7FE2R.js} +5 -5
- package/dist/{chunk-MIASUD76.js → chunk-7LWZ3AXT.js} +17 -23
- package/dist/{chunk-GKHRL6AR.js → chunk-7RM467G7.js} +5 -5
- package/dist/{chunk-4RKCE4QB.js → chunk-AUGZZ6RT.js} +13 -3
- package/dist/{chunk-OMBVSZOV.js → chunk-D25S2AO3.js} +16 -22
- package/dist/{chunk-KN2W5IP7.js → chunk-FFPSJTA6.js} +6 -6
- package/dist/{chunk-GAKKKF5T.js → chunk-FZGPSDP7.js} +5 -5
- package/dist/{chunk-3PIR4R46.js → chunk-O6RQXRWU.js} +5 -5
- package/dist/{chunk-HHVLUI3H.js → chunk-TN7JMNXD.js} +5 -5
- package/dist/{chunk-O723A5JE.js → chunk-YGBJA7QJ.js} +5 -5
- package/dist/{chunk-PDCXVUV3.js → chunk-ZLHWX5PJ.js} +7 -7
- package/dist/commands/DbExecute.js +3 -3
- package/dist/commands/DbPush.js +3 -3
- package/dist/commands/MigrateDeploy.js +3 -3
- package/dist/commands/MigrateDev.js +3 -3
- package/dist/commands/MigrateDiff.js +4 -4
- package/dist/commands/MigrateReset.js +3 -3
- package/dist/commands/MigrateResolve.js +3 -3
- package/dist/commands/MigrateStatus.js +3 -3
- package/dist/index.js +19 -19
- package/dist/internals/src/Generator.d.ts +23 -5
- package/dist/internals/src/get-generators/getGenerators.d.ts +18 -9
- package/dist/internals/src/index.d.ts +2 -4
- package/dist/internals/src/resolvePkg.d.ts +7 -0
- package/dist/utils/setupMSSQL.js +37 -46
- package/package.json +8 -7
- package/dist/internals/src/get-generators/generatorResolvers/generatorResolvers.d.ts +0 -15
- package/dist/internals/src/get-generators/generatorResolvers/prisma-client-js/auto-installation/findPrismaClientDir.d.ts +0 -6
- package/dist/internals/src/get-generators/generatorResolvers/prisma-client-js/auto-installation/getPackageCmd.d.ts +0 -9
- package/dist/internals/src/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.d.ts +0 -8
- package/dist/internals/src/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.d.ts +0 -6
- package/dist/internals/src/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.d.ts +0 -1
- package/dist/internals/src/get-generators/generatorResolvers/prisma-client-js/check-dependencies/resolve.d.ts +0 -20
- package/dist/internals/src/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.d.ts +0 -7
- package/dist/internals/src/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.d.ts +0 -20
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { default as _resolve } from 'resolve';
|
|
2
|
-
/**
|
|
3
|
-
* Alternative to `require.resolve` that returns undefined instead of throwing.
|
|
4
|
-
* It also enables preserving symlinks, which is not possible with the original
|
|
5
|
-
* `require.resolve`. This variant will find the _entrypoint_ of a package.
|
|
6
|
-
* @param id
|
|
7
|
-
* @param options
|
|
8
|
-
* @returns
|
|
9
|
-
*/
|
|
10
|
-
declare function resolve(id: string, options: _resolve.AsyncOpts): Promise<string | undefined>;
|
|
11
|
-
/**
|
|
12
|
-
* Alternative to `require.resolve` that returns undefined instead of throwing.
|
|
13
|
-
* It also enables preserving symlinks, which is not possible with the original
|
|
14
|
-
* `require.resolve`. This variant will find the _root_ of a package.
|
|
15
|
-
* @param id
|
|
16
|
-
* @param options
|
|
17
|
-
* @returns
|
|
18
|
-
*/
|
|
19
|
-
declare function resolvePkg(id: string, options: _resolve.AsyncOpts): Promise<string | undefined>;
|
|
20
|
-
export { resolve, resolvePkg };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare const debug: ((...args: any[]) => void) & {
|
|
2
|
-
color: string;
|
|
3
|
-
enabled: boolean;
|
|
4
|
-
namespace: string;
|
|
5
|
-
log: (...args: string[]) => void;
|
|
6
|
-
extend: () => void;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Client generator resolver. The generator is shipped with the Client, so if
|
|
10
|
-
* the client is not installed, it will be installed unless generation is
|
|
11
|
-
* skipped.
|
|
12
|
-
* @param baseDir
|
|
13
|
-
* @param version
|
|
14
|
-
* @returns
|
|
15
|
-
*/
|
|
16
|
-
export declare function prismaClientResolver(baseDir: string, version?: string): Promise<{
|
|
17
|
-
outputPath: string;
|
|
18
|
-
generatorPath: string;
|
|
19
|
-
isNode: boolean;
|
|
20
|
-
}>;
|