@workflow/next 4.0.1-beta.4 → 4.0.1-beta.5
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/index.d.ts +6 -120
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +62 -44
- package/dist/index.js.map +1 -1
- package/package.json +6 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,128 +1,14 @@
|
|
|
1
1
|
import type { NextConfig } from 'next';
|
|
2
|
-
export declare function withWorkflow(
|
|
2
|
+
export declare function withWorkflow(nextConfigOrFn: NextConfig | ((phase: string, ctx: {
|
|
3
|
+
defaultConfig: NextConfig;
|
|
4
|
+
}) => Promise<NextConfig>), { workflows, }?: {
|
|
3
5
|
workflows?: {
|
|
4
6
|
embedded?: {
|
|
5
7
|
port?: number;
|
|
6
8
|
dataDir?: string;
|
|
7
9
|
};
|
|
8
10
|
};
|
|
9
|
-
}): (phase: string
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
exportPathMap?: (defaultMap: import("next/dist/server/config-shared").ExportPathMap, ctx: {
|
|
13
|
-
dev: boolean;
|
|
14
|
-
dir: string;
|
|
15
|
-
outDir: string | null;
|
|
16
|
-
distDir: string;
|
|
17
|
-
buildId: string;
|
|
18
|
-
}) => Promise<import("next/dist/server/config-shared").ExportPathMap> | import("next/dist/server/config-shared").ExportPathMap;
|
|
19
|
-
i18n?: import("next/dist/server/config-shared").I18NConfig | null;
|
|
20
|
-
eslint?: import("next/dist/server/config-shared").ESLintConfig;
|
|
21
|
-
typescript?: import("next/dist/server/config-shared").TypeScriptConfig;
|
|
22
|
-
typedRoutes?: boolean;
|
|
23
|
-
headers?: () => Promise<import("next/dist/lib/load-custom-routes").Header[]>;
|
|
24
|
-
rewrites?: () => Promise<import("next/dist/lib/load-custom-routes").Rewrite[] | {
|
|
25
|
-
beforeFiles?: import("next/dist/lib/load-custom-routes").Rewrite[];
|
|
26
|
-
afterFiles?: import("next/dist/lib/load-custom-routes").Rewrite[];
|
|
27
|
-
fallback?: import("next/dist/lib/load-custom-routes").Rewrite[];
|
|
28
|
-
}>;
|
|
29
|
-
redirects?: () => Promise<import("next/dist/lib/load-custom-routes").Redirect[]>;
|
|
30
|
-
excludeDefaultMomentLocales?: boolean;
|
|
31
|
-
webpack?: import("next/dist/server/config-shared").NextJsWebpackConfig | null;
|
|
32
|
-
trailingSlash?: boolean;
|
|
33
|
-
env?: Record<string, string | undefined>;
|
|
34
|
-
distDir?: string;
|
|
35
|
-
cleanDistDir?: boolean;
|
|
36
|
-
assetPrefix?: string;
|
|
37
|
-
cacheHandler?: string | undefined;
|
|
38
|
-
cacheMaxMemorySize?: number;
|
|
39
|
-
useFileSystemPublicRoutes?: boolean;
|
|
40
|
-
generateBuildId?: () => string | null | Promise<string | null>;
|
|
41
|
-
generateEtags?: boolean;
|
|
42
|
-
pageExtensions?: string[];
|
|
43
|
-
compress?: boolean;
|
|
44
|
-
poweredByHeader?: boolean;
|
|
45
|
-
images?: import("next/dist/shared/lib/image-config").ImageConfig;
|
|
46
|
-
devIndicators?: false | {
|
|
47
|
-
appIsrStatus?: boolean;
|
|
48
|
-
buildActivity?: boolean;
|
|
49
|
-
buildActivityPosition?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
50
|
-
position?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
51
|
-
};
|
|
52
|
-
onDemandEntries?: {
|
|
53
|
-
maxInactiveAge?: number;
|
|
54
|
-
pagesBufferLength?: number;
|
|
55
|
-
};
|
|
56
|
-
amp?: {
|
|
57
|
-
canonicalBase?: string;
|
|
58
|
-
};
|
|
59
|
-
deploymentId?: string;
|
|
60
|
-
basePath?: string;
|
|
61
|
-
sassOptions?: {
|
|
62
|
-
implementation?: string;
|
|
63
|
-
[key: string]: any;
|
|
64
|
-
};
|
|
65
|
-
productionBrowserSourceMaps?: boolean;
|
|
66
|
-
reactProductionProfiling?: boolean;
|
|
67
|
-
reactStrictMode?: boolean | null;
|
|
68
|
-
reactMaxHeadersLength?: number;
|
|
69
|
-
publicRuntimeConfig?: {
|
|
70
|
-
[key: string]: any;
|
|
71
|
-
};
|
|
72
|
-
serverRuntimeConfig?: {
|
|
73
|
-
[key: string]: any;
|
|
74
|
-
};
|
|
75
|
-
httpAgentOptions?: {
|
|
76
|
-
keepAlive?: boolean;
|
|
77
|
-
};
|
|
78
|
-
staticPageGenerationTimeout?: number;
|
|
79
|
-
crossOrigin?: "anonymous" | "use-credentials";
|
|
80
|
-
compiler?: {
|
|
81
|
-
reactRemoveProperties?: boolean | {
|
|
82
|
-
properties?: string[];
|
|
83
|
-
};
|
|
84
|
-
relay?: {
|
|
85
|
-
src: string;
|
|
86
|
-
artifactDirectory?: string;
|
|
87
|
-
language?: "typescript" | "javascript" | "flow";
|
|
88
|
-
eagerEsModules?: boolean;
|
|
89
|
-
};
|
|
90
|
-
removeConsole?: boolean | {
|
|
91
|
-
exclude?: string[];
|
|
92
|
-
};
|
|
93
|
-
styledComponents?: boolean | import("next/dist/server/config-shared").StyledComponentsConfig;
|
|
94
|
-
emotion?: boolean | import("next/dist/server/config-shared").EmotionConfig;
|
|
95
|
-
styledJsx?: boolean | {
|
|
96
|
-
useLightningcss?: boolean;
|
|
97
|
-
};
|
|
98
|
-
define?: Record<string, string>;
|
|
99
|
-
defineServer?: Record<string, string>;
|
|
100
|
-
runAfterProductionCompile?: (metadata: {
|
|
101
|
-
projectDir: string;
|
|
102
|
-
distDir: string;
|
|
103
|
-
}) => Promise<void>;
|
|
104
|
-
};
|
|
105
|
-
output?: "standalone" | "export";
|
|
106
|
-
transpilePackages?: string[];
|
|
107
|
-
turbopack?: import("next/dist/server/config-shared").TurbopackOptions;
|
|
108
|
-
skipMiddlewareUrlNormalize?: boolean;
|
|
109
|
-
skipTrailingSlashRedirect?: boolean;
|
|
110
|
-
modularizeImports?: Record<string, {
|
|
111
|
-
transform: string | Record<string, string>;
|
|
112
|
-
preventFullImport?: boolean;
|
|
113
|
-
skipDefaultConversion?: boolean;
|
|
114
|
-
}>;
|
|
115
|
-
logging?: import("next/dist/server/config-shared").LoggingConfig | false;
|
|
116
|
-
expireTime?: number;
|
|
117
|
-
experimental?: import("next/dist/server/config-shared").ExperimentalConfig;
|
|
118
|
-
bundlePagesRouterDependencies?: boolean;
|
|
119
|
-
serverExternalPackages?: string[];
|
|
120
|
-
outputFileTracingRoot?: string;
|
|
121
|
-
outputFileTracingExcludes?: Record<string, string[]>;
|
|
122
|
-
outputFileTracingIncludes?: Record<string, string[]>;
|
|
123
|
-
watchOptions?: {
|
|
124
|
-
pollIntervalMs?: number;
|
|
125
|
-
};
|
|
126
|
-
htmlLimitedBots?: RegExp;
|
|
127
|
-
}>;
|
|
11
|
+
}): (phase: string, ctx: {
|
|
12
|
+
defaultConfig: NextConfig;
|
|
13
|
+
}) => Promise<NextConfig>;
|
|
128
14
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAGvC,wBAAgB,YAAY,CAC1B,cAAc,EACV,UAAU,GACV,CAAC,CACC,KAAK,EAAE,MAAM,EACb,GAAG,EAAE;IAAE,aAAa,EAAE,UAAU,CAAA;CAAE,KAC/B,OAAO,CAAC,UAAU,CAAC,CAAC,EAC7B,EACE,SAAS,GACV,GAAE;IACD,SAAS,CAAC,EAAE;QACV,QAAQ,CAAC,EAAE;YACT,IAAI,CAAC,EAAE,MAAM,CAAC;YACd,OAAO,CAAC,EAAE,MAAM,CAAC;SAClB,CAAC;KACH,CAAC;CACE,IAkBJ,OAAO,MAAM,EACb,KAAK;IAAE,aAAa,EAAE,UAAU,CAAA;CAAE,yBA6FrC"}
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.withWorkflow = withWorkflow;
|
|
4
7
|
const next_build_1 = require("@workflow/cli/dist/lib/builders/next-build");
|
|
5
|
-
|
|
8
|
+
const semver_1 = __importDefault(require("semver"));
|
|
9
|
+
function withWorkflow(nextConfigOrFn, { workflows, } = {}) {
|
|
6
10
|
if (!process.env.VERCEL_DEPLOYMENT_ID) {
|
|
7
11
|
if (!process.env.WORKFLOW_TARGET_WORLD) {
|
|
8
12
|
process.env.WORKFLOW_TARGET_WORLD = 'embedded';
|
|
@@ -18,51 +22,65 @@ function withWorkflow({ workflows, ...nextConfig }) {
|
|
|
18
22
|
process.env.WORKFLOW_TARGET_WORLD = 'vercel';
|
|
19
23
|
}
|
|
20
24
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
if (!nextConfig.turbopack.rules) {
|
|
27
|
-
nextConfig.turbopack.rules = {};
|
|
28
|
-
}
|
|
29
|
-
const existingRules = nextConfig.turbopack.rules;
|
|
30
|
-
nextConfig.turbopack.rules = {
|
|
31
|
-
...existingRules,
|
|
32
|
-
'*.tsx': {
|
|
33
|
-
loaders: [...(existingRules['*.tsx']?.loaders || []), loaderPath],
|
|
34
|
-
},
|
|
35
|
-
'*.ts': {
|
|
36
|
-
loaders: [...(existingRules['*.ts']?.loaders || []), loaderPath],
|
|
37
|
-
},
|
|
38
|
-
'*.jsx': {
|
|
39
|
-
loaders: [...(existingRules['*.jsx']?.loaders || []), loaderPath],
|
|
40
|
-
},
|
|
41
|
-
'*.js': {
|
|
42
|
-
loaders: [...(existingRules['*.js']?.loaders || []), loaderPath],
|
|
43
|
-
},
|
|
44
|
-
};
|
|
45
|
-
// configure the loader for webpack
|
|
46
|
-
const existingWebpackModify = nextConfig.webpack;
|
|
47
|
-
nextConfig.webpack = (...args) => {
|
|
48
|
-
const [webpackConfig] = args;
|
|
49
|
-
if (!webpackConfig.module) {
|
|
50
|
-
webpackConfig.module = {};
|
|
25
|
+
return async function buildConfig(phase, ctx) {
|
|
26
|
+
const loaderPath = require.resolve('./loader');
|
|
27
|
+
let nextConfig;
|
|
28
|
+
if (typeof nextConfigOrFn === 'function') {
|
|
29
|
+
nextConfig = await nextConfigOrFn(phase, ctx);
|
|
51
30
|
}
|
|
52
|
-
|
|
53
|
-
|
|
31
|
+
else {
|
|
32
|
+
nextConfig = nextConfigOrFn;
|
|
54
33
|
}
|
|
55
|
-
//
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
34
|
+
// shallow clone to avoid read-only on top-level
|
|
35
|
+
nextConfig = Object.assign({}, nextConfig);
|
|
36
|
+
// configure the loader if turbopack is being used
|
|
37
|
+
if (!nextConfig.turbopack) {
|
|
38
|
+
nextConfig.turbopack = {};
|
|
39
|
+
}
|
|
40
|
+
if (!nextConfig.turbopack.rules) {
|
|
41
|
+
nextConfig.turbopack.rules = {};
|
|
42
|
+
}
|
|
43
|
+
const existingRules = nextConfig.turbopack.rules;
|
|
44
|
+
const nextVersion = require('next/package.json').version;
|
|
45
|
+
const supportsTurboCondition = semver_1.default.gte(nextVersion, 'v16.0.0');
|
|
46
|
+
for (const key of ['*.tsx', '*.ts', '*.jsx', '*.js']) {
|
|
47
|
+
nextConfig.turbopack.rules[key] = {
|
|
48
|
+
...(supportsTurboCondition
|
|
49
|
+
? {
|
|
50
|
+
condition: {
|
|
51
|
+
...existingRules[key]?.condition,
|
|
52
|
+
any: [
|
|
53
|
+
...(existingRules[key]?.condition.any || []),
|
|
54
|
+
{
|
|
55
|
+
content: /(use workflow|use step)/,
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
},
|
|
59
|
+
}
|
|
60
|
+
: {}),
|
|
61
|
+
loaders: [...(existingRules[key]?.loaders || []), loaderPath],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
// configure the loader for webpack
|
|
65
|
+
const existingWebpackModify = nextConfig.webpack;
|
|
66
|
+
nextConfig.webpack = (...args) => {
|
|
67
|
+
const [webpackConfig] = args;
|
|
68
|
+
if (!webpackConfig.module) {
|
|
69
|
+
webpackConfig.module = {};
|
|
70
|
+
}
|
|
71
|
+
if (!webpackConfig.module.rules) {
|
|
72
|
+
webpackConfig.module.rules = [];
|
|
73
|
+
}
|
|
74
|
+
// loaders in webpack apply bottom->up so ensure
|
|
75
|
+
// ours comes before the default swc transform
|
|
76
|
+
webpackConfig.module.rules.push({
|
|
77
|
+
test: /.*\.(mjs|cjs|cts|ts|tsx|js|jsx)$/,
|
|
78
|
+
loader: loaderPath,
|
|
79
|
+
});
|
|
80
|
+
return existingWebpackModify
|
|
81
|
+
? existingWebpackModify(...args)
|
|
82
|
+
: webpackConfig;
|
|
83
|
+
};
|
|
66
84
|
// only run this in the main process so it only runs once
|
|
67
85
|
// as Next.js uses child processes for different builds
|
|
68
86
|
if (!process.env.WORKFLOW_NEXT_PRIVATE_BUILT &&
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAIA,oCAgIC;AApID,2EAAyE;AAEzE,oDAA4B;AAE5B,SAAgB,YAAY,CAC1B,cAK6B,EAC7B,EACE,SAAS,MAQP,EAAE;IAEN,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,oBAAoB,EA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4
4
|
"description": "Next.js integration for Workflow DevKit",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -23,13 +23,15 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@swc/core": "1.11.24",
|
|
26
|
-
"
|
|
27
|
-
"@workflow/
|
|
26
|
+
"semver": "7.7.3",
|
|
27
|
+
"@workflow/cli": "4.0.1-beta.5",
|
|
28
|
+
"@workflow/core": "4.0.1-beta.4",
|
|
28
29
|
"@workflow/swc-plugin": "4.0.1-beta.1"
|
|
29
30
|
},
|
|
30
31
|
"devDependencies": {
|
|
31
32
|
"@types/node": "24.6.2",
|
|
32
|
-
"
|
|
33
|
+
"@types/semver": "7.7.1",
|
|
34
|
+
"next": "16.0.1",
|
|
33
35
|
"@workflow/tsconfig": "4.0.1-beta.0"
|
|
34
36
|
},
|
|
35
37
|
"peerDependencies": {
|