@storm-software/workspace-tools 1.41.0 → 1.42.0

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.
@@ -127844,7 +127844,9 @@ var getConfigFile = async (filePath) => {
127844
127844
  return void 0;
127845
127845
  }
127846
127846
  const config = cosmiconfigResult.config ?? {};
127847
- cosmiconfigResult.filepath && (config.configFile = cosmiconfigResult.filepath);
127847
+ if (cosmiconfigResult.filepath) {
127848
+ config.configFile = cosmiconfigResult.filepath;
127849
+ }
127848
127850
  config.runtimeVersion = "0.0.1";
127849
127851
  _static_cache = config;
127850
127852
  return config;
@@ -131922,14 +131924,13 @@ var applyWorkspaceTokens = (options, config, tokenizerFn) => {
131922
131924
  var withRunExecutor = (name, executorFn, executorOptions = {
131923
131925
  skipReadingConfig: false,
131924
131926
  hooks: {}
131925
- }) => async (options, context) => {
131927
+ }) => async (_options, context) => {
131926
131928
  const startTime = Date.now();
131929
+ let options = _options;
131927
131930
  try {
131928
- console.info(
131929
- chalk.bold.hex("#1fb2a6")(`\u26A1 Running the ${name} executor...
131931
+ console.info(chalk.bold.hex("#1fb2a6")(`\u26A1 Running the ${name} executor...
131930
131932
 
131931
- `)
131932
- );
131933
+ `));
131933
131934
  if (!context.projectsConfigurations?.projects || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
131934
131935
  throw new Error(
131935
131936
  "The Build process failed because the context is not valid. Please run this command from a workspace."
@@ -131954,19 +131955,11 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${process.env[key]}`).join("\
131954
131955
  );
131955
131956
  }
131956
131957
  if (executorOptions?.hooks?.applyDefaultOptions) {
131957
- getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(chalk.dim(`Running the applyDefaultOptions hook...`));
131958
- options = await Promise.resolve(
131959
- executorOptions.hooks.applyDefaultOptions(options, config)
131960
- );
131961
- getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(chalk.dim(`Completed the applyDefaultOptions hook...`));
131958
+ getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(chalk.dim("Running the applyDefaultOptions hook..."));
131959
+ options = await Promise.resolve(executorOptions.hooks.applyDefaultOptions(options, config));
131960
+ getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(chalk.dim("Completed the applyDefaultOptions hook..."));
131962
131961
  }
131963
- getLogLevel(config.logLevel) >= LogLevel.INFO && console.info(
131964
- chalk.hex("#0ea5e9").italic(`
131965
-
131966
- \u2699\uFE0F Executor schema options:
131967
- `),
131968
- options
131969
- );
131962
+ getLogLevel(config.logLevel) >= LogLevel.INFO && console.info(chalk.hex("#0ea5e9").italic("\n\n \u2699\uFE0F Executor schema options: \n"), options);
131970
131963
  const tokenized = applyWorkspaceTokens(
131971
131964
  options,
131972
131965
  {
@@ -131981,44 +131974,34 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${process.env[key]}`).join("\
131981
131974
  applyWorkspaceExecutorTokens
131982
131975
  );
131983
131976
  if (executorOptions?.hooks?.preProcess) {
131984
- getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(chalk.dim(`Running the preProcess hook...`));
131985
- await Promise.resolve(
131986
- executorOptions.hooks.preProcess(tokenized, config)
131987
- );
131988
- getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(chalk.dim(`Completed the preProcess hook...`));
131977
+ getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(chalk.dim("Running the preProcess hook..."));
131978
+ await Promise.resolve(executorOptions.hooks.preProcess(tokenized, config));
131979
+ getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(chalk.dim("Completed the preProcess hook..."));
131989
131980
  }
131990
- const result = await Promise.resolve(
131991
- executorFn(tokenized, context, config)
131992
- );
131981
+ const result = await Promise.resolve(executorFn(tokenized, context, config));
131993
131982
  if (result && (!result.success || result.error && result?.error?.message && typeof result?.error?.message === "string" && result?.error?.name && typeof result?.error?.name === "string")) {
131994
131983
  throw new Error(`The ${name} executor failed to run`, {
131995
- cause: result.error
131984
+ cause: result?.error
131996
131985
  });
131997
131986
  }
131998
131987
  if (executorOptions?.hooks?.postProcess) {
131999
- getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(chalk.dim(`Running the postProcess hook...`));
131988
+ getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(chalk.dim("Running the postProcess hook..."));
132000
131989
  await Promise.resolve(executorOptions.hooks.postProcess(config));
132001
- getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(chalk.dim(`Completed the postProcess hook...`));
131990
+ getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(chalk.dim("Completed the postProcess hook..."));
132002
131991
  }
132003
131992
  console.info(
132004
- chalk.bold.hex("#087f5b")(
132005
- `
131993
+ chalk.bold.hex("#087f5b")(`
132006
131994
 
132007
131995
  \u{1F389} Successfully completed running the ${name} executor!
132008
131996
 
132009
- `
132010
- )
131997
+ `)
132011
131998
  );
132012
131999
  return {
132013
132000
  success: true
132014
132001
  };
132015
132002
  } catch (error) {
132016
132003
  console.error(
132017
- chalk.bold.hex("#7d1a1a")(
132018
- `\u274C An error occurred while running the executor
132019
-
132020
- `
132021
- ),
132004
+ chalk.bold.hex("#7d1a1a")("\u274C An error occurred while running the executor\n\n"),
132022
132005
  error
132023
132006
  );
132024
132007
  return {
@@ -138429,10 +138412,10 @@ var import_transform = __toESM(require_transform());
138429
138412
  var getTypiaTransform = (program, diagnostics) => (0, import_transform.default)(program, {}, { addDiagnostic: (input) => diagnostics.push(input) });
138430
138413
 
138431
138414
  // packages/workspace-tools/src/executors/tsup/executor.ts
138432
- async function tsupExecutorFn(options, context) {
138415
+ async function tsupExecutorFn(options, context, config) {
138433
138416
  try {
138434
138417
  console.log("\u{1F4E6} Running Storm build executor on the workspace");
138435
- options.verbose && console.log(
138418
+ getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.log(
138436
138419
  `\u2699\uFE0F Executor options:
138437
138420
  ${Object.keys(options).map(
138438
138421
  (key) => `${key}: ${!options[key] || _isPrimitive(options[key]) ? options[key] : JSON.stringify(options[key])}`
@@ -138448,7 +138431,9 @@ ${Object.keys(options).map(
138448
138431
  const projectRoot = context.projectsConfigurations.projects[context.projectName].root;
138449
138432
  const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot;
138450
138433
  if (options.clean !== false) {
138451
- console.log(`\u{1F9F9} Cleaning output path: ${options.outputPath}`);
138434
+ if (getLogLevel(config?.logLevel) >= LogLevel.DEBUG) {
138435
+ console.log(`\u{1F9F9} Cleaning output path: ${options.outputPath}`);
138436
+ }
138452
138437
  (0, import_fs_extra.removeSync)(options.outputPath);
138453
138438
  }
138454
138439
  const assets = Array.from(options.assets);
@@ -138517,11 +138502,15 @@ ${Object.keys(options).map(
138517
138502
  const implicitDependencies = context.projectsConfigurations.projects[context.projectName].implicitDependencies;
138518
138503
  const internalDependencies = [];
138519
138504
  const projectConfigs = await Promise.resolve(getProjectConfigurations());
138520
- console.log("Project Configs:");
138521
- console.log(projectConfigs);
138505
+ if (getLogLevel(config?.logLevel) >= LogLevel.TRACE) {
138506
+ console.log("Project Configs:");
138507
+ console.log(projectConfigs);
138508
+ }
138522
138509
  if (implicitDependencies && implicitDependencies.length > 0) {
138523
138510
  options.external = implicitDependencies.reduce((ret, key) => {
138524
- console.log(`\u26A1 Adding implicit dependency: ${key}`);
138511
+ if (getLogLevel(config?.logLevel) >= LogLevel.DEBUG) {
138512
+ console.log(`\u26A1 Adding implicit dependency: ${key}`);
138513
+ }
138525
138514
  const projectConfig = projectConfigs[key];
138526
138515
  if (projectConfig?.targets?.build) {
138527
138516
  const projectPackageJson = (0, import_devkit2.readJsonFile)(projectConfig.targets?.build.options.project);
@@ -138547,10 +138536,12 @@ ${Object.keys(options).map(
138547
138536
  }
138548
138537
  }
138549
138538
  }
138550
- console.log(`Building with the following dependencies marked as external:
138539
+ if (getLogLevel(config?.logLevel) >= LogLevel.TRACE) {
138540
+ console.log(`Building with the following dependencies marked as external:
138551
138541
  ${externalDependencies.map((dep) => {
138552
- return `name: ${dep.name}, node: ${dep.node}, outputs: ${dep.outputs}`;
138553
- }).join("\n")}`);
138542
+ return `name: ${dep.name}, node: ${dep.node}, outputs: ${dep.outputs}`;
138543
+ }).join("\n")}`);
138544
+ }
138554
138545
  const prettierOptions = {
138555
138546
  plugins: ["prettier-plugin-packagejson"],
138556
138547
  trailingComma: "none",
@@ -138587,12 +138578,14 @@ ${externalDependencies.map((dep) => {
138587
138578
  while (propertyKey.startsWith("/")) {
138588
138579
  propertyKey = propertyKey.substring(1);
138589
138580
  }
138590
- console.debug(
138591
- `Trying to add entry point ${propertyKey} at "${(0, import_devkit2.joinPathFragments)(
138592
- filePath.path,
138593
- filePath.name
138594
- )}"`
138595
- );
138581
+ if (getLogLevel(config?.logLevel) >= LogLevel.DEBUG) {
138582
+ console.debug(
138583
+ `Trying to add entry point ${propertyKey} at "${(0, import_devkit2.joinPathFragments)(
138584
+ filePath.path,
138585
+ filePath.name
138586
+ )}"`
138587
+ );
138588
+ }
138596
138589
  if (!(propertyKey in ret)) {
138597
138590
  ret[propertyKey] = (0, import_devkit2.joinPathFragments)(filePath.path, filePath.name);
138598
138591
  }
@@ -138708,7 +138701,9 @@ ${externalDependencies.map((dep) => {
138708
138701
  packageJson.repository ??= workspacePackageJson.repository;
138709
138702
  packageJson.repository.directory ??= projectRoot ? projectRoot : (0, import_path4.join)("packages", context.projectName);
138710
138703
  const packageJsonPath = (0, import_path4.join)(context.root, options.outputPath, "package.json");
138711
- console.log(`\u26A1 Writing package.json file to: ${packageJsonPath}`);
138704
+ if (getLogLevel(config?.logLevel) >= LogLevel.DEBUG) {
138705
+ console.debug(`\u26A1 Writing package.json file to: ${packageJsonPath}`);
138706
+ }
138712
138707
  (0, import_fs4.writeFileSync)(
138713
138708
  packageJsonPath,
138714
138709
  await (0, import_prettier.format)(JSON.stringify(packageJson), {
@@ -138771,7 +138766,7 @@ ${(0, import_fs4.readFileSync)(file, "utf-8")}`,
138771
138766
  ...options,
138772
138767
  watch: false,
138773
138768
  main: options.entry,
138774
- transformers: ["typia/lib/transform"]
138769
+ transformers: options.skipTypia ? [] : ["typia/lib/transform"]
138775
138770
  },
138776
138771
  context.root,
138777
138772
  sourceRoot,
@@ -138795,21 +138790,26 @@ ${options.banner}
138795
138790
  getTransform: options.skipTypia ? void 0 : getTypiaTransform
138796
138791
  };
138797
138792
  if (options.getConfig) {
138793
+ if (getLogLevel(config?.logLevel) >= LogLevel.INFO) {
138794
+ console.log("\u26A1 Running the Build process");
138795
+ }
138798
138796
  const getConfigFns = _isFunction(options.getConfig) ? [options.getConfig] : Object.keys(options.getConfig).map((key) => options.getConfig[key]);
138799
- const config = (0, import_tsup.defineConfig)(
138797
+ const tsupConfig = (0, import_tsup.defineConfig)(
138800
138798
  getConfigFns.map(
138801
138799
  (getConfigFn) => getConfig(context.root, projectRoot, getConfigFn, getConfigOptions)
138802
138800
  )
138803
138801
  );
138804
- if (_isFunction(config)) {
138805
- await build(await Promise.resolve(config({})));
138802
+ if (_isFunction(tsupConfig)) {
138803
+ await build(await Promise.resolve(tsupConfig({})), config);
138806
138804
  } else {
138807
- await build(config);
138805
+ await build(tsupConfig, config);
138808
138806
  }
138809
- } else {
138810
- console.log("The Build process did not run because no `getConfig` parameter was provided");
138807
+ } else if (getLogLevel(config?.logLevel) >= LogLevel.WARN) {
138808
+ console.warn("The Build process did not run because no `getConfig` parameter was provided");
138809
+ }
138810
+ if (getLogLevel(config?.logLevel) >= LogLevel.INFO) {
138811
+ console.log("\u26A1 The Build process has completed successfully");
138811
138812
  }
138812
- console.log("\u26A1 The Build process has completed successfully");
138813
138813
  return {
138814
138814
  success: true
138815
138815
  };
@@ -138835,6 +138835,7 @@ function getNormalizedTsConfig(workspaceRoot, outputPath, options) {
138835
138835
  esModuleInterop: true,
138836
138836
  downlevelIteration: true,
138837
138837
  forceConsistentCasingInFileNames: true,
138838
+ emitDeclarationOnly: true,
138838
138839
  declaration: true,
138839
138840
  declarationMap: true,
138840
138841
  declarationDir: (0, import_path4.join)(workspaceRoot, "tmp", ".tsup", "declaration")
@@ -138849,12 +138850,19 @@ function getNormalizedTsConfig(workspaceRoot, outputPath, options) {
138849
138850
  }
138850
138851
  return tsConfig;
138851
138852
  }
138852
- var build = async (options) => {
138853
- Array.isArray(options) ? options.length > 0 ? options[0].silent : false : options.silent && console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
138854
- if (Array.isArray(options)) {
138855
- await Promise.all(options.map((buildOptions) => (0, import_tsup.build)(buildOptions)));
138856
- } else {
138857
- await (0, import_tsup.build)(options);
138853
+ var build = async (options, config) => {
138854
+ try {
138855
+ if (Array.isArray(options)) {
138856
+ await Promise.all(options.map((buildOptions) => build(buildOptions, config)));
138857
+ } else {
138858
+ if (getLogLevel(config?.logLevel) >= LogLevel.TRACE && !options.silent) {
138859
+ console.log("\u2699\uFE0F Tsup build config: \n", options, "\n");
138860
+ }
138861
+ await (0, import_tsup.build)(options);
138862
+ }
138863
+ } catch (e) {
138864
+ console.error("\u26A0\uFE0F A failure occured during the Tsup Build executor");
138865
+ console.error(e);
138858
138866
  }
138859
138867
  };
138860
138868
  var applyDefaultOptions = (options) => {
@@ -138884,7 +138892,6 @@ var applyDefaultOptions = (options) => {
138884
138892
  options.skipTypia ??= false;
138885
138893
  options.define ??= {};
138886
138894
  options.env ??= {};
138887
- options.verbose ??= !!process.env.CI;
138888
138895
  options.getConfig ??= { dist: defaultConfig };
138889
138896
  return options;
138890
138897
  };
@@ -138999,12 +139006,10 @@ var tsupNodeBuildExecutorFn = (options, context, config) => {
138999
139006
  return tsupExecutorFn(
139000
139007
  {
139001
139008
  ...options,
139002
- getConfig: { "dist": nodeConfig },
139009
+ getConfig: { dist: nodeConfig },
139003
139010
  platform: "node",
139004
139011
  banner: getFileBanner(
139005
- context.projectName ? context.projectName.split(/(?=[A-Z])|[\.\-\s_]/).map((s) => s.trim()).filter((s) => !!s).map(
139006
- (s) => s ? s.toUpperCase()[0] + s.toLowerCase().slice(1) : ""
139007
- ).join(" ") : "TypeScript (NodeJs Platform)"
139012
+ context.projectName ? context.projectName.split(/(?=[A-Z])|[\.\-\s_]/).map((s) => s.trim()).filter((s) => !!s).map((s) => s ? s.toUpperCase()[0] + s.toLowerCase().slice(1) : "").join(" ") : "TypeScript (NodeJs Platform)"
139008
139013
  ),
139009
139014
  define: {
139010
139015
  ...options.define
@@ -139013,7 +139018,8 @@ var tsupNodeBuildExecutorFn = (options, context, config) => {
139013
139018
  ...process.env
139014
139019
  }
139015
139020
  },
139016
- context
139021
+ context,
139022
+ config
139017
139023
  );
139018
139024
  };
139019
139025
  var applyDefaultOptions2 = (options) => {
@@ -43534,7 +43534,9 @@ var getConfigFile = async (filePath) => {
43534
43534
  return void 0;
43535
43535
  }
43536
43536
  const config = cosmiconfigResult.config ?? {};
43537
- cosmiconfigResult.filepath && (config.configFile = cosmiconfigResult.filepath);
43537
+ if (cosmiconfigResult.filepath) {
43538
+ config.configFile = cosmiconfigResult.filepath;
43539
+ }
43538
43540
  config.runtimeVersion = "0.0.1";
43539
43541
  _static_cache = config;
43540
43542
  return config;
@@ -26292,7 +26292,9 @@ var getConfigFile = async (filePath) => {
26292
26292
  return void 0;
26293
26293
  }
26294
26294
  const config = cosmiconfigResult.config ?? {};
26295
- cosmiconfigResult.filepath && (config.configFile = cosmiconfigResult.filepath);
26295
+ if (cosmiconfigResult.filepath) {
26296
+ config.configFile = cosmiconfigResult.filepath;
26297
+ }
26296
26298
  config.runtimeVersion = "0.0.1";
26297
26299
  _static_cache = config;
26298
26300
  return config;
@@ -43534,7 +43534,9 @@ var getConfigFile = async (filePath) => {
43534
43534
  return void 0;
43535
43535
  }
43536
43536
  const config = cosmiconfigResult.config ?? {};
43537
- cosmiconfigResult.filepath && (config.configFile = cosmiconfigResult.filepath);
43537
+ if (cosmiconfigResult.filepath) {
43538
+ config.configFile = cosmiconfigResult.filepath;
43539
+ }
43538
43540
  config.runtimeVersion = "0.0.1";
43539
43541
  _static_cache = config;
43540
43542
  return config;
@@ -43534,7 +43534,9 @@ var getConfigFile = async (filePath) => {
43534
43534
  return void 0;
43535
43535
  }
43536
43536
  const config = cosmiconfigResult.config ?? {};
43537
- cosmiconfigResult.filepath && (config.configFile = cosmiconfigResult.filepath);
43537
+ if (cosmiconfigResult.filepath) {
43538
+ config.configFile = cosmiconfigResult.filepath;
43539
+ }
43538
43540
  config.runtimeVersion = "0.0.1";
43539
43541
  _static_cache = config;
43540
43542
  return config;
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "https://biomejs.dev/schemas/1.5.1/schema.json",
3
+ "extends": ["@storm-software/linting-tools/biome/biome.json"]
4
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "remote": {
3
+ "git_url": "git@github.com:storm-software/storm-ops",
4
+ "config": "packages/git-tools/src/lefthook/lefthook.yml"
5
+ }
6
+ }
@@ -26293,7 +26293,9 @@ var getConfigFile = async (filePath) => {
26293
26293
  return void 0;
26294
26294
  }
26295
26295
  const config = cosmiconfigResult.config ?? {};
26296
- cosmiconfigResult.filepath && (config.configFile = cosmiconfigResult.filepath);
26296
+ if (cosmiconfigResult.filepath) {
26297
+ config.configFile = cosmiconfigResult.filepath;
26298
+ }
26297
26299
  config.runtimeVersion = "0.0.1";
26298
26300
  _static_cache = config;
26299
26301
  return config;
@@ -1,5 +0,0 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
- echo $HUSKY_GIT_STDIN | pnpm storm-post-checkout $HUSKY_GIT_PARAMS
5
-
@@ -1,4 +0,0 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
- echo $HUSKY_GIT_STDIN | pnpm storm-post-commit $HUSKY_GIT_PARAMS
@@ -1,5 +0,0 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
- echo $HUSKY_GIT_STDIN | pnpm storm-post-merge $HUSKY_GIT_PARAMS
5
-
@@ -1,4 +0,0 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
- echo $HUSKY_GIT_STDIN | pnpm storm-pre-commit $HUSKY_GIT_PARAMS
@@ -1,4 +0,0 @@
1
- #!/bin/sh
2
- . "$(dirname "$0")/_/husky.sh"
3
-
4
- echo $HUSKY_GIT_STDIN | pnpm storm-pre-push $HUSKY_GIT_PARAMS
@@ -1,59 +0,0 @@
1
- const { FlatCompat } = require("@eslint/eslintrc");
2
- const nxEslintPlugin = require("@nx/eslint-plugin");
3
- const typescriptConfig = require("@storm-software/linting-tools/eslint/typescript");
4
- const javascriptConfig = require("@storm-software/linting-tools/eslint/javascript");
5
- const graphqlConfig = require("@storm-software/linting-tools/eslint/graphql");
6
- const jestConfig = require("@storm-software/linting-tools/eslint/jest");
7
- const jsonConfig = require("@storm-software/linting-tools/eslint/json");
8
- const reactConfig = require("@storm-software/linting-tools/eslint/react");
9
- const nextConfig = require("@storm-software/linting-tools/eslint/next");
10
-
11
- const js = require("@eslint/js");
12
- const compat = new FlatCompat({
13
- baseDirectory: __dirname,
14
- recommendedConfig: js.configs.recommended
15
- });
16
-
17
- module.exports = [
18
- { plugins: { "@nx": nxEslintPlugin } },
19
- ...compat.config({ parser: "jsonc-eslint-parser" }).map(config => ({
20
- ...config,
21
- files: ["**/*.json"],
22
- rules: {}
23
- })),
24
- {
25
- files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
26
- rules: {
27
- "@nx/enforce-module-boundaries": [
28
- "error",
29
- {
30
- enforceBuildableLibDependency: true,
31
- allow: [],
32
- depConstraints: [
33
- {
34
- sourceTag: "*",
35
- onlyDependOnLibsWithTags: ["*"]
36
- }
37
- ]
38
- }
39
- ]
40
- }
41
- },
42
- ...compat.config({ extends: ["plugin:@nx/typescript"] }).map(config => ({
43
- ...config,
44
- files: ["**/*.ts", "**/*.tsx"],
45
- rules: {}
46
- })),
47
- ...compat.config({ extends: ["plugin:@nx/javascript"] }).map(config => ({
48
- ...config,
49
- files: ["**/*.js", "**/*.jsx"],
50
- rules: {}
51
- })),
52
- ...compat.config(typescriptConfig),
53
- ...compat.config(javascriptConfig),
54
- ...compat.config(graphqlConfig),
55
- ...compat.config(jestConfig),
56
- ...compat.config(jsonConfig),
57
- ...compat.config(reactConfig),
58
- ...compat.config(nextConfig)
59
- ];