@storm-software/workspace-tools 1.21.18 → 1.22.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.
@@ -2,7 +2,7 @@
2
2
  "$schema": "http://json-schema.org/schema",
3
3
  "$id": "node-library",
4
4
  "title": "Add Node Library",
5
- "description": "Create a Storm JSON schema based on the workspace's project configurations",
5
+ "description": "Create a new NodeJs TypeScript library package in the Storm workspace",
6
6
  "type": "object",
7
7
  "properties": {
8
8
  "name": {
@@ -13,9 +13,9 @@ SENTRY_PROPERTIES="apps/web/app"
13
13
  DEFAULT_LOCALE="en_US"
14
14
  DEFAULT_TIMEZONE="America/New_York"
15
15
 
16
- STORM_REPO_ROOT=
16
+ STORM_WORKSPACE_ROOT=
17
17
  STORM_REPO_OWNER="sullivanpj"
18
- STORM_REPO_WORKER="stormie-bot"
18
+ STORM_WORKER="stormie-bot"
19
19
  STORM_REPO_ORG="<%= organization %>"
20
20
  STORM_REPO_NAME="<%= name %>"
21
21
  STORM_REPO_NAMESPACE="<%= namespace %>"
@@ -16,9 +16,9 @@ on:
16
16
  env:
17
17
  CI: true
18
18
  NX_VERBOSE_LOGGING: true
19
- STORM_REPO_WORKER: stormie-bot
19
+ STORM_WORKER: stormie-bot
20
20
  STORM_REPO_URL: https://github.com/<%= organization %>/<%= name %>
21
- STORM_REPO_ROOT: ${{ github.workspace }}
21
+ STORM_WORKSPACE_ROOT: ${{ github.workspace }}
22
22
  NX_BASE: ${{ github.base_ref }}
23
23
  NX_HEAD: ${{ github.head_ref }}
24
24
  GITHUB_ACTOR: ${{ github.actor }}
@@ -41,8 +41,8 @@ jobs:
41
41
 
42
42
  - name: configure git
43
43
  run: |
44
- git config user.name "${{ env.STORM_REPO_WORKER }}"
45
- git config user.email "${{ env.STORM_REPO_WORKER }}@users.noreply.github.com"
44
+ git config user.name "${{ env.STORM_WORKER }}"
45
+ git config user.email "${{ env.STORM_WORKER }}@users.noreply.github.com"
46
46
 
47
47
  - name: Get appropriate base and head commits for `nx affected` commands
48
48
  uses: nrwl/nx-set-shas@v4
@@ -85,7 +85,7 @@ jobs:
85
85
  NPM_TOKEN: ${{ env.NPM_TOKEN }}
86
86
  NPM_AUTH_TOKEN: ${{ env.NPM_TOKEN }}
87
87
  NODE_AUTH_TOKEN: ${{ env.NPM_TOKEN }}
88
- STORM_REPO_WORKER: ${{ env.STORM_REPO_WORKER }}
89
- STORM_REPO_ROOT: ${{ github.workspace }}
88
+ STORM_WORKER: ${{ env.STORM_WORKER }}
89
+ STORM_WORKSPACE_ROOT: ${{ github.workspace }}
90
90
  STORM_REPO_URL: ${{ github.repositoryUrl }}
91
91
  TAG: ${{ inputs.tag }}
@@ -30021,7 +30021,7 @@ var getDefaultConfig = (config = {}) => {
30021
30021
  };
30022
30022
  var getWorkspaceRoot = () => {
30023
30023
  const root = (0, import_find_workspace_root.findWorkspaceRoot)(process.cwd());
30024
- process.env.STORM_REPO_ROOT ??= root?.dir;
30024
+ process.env.STORM_WORKSPACE_ROOT ??= root?.dir;
30025
30025
  process.env.NX_WORKSPACE_ROOT_PATH ??= root?.dir;
30026
30026
  return root?.dir;
30027
30027
  };
@@ -30212,7 +30212,7 @@ var chalk = __toESM(require_source());
30212
30212
  var import_find_workspace_root2 = require("nx/src/utils/find-workspace-root.js");
30213
30213
  var getWorkspaceRoot2 = () => {
30214
30214
  const root = (0, import_find_workspace_root2.findWorkspaceRoot)(process.cwd());
30215
- process.env.STORM_REPO_ROOT ??= root?.dir;
30215
+ process.env.STORM_WORKSPACE_ROOT ??= root?.dir;
30216
30216
  process.env.NX_WORKSPACE_ROOT_PATH ??= root?.dir;
30217
30217
  return root?.dir;
30218
30218
  };
@@ -54,7 +54,7 @@ module.exports = __toCommonJS(utils_exports);
54
54
  var import_find_workspace_root = require("nx/src/utils/find-workspace-root.js");
55
55
  var getWorkspaceRoot = () => {
56
56
  const root = (0, import_find_workspace_root.findWorkspaceRoot)(process.cwd());
57
- process.env.STORM_REPO_ROOT ??= root?.dir;
57
+ process.env.STORM_WORKSPACE_ROOT ??= root?.dir;
58
58
  process.env.NX_WORKSPACE_ROOT_PATH ??= root?.dir;
59
59
  return root?.dir;
60
60
  };