@codedrifters/configulator 0.0.307 → 0.0.309
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/lib/index.js +58 -2
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +58 -2
- package/lib/index.mjs.map +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -18338,7 +18338,39 @@ var prReviewBundle = {
|
|
|
18338
18338
|
}
|
|
18339
18339
|
],
|
|
18340
18340
|
skills: [reviewPrSkill, reviewPrsSkill],
|
|
18341
|
-
subAgents: [prReviewerSubAgent]
|
|
18341
|
+
subAgents: [prReviewerSubAgent],
|
|
18342
|
+
labels: [
|
|
18343
|
+
{
|
|
18344
|
+
name: "type:pr-review",
|
|
18345
|
+
color: "5319E7",
|
|
18346
|
+
description: "PR review tasks"
|
|
18347
|
+
},
|
|
18348
|
+
{
|
|
18349
|
+
name: "origin:issue-worker",
|
|
18350
|
+
color: "5319E7",
|
|
18351
|
+
description: "PR opened by the issue-worker agent"
|
|
18352
|
+
},
|
|
18353
|
+
{
|
|
18354
|
+
name: "review:auto-ok",
|
|
18355
|
+
color: "0E8A16",
|
|
18356
|
+
description: "Force auto-merge regardless of policy"
|
|
18357
|
+
},
|
|
18358
|
+
{
|
|
18359
|
+
name: "review:human-required",
|
|
18360
|
+
color: "D93F0B",
|
|
18361
|
+
description: "Force human review regardless of policy"
|
|
18362
|
+
},
|
|
18363
|
+
{
|
|
18364
|
+
name: "review:awaiting-human",
|
|
18365
|
+
color: "FBCA04",
|
|
18366
|
+
description: "Reviewer handed off; awaiting human merge decision"
|
|
18367
|
+
},
|
|
18368
|
+
{
|
|
18369
|
+
name: "review:fixing",
|
|
18370
|
+
color: "D4C5F9",
|
|
18371
|
+
description: "Short-lived lease while issue-worker applies feedback fixes"
|
|
18372
|
+
}
|
|
18373
|
+
]
|
|
18342
18374
|
};
|
|
18343
18375
|
|
|
18344
18376
|
// src/agent/bundles/projen.ts
|
|
@@ -35023,6 +35055,15 @@ var ReactViteSiteProject = class extends TypeScriptProject {
|
|
|
35023
35055
|
this.tsconfig?.file.addOverride("compilerOptions.noEmit", true);
|
|
35024
35056
|
this.tsconfig?.file.addOverride("compilerOptions.skipLibCheck", true);
|
|
35025
35057
|
this.tsconfig?.file.addOverride("compilerOptions.strict", true);
|
|
35058
|
+
this.tsconfig?.file.addOverride(
|
|
35059
|
+
"compilerOptions.noUncheckedIndexedAccess",
|
|
35060
|
+
true
|
|
35061
|
+
);
|
|
35062
|
+
this.tsconfig?.file.addOverride("compilerOptions.noImplicitOverride", true);
|
|
35063
|
+
this.tsconfig?.file.addOverride(
|
|
35064
|
+
"compilerOptions.exactOptionalPropertyTypes",
|
|
35065
|
+
true
|
|
35066
|
+
);
|
|
35026
35067
|
this.tsconfig?.file.addOverride("compilerOptions.resolveJsonModule", true);
|
|
35027
35068
|
this.tsconfig?.file.addOverride("compilerOptions.declaration", false);
|
|
35028
35069
|
this.tsconfig?.file.addOverride("compilerOptions.paths", {
|
|
@@ -35058,6 +35099,19 @@ export default defineConfig({
|
|
|
35058
35099
|
plugins: [tailwindcss(), react()],
|
|
35059
35100
|
resolve: { alias: { '@': path.resolve(__dirname, 'src') } },
|
|
35060
35101
|
});
|
|
35102
|
+
`
|
|
35103
|
+
});
|
|
35104
|
+
new SampleFile5(this, "src/vite-env.d.ts", {
|
|
35105
|
+
contents: `/// <reference types="vite/client" />
|
|
35106
|
+
|
|
35107
|
+
interface ImportMetaEnv {
|
|
35108
|
+
// Declare your VITE_* env vars here, e.g.
|
|
35109
|
+
// readonly VITE_API_BASE_URL: string;
|
|
35110
|
+
}
|
|
35111
|
+
|
|
35112
|
+
interface ImportMeta {
|
|
35113
|
+
readonly env: ImportMetaEnv;
|
|
35114
|
+
}
|
|
35061
35115
|
`
|
|
35062
35116
|
});
|
|
35063
35117
|
if (options.testRunner !== TestRunner.JEST) {
|
|
@@ -35113,11 +35167,13 @@ export default mergeConfig(
|
|
|
35113
35167
|
"@types/react",
|
|
35114
35168
|
"@types/react-dom",
|
|
35115
35169
|
"eslint-plugin-react",
|
|
35116
|
-
"eslint-plugin-react-hooks"
|
|
35170
|
+
"eslint-plugin-react-hooks",
|
|
35171
|
+
"eslint-plugin-jsx-a11y"
|
|
35117
35172
|
);
|
|
35118
35173
|
this.eslint?.addExtends("plugin:react/recommended");
|
|
35119
35174
|
this.eslint?.addExtends("plugin:react/jsx-runtime");
|
|
35120
35175
|
this.eslint?.addExtends("plugin:react-hooks/recommended");
|
|
35176
|
+
this.eslint?.addExtends("plugin:jsx-a11y/recommended");
|
|
35121
35177
|
this.eslint?.addOverride({
|
|
35122
35178
|
files: ["**/*.{tsx,jsx}"],
|
|
35123
35179
|
// Projen's ESLint override type does not include `settings`, but
|