Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,022 changes: 1,011 additions & 1,011 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Alchemy

[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/alchemy-run/alchemy)
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/alchemy-run/alchemy-async)

Alchemy is an embeddable, TypeScript-native Infrastructure-as-Code (IaC) library for modeling Resources that are Created, Updated and Deleted automatically.

Expand Down
2 changes: 1 addition & 1 deletion alchemy-web/alchemy.run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ console.log(url);
if (process.env.PULL_REQUEST) {
await GitHubComment("comment", {
owner: "alchemy-run",
repository: "alchemy",
repository: "alchemy-async",
issueNumber: Number(process.env.PULL_REQUEST),
body: `
## 🚀 Website Preview Deployed
Expand Down
5 changes: 3 additions & 2 deletions alchemy-web/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default defineConfig({
{
icon: "github",
label: "GitHub",
href: "https://github.com/alchemy-run/alchemy",
href: "https://github.com/alchemy-run/alchemy-async",
},
{
icon: "x.com",
Expand All @@ -69,7 +69,8 @@ export default defineConfig({
},
],
editLink: {
baseUrl: "https://github.com/alchemy-run/alchemy/edit/main/alchemy-web",
baseUrl:
"https://github.com/alchemy-run/alchemy-async/edit/main/alchemy-web",
},
components: {
Hero: "./src/components/Hero.astro",
Expand Down
2 changes: 1 addition & 1 deletion alchemy-web/src/components/Head.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const organizationSchema: WithContext<Organization> = {
url: Astro.url.origin,
logo: `${Astro.url.origin}/alchemy-logo-dark.svg`,
sameAs: [
"https://github.com/alchemy-run/alchemy",
"https://github.com/alchemy-run/alchemy-async",
"https://x.com/alchemy_run",
"https://discord.gg/jwKw8dBJdN",
],
Expand Down
2 changes: 1 addition & 1 deletion alchemy-web/src/content/docs/guides/custom-resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ In Alchemy, a Resource is "just a function". This makes it super easy to generat

## Cursorrules

To start generating resources, copy Alchemy's [.cursorrules](https://github.com/alchemy-run/alchemy/blob/main/.cursorrules) into your repo
To start generating resources, copy Alchemy's [.cursorrules](https://github.com/alchemy-run/alchemy-async/blob/main/.cursorrules) into your repo

:::note
All of Alchemy's "built-in" resouces are generated this way, so it is tried and tested.
Expand Down
2 changes: 1 addition & 1 deletion alchemy-web/src/content/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ hero:
link: /getting-started
variant: primary
- text: ⭐ Star on GitHub
link: https://github.com/alchemy-run/alchemy
link: https://github.com/alchemy-run/alchemy-async
variant: secondary
---
2 changes: 1 addition & 1 deletion alchemy-web/src/content/docs/providers/docker/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ export const url = `http://localhost:3000`;

## Additional Resources

For more complex examples, see the [Docker Example](https://github.com/alchemy-run/alchemy/tree/main/examples/docker) in the Alchemy repository.
For more complex examples, see the [Docker Example](https://github.com/alchemy-run/alchemy-async/tree/main/examples/docker) in the Alchemy repository.
2 changes: 1 addition & 1 deletion alchemy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "Sam Goodwin <sam@alchemy.run>",
"repository": {
"type": "git",
"url": "git+https://github.com/alchemy-run/alchemy.git",
"url": "git+https://github.com/alchemy-run/alchemy-async.git",
"directory": "alchemy"
},
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion alchemy/src/cloudflare/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1601,7 +1601,7 @@ async function provisionResources<B extends Bindings>(
// In local dev mode, queue.id is "" (no Cloudflare API call).
// Use queue.dev.id (resource ID, e.g. "email-queue") to avoid
// all consumers colliding on the same "-consumer" resource ID.
// See: https://github.com/alchemy-run/alchemy/issues/1363
// See: https://github.com/alchemy-run/alchemy-async/issues/1363
const queueConsumerId = options.local
? eventSource.queue.dev?.id || eventSource.queue.id
: eventSource.queue.id;
Expand Down
2 changes: 1 addition & 1 deletion alchemy/src/cloudflare/zone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ export const Zone = Resource(

// Add a small delay to ensure settings are propagated
// TODO(michael): do we need this?
// https://github.com/alchemy-run/alchemy/issues/681
// https://github.com/alchemy-run/alchemy-async/issues/681
await new Promise((resolve) => setTimeout(resolve, 2000));

// Update Bot Management configuration if provided
Expand Down
4 changes: 2 additions & 2 deletions alchemy/src/scope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ export class Scope {
destroyStrategy ?? this.parent?.destroyStrategy ?? "sequential";
if (this.local) {
this.logger.warnOnce(
"Development mode is in beta. Please report any issues to https://github.com/alchemy-run/alchemy/issues.",
"Development mode is in beta. Please report any issues to https://github.com/alchemy-run/alchemy-async/issues.",
);
}

Expand Down Expand Up @@ -652,7 +652,7 @@ export class Scope {
throw e;
})) ?? [];

//todo(michael): remove once we deprecate doss; see: https://github.com/alchemy-run/alchemy/issues/585
//todo(michael): remove once we deprecate doss; see: https://github.com/alchemy-run/alchemy-async/issues/585
let hasCorruptedResources = false;
if (pendingDeletions) {
for (const { resource, oldProps } of pendingDeletions) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/alchemy-run/alchemy"
"url": "https://github.com/alchemy-run/alchemy-async"
},
"workspaces": {
"catalog": {
Expand Down
6 changes: 3 additions & 3 deletions scripts/bump.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export async function generateReleaseNotes(tag: string) {
to: tag,
emoji: true,
contributors: true,
repo: "alchemy-run/alchemy",
repo: "alchemy-run/alchemy-async",
});
const fileContents = await readFile(
join(process.cwd(), "CHANGELOG.md"),
Expand Down Expand Up @@ -42,7 +42,7 @@ async function checkNpmVersion(
async function checkGithubTag(version: string): Promise<boolean> {
try {
const response = await fetch(
`https://api.github.com/repos/alchemy-run/alchemy/git/refs/tags/v${version}`,
`https://api.github.com/repos/alchemy-run/alchemy-async/git/refs/tags/v${version}`,
);
return response.ok;
} catch {
Expand All @@ -53,7 +53,7 @@ async function checkGithubTag(version: string): Promise<boolean> {
async function checkGithubRelease(version: string): Promise<boolean> {
try {
const response = await fetch(
`https://api.github.com/repos/alchemy-run/alchemy/releases/tags/v${version}`,
`https://api.github.com/repos/alchemy-run/alchemy-async/releases/tags/v${version}`,
);
return response.ok;
} catch {
Expand Down
8 changes: 4 additions & 4 deletions stacks/src/repo.run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const githubRole = await Role("github-oidc-role", {
},
StringLike: {
"token.actions.githubusercontent.com:sub":
"repo:alchemy-run/alchemy:*",
"repo:alchemy-run/alchemy-async:*",
},
},
},
Expand All @@ -58,7 +58,7 @@ const stateStore = await R2Bucket("state-store", {

const testEnvironment = await RepositoryEnvironment("test environment", {
owner: "alchemy-run",
repository: "alchemy",
repository: "alchemy-async",
name: "test",
reviewers: {
users: ["alchemy-run"],
Expand Down Expand Up @@ -107,7 +107,7 @@ const secrets = {
await Promise.all([
GitHubOIDCProvider("github-oidc", {
owner: "alchemy-run",
repository: "alchemy",
repository: "alchemy-async",
roleArn: githubRole.arn,
}),
SSMParameter("github-ci-secrets", {
Expand All @@ -127,7 +127,7 @@ await Promise.all([
...Object.entries(secrets).flatMap(async ([name, value]) => {
const props = {
owner: "alchemy-run",
repository: "alchemy",
repository: "alchemy-async",
name,
value: typeof value === "string" ? alchemy.secret(value) : value!,
};
Expand Down
Loading