@storm-software/config-tools 1.34.0 → 1.35.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/.eslintrc.json +1 -1
- package/CHANGELOG.md +26 -0
- package/README.md +2 -2
- package/package.json +1 -1
- package/src/utilities/get-default-config.ts +9 -2
package/.eslintrc.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,29 @@
|
|
|
1
|
+
## 1.35.1 (2024-04-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### 🩹 Fixes
|
|
5
|
+
|
|
6
|
+
- **git-tools:** Update release tool to use local function to get configuration ([53db7520](https://github.com/storm-software/storm-ops/commit/53db7520))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ❤️ Thank You
|
|
10
|
+
|
|
11
|
+
- Patrick Sullivan
|
|
12
|
+
|
|
13
|
+
## 1.35.0 (2024-04-07)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### 🚀 Features
|
|
17
|
+
|
|
18
|
+
- **git-tools:** Added reusable GitHub `workflows` and `actions` ([1c9a5391](https://github.com/storm-software/storm-ops/commit/1c9a5391))
|
|
19
|
+
|
|
20
|
+
- **storm-ops:** Merged in change to the main branch ([ce79c572](https://github.com/storm-software/storm-ops/commit/ce79c572))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### ❤️ Thank You
|
|
24
|
+
|
|
25
|
+
- Patrick Sullivan
|
|
26
|
+
|
|
1
27
|
## 1.34.0 (2024-04-06)
|
|
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.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
18
18
|
|
|
19
|
-
[](https://prettier.io/)
|
|
20
20
|
[](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://docusaurus.io/) 
|
|
21
21
|
|
|
22
22
|
> [!IMPORTANT]
|
|
@@ -55,7 +55,7 @@ Below is a list of the available configuration values that can be set through en
|
|
|
55
55
|
| STORM_RUNTIME_DIRECTORY | The default directory of the storm runtime for storage/generation | "node_modules/.storm" |
|
|
56
56
|
| STORM_RUNTIME_VERSION | The global version of the Storm runtime | "1.0.0" |
|
|
57
57
|
| STORM_TIMEZONE | The default timezone of the workspace | "America/New_York" |
|
|
58
|
-
|
|
|
58
|
+
| STORM_BOT | The worker of the package (this is the bot that will be used to perform various tasks) | "stormie-bot" |
|
|
59
59
|
|
|
60
60
|
<!-- START doctoc -->
|
|
61
61
|
<!-- END doctoc -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/config-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.35.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.",
|
|
6
6
|
"repository": {
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { existsSync, readFileSync } from "node:fs";
|
|
2
2
|
import { join } from "node:path";
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
type StormConfig,
|
|
5
|
+
type ColorConfig,
|
|
6
|
+
StormConfigSchema
|
|
7
|
+
} from "@storm-software/config";
|
|
4
8
|
import { findWorkspaceRoot } from "./find-workspace-root";
|
|
5
9
|
|
|
6
10
|
/**
|
|
@@ -47,7 +51,10 @@ export const DEFAULT_STORM_CONFIG: any = {
|
|
|
47
51
|
*
|
|
48
52
|
* @returns The default Storm config values
|
|
49
53
|
*/
|
|
50
|
-
export const getDefaultConfig = (
|
|
54
|
+
export const getDefaultConfig = (
|
|
55
|
+
config: Partial<StormConfig> = {},
|
|
56
|
+
root?: string
|
|
57
|
+
): StormConfig => {
|
|
51
58
|
let name = "storm-workspace";
|
|
52
59
|
let namespace = "storm-software";
|
|
53
60
|
let repository = "https://github.com/storm-software/storm-ops";
|