alchemy 0.20.1 → 0.22.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/lib/ai/astro-file.d.ts +4 -4
- package/lib/ai/client.d.ts +1 -1
- package/lib/ai/css-file.d.ts +4 -4
- package/lib/ai/data.d.ts +4 -4
- package/lib/ai/document.d.ts +5 -5
- package/lib/ai/html-file.d.ts +4 -4
- package/lib/ai/index.d.ts +10 -10
- package/lib/ai/json-file.d.ts +4 -4
- package/lib/ai/typescript-file.d.ts +4 -4
- package/lib/ai/vue-file.d.ts +4 -4
- package/lib/ai/yaml-file.d.ts +4 -4
- package/lib/alchemy.d.ts +5 -5
- package/lib/apply.d.ts +2 -2
- package/lib/aws/bucket.d.ts +2 -2
- package/lib/aws/control/error.d.ts +1 -1
- package/lib/aws/control/index.d.ts +4 -4
- package/lib/aws/control/resource.d.ts +2 -2
- package/lib/aws/credentials.d.ts +1 -1
- package/lib/aws/function.d.ts +3 -3
- package/lib/aws/index.d.ts +9 -9
- package/lib/aws/oidc/github-oidc-provider.d.ts +1 -1
- package/lib/aws/oidc/index.d.ts +2 -2
- package/lib/aws/oidc/oidc-provider.d.ts +2 -2
- package/lib/aws/policy-attachment.d.ts +2 -2
- package/lib/aws/policy.d.ts +2 -2
- package/lib/aws/queue.d.ts +2 -2
- package/lib/aws/role.d.ts +3 -3
- package/lib/aws/ses.d.ts +2 -2
- package/lib/aws/table.d.ts +2 -2
- package/lib/cloudflare/account-api-token.d.ts +5 -5
- package/lib/cloudflare/account-id.d.ts +1 -1
- package/lib/cloudflare/ai-gateway.d.ts +3 -3
- package/lib/cloudflare/api.d.ts +2 -2
- package/lib/cloudflare/assets.d.ts +2 -2
- package/lib/cloudflare/auth.d.ts +1 -1
- package/lib/cloudflare/bindings.d.ts +18 -18
- package/lib/cloudflare/bound.d.ts +19 -16
- package/lib/cloudflare/bound.d.ts.map +1 -1
- package/lib/cloudflare/bucket.d.ts +4 -4
- package/lib/cloudflare/bundle/bundle-worker.d.ts +2 -2
- package/lib/cloudflare/custom-domain.d.ts +3 -3
- package/lib/cloudflare/custom-domain.js.map +1 -1
- package/lib/cloudflare/d1-clone.d.ts +3 -3
- package/lib/cloudflare/d1-database.d.ts +3 -3
- package/lib/cloudflare/d1-export.d.ts +1 -1
- package/lib/cloudflare/d1-import.d.ts +1 -1
- package/lib/cloudflare/d1-migrations.d.ts +1 -1
- package/lib/cloudflare/dns-records.d.ts +4 -4
- package/lib/cloudflare/durable-object-namespace.d.ts +1 -1
- package/lib/cloudflare/event-source.d.ts +2 -2
- package/lib/cloudflare/hyperdrive.d.ts +4 -4
- package/lib/cloudflare/index.d.ts +40 -39
- package/lib/cloudflare/index.d.ts.map +1 -1
- package/lib/cloudflare/index.js +1 -0
- package/lib/cloudflare/index.js.map +1 -1
- package/lib/cloudflare/kv-namespace.d.ts +3 -3
- package/lib/cloudflare/nuxt.d.ts +4 -4
- package/lib/cloudflare/nuxt.d.ts.map +1 -1
- package/lib/cloudflare/nuxt.js +2 -1
- package/lib/cloudflare/nuxt.js.map +1 -1
- package/lib/cloudflare/permission-groups.d.ts +3 -3
- package/lib/cloudflare/pipeline.d.ts +4 -4
- package/lib/cloudflare/queue-consumer.d.ts +4 -4
- package/lib/cloudflare/queue.d.ts +3 -3
- package/lib/cloudflare/r2-rest-state-store.d.ts +3 -3
- package/lib/cloudflare/react-router.d.ts +13 -0
- package/lib/cloudflare/react-router.d.ts.map +1 -0
- package/lib/cloudflare/react-router.js +29 -0
- package/lib/cloudflare/react-router.js.map +1 -0
- package/lib/cloudflare/redwood.d.ts +4 -4
- package/lib/cloudflare/route.d.ts +4 -4
- package/lib/cloudflare/tanstack-start.d.ts +4 -4
- package/lib/cloudflare/user.d.ts +2 -2
- package/lib/cloudflare/vectorize-index.d.ts +3 -3
- package/lib/cloudflare/vectorize-metadata-index.d.ts +4 -4
- package/lib/cloudflare/vite.d.ts +4 -4
- package/lib/cloudflare/website.d.ts +3 -3
- package/lib/cloudflare/website.d.ts.map +1 -1
- package/lib/cloudflare/website.js +30 -35
- package/lib/cloudflare/website.js.map +1 -1
- package/lib/cloudflare/worker-assets.d.ts +3 -3
- package/lib/cloudflare/worker-metadata.d.ts +6 -6
- package/lib/cloudflare/worker-metadata.d.ts.map +1 -1
- package/lib/cloudflare/worker-metadata.js +110 -26
- package/lib/cloudflare/worker-metadata.js.map +1 -1
- package/lib/cloudflare/worker-stub.d.ts +3 -3
- package/lib/cloudflare/worker.d.ts +26 -17
- package/lib/cloudflare/worker.d.ts.map +1 -1
- package/lib/cloudflare/worker.js +21 -16
- package/lib/cloudflare/worker.js.map +1 -1
- package/lib/cloudflare/workflow.d.ts +3 -1
- package/lib/cloudflare/workflow.d.ts.map +1 -1
- package/lib/cloudflare/workflow.js +3 -0
- package/lib/cloudflare/workflow.js.map +1 -1
- package/lib/cloudflare/wrangler.json.d.ts +13 -2
- package/lib/cloudflare/wrangler.json.d.ts.map +1 -1
- package/lib/cloudflare/wrangler.json.js +5 -0
- package/lib/cloudflare/wrangler.json.js.map +1 -1
- package/lib/cloudflare/zone.d.ts +4 -4
- package/lib/context.d.ts +3 -3
- package/lib/destroy.d.ts +2 -2
- package/lib/dns/import-dns.d.ts +3 -3
- package/lib/dns/index.d.ts +2 -2
- package/lib/esbuild/bundle.d.ts +2 -2
- package/lib/esbuild/index.d.ts +1 -1
- package/lib/fs/copy-file.d.ts +2 -2
- package/lib/fs/file-system-state-store.d.ts +2 -2
- package/lib/fs/file.d.ts +5 -5
- package/lib/fs/folder.d.ts +2 -2
- package/lib/fs/index.d.ts +14 -14
- package/lib/fs/static-astro-file.d.ts +1 -1
- package/lib/fs/static-css-file.d.ts +1 -1
- package/lib/fs/static-html-file.d.ts +1 -1
- package/lib/fs/static-json-file.d.ts +1 -1
- package/lib/fs/static-text-file.d.ts +1 -1
- package/lib/fs/static-typescript-file.d.ts +1 -1
- package/lib/fs/static-vue-file.d.ts +1 -1
- package/lib/fs/static-yaml-file.d.ts +1 -1
- package/lib/github/index.d.ts +2 -2
- package/lib/github/repository-environment.d.ts +2 -2
- package/lib/github/secret.d.ts +3 -3
- package/lib/index.d.ts +10 -9
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/internal/docs/providers.d.ts +2 -2
- package/lib/neon/api.d.ts +1 -1
- package/lib/neon/index.d.ts +3 -3
- package/lib/neon/project.d.ts +4 -4
- package/lib/os/exec.d.ts +2 -2
- package/lib/os/index.d.ts +1 -1
- package/lib/resource.d.ts +2 -2
- package/lib/runtime/bind.d.ts +3 -3
- package/lib/runtime/global.d.ts +1 -1
- package/lib/runtime/state.d.ts +1 -1
- package/lib/scope.d.ts +3 -3
- package/lib/sentry/api.d.ts +1 -1
- package/lib/sentry/client-key.d.ts +3 -3
- package/lib/sentry/index.d.ts +4 -4
- package/lib/sentry/project.d.ts +3 -3
- package/lib/sentry/team.d.ts +3 -3
- package/lib/serde.d.ts +3 -3
- package/lib/state.d.ts +2 -2
- package/lib/stripe/index.d.ts +4 -4
- package/lib/stripe/index.d.ts.map +1 -1
- package/lib/stripe/index.js +1 -1
- package/lib/stripe/index.js.map +1 -1
- package/lib/stripe/meter.d.ts +2 -2
- package/lib/stripe/price.d.ts +2 -2
- package/lib/stripe/product.d.ts +2 -2
- package/lib/stripe/webhook.d.ts +2 -2
- package/lib/test/bun.d.ts +3 -3
- package/lib/type.d.ts +6 -0
- package/lib/type.d.ts.map +1 -0
- package/lib/type.js +7 -0
- package/lib/type.js.map +1 -0
- package/lib/upstash/api.d.ts +1 -1
- package/lib/upstash/index.d.ts +3 -3
- package/lib/upstash/redis.d.ts +4 -4
- package/lib/vercel/api.d.ts +1 -1
- package/lib/vercel/index.d.ts +3 -3
- package/lib/vercel/project-domain.d.ts +3 -3
- package/lib/vercel/project.d.ts +4 -4
- package/lib/web/astro.d.ts +2 -2
- package/lib/web/shadcn-component.d.ts +2 -2
- package/lib/web/shadcn.d.ts +3 -3
- package/lib/web/tailwind.d.ts +2 -2
- package/lib/web/vite.d.ts +2 -2
- package/lib/web/vitepress/config.d.ts +1 -1
- package/lib/web/vitepress/custom-theme.d.ts +4 -4
- package/lib/web/vitepress/dependencies.d.ts +2 -2
- package/lib/web/vitepress/home-page.d.ts +3 -3
- package/lib/web/vitepress/index.d.ts +5 -5
- package/lib/web/vitepress/vitepress.d.ts +2 -2
- package/package.json +7 -7
- package/src/ai/astro-file.ts +5 -5
- package/src/ai/client.ts +1 -1
- package/src/ai/css-file.ts +5 -5
- package/src/ai/data.ts +5 -5
- package/src/ai/document.ts +5 -5
- package/src/ai/html-file.ts +5 -5
- package/src/ai/index.ts +10 -10
- package/src/ai/json-file.ts +6 -6
- package/src/ai/typescript-file.ts +5 -5
- package/src/ai/vue-file.ts +5 -5
- package/src/ai/yaml-file.ts +6 -6
- package/src/alchemy.ts +9 -9
- package/src/apply.ts +6 -6
- package/src/aws/bucket.ts +3 -3
- package/src/aws/control/client.ts +1 -1
- package/src/aws/control/error.ts +1 -1
- package/src/aws/control/index.ts +4 -4
- package/src/aws/control/proxy.ts +1 -1
- package/src/aws/control/resource.ts +5 -5
- package/src/aws/credentials.ts +1 -1
- package/src/aws/function.ts +4 -4
- package/src/aws/index.ts +9 -9
- package/src/aws/oidc/github-oidc-provider.ts +1 -1
- package/src/aws/oidc/index.ts +2 -2
- package/src/aws/oidc/oidc-provider.ts +3 -3
- package/src/aws/policy-attachment.ts +3 -3
- package/src/aws/policy.ts +2 -2
- package/src/aws/queue.ts +2 -2
- package/src/aws/role.ts +4 -4
- package/src/aws/ses.ts +3 -3
- package/src/aws/table.ts +4 -4
- package/src/cloudflare/account-api-token.ts +7 -7
- package/src/cloudflare/account-id.ts +1 -1
- package/src/cloudflare/ai-gateway.ts +6 -6
- package/src/cloudflare/api.ts +5 -5
- package/src/cloudflare/assets.ts +3 -3
- package/src/cloudflare/auth.ts +1 -1
- package/src/cloudflare/bindings.ts +18 -18
- package/src/cloudflare/bound.ts +60 -50
- package/src/cloudflare/bucket.ts +7 -7
- package/src/cloudflare/bundle/bundle-worker.ts +8 -8
- package/src/cloudflare/bundle/local-dev-cloudflare-shim.ts +1 -1
- package/src/cloudflare/bundle/nodejs-compat.ts +1 -1
- package/src/cloudflare/custom-domain.ts +5 -5
- package/src/cloudflare/d1-clone.ts +3 -3
- package/src/cloudflare/d1-database.ts +7 -7
- package/src/cloudflare/d1-export.ts +1 -1
- package/src/cloudflare/d1-import.ts +1 -1
- package/src/cloudflare/d1-migrations.ts +2 -2
- package/src/cloudflare/dns-records.ts +5 -5
- package/src/cloudflare/durable-object-namespace.ts +1 -1
- package/src/cloudflare/event-source.ts +2 -2
- package/src/cloudflare/hyperdrive.ts +7 -7
- package/src/cloudflare/index.ts +40 -39
- package/src/cloudflare/kv-namespace.ts +7 -7
- package/src/cloudflare/nuxt.ts +6 -5
- package/src/cloudflare/permission-groups.ts +3 -3
- package/src/cloudflare/pipeline.ts +7 -7
- package/src/cloudflare/queue-consumer.ts +5 -5
- package/src/cloudflare/queue.ts +6 -6
- package/src/cloudflare/r2-rest-state-store.ts +8 -8
- package/src/cloudflare/react-router.ts +45 -0
- package/src/cloudflare/redwood.ts +4 -4
- package/src/cloudflare/route.ts +5 -5
- package/src/cloudflare/tanstack-start.ts +4 -4
- package/src/cloudflare/user.ts +3 -3
- package/src/cloudflare/vectorize-index.ts +6 -6
- package/src/cloudflare/vectorize-metadata-index.ts +5 -5
- package/src/cloudflare/vite.ts +4 -4
- package/src/cloudflare/website.ts +42 -48
- package/src/cloudflare/worker-assets.ts +4 -4
- package/src/cloudflare/worker-metadata.ts +134 -43
- package/src/cloudflare/worker-stub.ts +4 -4
- package/src/cloudflare/worker.ts +169 -124
- package/src/cloudflare/workflow.ts +7 -2
- package/src/cloudflare/wrangler.json.ts +21 -2
- package/src/cloudflare/zone.ts +5 -5
- package/src/context.ts +4 -4
- package/src/destroy.ts +4 -4
- package/src/dns/import-dns.ts +3 -3
- package/src/dns/index.ts +2 -2
- package/src/esbuild/bundle.ts +2 -2
- package/src/esbuild/index.ts +1 -1
- package/src/fs/copy-file.ts +3 -3
- package/src/fs/file-system-state-store.ts +5 -5
- package/src/fs/file.ts +7 -7
- package/src/fs/folder.ts +3 -3
- package/src/fs/index.ts +14 -14
- package/src/fs/static-astro-file.ts +1 -1
- package/src/fs/static-css-file.ts +1 -1
- package/src/fs/static-html-file.ts +1 -1
- package/src/fs/static-json-file.ts +1 -1
- package/src/fs/static-text-file.ts +1 -1
- package/src/fs/static-typescript-file.ts +1 -1
- package/src/fs/static-vue-file.ts +1 -1
- package/src/fs/static-yaml-file.ts +1 -1
- package/src/github/index.ts +2 -2
- package/src/github/repository-environment.ts +3 -3
- package/src/github/secret.ts +4 -4
- package/src/index.ts +10 -9
- package/src/internal/docs/providers.ts +4 -4
- package/src/neon/api.ts +2 -2
- package/src/neon/index.ts +3 -3
- package/src/neon/project.ts +6 -6
- package/src/os/exec.ts +2 -2
- package/src/os/index.ts +1 -1
- package/src/resource.ts +3 -3
- package/src/runtime/bind.ts +7 -7
- package/src/runtime/global.ts +1 -1
- package/src/runtime/state.ts +1 -1
- package/src/scope.ts +5 -5
- package/src/secret.ts +1 -1
- package/src/sentry/api.ts +2 -2
- package/src/sentry/client-key.ts +4 -4
- package/src/sentry/index.ts +4 -4
- package/src/sentry/project.ts +4 -4
- package/src/sentry/team.ts +4 -4
- package/src/serde.ts +4 -4
- package/src/state.ts +3 -3
- package/src/stripe/index.ts +4 -4
- package/src/stripe/meter.ts +2 -2
- package/src/stripe/price.ts +2 -2
- package/src/stripe/product.ts +2 -2
- package/src/stripe/webhook.ts +2 -2
- package/src/test/bun.ts +5 -5
- package/src/type.ts +9 -0
- package/src/upstash/api.ts +1 -1
- package/src/upstash/index.ts +3 -3
- package/src/upstash/redis.ts +6 -6
- package/src/vercel/api.ts +2 -2
- package/src/vercel/index.ts +3 -3
- package/src/vercel/project-domain.ts +4 -4
- package/src/vercel/project.ts +4 -4
- package/src/web/astro.ts +7 -7
- package/src/web/shadcn-component.ts +3 -3
- package/src/web/shadcn.ts +6 -6
- package/src/web/tailwind.ts +4 -4
- package/src/web/vite.ts +8 -8
- package/src/web/vitepress/config.ts +1 -1
- package/src/web/vitepress/custom-theme.ts +10 -10
- package/src/web/vitepress/dependencies.ts +2 -2
- package/src/web/vitepress/home-page.ts +4 -4
- package/src/web/vitepress/index.ts +5 -5
- package/src/web/vitepress/vitepress.ts +7 -7
- package/lib/runtime/shims.d.ts +0 -6
- package/lib/runtime/shims.d.ts.map +0 -1
- package/lib/runtime/shims.js +0 -27
- package/lib/runtime/shims.js.map +0 -1
package/lib/type.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../src/type.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,CAAC,GAAQ,EAAE;IAC7B,MAAM,IAAI,KAAK,CAAC,wDAAwD,CAAC,CAAC;AAC5E,CAAC,CAEiB,CAAC"}
|
package/lib/upstash/api.d.ts
CHANGED
package/lib/upstash/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./api.
|
|
2
|
-
export * from "./error.
|
|
3
|
-
export * from "./redis.
|
|
1
|
+
export * from "./api.ts";
|
|
2
|
+
export * from "./error.ts";
|
|
3
|
+
export * from "./redis.ts";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/upstash/redis.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Context } from "../context.
|
|
2
|
-
import { Resource } from "../resource.
|
|
3
|
-
import type { Secret } from "../secret.
|
|
4
|
-
import { UpstashApi } from "./api.
|
|
1
|
+
import type { Context } from "../context.ts";
|
|
2
|
+
import { Resource } from "../resource.ts";
|
|
3
|
+
import type { Secret } from "../secret.ts";
|
|
4
|
+
import { UpstashApi } from "./api.ts";
|
|
5
5
|
/**
|
|
6
6
|
* Available regions for Upstash Redis databases
|
|
7
7
|
*/
|
package/lib/vercel/api.d.ts
CHANGED
package/lib/vercel/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./api.
|
|
2
|
-
export * from "./project-domain.
|
|
3
|
-
export * from "./project.
|
|
1
|
+
export * from "./api.ts";
|
|
2
|
+
export * from "./project-domain.ts";
|
|
3
|
+
export * from "./project.ts";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Context } from "../context.
|
|
2
|
-
import { Resource } from "../resource.
|
|
3
|
-
import type { Secret } from "../secret.
|
|
1
|
+
import type { Context } from "../context.ts";
|
|
2
|
+
import { Resource } from "../resource.ts";
|
|
3
|
+
import type { Secret } from "../secret.ts";
|
|
4
4
|
/**
|
|
5
5
|
* Properties for creating or updating a ProjectDomain
|
|
6
6
|
*/
|
package/lib/vercel/project.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Context } from "../context.
|
|
2
|
-
import { Resource } from "../resource.
|
|
3
|
-
import { type Secret } from "../secret.
|
|
4
|
-
import { type VercelApi } from "./api.
|
|
1
|
+
import type { Context } from "../context.ts";
|
|
2
|
+
import { Resource } from "../resource.ts";
|
|
3
|
+
import { type Secret } from "../secret.ts";
|
|
4
|
+
import { type VercelApi } from "./api.ts";
|
|
5
5
|
type TargetEnvironment = "production" | "preview" | "development";
|
|
6
6
|
export type EnvironmentVariable = {
|
|
7
7
|
/**
|
package/lib/web/astro.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Context } from "../context.
|
|
2
|
-
import { Resource } from "../resource.
|
|
1
|
+
import type { Context } from "../context.ts";
|
|
2
|
+
import { Resource } from "../resource.ts";
|
|
3
3
|
export interface ShadcnComponentProps {
|
|
4
4
|
/**
|
|
5
5
|
* The name of the component to install
|
package/lib/web/shadcn.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Context } from "../context.
|
|
2
|
-
import { Folder } from "../fs/folder.
|
|
3
|
-
import { Resource } from "../resource.
|
|
1
|
+
import type { Context } from "../context.ts";
|
|
2
|
+
import { Folder } from "../fs/folder.ts";
|
|
3
|
+
import { Resource } from "../resource.ts";
|
|
4
4
|
/**
|
|
5
5
|
* Properties for initializing Shadcn UI
|
|
6
6
|
*/
|
package/lib/web/tailwind.d.ts
CHANGED
package/lib/web/vite.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Context } from "../context.
|
|
2
|
-
import { Resource } from "../resource.
|
|
1
|
+
import type { Context } from "../context.ts";
|
|
2
|
+
import { Resource } from "../resource.ts";
|
|
3
3
|
type ViteTemplate = "vanilla" | "vanilla-ts" | "vue" | "vue-ts" | "react" | "react-ts" | "react-swc" | "react-swc-ts" | "preact" | "preact-ts" | "lit" | "lit-ts" | "svelte" | "svelte-ts" | "solid" | "solid-ts" | "qwik" | "qwik-ts";
|
|
4
4
|
export interface ViteProjectProps {
|
|
5
5
|
/**
|
|
@@ -8,5 +8,5 @@ export type VitePressConfigProps = {
|
|
|
8
8
|
themeConfig: DefaultTheme.Config;
|
|
9
9
|
};
|
|
10
10
|
export type VitePressConfig = Awaited<ReturnType<typeof VitePressConfig>>;
|
|
11
|
-
export declare function VitePressConfig(props: VitePressConfigProps): Promise<import("../../fs/file.
|
|
11
|
+
export declare function VitePressConfig(props: VitePressConfigProps): Promise<import("../../fs/file.ts").File>;
|
|
12
12
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { ModelConfig } from "../../ai/client.
|
|
2
|
-
import type { Context } from "../../context.
|
|
3
|
-
import { Resource } from "../../resource.
|
|
4
|
-
import type { Secret } from "../../secret.
|
|
1
|
+
import type { ModelConfig } from "../../ai/client.ts";
|
|
2
|
+
import type { Context } from "../../context.ts";
|
|
3
|
+
import { Resource } from "../../resource.ts";
|
|
4
|
+
import type { Secret } from "../../secret.ts";
|
|
5
5
|
/**
|
|
6
6
|
* Theme component props for customizing the layout
|
|
7
7
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Context } from "../../context.
|
|
2
|
-
import { Resource } from "../../resource.
|
|
1
|
+
import type { Context } from "../../context.ts";
|
|
2
|
+
import { Resource } from "../../resource.ts";
|
|
3
3
|
export type InstallDependencies = Resource<"project::InstallDependencies">;
|
|
4
4
|
export declare const InstallDependencies: (((this: any, id: string, props?: {}) => never) & (new (_: never) => never)) | ((this: Context<InstallDependencies>, _id: string, { cwd, dependencies, devDependencies, }: {
|
|
5
5
|
cwd: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Document } from "../../ai/document.
|
|
2
|
-
import { StaticTextFile } from "../../fs/static-text-file.
|
|
3
|
-
import type { Secret } from "../../secret.
|
|
1
|
+
import { Document } from "../../ai/document.ts";
|
|
2
|
+
import { StaticTextFile } from "../../fs/static-text-file.ts";
|
|
3
|
+
import type { Secret } from "../../secret.ts";
|
|
4
4
|
/**
|
|
5
5
|
* Image that can be themed for light/dark mode
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./config.
|
|
2
|
-
export * from "./custom-theme.
|
|
3
|
-
export * from "./home-page.
|
|
4
|
-
export * from "./process-front-matter-files.
|
|
5
|
-
export * from "./vitepress.
|
|
1
|
+
export * from "./config.ts";
|
|
2
|
+
export * from "./custom-theme.ts";
|
|
3
|
+
export * from "./home-page.ts";
|
|
4
|
+
export * from "./process-front-matter-files.ts";
|
|
5
|
+
export * from "./vitepress.ts";
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Context } from "../../context.
|
|
2
|
-
import { Resource } from "../../resource.
|
|
1
|
+
import type { Context } from "../../context.ts";
|
|
2
|
+
import { Resource } from "../../resource.ts";
|
|
3
3
|
export interface VitePressProjectProps {
|
|
4
4
|
/**
|
|
5
5
|
* The name/path of the project
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "alchemy",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"module": "./lib/index.js",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"
|
|
7
|
+
"build": "rm -rf ./*.tsbuildinfo && rm -rf ./lib && tsc -b",
|
|
8
|
+
"publish:npm": "cp ../README.md . && bun run build && npm publish && rm README.md",
|
|
8
9
|
"docs:gen": "rm -rf ./docs && typedoc"
|
|
9
10
|
},
|
|
10
11
|
"files": [
|
|
@@ -25,14 +26,13 @@
|
|
|
25
26
|
"./neon": "./lib/neon/index.js",
|
|
26
27
|
"./os": "./lib/os/index.js",
|
|
27
28
|
"./sentry": "./lib/sentry/index.js",
|
|
28
|
-
"./shadcn": "./lib/shadcn/index.js",
|
|
29
29
|
"./stripe": "./lib/stripe/index.js",
|
|
30
|
-
"./test/bun": "./lib/test/bun.js",
|
|
31
30
|
"./upstash": "./lib/upstash/index.js",
|
|
32
31
|
"./vercel": "./lib/vercel/index.js",
|
|
33
|
-
"./
|
|
34
|
-
"./web/
|
|
35
|
-
"./web/
|
|
32
|
+
"./shadcn": "./lib/web/shadcn.js",
|
|
33
|
+
"./web/astro": "./lib/web/astro.js",
|
|
34
|
+
"./web/tailwind": "./lib/web/tailwind.js",
|
|
35
|
+
"./web/vite": "./lib/web/vite.js",
|
|
36
36
|
"./web/vitepress": "./lib/web/vitepress/index.js"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
package/src/ai/astro-file.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { generateText } from "ai";
|
|
2
2
|
import prettier from "prettier";
|
|
3
|
-
import type { Context } from "../context.
|
|
4
|
-
import { StaticAstroFile } from "../fs/static-astro-file.
|
|
5
|
-
import { Resource } from "../resource.
|
|
6
|
-
import type { Secret } from "../secret.
|
|
7
|
-
import { type ModelConfig, createModel } from "./client.
|
|
3
|
+
import type { Context } from "../context.ts";
|
|
4
|
+
import { StaticAstroFile } from "../fs/static-astro-file.ts";
|
|
5
|
+
import { Resource } from "../resource.ts";
|
|
6
|
+
import type { Secret } from "../secret.ts";
|
|
7
|
+
import { type ModelConfig, createModel } from "./client.ts";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Properties for creating or updating an AstroFile
|
package/src/ai/client.ts
CHANGED
package/src/ai/css-file.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { generateText } from "ai";
|
|
2
|
-
import type { Context } from "../context.
|
|
3
|
-
import { StaticCSSFile } from "../fs/static-css-file.
|
|
4
|
-
import { Resource } from "../resource.
|
|
5
|
-
import type { Secret } from "../secret.
|
|
6
|
-
import { type ModelConfig, createModel } from "./client.
|
|
2
|
+
import type { Context } from "../context.ts";
|
|
3
|
+
import { StaticCSSFile } from "../fs/static-css-file.ts";
|
|
4
|
+
import { Resource } from "../resource.ts";
|
|
5
|
+
import type { Secret } from "../secret.ts";
|
|
6
|
+
import { type ModelConfig, createModel } from "./client.ts";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Properties for creating or updating a CSSFile
|
package/src/ai/data.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { generateObject, type CoreMessage } from "ai";
|
|
2
2
|
import type { JsonSchema, Type, type } from "arktype";
|
|
3
|
-
import type { Context } from "../context.
|
|
4
|
-
import { Resource } from "../resource.
|
|
5
|
-
import type { Secret } from "../secret.
|
|
6
|
-
import { ark } from "./ark.
|
|
7
|
-
import { createModel, type ModelConfig } from "./client.
|
|
3
|
+
import type { Context } from "../context.ts";
|
|
4
|
+
import { Resource } from "../resource.ts";
|
|
5
|
+
import type { Secret } from "../secret.ts";
|
|
6
|
+
import { ark } from "./ark.ts";
|
|
7
|
+
import { createModel, type ModelConfig } from "./client.ts";
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Properties for creating or updating an AI Object
|
package/src/ai/document.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { generateText, type CoreMessage } from "ai";
|
|
2
|
-
import type { Context } from "../context.
|
|
3
|
-
import { StaticTextFile } from "../fs/static-text-file.
|
|
4
|
-
import { Resource } from "../resource.
|
|
5
|
-
import type { Secret } from "../secret.
|
|
6
|
-
import { createModel, withRateLimitRetry, type ModelConfig } from "./client.
|
|
2
|
+
import type { Context } from "../context.ts";
|
|
3
|
+
import { StaticTextFile } from "../fs/static-text-file.ts";
|
|
4
|
+
import { Resource } from "../resource.ts";
|
|
5
|
+
import type { Secret } from "../secret.ts";
|
|
6
|
+
import { createModel, withRateLimitRetry, type ModelConfig } from "./client.ts";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Properties for creating or updating a Document
|
package/src/ai/html-file.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { generateText } from "ai";
|
|
2
|
-
import type { Context } from "../context.
|
|
3
|
-
import { StaticHTMLFile } from "../fs/static-html-file.
|
|
4
|
-
import { Resource } from "../resource.
|
|
5
|
-
import type { Secret } from "../secret.
|
|
6
|
-
import { type ModelConfig, createModel } from "./client.
|
|
2
|
+
import type { Context } from "../context.ts";
|
|
3
|
+
import { StaticHTMLFile } from "../fs/static-html-file.ts";
|
|
4
|
+
import { Resource } from "../resource.ts";
|
|
5
|
+
import type { Secret } from "../secret.ts";
|
|
6
|
+
import { type ModelConfig, createModel } from "./client.ts";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Properties for creating or updating an HTMLFile
|
package/src/ai/index.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from "./ark.
|
|
2
|
-
export * from "./astro-file.
|
|
3
|
-
export * from "./css-file.
|
|
4
|
-
export * from "./data.
|
|
5
|
-
export * from "./document.
|
|
6
|
-
export * from "./html-file.
|
|
7
|
-
export * from "./json-file.
|
|
8
|
-
export * from "./typescript-file.
|
|
9
|
-
export * from "./vue-file.
|
|
10
|
-
export * from "./yaml-file.
|
|
1
|
+
export * from "./ark.ts";
|
|
2
|
+
export * from "./astro-file.ts";
|
|
3
|
+
export * from "./css-file.ts";
|
|
4
|
+
export * from "./data.ts";
|
|
5
|
+
export * from "./document.ts";
|
|
6
|
+
export * from "./html-file.ts";
|
|
7
|
+
export * from "./json-file.ts";
|
|
8
|
+
export * from "./typescript-file.ts";
|
|
9
|
+
export * from "./vue-file.ts";
|
|
10
|
+
export * from "./yaml-file.ts";
|
package/src/ai/json-file.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { generateObject, generateText } from "ai";
|
|
2
2
|
import type { JsonSchema, Type, type } from "arktype";
|
|
3
|
-
import type { Context } from "../context.
|
|
4
|
-
import { StaticJsonFile } from "../fs/static-json-file.
|
|
5
|
-
import { Resource } from "../resource.
|
|
6
|
-
import type { Secret } from "../secret.
|
|
7
|
-
import { ark } from "./ark.
|
|
8
|
-
import { type ModelConfig, createModel } from "./client.
|
|
3
|
+
import type { Context } from "../context.ts";
|
|
4
|
+
import { StaticJsonFile } from "../fs/static-json-file.ts";
|
|
5
|
+
import { Resource } from "../resource.ts";
|
|
6
|
+
import type { Secret } from "../secret.ts";
|
|
7
|
+
import { ark } from "./ark.ts";
|
|
8
|
+
import { type ModelConfig, createModel } from "./client.ts";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Properties for creating or updating a JSONFile
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { generateText } from "ai";
|
|
2
|
-
import type { Context } from "../context.
|
|
3
|
-
import { StaticTypeScriptFile } from "../fs/static-typescript-file.
|
|
4
|
-
import { Resource } from "../resource.
|
|
5
|
-
import type { Secret } from "../secret.
|
|
6
|
-
import { createModel, type ModelConfig } from "./client.
|
|
2
|
+
import type { Context } from "../context.ts";
|
|
3
|
+
import { StaticTypeScriptFile } from "../fs/static-typescript-file.ts";
|
|
4
|
+
import { Resource } from "../resource.ts";
|
|
5
|
+
import type { Secret } from "../secret.ts";
|
|
6
|
+
import { createModel, type ModelConfig } from "./client.ts";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Properties for creating or updating a TypeScriptFile
|
package/src/ai/vue-file.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { generateText } from "ai";
|
|
2
|
-
import type { Context } from "../context.
|
|
3
|
-
import { StaticVueFile } from "../fs/static-vue-file.
|
|
4
|
-
import { Resource } from "../resource.
|
|
5
|
-
import type { Secret } from "../secret.
|
|
6
|
-
import { type ModelConfig, createModel } from "./client.
|
|
2
|
+
import type { Context } from "../context.ts";
|
|
3
|
+
import { StaticVueFile } from "../fs/static-vue-file.ts";
|
|
4
|
+
import { Resource } from "../resource.ts";
|
|
5
|
+
import type { Secret } from "../secret.ts";
|
|
6
|
+
import { type ModelConfig, createModel } from "./client.ts";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Properties for creating or updating a VueFile
|
package/src/ai/yaml-file.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { generateObject, generateText } from "ai";
|
|
2
2
|
import type { JsonSchema, Type, type } from "arktype";
|
|
3
|
-
import type { Context } from "../context.
|
|
4
|
-
import { StaticYamlFile } from "../fs/static-yaml-file.
|
|
5
|
-
import { Resource } from "../resource.
|
|
6
|
-
import type { Secret } from "../secret.
|
|
7
|
-
import { ark } from "./ark.
|
|
8
|
-
import { type ModelConfig, createModel } from "./client.
|
|
3
|
+
import type { Context } from "../context.ts";
|
|
4
|
+
import { StaticYamlFile } from "../fs/static-yaml-file.ts";
|
|
5
|
+
import { Resource } from "../resource.ts";
|
|
6
|
+
import type { Secret } from "../secret.ts";
|
|
7
|
+
import { ark } from "./ark.ts";
|
|
8
|
+
import { type ModelConfig, createModel } from "./client.ts";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Properties for creating or updating a YAMLFile
|
package/src/alchemy.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import fs from "node:fs/promises";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
|
|
4
|
-
import { DestroyedSignal, destroy } from "./destroy.
|
|
5
|
-
import { env } from "./env.
|
|
4
|
+
import { DestroyedSignal, destroy } from "./destroy.ts";
|
|
5
|
+
import { env } from "./env.ts";
|
|
6
6
|
import {
|
|
7
7
|
type PendingResource,
|
|
8
8
|
ResourceFQN,
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
ResourceKind,
|
|
11
11
|
ResourceScope,
|
|
12
12
|
ResourceSeq,
|
|
13
|
-
} from "./resource.
|
|
14
|
-
import { isRuntime } from "./runtime/global.
|
|
15
|
-
import { Scope } from "./scope.
|
|
16
|
-
import { secret } from "./secret.
|
|
17
|
-
import type { StateStoreType } from "./state.
|
|
13
|
+
} from "./resource.ts";
|
|
14
|
+
import { isRuntime } from "./runtime/global.ts";
|
|
15
|
+
import { Scope } from "./scope.ts";
|
|
16
|
+
import { secret } from "./secret.ts";
|
|
17
|
+
import type { StateStoreType } from "./state.ts";
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Type alias for semantic highlighting of `alchemy` as a type keyword
|
|
@@ -141,8 +141,8 @@ async function _alchemy(
|
|
|
141
141
|
const indent = " ".repeat(leadingSpaces);
|
|
142
142
|
|
|
143
143
|
const [{ isFileRef }, { isFileCollection }] = await Promise.all([
|
|
144
|
-
import("./fs/file-ref.
|
|
145
|
-
import("./fs/file-collection.
|
|
144
|
+
import("./fs/file-ref.ts"),
|
|
145
|
+
import("./fs/file-collection.ts"),
|
|
146
146
|
]);
|
|
147
147
|
|
|
148
148
|
const appendices: Record<string, string> = {};
|
package/src/apply.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { alchemy } from "./alchemy.
|
|
2
|
-
import { context } from "./context.
|
|
1
|
+
import { alchemy } from "./alchemy.ts";
|
|
2
|
+
import { context } from "./context.ts";
|
|
3
3
|
import {
|
|
4
4
|
PROVIDERS,
|
|
5
5
|
ResourceFQN,
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
type Provider,
|
|
12
12
|
type Resource,
|
|
13
13
|
type ResourceProps,
|
|
14
|
-
} from "./resource.
|
|
15
|
-
import { Scope } from "./scope.
|
|
16
|
-
import { serialize } from "./serde.
|
|
17
|
-
import type { State } from "./state.
|
|
14
|
+
} from "./resource.ts";
|
|
15
|
+
import { Scope } from "./scope.ts";
|
|
16
|
+
import { serialize } from "./serde.ts";
|
|
17
|
+
import type { State } from "./state.ts";
|
|
18
18
|
|
|
19
19
|
export interface ApplyOptions {
|
|
20
20
|
quiet?: boolean;
|
package/src/aws/bucket.ts
CHANGED
|
@@ -10,9 +10,9 @@ import {
|
|
|
10
10
|
PutBucketTaggingCommand,
|
|
11
11
|
S3Client,
|
|
12
12
|
} from "@aws-sdk/client-s3";
|
|
13
|
-
import type { Context } from "../context.
|
|
14
|
-
import { Resource } from "../resource.
|
|
15
|
-
import { ignore } from "../util/ignore.
|
|
13
|
+
import type { Context } from "../context.ts";
|
|
14
|
+
import { Resource } from "../resource.ts";
|
|
15
|
+
import { ignore } from "../util/ignore.ts";
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Properties for creating or updating an S3 bucket
|
package/src/aws/control/error.ts
CHANGED
package/src/aws/control/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./client.
|
|
2
|
-
export * from "./proxy.
|
|
3
|
-
export * from "./resource.
|
|
4
|
-
import { AWS } from "./proxy.
|
|
1
|
+
export * from "./client.ts";
|
|
2
|
+
export * from "./proxy.ts";
|
|
3
|
+
export * from "./resource.ts";
|
|
4
|
+
import { AWS } from "./proxy.ts";
|
|
5
5
|
|
|
6
6
|
export default AWS;
|
package/src/aws/control/proxy.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { compare } from "fast-json-patch";
|
|
2
|
-
import type { Context } from "../../context.
|
|
2
|
+
import type { Context } from "../../context.ts";
|
|
3
3
|
import {
|
|
4
4
|
registerDynamicResource,
|
|
5
5
|
Resource,
|
|
6
6
|
type Provider,
|
|
7
|
-
} from "../../resource.
|
|
8
|
-
import { createCloudControlClient, type ProgressEvent } from "./client.
|
|
7
|
+
} from "../../resource.ts";
|
|
8
|
+
import { createCloudControlClient, type ProgressEvent } from "./client.ts";
|
|
9
9
|
import {
|
|
10
10
|
AlreadyExistsError,
|
|
11
11
|
ConcurrentOperationError,
|
|
12
12
|
UpdateFailedError,
|
|
13
|
-
} from "./error.
|
|
14
|
-
import readOnlyPropertiesMap from "./properties.
|
|
13
|
+
} from "./error.ts";
|
|
14
|
+
import readOnlyPropertiesMap from "./properties.ts";
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Properties for creating or updating a Cloud Control resource
|
package/src/aws/credentials.ts
CHANGED
package/src/aws/function.ts
CHANGED
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
UpdateFunctionConfigurationCommand,
|
|
16
16
|
UpdateFunctionUrlConfigCommand,
|
|
17
17
|
} from "@aws-sdk/client-lambda";
|
|
18
|
-
import type { Context } from "../context.
|
|
19
|
-
import type { Bundle } from "../esbuild/bundle.
|
|
20
|
-
import { Resource } from "../resource.
|
|
21
|
-
import { ignore } from "../util/ignore.
|
|
18
|
+
import type { Context } from "../context.ts";
|
|
19
|
+
import type { Bundle } from "../esbuild/bundle.ts";
|
|
20
|
+
import { Resource } from "../resource.ts";
|
|
21
|
+
import { ignore } from "../util/ignore.ts";
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
* Properties for creating or updating a Lambda function
|
package/src/aws/index.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from "./account-id.
|
|
2
|
-
export * from "./bucket.
|
|
3
|
-
export * from "./function.
|
|
4
|
-
export * from "./policy-attachment.
|
|
5
|
-
export * from "./policy.
|
|
6
|
-
export * from "./queue.
|
|
7
|
-
export * from "./role.
|
|
8
|
-
export * from "./ses.
|
|
9
|
-
export * from "./table.
|
|
1
|
+
export * from "./account-id.ts";
|
|
2
|
+
export * from "./bucket.ts";
|
|
3
|
+
export * from "./function.ts";
|
|
4
|
+
export * from "./policy-attachment.ts";
|
|
5
|
+
export * from "./policy.ts";
|
|
6
|
+
export * from "./queue.ts";
|
|
7
|
+
export * from "./role.ts";
|
|
8
|
+
export * from "./ses.ts";
|
|
9
|
+
export * from "./table.ts";
|
package/src/aws/oidc/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./github-oidc-provider.
|
|
2
|
-
export * from "./oidc-provider.
|
|
1
|
+
export * from "./github-oidc-provider.ts";
|
|
2
|
+
export * from "./oidc-provider.ts";
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
type Tag,
|
|
8
8
|
UpdateAssumeRolePolicyCommand,
|
|
9
9
|
} from "@aws-sdk/client-iam";
|
|
10
|
-
import type { Context } from "../../context.
|
|
11
|
-
import { Resource } from "../../resource.
|
|
12
|
-
import { AccountId } from "../account-id.
|
|
10
|
+
import type { Context } from "../../context.ts";
|
|
11
|
+
import { Resource } from "../../resource.ts";
|
|
12
|
+
import { AccountId } from "../account-id.ts";
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Properties for configuring an AWS OIDC provider for GitHub Actions
|