@storm-software/config-tools 1.16.2 → 1.17.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,29 @@
1
+ # [1.17.0](https://github.com/storm-software/storm-ops/compare/config-tools-v1.16.2...config-tools-v1.17.0) (2024-01-19)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **config-tools:** Rerun ci pipeline ([d855670](https://github.com/storm-software/storm-ops/commit/d855670faf558969a592b8b6666754280c0dc829))
7
+ * **config-tools:** Resolved the issue with the tsconfig properties ([5bc729e](https://github.com/storm-software/storm-ops/commit/5bc729e4680f2bb8ce67a2f6a85dff875bef9997))
8
+ * **config-tools:** Skip type checks ([c7da786](https://github.com/storm-software/storm-ops/commit/c7da78609234d5eb0998465c9d38fe10eb02d205))
9
+ * **config-tools:** Update lefthook config to call install prior to push ([6a81b6a](https://github.com/storm-software/storm-ops/commit/6a81b6a27359ab41549cb93227d28c5fc1b2ee01))
10
+ * **git-tools:** Resolved issue preventing git-tools publish ([1bf9727](https://github.com/storm-software/storm-ops/commit/1bf97271e3421b5c485708ed2c59da815cde6c4b))
11
+ * **git-tools:** Resovled issues with lock file versions ([3740dc2](https://github.com/storm-software/storm-ops/commit/3740dc2392a8c4fcb0beae0816afeaea1573f6ae))
12
+ * **git-tools:** Upgrade Nx version and resolved import issues ([53432f2](https://github.com/storm-software/storm-ops/commit/53432f2b318c24bc0d65cf2509d01861c0c6f91b))
13
+ * **git-tools:** Upgrade pnpm lock file ([daa3d32](https://github.com/storm-software/storm-ops/commit/daa3d32fd692799b036556ccf04279507410e4eb))
14
+
15
+
16
+ ### Features
17
+
18
+ * **git-tools:** Redesigned the executable script structure ([a4c097b](https://github.com/storm-software/storm-ops/commit/a4c097bd38a68ca0c206686b592d994fb643a5d2))
19
+
20
+ ## [1.16.2](https://github.com/storm-software/storm-ops/compare/config-tools-v1.16.1...config-tools-v1.16.2) (2024-01-19)
21
+
22
+
23
+ ### Bug Fixes
24
+
25
+ * **git-tools:** Updated executable scripts to use correct directory ([8bd14e7](https://github.com/storm-software/storm-ops/commit/8bd14e7b1d78ece17f314ef172c344e927c0736d))
26
+
1
27
  ## [1.16.1](https://github.com/storm-software/storm-ops/compare/config-tools-v1.16.0...config-tools-v1.16.1) (2024-01-18)
2
28
 
3
29
 
package/README.md CHANGED
@@ -16,7 +16,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
16
16
 
17
17
  <h3 align="center">💻 Visit <a href="https://stormsoftware.org" target="_blank">stormsoftware.org</a> to stay up to date with this developer</h3><br />
18
18
 
19
- [![Version](https://img.shields.io/badge/version-1.15.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
19
+ [![Version](https://img.shields.io/badge/version-1.16.2-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
20
20
  [![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with docusaurus](https://img.shields.io/badge/documented_with-docusaurus-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://docusaurus.io/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
21
21
 
22
22
  <h3 align="center" bold="true">⚠️ <b>Attention</b> ⚠️ This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be availible through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.</h3><br />
package/declarations.d.ts CHANGED
@@ -1,11 +1,10 @@
1
- import * as z from "zod";
2
- import { StormConfigSchema } from "./src/schema";
1
+ import type * as z from "zod";
2
+ import type { StormConfigSchema } from "./src/schema";
3
3
 
4
4
  type TStormConfig = z.infer<typeof StormConfigSchema>;
5
5
 
6
6
  declare type StormConfig<
7
- TExtensionName extends
8
- keyof TStormConfig["extensions"] = keyof TStormConfig["extensions"],
7
+ TExtensionName extends keyof TStormConfig["extensions"] = keyof TStormConfig["extensions"],
9
8
  TExtensionConfig extends
10
9
  TStormConfig["extensions"][TExtensionName] = TStormConfig["extensions"][TExtensionName]
11
10
  > = TStormConfig & {
@@ -13,12 +12,12 @@ declare type StormConfig<
13
12
  | (TStormConfig["extensions"] & {
14
13
  [extensionName in TExtensionName]: TExtensionConfig;
15
14
  })
16
- | {};
15
+ | NonNullable;
17
16
  };
18
- export { StormConfig };
17
+ export type { StormConfig };
19
18
 
20
19
  declare type StormConfigInput = z.input<typeof StormConfigSchema>;
21
- export { StormConfigInput };
20
+ export type { StormConfigInput };
22
21
 
23
22
  /**
24
23
  * Find the root of the current monorepo
@@ -33,9 +32,7 @@ export { findWorkspaceRoot };
33
32
  *
34
33
  * @param pathInsideMonorepo - The path inside the monorepo
35
34
  */
36
- declare function findWorkspaceRootSafe(
37
- pathInsideMonorepo?: string
38
- ): string | undefined;
35
+ declare function findWorkspaceRootSafe(pathInsideMonorepo?: string): string | undefined;
39
36
  export { findWorkspaceRootSafe };
40
37
 
41
38
  /**
@@ -66,9 +63,8 @@ export { loadStormConfig };
66
63
  * @returns The function isStormError is returning a boolean value.
67
64
  */
68
65
  declare function createStormConfig<
69
- TExtensionName extends
70
- keyof StormConfig["extensions"] = keyof StormConfig["extensions"],
71
- TExtensionConfig extends any = any,
66
+ TExtensionName extends keyof StormConfig["extensions"] = keyof StormConfig["extensions"],
67
+ TExtensionConfig = any,
72
68
  TExtensionSchema extends z.ZodTypeAny = z.ZodTypeAny
73
69
  >(
74
70
  extensionName?: TExtensionName,
@@ -76,3 +72,11 @@ declare function createStormConfig<
76
72
  workspaceRoot?: string
77
73
  ): StormConfig<TExtensionName, TExtensionConfig>;
78
74
  export { createStormConfig };
75
+
76
+ /**
77
+ * Get the config file for the current Storm workspace
78
+ *
79
+ * @returns The config file for the current Storm workspace
80
+ */
81
+ declare function defineConfig(input: StormConfigInput): StormConfigInput;
82
+ export { defineConfig };