@workflow/nitro 4.0.1-beta.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/LICENSE.md ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 Vercel, Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # workflow/nitro
2
+
3
+ The docs have moved! Refer to them [here](https://useworkflow.dev/)
@@ -0,0 +1,13 @@
1
+ import { BaseBuilder } from '@workflow/cli/dist/lib/builders/base-builder';
2
+ import { VercelBuildOutputAPIBuilder } from '@workflow/cli/dist/lib/builders/vercel-build-output-api';
3
+ import type { Nitro } from 'nitro/types';
4
+ export declare class VercelBuilder extends VercelBuildOutputAPIBuilder {
5
+ constructor(nitro: Nitro);
6
+ build(): Promise<void>;
7
+ }
8
+ export declare class LocalBuilder extends BaseBuilder {
9
+ #private;
10
+ constructor(nitro: Nitro);
11
+ build(): Promise<void>;
12
+ }
13
+ //# sourceMappingURL=builders.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"builders.d.ts","sourceRoot":"","sources":["../src/builders.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAC3E,OAAO,EAAE,2BAA2B,EAAE,MAAM,yDAAyD,CAAC;AACtG,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AASzC,qBAAa,aAAc,SAAQ,2BAA2B;gBAChD,KAAK,EAAE,KAAK;IAMT,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAWtC;AAED,qBAAa,YAAa,SAAQ,WAAW;;gBAE/B,KAAK,EAAE,KAAK;IAUT,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAuBtC"}
@@ -0,0 +1,59 @@
1
+ import { mkdir, readFile, writeFile } from 'node:fs/promises';
2
+ import { join } from 'node:path';
3
+ import { BaseBuilder } from '@workflow/cli/dist/lib/builders/base-builder';
4
+ import { VercelBuildOutputAPIBuilder } from '@workflow/cli/dist/lib/builders/vercel-build-output-api';
5
+ const CommonBuildOptions = {
6
+ dirs: ['workflows'],
7
+ buildTarget: 'next', // unused in base
8
+ stepsBundlePath: '', // unused in base
9
+ workflowsBundlePath: '', // unused in base
10
+ };
11
+ export class VercelBuilder extends VercelBuildOutputAPIBuilder {
12
+ constructor(nitro) {
13
+ super({
14
+ ...CommonBuildOptions,
15
+ workingDir: nitro.options.rootDir,
16
+ });
17
+ }
18
+ async build() {
19
+ const configPath = join(this.config.workingDir, '.vercel/output/config.json');
20
+ const originalConfig = JSON.parse(await readFile(configPath, 'utf-8'));
21
+ await super.build();
22
+ const newConfig = JSON.parse(await readFile(configPath, 'utf-8'));
23
+ originalConfig.routes.unshift(...newConfig.routes);
24
+ await writeFile(configPath, JSON.stringify(originalConfig, null, 2));
25
+ }
26
+ }
27
+ export class LocalBuilder extends BaseBuilder {
28
+ #outDir;
29
+ constructor(nitro) {
30
+ const outDir = join(nitro.options.buildDir, 'workflow');
31
+ super({
32
+ ...CommonBuildOptions,
33
+ workingDir: nitro.options.rootDir,
34
+ watch: nitro.options.dev,
35
+ });
36
+ this.#outDir = outDir;
37
+ }
38
+ async build() {
39
+ const inputFiles = await this.getInputFiles();
40
+ await mkdir(this.#outDir, { recursive: true });
41
+ await this.createWorkflowsBundle({
42
+ outfile: join(this.#outDir, 'workflows.mjs'),
43
+ bundleFinalOutput: false,
44
+ format: 'esm',
45
+ inputFiles,
46
+ });
47
+ await this.createStepsBundle({
48
+ outfile: join(this.#outDir, 'steps.mjs'),
49
+ externalizeNonSteps: true,
50
+ format: 'esm',
51
+ inputFiles,
52
+ });
53
+ await this.createWebhookBundle({
54
+ outfile: join(this.#outDir, 'webhook.mjs'),
55
+ bundle: false,
56
+ });
57
+ }
58
+ }
59
+ //# sourceMappingURL=builders.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"builders.js","sourceRoot":"","sources":["../src/builders.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAC3E,OAAO,EAAE,2BAA2B,EAAE,MAAM,yDAAyD,CAAC;AAGtG,MAAM,kBAAkB,GAAG;IACzB,IAAI,EAAE,CAAC,WAAW,CAAC;IACnB,WAAW,EAAE,MAAe,EAAE,iBAAiB;IAC/C,eAAe,EAAE,EAAE,EAAE,iBAAiB;IACtC,mBAAmB,EAAE,EAAE,EAAE,iBAAiB;CAC3C,CAAC;AAEF,MAAM,OAAO,aAAc,SAAQ,2BAA2B;IAC5D,YAAY,KAAY;QACtB,KAAK,CAAC;YACJ,GAAG,kBAAkB;YACrB,UAAU,EAAE,KAAK,CAAC,O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,IAAI,CAAC,OAAO,EAAE,eAAe,CAAC;YAC5C,iBAAiB,EAAE,KAAK;YACxB,MAAM,EAAE,KAAK;YACb,UAAU;SACX,CAAC,CAAC;QAEH,MAAM,IAAI,CAAC,iBAAiB,CAAC;YAC3B,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC;YACxC,mBAAmB,EAAE,IAAI;YACzB,MAAM,EAAE,KAAK;YACb,UAAU;SACX,CAAC,CAAC;QAEH,MAAM,IAAI,CAAC,mBAAmB,CAAC;YAC7B,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,aAAa,CAAC;YAC1C,MAAM,EAAE,KAAK;SACd,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -0,0 +1,7 @@
1
+ import type { Nitro } from 'nitro/types';
2
+ declare const _default: {
3
+ name: string;
4
+ setup(this: void, nitro: Nitro): Promise<void>;
5
+ };
6
+ export default _default;
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAA6B,MAAM,aAAa,CAAC;;;6BAM/C,KAAK;;AAF1B,wBA8CwB"}
package/dist/index.js ADDED
@@ -0,0 +1,52 @@
1
+ import { posix } from 'node:path';
2
+ import { LocalBuilder, VercelBuilder } from './builders';
3
+ import { workflowRollupPlugin } from './rollup-plugin';
4
+ export default {
5
+ name: 'workflow/nitro',
6
+ async setup(nitro) {
7
+ const isVercelDeploy = !nitro.options.dev && nitro.options.preset === 'vercel';
8
+ // Add transform plugin
9
+ nitro.hooks.hook('rollup:before', (_nitro, config) => {
10
+ config.plugins.push(workflowRollupPlugin());
11
+ });
12
+ // Temporary workaround for debug unenv mock
13
+ nitro.options.alias['debug'] ??= 'debug';
14
+ // Generate functions for vercel build
15
+ if (isVercelDeploy) {
16
+ nitro.hooks.hook('compiled', async () => {
17
+ await new VercelBuilder(nitro).build();
18
+ });
19
+ }
20
+ // Generate local bundles for dev and local prod
21
+ if (!isVercelDeploy) {
22
+ nitro.hooks.hook('build:before', async () => {
23
+ await new LocalBuilder(nitro).build();
24
+ });
25
+ addVirtualHandler(nitro, '/.well-known/workflow/v1/webhook/:token', 'workflow/webhook.mjs');
26
+ addVirtualHandler(nitro, '/.well-known/workflow/v1/step', 'workflow/steps.mjs');
27
+ addVirtualHandler(nitro, '/.well-known/workflow/v1/flow', 'workflow/workflows.mjs');
28
+ }
29
+ },
30
+ };
31
+ function addVirtualHandler(nitro, route, buildPath) {
32
+ nitro.options.handlers.push({
33
+ route,
34
+ handler: `#${buildPath}`,
35
+ });
36
+ if (!nitro.routing) {
37
+ // Nitro v2 (legacy)
38
+ nitro.options.virtual[`#${buildPath}`] = /* js */ `
39
+ import { fromWebHandler } from "h3";
40
+ import { POST } from "${posix.join(nitro.options.buildDir, buildPath)}";
41
+ export default fromWebHandler(POST);
42
+ `;
43
+ }
44
+ else {
45
+ // Nitro v3+ (native web handlers)
46
+ nitro.options.virtual[`#${buildPath}`] = /* js */ `
47
+ import { POST } from "${posix.join(nitro.options.buildDir, buildPath)}";
48
+ export default ({ req }) => POST(req);
49
+ `;
50
+ }
51
+ }
52
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAElC,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,eAAe;IACb,IAAI,EAAE,gBAAgB;IACtB,KAAK,CAAC,KAAK,CAAC,KAAY;QACtB,MAAM,cAAc,GAClB,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,KAAK,QAAQ,CAAC;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,CAAC,IAAI,SAAS,EAAE,CAAC,GAAG,QAAQ,CAAC;;4BAE1B,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAE,SAAS,CAAC;;GAEtE,CAAC;IACF,CAAC;SAAM,CAAC;QACN,kCAAkC;QAClC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,SAAS,EAAE,CAAC,GAAG,QAAQ,CAAC;4BAC1B,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,EAAE,SAAS,CAAC;;GAEtE,CAAC;IACF,CAAC;AACH,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { RollupConfig } from 'nitro/types';
2
+ type RollupPlugin = Exclude<RollupConfig['plugins'], undefined | void | null | false | Promise<unknown> | Array<unknown>>;
3
+ export declare function workflowRollupPlugin(): RollupPlugin;
4
+ export {};
5
+ //# sourceMappingURL=rollup-plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rollup-plugin.d.ts","sourceRoot":"","sources":["../src/rollup-plugin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,KAAK,YAAY,GAAG,OAAO,CACzB,YAAY,CAAC,SAAS,CAAC,EACvB,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,OAAO,CAAC,CACpE,CAAC;AAIF,wBAAgB,oBAAoB,IAAI,YAAY,CA0CnD"}
@@ -0,0 +1,43 @@
1
+ import { transform } from '@swc/core';
2
+ import { resolveModulePath } from 'exsolve';
3
+ // https://github.com/vercel/workflow/blob/feat/nitro/packages/next/src/loader.ts
4
+ export function workflowRollupPlugin() {
5
+ return {
6
+ name: 'workflow-rollup-plugin',
7
+ // This transform applies the "use workflow"/"use step"
8
+ // client transformation
9
+ async transform(code, id) {
10
+ // only apply the transform if file needs it
11
+ if (!code.match(/(use step|use workflow)/)) {
12
+ return null;
13
+ }
14
+ const isTypeScript = id.endsWith('.ts') || id.endsWith('.tsx');
15
+ const isTsx = id.endsWith('.tsx');
16
+ const swcPlugin = resolveModulePath('@workflow/swc-plugin', {
17
+ from: [import.meta.url],
18
+ });
19
+ // Transform with SWC
20
+ const result = await transform(code, {
21
+ filename: id,
22
+ jsc: {
23
+ parser: {
24
+ syntax: isTypeScript ? 'typescript' : 'ecmascript',
25
+ tsx: isTsx,
26
+ },
27
+ target: 'es2022',
28
+ experimental: {
29
+ plugins: [[swcPlugin, { mode: 'client' }]],
30
+ },
31
+ },
32
+ minify: false,
33
+ sourceMaps: true,
34
+ inlineSourcesContent: true,
35
+ });
36
+ return {
37
+ code: result.code,
38
+ map: result.map ? JSON.parse(result.map) : null,
39
+ };
40
+ },
41
+ };
42
+ }
43
+ //# sourceMappingURL=rollup-plugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rollup-plugin.js","sourceRoot":"","sources":["../src/rollup-plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAQ5C,iFAAiF;AAEjF,MAAM,UAAU,oBAAoB;IAClC,OAAO;QACL,IAAI,EAAE,wBAAwB;QAC9B,uDAAuD;QACvD,wBAAwB;QACxB,KAAK,CAAC,SAAS,CAAC,IAAY,EAAE,EAAU;YACtC,4CAA4C;YAC5C,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,yBAAyB,CAAC,EAAE,CAAC;gBAC3C,OAAO,IAAI,CAAC;YACd,CAAC;YAED,MAAM,YAAY,GAAG,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;YAC/D,MAAM,KAAK,GAAG,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC;YAElC,MAAM,SAAS,GAAG,iBAAiB,CAAC,sBAAsB,EAAE;gBAC1D,IAAI,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;aACxB,CAAC,CAAC;YAEH,qBAAqB;YACrB,MAAM,MAAM,GAAG,MAAM,SAAS,CAAC,IAAI,EAAE;gBACnC,QAAQ,EAAE,EAAE;gBACZ,GAAG,EAAE;oBACH,MAAM,EAAE;wBACN,MAAM,EAAE,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,YAAY;wBAClD,GAAG,EAAE,KAAK;qBACX;oBACD,MAAM,EAAE,QAAQ;oBAChB,YAAY,EAAE;wBACZ,OAAO,EAAE,CAAC,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;qBAC3C;iBACF;gBACD,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE,IAAI;gBAChB,oBAAoB,EAAE,IAAI;aAC3B,CAAC,CAAC;YAEH,OAAO;gBACL,IAAI,EAAE,MAAM,CAAC,IAAI;gBACjB,GAAG,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI;aAChD,CAAC;QACJ,CAAC;KACF,CAAC;AACJ,CAAC"}
package/package.json ADDED
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "@workflow/nitro",
3
+ "version": "4.0.1-beta.1",
4
+ "description": "Nitro integration for Workflow DevKit",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
13
+ "license": "MIT",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/vercel/workflow.git",
17
+ "directory": "packages/nitro"
18
+ },
19
+ "exports": {
20
+ ".": "./dist/index.js",
21
+ "./rollup-plugin": "./dist/rollup-plugin.js"
22
+ },
23
+ "dependencies": {
24
+ "@swc/core": "1.11.24",
25
+ "exsolve": "^1.0.7",
26
+ "@workflow/swc-plugin": "4.0.1-beta.1",
27
+ "@workflow/cli": "4.0.1-beta.1",
28
+ "@workflow/core": "4.0.1-beta.1"
29
+ },
30
+ "devDependencies": {
31
+ "@types/node": "24.6.2",
32
+ "nitro": "latest",
33
+ "@workflow/tsconfig": "4.0.1-beta.0"
34
+ },
35
+ "scripts": {
36
+ "build": "tsc",
37
+ "dev": "tsc --watch",
38
+ "clean": "tsc --build --clean"
39
+ }
40
+ }