@storm-software/workspace-tools 1.41.1 → 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.
@@ -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
- ];