@pipelab/test-utils 1.0.0-beta.2 → 1.0.0-beta.22

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/.oxfmtrc.json CHANGED
@@ -1,3 +1,3 @@
1
1
  {
2
- "ignorePatterns": ["dist", "out", "node_modules", "bin"]
2
+ "ignorePatterns": ["dist", "out", "node_modules", "bin", "**/*.d.ts"]
3
3
  }
package/CHANGELOG.md CHANGED
@@ -1,5 +1,158 @@
1
1
  # @pipelab/test-utils
2
2
 
3
+ ## 1.0.0-beta.22
4
+
5
+ ### Patch Changes
6
+
7
+ - sd
8
+ - Updated dependencies
9
+ - @pipelab/plugin-core@1.0.0-beta.22
10
+
11
+ ## 1.0.0-beta.21
12
+
13
+ ### Patch Changes
14
+
15
+ - df
16
+ - Updated dependencies
17
+ - @pipelab/plugin-core@1.0.0-beta.21
18
+
19
+ ## 1.0.0-beta.20
20
+
21
+ ### Patch Changes
22
+
23
+ - sdsd
24
+ - Updated dependencies
25
+ - @pipelab/plugin-core@1.0.0-beta.20
26
+
27
+ ## 1.0.0-beta.19
28
+
29
+ ### Patch Changes
30
+
31
+ - sd
32
+ - Updated dependencies
33
+ - @pipelab/plugin-core@1.0.0-beta.19
34
+
35
+ ## 1.0.0-beta.18
36
+
37
+ ### Patch Changes
38
+
39
+ - sd
40
+ - Updated dependencies
41
+ - @pipelab/plugin-core@1.0.0-beta.18
42
+
43
+ ## 1.0.0-beta.17
44
+
45
+ ### Patch Changes
46
+
47
+ - qs
48
+ - Updated dependencies
49
+ - @pipelab/plugin-core@1.0.0-beta.17
50
+
51
+ ## 1.0.0-beta.16
52
+
53
+ ### Patch Changes
54
+
55
+ - sd
56
+ - Updated dependencies
57
+ - @pipelab/plugin-core@1.0.0-beta.16
58
+
59
+ ## 1.0.0-beta.15
60
+
61
+ ### Patch Changes
62
+
63
+ - s
64
+ - Updated dependencies
65
+ - @pipelab/plugin-core@1.0.0-beta.15
66
+
67
+ ## 1.0.0-beta.14
68
+
69
+ ### Patch Changes
70
+
71
+ - fg
72
+ - Updated dependencies
73
+ - @pipelab/plugin-core@1.0.0-beta.14
74
+
75
+ ## 1.0.0-beta.13
76
+
77
+ ### Patch Changes
78
+
79
+ - changes
80
+ - Updated dependencies
81
+ - @pipelab/plugin-core@1.0.0-beta.13
82
+
83
+ ## 1.0.0-beta.12
84
+
85
+ ### Patch Changes
86
+
87
+ - bump
88
+ - Updated dependencies
89
+ - @pipelab/plugin-core@1.0.0-beta.12
90
+
91
+ ## 1.0.0-beta.11
92
+
93
+ ### Patch Changes
94
+
95
+ - Updated dependencies
96
+ - @pipelab/plugin-core@1.0.0-beta.11
97
+
98
+ ## 1.0.0-beta.10
99
+
100
+ ### Patch Changes
101
+
102
+ - fixes
103
+ - Updated dependencies
104
+ - @pipelab/plugin-core@1.0.0-beta.10
105
+
106
+ ## 1.0.0-beta.9
107
+
108
+ ### Patch Changes
109
+
110
+ - @pipelab/plugin-core@1.0.0-beta.9
111
+
112
+ ## 1.0.0-beta.8
113
+
114
+ ### Patch Changes
115
+
116
+ - @pipelab/plugin-core@1.0.0-beta.8
117
+
118
+ ## 1.0.0-beta.7
119
+
120
+ ### Patch Changes
121
+
122
+ - bump
123
+ - Updated dependencies
124
+ - @pipelab/plugin-core@1.0.0-beta.7
125
+
126
+ ## 1.0.0-beta.6
127
+
128
+ ### Patch Changes
129
+
130
+ - beta tag
131
+ - Updated dependencies
132
+ - @pipelab/plugin-core@1.0.0-beta.6
133
+
134
+ ## 1.0.0-beta.5
135
+
136
+ ### Patch Changes
137
+
138
+ - bump
139
+ - Updated dependencies
140
+ - @pipelab/plugin-core@1.0.0-beta.5
141
+
142
+ ## 1.0.0-beta.4
143
+
144
+ ### Patch Changes
145
+
146
+ - @pipelab/plugin-core@1.0.0-beta.4
147
+
148
+ ## 1.0.0-beta.3
149
+
150
+ ### Patch Changes
151
+
152
+ - update
153
+ - Updated dependencies
154
+ - @pipelab/plugin-core@1.0.0-beta.3
155
+
3
156
  ## 1.0.0-beta.2
4
157
 
5
158
  ### Patch Changes
package/dist/index.mjs CHANGED
@@ -85,7 +85,8 @@ const runAction = async (runner, options) => {
85
85
  const outputs = {};
86
86
  const pnpmShimPath = join(options.sandboxPath, "pnpm-shim.cjs");
87
87
  await writeFile(pnpmShimPath, `const { spawnSync } = require('child_process');
88
- spawnSync('pnpm', process.argv.slice(2), { stdio: 'inherit', shell: true });`);
88
+ const result = spawnSync('pnpm', process.argv.slice(2), { stdio: 'inherit', shell: true });
89
+ process.exit(result.status ?? 0);`);
89
90
  const context = {
90
91
  inputs: options.inputs,
91
92
  log: (...args) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipelab/test-utils",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0-beta.22",
4
4
  "private": false,
5
5
  "description": "Testing utilities for Pipelab plugins and monorepo",
6
6
  "license": "FSL-1.1-MIT",
@@ -27,13 +27,13 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "execa": "9.5.1",
30
- "@pipelab/plugin-core": "1.0.0-beta.2"
30
+ "@pipelab/plugin-core": "1.0.0-beta.22"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/node": "24.12.2",
34
34
  "tsdown": "0.21.2",
35
35
  "typescript": "^5.0.0",
36
- "@pipelab/tsconfig": "1.0.0-beta.1"
36
+ "@pipelab/tsconfig": "1.0.0-beta.17"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "tsdown",
package/src/index.ts CHANGED
@@ -142,7 +142,8 @@ export const runAction = async <A extends Action>(
142
142
  await writeFile(
143
143
  pnpmShimPath,
144
144
  `const { spawnSync } = require('child_process');
145
- spawnSync('pnpm', process.argv.slice(2), { stdio: 'inherit', shell: true });`,
145
+ const result = spawnSync('pnpm', process.argv.slice(2), { stdio: 'inherit', shell: true });
146
+ process.exit(result.status ?? 0);`,
146
147
  );
147
148
 
148
149
  const context: ActionRunnerData<A> = {