@storm-software/workspace-tools 1.66.16 → 1.66.17

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,15 @@
1
+ ## 1.66.17 (2024-03-28)
2
+
3
+
4
+ ### 🩹 Fixes
5
+
6
+ - **workspace-tools:** Resolve issues with `axios` calls ([53306912](https://github.com/storm-software/storm-ops/commit/53306912))
7
+
8
+
9
+ ### ❤️ Thank You
10
+
11
+ - Patrick Sullivan
12
+
1
13
  ## 1.66.16 (2024-03-28)
2
14
 
3
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.66.16",
3
+ "version": "1.66.17",
4
4
  "private": false,
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "keywords": [
@@ -52,7 +52,7 @@
52
52
  "@nx/devkit": "18.0.4",
53
53
  "@nx/esbuild": "18.0.4",
54
54
  "@rollup/plugin-json": "6.1.0",
55
- "axios": "1.6.7",
55
+ "axios": "^0.27.2",
56
56
  "bundle-require": "^4.0.2",
57
57
  "decky": "1.1.1",
58
58
  "esbuild-plugin-environment": "0.3.0",
package/project.json CHANGED
@@ -6,9 +6,7 @@
6
6
  "targets": {
7
7
  "build": {
8
8
  "executor": "@nx/esbuild:esbuild",
9
- "outputs": [
10
- "{options.outputPath}"
11
- ],
9
+ "outputs": ["{options.outputPath}"],
12
10
  "options": {
13
11
  "outputPath": "dist/packages/workspace-tools",
14
12
  "tsConfig": "packages/workspace-tools/tsconfig.lib.json",
@@ -41,19 +39,13 @@
41
39
  "skipTypeCheck": false,
42
40
  "metafile": true,
43
41
  "minify": false,
44
- "format": [
45
- "cjs"
46
- ],
42
+ "format": ["cjs"],
47
43
  "esbuildOptions": {
48
44
  "outExtension": {
49
45
  ".js": ".js"
50
46
  }
51
47
  },
52
- "external": [
53
- "nx",
54
- "@storm-software/*",
55
- "axios"
56
- ],
48
+ "external": ["nx", "@storm-software/*"],
57
49
  "assets": [
58
50
  {
59
51
  "input": "packages/workspace-tools",
@@ -68,19 +60,13 @@
68
60
  {
69
61
  "input": "packages/workspace-tools",
70
62
  "glob": "**/*.json",
71
- "ignore": [
72
- "**/tsconfig*.json",
73
- "project.json",
74
- ".eslintrc.json"
75
- ],
63
+ "ignore": ["**/tsconfig*.json", "project.json", ".eslintrc.json"],
76
64
  "output": "."
77
65
  },
78
66
  {
79
67
  "input": "packages/workspace-tools",
80
68
  "glob": "**/*.js",
81
- "ignore": [
82
- "**/jest.config.js"
83
- ],
69
+ "ignore": ["**/jest.config.js"],
84
70
  "output": "."
85
71
  },
86
72
  {
@@ -112,8 +98,5 @@
112
98
  }
113
99
  }
114
100
  },
115
- "tags": [
116
- "type:util",
117
- "scope:tools"
118
- ]
101
+ "tags": ["type:util", "scope:tools"]
119
102
  }
@@ -22,6 +22,8 @@ export default async function runExecutor(
22
22
  throw new Error("The executor requires a projectName.");
23
23
  }
24
24
 
25
+ console.info(`🚀 Running Storm Crate.io Publish executor on the ${context.projectName} crate`);
26
+
25
27
  if (
26
28
  !context.projectName ||
27
29
  !context.projectsConfigurations?.projects ||
@@ -42,7 +44,7 @@ export default async function runExecutor(
42
44
  );
43
45
 
44
46
  try {
45
- const result = await axios({
47
+ const result = await axios.request({
46
48
  method: "get",
47
49
  url: `https://crates.io/api/v1/crates/${encode(cargoToml.package.name)}/${encode(
48
50
  cargoToml.package.version