@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 CHANGED
@@ -18630,7 +18630,39 @@ var prReviewBundle = {
18630
18630
  }
18631
18631
  ],
18632
18632
  skills: [reviewPrSkill, reviewPrsSkill],
18633
- subAgents: [prReviewerSubAgent]
18633
+ subAgents: [prReviewerSubAgent],
18634
+ labels: [
18635
+ {
18636
+ name: "type:pr-review",
18637
+ color: "5319E7",
18638
+ description: "PR review tasks"
18639
+ },
18640
+ {
18641
+ name: "origin:issue-worker",
18642
+ color: "5319E7",
18643
+ description: "PR opened by the issue-worker agent"
18644
+ },
18645
+ {
18646
+ name: "review:auto-ok",
18647
+ color: "0E8A16",
18648
+ description: "Force auto-merge regardless of policy"
18649
+ },
18650
+ {
18651
+ name: "review:human-required",
18652
+ color: "D93F0B",
18653
+ description: "Force human review regardless of policy"
18654
+ },
18655
+ {
18656
+ name: "review:awaiting-human",
18657
+ color: "FBCA04",
18658
+ description: "Reviewer handed off; awaiting human merge decision"
18659
+ },
18660
+ {
18661
+ name: "review:fixing",
18662
+ color: "D4C5F9",
18663
+ description: "Short-lived lease while issue-worker applies feedback fixes"
18664
+ }
18665
+ ]
18634
18666
  };
18635
18667
 
18636
18668
  // src/agent/bundles/projen.ts
@@ -35302,6 +35334,15 @@ var ReactViteSiteProject = class extends TypeScriptProject {
35302
35334
  this.tsconfig?.file.addOverride("compilerOptions.noEmit", true);
35303
35335
  this.tsconfig?.file.addOverride("compilerOptions.skipLibCheck", true);
35304
35336
  this.tsconfig?.file.addOverride("compilerOptions.strict", true);
35337
+ this.tsconfig?.file.addOverride(
35338
+ "compilerOptions.noUncheckedIndexedAccess",
35339
+ true
35340
+ );
35341
+ this.tsconfig?.file.addOverride("compilerOptions.noImplicitOverride", true);
35342
+ this.tsconfig?.file.addOverride(
35343
+ "compilerOptions.exactOptionalPropertyTypes",
35344
+ true
35345
+ );
35305
35346
  this.tsconfig?.file.addOverride("compilerOptions.resolveJsonModule", true);
35306
35347
  this.tsconfig?.file.addOverride("compilerOptions.declaration", false);
35307
35348
  this.tsconfig?.file.addOverride("compilerOptions.paths", {
@@ -35337,6 +35378,19 @@ export default defineConfig({
35337
35378
  plugins: [tailwindcss(), react()],
35338
35379
  resolve: { alias: { '@': path.resolve(__dirname, 'src') } },
35339
35380
  });
35381
+ `
35382
+ });
35383
+ new import_projen25.SampleFile(this, "src/vite-env.d.ts", {
35384
+ contents: `/// <reference types="vite/client" />
35385
+
35386
+ interface ImportMetaEnv {
35387
+ // Declare your VITE_* env vars here, e.g.
35388
+ // readonly VITE_API_BASE_URL: string;
35389
+ }
35390
+
35391
+ interface ImportMeta {
35392
+ readonly env: ImportMetaEnv;
35393
+ }
35340
35394
  `
35341
35395
  });
35342
35396
  if (options.testRunner !== TestRunner.JEST) {
@@ -35392,11 +35446,13 @@ export default mergeConfig(
35392
35446
  "@types/react",
35393
35447
  "@types/react-dom",
35394
35448
  "eslint-plugin-react",
35395
- "eslint-plugin-react-hooks"
35449
+ "eslint-plugin-react-hooks",
35450
+ "eslint-plugin-jsx-a11y"
35396
35451
  );
35397
35452
  this.eslint?.addExtends("plugin:react/recommended");
35398
35453
  this.eslint?.addExtends("plugin:react/jsx-runtime");
35399
35454
  this.eslint?.addExtends("plugin:react-hooks/recommended");
35455
+ this.eslint?.addExtends("plugin:jsx-a11y/recommended");
35400
35456
  this.eslint?.addOverride({
35401
35457
  files: ["**/*.{tsx,jsx}"],
35402
35458
  // Projen's ESLint override type does not include `settings`, but