Skip to content

Commit d1bb356

Browse files
style(Wind): Apply consistent formatting to generated service interfaces and ESBuild config
Run automated formatting pass across Wind's generated Effect-TS service interfaces and ESBuild configuration files. Changes include: - ESBuild config files (BaseConfig, CompileConfig, TargetConfig, Wind.js, index.js): Add consistent line breaks between properties, normalize spacing - Source/ESBuild.js: Apply same formatting conventions - 200+ generated service interface files under Source/Effect/Generated/: Standardize whitespace with line breaks between interface members, consistent property/event/method separation This is a mechanical formatting-only change with no functional modifications. The generated interfaces are produced from VS Code upstream sources and now follow the project's PascalCase and spacing conventions uniformly. Impact: Improved readability and diff hygiene for future generated updates.
1 parent c79f5ff commit d1bb356

530 files changed

Lines changed: 33729 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Configuration/ESBuild/Config/BaseConfig.js

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Configuration/ESBuild/Config/CompileConfig.js

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Configuration/ESBuild/Config/TargetConfig.js

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Configuration/ESBuild/Constant/BoundConstant.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Configuration/ESBuild/Constant/EnvironmentConstant.js

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Configuration/ESBuild/Constant/PathConstant.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Configuration/ESBuild/Target.js

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Configuration/ESBuild/Wind.js

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Configuration/ESBuild/index.js

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Source/ESBuild.js

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,56 @@
11
export const Clean = process.env["Clean"] === "true";
2+
23
export const Meta = process.env["Meta"] === "true";
4+
35
export const On = process.env["NODE_ENV"] === "development" ||
46
process.env["TAURI_ENV_DEBUG"] === "true";
7+
58
/**
69
* @module ESBuild
710
*
811
*/
912
export default {
13+
1014
color: true,
15+
1116
format: "esm",
17+
1218
logLevel: On ? "debug" : "silent",
19+
1320
metafile: Meta,
21+
1422
minify: !On,
23+
1524
outbase: "Source/Configuration",
25+
1626
outdir: "Configuration",
27+
1728
platform: "node",
29+
1830
target: "esnext",
31+
1932
tsconfig: "tsconfig.json",
33+
2034
write: true,
35+
2136
legalComments: On ? "inline" : "none",
37+
2238
bundle: false,
39+
2340
assetNames: "Asset/[name]-[hash]",
41+
2442
sourcemap: On,
43+
2544
drop: On ? [] : ["debugger"],
45+
2646
ignoreAnnotations: !On,
47+
2748
keepNames: On,
49+
2850
plugins: [
2951
{
3052
name: "Target",
53+
3154
// @ts-ignore
3255
setup({ onStart, initialOptions: { outdir } }) {
3356
switch (true) {
@@ -38,22 +61,29 @@ export default {
3861
? await (await import("node:fs/promises")).rm(outdir, {
3962
recursive: true,
4063
})
64+
4165
: {};
4266
}
67+
4368
catch (_Error) {
4469
console.log(_Error);
4570
}
4671
});
72+
4773
break;
74+
4875
default:
4976
break;
5077
}
5178
},
5279
},
5380
],
81+
5482
loader: {
5583
".json": "copy",
84+
5685
".sh": "copy",
5786
},
5887
};
88+
5989
export const { sep, posix } = await import("node:path");

0 commit comments

Comments
 (0)