@gaganref/confect-alchemy 10.3.1-fork.2 → 10.3.1-fork.21
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/Backend.d.ts +3 -3
- package/dist/Backend.d.ts.map +1 -1
- package/dist/Backend.js.map +1 -1
- package/dist/Code.d.ts +5 -5
- package/dist/Code.d.ts.map +1 -1
- package/dist/Code.js.map +1 -1
- package/dist/Confect.d.ts +1 -1
- package/dist/Confect.d.ts.map +1 -1
- package/dist/Confect.js.map +1 -1
- package/dist/Convex.d.ts +6 -6
- package/dist/Convex.d.ts.map +1 -1
- package/dist/Convex.js.map +1 -1
- package/dist/ConvexClient.js.map +1 -1
- package/dist/DeployKey.d.ts +7 -7
- package/dist/DeployKey.d.ts.map +1 -1
- package/dist/DeployKey.js.map +1 -1
- package/dist/Deployment.d.ts +6 -6
- package/dist/Deployment.d.ts.map +1 -1
- package/dist/Deployment.js.map +1 -1
- package/dist/EnvironmentVariables.d.ts +4 -4
- package/dist/EnvironmentVariables.d.ts.map +1 -1
- package/dist/EnvironmentVariables.js.map +1 -1
- package/dist/Project.d.ts +6 -6
- package/dist/Project.d.ts.map +1 -1
- package/dist/Project.js.map +1 -1
- package/dist/Providers.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/internal/CodeDeployment.d.ts +4 -4
- package/dist/internal/CodeDeployment.d.ts.map +1 -1
- package/dist/internal/CodeDeployment.js.map +1 -1
- package/dist/internal/LocalBackend.js.map +1 -1
- package/dist/internal/LocalSidecar.d.ts +1 -1
- package/dist/internal/LocalSidecar.js.map +1 -1
- package/dist/internal/PushLock.js.map +1 -1
- package/package.json +3 -3
- package/src/Backend.ts +2 -2
- package/src/Code.ts +7 -4
- package/src/Confect.ts +1 -1
- package/src/Convex.ts +10 -6
- package/src/ConvexClient.ts +1 -1
- package/src/DeployKey.ts +5 -5
- package/src/Deployment.ts +5 -5
- package/src/EnvironmentVariables.ts +3 -3
- package/src/Project.ts +4 -4
- package/src/Providers.ts +8 -8
- package/src/index.ts +2 -2
- package/src/internal/CodeDeployment.ts +4 -4
- package/src/internal/LocalBackend.ts +5 -5
- package/src/internal/LocalSidecar.ts +1 -1
- package/src/internal/PushLock.ts +2 -2
package/src/Project.ts
CHANGED
|
@@ -5,10 +5,10 @@ import { Resource } from "alchemy/Resource";
|
|
|
5
5
|
import * as Effect from "effect/Effect";
|
|
6
6
|
import * as Schema from "effect/Schema";
|
|
7
7
|
|
|
8
|
-
import { ConvexClient } from "./ConvexClient";
|
|
9
|
-
import type { Providers } from "./Providers";
|
|
10
|
-
import { resourceName } from "./internal/ResourceIdentity";
|
|
11
|
-
import { checkpointCreate, shouldAdopt } from "./internal/Lifecycle";
|
|
8
|
+
import { ConvexClient } from "./ConvexClient.js";
|
|
9
|
+
import type { Providers } from "./Providers.js";
|
|
10
|
+
import { resourceName } from "./internal/ResourceIdentity.js";
|
|
11
|
+
import { checkpointCreate, shouldAdopt } from "./internal/Lifecycle.js";
|
|
12
12
|
|
|
13
13
|
export interface ProjectProps {
|
|
14
14
|
readonly teamId: number;
|
package/src/Providers.ts
CHANGED
|
@@ -3,14 +3,14 @@ import * as Provider from "alchemy/Provider";
|
|
|
3
3
|
import type * as Redacted from "effect/Redacted";
|
|
4
4
|
import * as Layer from "effect/Layer";
|
|
5
5
|
import * as FetchHttpClient from "effect/http/FetchHttpClient";
|
|
6
|
-
import * as Code from "./Code";
|
|
7
|
-
import * as ConvexClient from "./ConvexClient";
|
|
8
|
-
import * as Deployment from "./Deployment";
|
|
9
|
-
import * as DeployKey from "./DeployKey";
|
|
10
|
-
import * as EnvironmentVariables from "./EnvironmentVariables";
|
|
11
|
-
import * as Project from "./Project";
|
|
12
|
-
import * as CommandRunner from "./internal/CommandRunner";
|
|
13
|
-
import * as PushLock from "./internal/PushLock";
|
|
6
|
+
import * as Code from "./Code.js";
|
|
7
|
+
import * as ConvexClient from "./ConvexClient.js";
|
|
8
|
+
import * as Deployment from "./Deployment.js";
|
|
9
|
+
import * as DeployKey from "./DeployKey.js";
|
|
10
|
+
import * as EnvironmentVariables from "./EnvironmentVariables.js";
|
|
11
|
+
import * as Project from "./Project.js";
|
|
12
|
+
import * as CommandRunner from "./internal/CommandRunner.js";
|
|
13
|
+
import * as PushLock from "./internal/PushLock.js";
|
|
14
14
|
|
|
15
15
|
export class Providers extends Provider.ProviderCollection<Providers>()(
|
|
16
16
|
"@confect/alchemy/Providers",
|
package/src/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * as Convex from "./Convex";
|
|
2
|
-
export * as Confect from "./Confect";
|
|
1
|
+
export * as Convex from "./Convex.js";
|
|
2
|
+
export * as Confect from "./Confect.js";
|
|
@@ -3,10 +3,10 @@ import * as Effect from "effect/Effect";
|
|
|
3
3
|
import * as Redacted from "effect/Redacted";
|
|
4
4
|
import * as Result from "effect/Result";
|
|
5
5
|
import * as Schema from "effect/Schema";
|
|
6
|
-
import type { CodeProps } from "../Code";
|
|
7
|
-
import { CommandRunner, type PushTarget } from "./CommandRunner";
|
|
8
|
-
import * as Loopback from "./Loopback";
|
|
9
|
-
import { PushLock } from "./PushLock";
|
|
6
|
+
import type { CodeProps } from "../Code.js";
|
|
7
|
+
import { CommandRunner, type PushTarget } from "./CommandRunner.js";
|
|
8
|
+
import * as Loopback from "./Loopback.js";
|
|
9
|
+
import { PushLock } from "./PushLock.js";
|
|
10
10
|
|
|
11
11
|
export class InvalidDeploymentTarget extends Schema.TaggedError<InvalidDeploymentTarget>()(
|
|
12
12
|
"InvalidDeploymentTarget",
|
|
@@ -17,11 +17,11 @@ import * as Semaphore from "effect/Semaphore";
|
|
|
17
17
|
import * as Stream from "effect/Stream";
|
|
18
18
|
import * as HttpClient from "effect/http/HttpClient";
|
|
19
19
|
import { ChildProcess, ChildProcessSpawner } from "effect/process";
|
|
20
|
-
import { processEnvironment } from "./CommandRunner";
|
|
21
|
-
import * as FileLock from "./FileLock";
|
|
22
|
-
import * as Loopback from "./Loopback";
|
|
23
|
-
import { userCache } from "./UserCache";
|
|
24
|
-
import { extract } from "./Zip";
|
|
20
|
+
import { processEnvironment } from "./CommandRunner.js";
|
|
21
|
+
import * as FileLock from "./FileLock.js";
|
|
22
|
+
import * as Loopback from "./Loopback.js";
|
|
23
|
+
import { userCache } from "./UserCache.js";
|
|
24
|
+
import { extract } from "./Zip.js";
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* The backend release a new local deployment runs. An existing data directory
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* builds its default export once per dev session.
|
|
5
5
|
*/
|
|
6
6
|
import type * as RpcServer from "alchemy/Local/RpcServer";
|
|
7
|
-
import { localLayer } from "../Deployment";
|
|
7
|
+
import { localLayer } from "../Deployment.js";
|
|
8
8
|
|
|
9
9
|
export default localLayer satisfies RpcServer.ProviderLayer;
|
package/src/internal/PushLock.ts
CHANGED
|
@@ -8,8 +8,8 @@ import * as Option from "effect/Option";
|
|
|
8
8
|
import * as Path from "effect/Path";
|
|
9
9
|
import * as Schema from "effect/Schema";
|
|
10
10
|
import * as Scope from "effect/Scope";
|
|
11
|
-
import * as FileLock from "./FileLock";
|
|
12
|
-
import { userCache } from "./UserCache";
|
|
11
|
+
import * as FileLock from "./FileLock.js";
|
|
12
|
+
import { userCache } from "./UserCache.js";
|
|
13
13
|
|
|
14
14
|
export class PushLockError extends Schema.TaggedError<PushLockError>()(
|
|
15
15
|
"PushLockError",
|