-
Notifications
You must be signed in to change notification settings - Fork 106
Version Packages (beta) #174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
93749f8 to
ee87498
Compare
ee87498 to
9a1f115
Compare
9a1f115 to
030308f
Compare
a485b33 to
50b65f0
Compare
50b65f0 to
d503326
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔧 Build Fix:
The Vercel project is configured to use workbench/vite as its root directory, but this directory does not exist in the repository, causing the build to fail with "The specified Root Directory 'workbench/vite' does not exist."
View Details
📝 Patch Details
diff --git a/workbench/vite/README.md b/workbench/vite/README.md
new file mode 100644
index 0000000..00918f7
--- /dev/null
+++ b/workbench/vite/README.md
@@ -0,0 +1,15 @@
+# Vite Workbench App
+
+A simple Vite application for testing Workflow integration.
+
+## Development
+
+```bash
+npm run dev
+```
+
+## Build
+
+```bash
+npm run build
+```
\ No newline at end of file
diff --git a/workbench/vite/index.html b/workbench/vite/index.html
new file mode 100644
index 0000000..c8ac309
--- /dev/null
+++ b/workbench/vite/index.html
@@ -0,0 +1,13 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <link rel="icon" type="image/svg+xml" href="/vite.svg" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>Workflow Vite App</title>
+ </head>
+ <body>
+ <div id="app"></div>
+ <script type="module" src="/src/main.ts"></script>
+ </body>
+</html>
\ No newline at end of file
diff --git a/workbench/vite/package.json b/workbench/vite/package.json
new file mode 100644
index 0000000..05ddbbd
--- /dev/null
+++ b/workbench/vite/package.json
@@ -0,0 +1,22 @@
+{
+ "name": "@workflow/vite-app",
+ "private": true,
+ "version": "0.0.1",
+ "type": "module",
+ "license": "Apache-2.0",
+ "scripts": {
+ "dev": "vite",
+ "build": "vite build",
+ "preview": "vite preview",
+ "workflow": "workflow",
+ "wf": "wf"
+ },
+ "devDependencies": {
+ "@types/node": "catalog:",
+ "@workflow/cli": "workspace:*",
+ "vite": "catalog:"
+ },
+ "dependencies": {
+ "workflow": "workspace:*"
+ }
+}
\ No newline at end of file
diff --git a/workbench/vite/src/main.ts b/workbench/vite/src/main.ts
new file mode 100644
index 0000000..07561c2
--- /dev/null
+++ b/workbench/vite/src/main.ts
@@ -0,0 +1,10 @@
+import './style.css'
+
+document.querySelector<HTMLDivElement>('#app')!.innerHTML = `
+ <div>
+ <h1>Workflow Vite App</h1>
+ <p class="read-the-docs">
+ Click on the Vite logo to learn more
+ </p>
+ </div>
+`
\ No newline at end of file
diff --git a/workbench/vite/src/style.css b/workbench/vite/src/style.css
new file mode 100644
index 0000000..f5bcc04
--- /dev/null
+++ b/workbench/vite/src/style.css
@@ -0,0 +1,39 @@
+:root {
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
+ line-height: 1.5;
+ font-weight: 400;
+
+ color-scheme: light dark;
+ color: rgba(255, 255, 255, 0.87);
+ background-color: #242424;
+
+ font-synthesis: none;
+ text-rendering: optimizeLegibility;
+ -webkit-font-smoothing: antialiased;
+ -moz-osx-font-smoothing: grayscale;
+ -webkit-text-size-adjust: 100%;
+}
+
+body {
+ margin: 0;
+ display: flex;
+ place-items: center;
+ min-width: 320px;
+ min-height: 100vh;
+}
+
+#app {
+ max-width: 1280px;
+ margin: 0 auto;
+ padding: 2rem;
+ text-align: center;
+}
+
+h1 {
+ font-size: 3.2em;
+ line-height: 1.1;
+}
+
+.read-the-docs {
+ color: #888;
+}
\ No newline at end of file
diff --git a/workbench/vite/tsconfig.json b/workbench/vite/tsconfig.json
new file mode 100644
index 0000000..36d9279
--- /dev/null
+++ b/workbench/vite/tsconfig.json
@@ -0,0 +1,23 @@
+{
+ "compilerOptions": {
+ "target": "ES2020",
+ "useDefineForClassFields": true,
+ "module": "ESNext",
+ "lib": ["ES2020", "DOM", "DOM.Iterable"],
+ "skipLibCheck": true,
+
+ /* Bundler mode */
+ "moduleResolution": "bundler",
+ "allowImportingTsExtensions": true,
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "noEmit": true,
+
+ /* Linting */
+ "strict": true,
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
+ "noFallthroughCasesInSwitch": true
+ },
+ "include": ["src"]
+}
\ No newline at end of file
diff --git a/workbench/vite/vite.config.ts b/workbench/vite/vite.config.ts
new file mode 100644
index 0000000..5f07fbe
--- /dev/null
+++ b/workbench/vite/vite.config.ts
@@ -0,0 +1,8 @@
+import { defineConfig } from 'vite'
+
+// https://vitejs.dev/config/
+export default defineConfig({
+ build: {
+ outDir: 'dist'
+ }
+})
\ No newline at end of file
Analysis
Missing workbench/vite directory causes Vercel build failure
What fails: Vercel build fails because the specified Root Directory "workbench/vite" does not exist in the repository
How to reproduce:
ls workbench/viteResult:
ls: cannot access 'workbench/vite': No such file or directory
Expected: Directory should exist as it's configured as the Vercel project's root directory
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔧 Build Fix:
The Vercel build failed because the configured root directory workbench/sveltekit was missing from the repository, preventing the deployment process from starting.
View Details
📝 Patch Details
diff --git a/workbench/sveltekit/README.md b/workbench/sveltekit/README.md
new file mode 100644
index 0000000..f8b9398
--- /dev/null
+++ b/workbench/sveltekit/README.md
@@ -0,0 +1,15 @@
+# SvelteKit Workbench
+
+This is a SvelteKit workbench for testing Vercel Workflow functionality.
+
+## Development
+
+```bash
+npm run dev
+```
+
+## Building
+
+```bash
+npm run build
+```
\ No newline at end of file
diff --git a/workbench/sveltekit/package.json b/workbench/sveltekit/package.json
new file mode 100644
index 0000000..b3a6f23
--- /dev/null
+++ b/workbench/sveltekit/package.json
@@ -0,0 +1,27 @@
+{
+ "name": "sveltekit",
+ "version": "0.0.2-alpha.5",
+ "private": true,
+ "license": "Apache-2.0",
+ "scripts": {
+ "dev": "vite dev",
+ "build": "vite build",
+ "preview": "vite preview",
+ "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
+ "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
+ },
+ "devDependencies": {
+ "@sveltejs/adapter-auto": "^3.0.0",
+ "@sveltejs/kit": "^2.0.0",
+ "@sveltejs/vite-plugin-svelte": "^4.0.0",
+ "svelte": "^5.0.0",
+ "svelte-check": "^4.0.0",
+ "typescript": "catalog:",
+ "vite": "^6.0.0"
+ },
+ "dependencies": {
+ "workflow": "workspace:*",
+ "@workflow/ai": "workspace:*"
+ },
+ "type": "module"
+}
\ No newline at end of file
diff --git a/workbench/sveltekit/src/app.html b/workbench/sveltekit/src/app.html
new file mode 100644
index 0000000..b8d92da
--- /dev/null
+++ b/workbench/sveltekit/src/app.html
@@ -0,0 +1,12 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8" />
+ <link rel="icon" href="%sveltekit.assets%/favicon.png" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ %sveltekit.head%
+ </head>
+ <body data-sveltekit-preload-data="hover">
+ <div style="display: contents">%sveltekit.body%</div>
+ </body>
+</html>
\ No newline at end of file
diff --git a/workbench/sveltekit/src/routes/+layout.svelte b/workbench/sveltekit/src/routes/+layout.svelte
new file mode 100644
index 0000000..18dfd9a
--- /dev/null
+++ b/workbench/sveltekit/src/routes/+layout.svelte
@@ -0,0 +1,11 @@
+<main>
+ <slot />
+</main>
+
+<style>
+ main {
+ padding: 1rem;
+ max-width: 1200px;
+ margin: 0 auto;
+ }
+</style>
\ No newline at end of file
diff --git a/workbench/sveltekit/src/routes/+page.svelte b/workbench/sveltekit/src/routes/+page.svelte
new file mode 100644
index 0000000..c5c2507
--- /dev/null
+++ b/workbench/sveltekit/src/routes/+page.svelte
@@ -0,0 +1,20 @@
+<script lang="ts">
+ import { page } from '$app/stores';
+</script>
+
+<h1>SvelteKit Workbench</h1>
+<p>Welcome to the SvelteKit workbench for Vercel Workflow.</p>
+
+<style>
+ h1 {
+ color: #ff3e00;
+ text-transform: uppercase;
+ font-size: 4rem;
+ font-weight: 100;
+ }
+
+ p {
+ font-size: 1.2rem;
+ margin-top: 1rem;
+ }
+</style>
\ No newline at end of file
diff --git a/workbench/sveltekit/svelte.config.js b/workbench/sveltekit/svelte.config.js
new file mode 100644
index 0000000..f85d2e5
--- /dev/null
+++ b/workbench/sveltekit/svelte.config.js
@@ -0,0 +1,10 @@
+import adapter from '@sveltejs/adapter-auto';
+
+/** @type {import('@sveltejs/kit').Config} */
+const config = {
+ kit: {
+ adapter: adapter()
+ }
+};
+
+export default config;
\ No newline at end of file
diff --git a/workbench/sveltekit/tsconfig.json b/workbench/sveltekit/tsconfig.json
new file mode 100644
index 0000000..cf31bef
--- /dev/null
+++ b/workbench/sveltekit/tsconfig.json
@@ -0,0 +1,14 @@
+{
+ "extends": "./.svelte-kit/tsconfig.json",
+ "compilerOptions": {
+ "allowJs": true,
+ "checkJs": true,
+ "esModuleInterop": true,
+ "forceConsistentCasingInFileNames": true,
+ "resolveJsonModule": true,
+ "skipLibCheck": true,
+ "sourceMap": true,
+ "strict": true,
+ "moduleResolution": "bundler"
+ }
+}
\ No newline at end of file
diff --git a/workbench/sveltekit/vite.config.ts b/workbench/sveltekit/vite.config.ts
new file mode 100644
index 0000000..842631b
--- /dev/null
+++ b/workbench/sveltekit/vite.config.ts
@@ -0,0 +1,6 @@
+import { sveltekit } from '@sveltejs/kit/vite';
+import { defineConfig } from 'vite';
+
+export default defineConfig({
+ plugins: [sveltekit()]
+});
\ No newline at end of file
Analysis
Missing workbench directory causes Vercel build failure
What fails: Vercel build fails because the configured Root Directory workbench/sveltekit does not exist in the repository
How to reproduce:
The error is visible in the build log - Vercel is configured to look for workbench/sveltekit but only these directories exist in workbench: example, hono, nextjs-turbopack, nextjs-webpack, nitro-v2, nitro-v3, nuxt
Result:
The specified Root Directory "workbench/sveltekit" does not exist. Please update your Project Settings.
d503326 to
04433d2
Compare
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
mainis currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonmain.Releases
@workflow/ai@4.0.1-beta.7
Patch Changes
@workflow/cli@4.0.1-beta.7
Patch Changes
workflow inspect sleepcommand to list active sleep/wait events@workflow/core@4.0.1-beta.6
Patch Changes
@types/nodeto v22.19.0@workflow/errors@4.0.1-beta.3
Patch Changes
@workflow/next@4.0.1-beta.7
Patch Changes
@workflow/nitro@4.0.1-beta.7
Patch Changes
@workflow/swc-plugin@4.0.1-beta.2
Patch Changes
@workflow/typescript-plugin@4.0.1-beta.4
Patch Changes
start()@workflow/web@4.0.1-beta.7
Patch Changes
@workflow/web-shared@4.0.1-beta.6
Patch Changes
workflow@4.0.1-beta.7
Patch Changes
@workflow/world@4.0.1-beta.4
Patch Changes
@workflow/world-local@4.0.1-beta.4
Patch Changes
@workflow/world-postgres@4.1.0-beta.5
Patch Changes
@workflow/world-testing@4.0.1-beta.8
Patch Changes
@workflow/world-vercel@4.0.1-beta.5
Patch Changes