@mcmcjs/julia 0.21.2 → 0.22.1

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/index.d.cts CHANGED
@@ -117,6 +117,11 @@ declare function managedProjectReady(dir?: string, pins?: PackagePins): boolean;
117
117
  declare function ensureProject(juliaBin: string, run?: CommandRunner, dir?: string, pins?: PackagePins, opts?: {
118
118
  version?: string;
119
119
  }): Promise<string>;
120
+ /** Instantiates an existing Julia Project and Manifest, then precompiles it. */
121
+ declare function instantiateProject(juliaBin: string, dir: string, opts?: {
122
+ run?: CommandRunner;
123
+ beforePrecompile?: (dir: string) => void | Promise<void>;
124
+ }): Promise<string>;
120
125
 
121
126
  interface MatrixEntry {
122
127
  version: string;
@@ -272,4 +277,4 @@ type StopOutcome = "stopped" | "stale" | "pending";
272
277
  */
273
278
  declare function stopWorker(socket: string): Promise<StopOutcome>;
274
279
 
275
- export { type DoctorReport, type FitIo, type InstallCommand, type LogLikIo, type MatrixEntry, type MatrixIo, type MatrixResult, type PackagePins, type PredictIo, type SetupOptions, type SetupResult, type SetupStep, type SetupStepResult, type StepStatus, type WorkerStatus, addVersion, assertVersionsInstalled, detectJulia, detectJuliaup, ensureProject, gcVersions, juliaEngine, juliaupInstallCommand, killWorker, listVersions, listWorkers, managedProjectDir, managedProjectReady, planSetup, predictData, removeVersion, resolveJulia, resolveVersion, runDoctor, runFit, runFitAuto, runLogLik, runMatrix, runPredict, runSetup, setDefaultVersion, sharedTmpParent, stopWorker, updateVersion, validatePins, validateVersionString };
280
+ export { type DoctorReport, type FitIo, type InstallCommand, type LogLikIo, type MatrixEntry, type MatrixIo, type MatrixResult, type PackagePins, type PredictIo, type SetupOptions, type SetupResult, type SetupStep, type SetupStepResult, type StepStatus, type WorkerStatus, addVersion, assertVersionsInstalled, detectJulia, detectJuliaup, ensureProject, gcVersions, instantiateProject, juliaEngine, juliaupInstallCommand, killWorker, listVersions, listWorkers, managedProjectDir, managedProjectReady, planSetup, predictData, removeVersion, resolveJulia, resolveVersion, runDoctor, runFit, runFitAuto, runLogLik, runMatrix, runPredict, runSetup, setDefaultVersion, sharedTmpParent, stopWorker, updateVersion, validatePins, validateVersionString };
package/dist/index.d.ts CHANGED
@@ -117,6 +117,11 @@ declare function managedProjectReady(dir?: string, pins?: PackagePins): boolean;
117
117
  declare function ensureProject(juliaBin: string, run?: CommandRunner, dir?: string, pins?: PackagePins, opts?: {
118
118
  version?: string;
119
119
  }): Promise<string>;
120
+ /** Instantiates an existing Julia Project and Manifest, then precompiles it. */
121
+ declare function instantiateProject(juliaBin: string, dir: string, opts?: {
122
+ run?: CommandRunner;
123
+ beforePrecompile?: (dir: string) => void | Promise<void>;
124
+ }): Promise<string>;
120
125
 
121
126
  interface MatrixEntry {
122
127
  version: string;
@@ -272,4 +277,4 @@ type StopOutcome = "stopped" | "stale" | "pending";
272
277
  */
273
278
  declare function stopWorker(socket: string): Promise<StopOutcome>;
274
279
 
275
- export { type DoctorReport, type FitIo, type InstallCommand, type LogLikIo, type MatrixEntry, type MatrixIo, type MatrixResult, type PackagePins, type PredictIo, type SetupOptions, type SetupResult, type SetupStep, type SetupStepResult, type StepStatus, type WorkerStatus, addVersion, assertVersionsInstalled, detectJulia, detectJuliaup, ensureProject, gcVersions, juliaEngine, juliaupInstallCommand, killWorker, listVersions, listWorkers, managedProjectDir, managedProjectReady, planSetup, predictData, removeVersion, resolveJulia, resolveVersion, runDoctor, runFit, runFitAuto, runLogLik, runMatrix, runPredict, runSetup, setDefaultVersion, sharedTmpParent, stopWorker, updateVersion, validatePins, validateVersionString };
280
+ export { type DoctorReport, type FitIo, type InstallCommand, type LogLikIo, type MatrixEntry, type MatrixIo, type MatrixResult, type PackagePins, type PredictIo, type SetupOptions, type SetupResult, type SetupStep, type SetupStepResult, type StepStatus, type WorkerStatus, addVersion, assertVersionsInstalled, detectJulia, detectJuliaup, ensureProject, gcVersions, instantiateProject, juliaEngine, juliaupInstallCommand, killWorker, listVersions, listWorkers, managedProjectDir, managedProjectReady, planSetup, predictData, removeVersion, resolveJulia, resolveVersion, runDoctor, runFit, runFitAuto, runLogLik, runMatrix, runPredict, runSetup, setDefaultVersion, sharedTmpParent, stopWorker, updateVersion, validatePins, validateVersionString };