-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: adjust how we run npx, so it supports all windows versions (#454)
* fix: adjust how we run npx, so it supports all windows versions * chore: make client generator snapshots platform specific
- Loading branch information
1 parent
0ab21bc
commit a997953
Showing
24 changed files
with
95 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
..._generate_client.test_generate_client_typescript.--output.{contract_name}.ts.approved.txt
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
.../generate/test_generate_client.test_generate_client_typescript.-l.typescript.approved.txt
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
...te_client.test_generate_client_typescript.-o.client.py.--language.typescript.approved.txt
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
...s/generate/test_generate_client.test_generate_client_typescript.-o.client.ts.approved.txt
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
...nerate_client_typescript[linux---output {contract_name}.ts-HelloWorldApp.ts].approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Generating TypeScript client code for application specified in {current_working_directory}/application.json and writing to HelloWorldApp.ts | ||
DEBUG: Running 'npx --yes {typed_client_package} generate -a {current_working_directory}/application.json -o HelloWorldApp.ts' in '{current_working_directory}' | ||
DEBUG: npx: STDOUT | ||
DEBUG: npx: STDERR |
4 changes: 4 additions & 0 deletions
4
....test_generate_client_typescript[linux--l typescript-HelloWorldAppClient.ts].approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Generating TypeScript client code for application specified in {current_working_directory}/application.json and writing to HelloWorldAppClient.ts | ||
DEBUG: Running 'npx --yes {typed_client_package} generate -a {current_working_directory}/application.json -o HelloWorldAppClient.ts' in '{current_working_directory}' | ||
DEBUG: npx: STDOUT | ||
DEBUG: npx: STDERR |
4 changes: 4 additions & 0 deletions
4
...nerate_client_typescript[linux--o client.py --language typescript-client.py].approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Generating TypeScript client code for application specified in {current_working_directory}/application.json and writing to client.py | ||
DEBUG: Running 'npx --yes {typed_client_package} generate -a {current_working_directory}/application.json -o client.py' in '{current_working_directory}' | ||
DEBUG: npx: STDOUT | ||
DEBUG: npx: STDERR |
4 changes: 4 additions & 0 deletions
4
...enerate_client.test_generate_client_typescript[linux--o client.ts-client.ts].approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Generating TypeScript client code for application specified in {current_working_directory}/application.json and writing to client.ts | ||
DEBUG: Running 'npx --yes {typed_client_package} generate -a {current_working_directory}/application.json -o client.ts' in '{current_working_directory}' | ||
DEBUG: npx: STDOUT | ||
DEBUG: npx: STDERR |
4 changes: 4 additions & 0 deletions
4
...nerate_client_typescript[macOS---output {contract_name}.ts-HelloWorldApp.ts].approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Generating TypeScript client code for application specified in {current_working_directory}/application.json and writing to HelloWorldApp.ts | ||
DEBUG: Running 'npx --yes {typed_client_package} generate -a {current_working_directory}/application.json -o HelloWorldApp.ts' in '{current_working_directory}' | ||
DEBUG: npx: STDOUT | ||
DEBUG: npx: STDERR |
4 changes: 4 additions & 0 deletions
4
....test_generate_client_typescript[macOS--l typescript-HelloWorldAppClient.ts].approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Generating TypeScript client code for application specified in {current_working_directory}/application.json and writing to HelloWorldAppClient.ts | ||
DEBUG: Running 'npx --yes {typed_client_package} generate -a {current_working_directory}/application.json -o HelloWorldAppClient.ts' in '{current_working_directory}' | ||
DEBUG: npx: STDOUT | ||
DEBUG: npx: STDERR |
4 changes: 4 additions & 0 deletions
4
...nerate_client_typescript[macOS--o client.py --language typescript-client.py].approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Generating TypeScript client code for application specified in {current_working_directory}/application.json and writing to client.py | ||
DEBUG: Running 'npx --yes {typed_client_package} generate -a {current_working_directory}/application.json -o client.py' in '{current_working_directory}' | ||
DEBUG: npx: STDOUT | ||
DEBUG: npx: STDERR |
4 changes: 4 additions & 0 deletions
4
...enerate_client.test_generate_client_typescript[macOS--o client.ts-client.ts].approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Generating TypeScript client code for application specified in {current_working_directory}/application.json and writing to client.ts | ||
DEBUG: Running 'npx --yes {typed_client_package} generate -a {current_working_directory}/application.json -o client.ts' in '{current_working_directory}' | ||
DEBUG: npx: STDOUT | ||
DEBUG: npx: STDERR |
4 changes: 4 additions & 0 deletions
4
...rate_client_typescript[windows---output {contract_name}.ts-HelloWorldApp.ts].approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Generating TypeScript client code for application specified in {current_working_directory}/application.json and writing to HelloWorldApp.ts | ||
DEBUG: Running 'npx.cmd --yes {typed_client_package} generate -a {current_working_directory}/application.json -o HelloWorldApp.ts' in '{current_working_directory}' | ||
DEBUG: npx.cmd: STDOUT | ||
DEBUG: npx.cmd: STDERR |
4 changes: 4 additions & 0 deletions
4
...est_generate_client_typescript[windows--l typescript-HelloWorldAppClient.ts].approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Generating TypeScript client code for application specified in {current_working_directory}/application.json and writing to HelloWorldAppClient.ts | ||
DEBUG: Running 'npx.cmd --yes {typed_client_package} generate -a {current_working_directory}/application.json -o HelloWorldAppClient.ts' in '{current_working_directory}' | ||
DEBUG: npx.cmd: STDOUT | ||
DEBUG: npx.cmd: STDERR |
4 changes: 4 additions & 0 deletions
4
...rate_client_typescript[windows--o client.py --language typescript-client.py].approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Generating TypeScript client code for application specified in {current_working_directory}/application.json and writing to client.py | ||
DEBUG: Running 'npx.cmd --yes {typed_client_package} generate -a {current_working_directory}/application.json -o client.py' in '{current_working_directory}' | ||
DEBUG: npx.cmd: STDOUT | ||
DEBUG: npx.cmd: STDERR |
4 changes: 4 additions & 0 deletions
4
...erate_client.test_generate_client_typescript[windows--o client.ts-client.ts].approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Generating TypeScript client code for application specified in {current_working_directory}/application.json and writing to client.ts | ||
DEBUG: Running 'npx.cmd --yes {typed_client_package} generate -a {current_working_directory}/application.json -o client.ts' in '{current_working_directory}' | ||
DEBUG: npx.cmd: STDOUT | ||
DEBUG: npx.cmd: STDERR |
6 changes: 3 additions & 3 deletions
6
...erate_client.test_npx_failed.approved.txt → ...lient.test_npx_failed[linux].approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Generating TypeScript client code for application specified in {current_working_directory}/application.json and writing to client.ts | ||
DEBUG: Running '/bin/npx --yes {typed_client_package} generate -a {current_working_directory}/application.json -o client.ts' in '{current_working_directory}' | ||
DEBUG: /bin/npx: STDOUT | ||
DEBUG: /bin/npx: STDERR | ||
DEBUG: Running 'npx --yes {typed_client_package} generate -a {current_working_directory}/application.json -o client.ts' in '{current_working_directory}' | ||
DEBUG: npx: STDOUT | ||
DEBUG: npx: STDERR | ||
Error: Client generation failed for {current_working_directory}/application.json. |
5 changes: 5 additions & 0 deletions
5
tests/generate/test_generate_client.test_npx_failed[macOS].approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Generating TypeScript client code for application specified in {current_working_directory}/application.json and writing to client.ts | ||
DEBUG: Running 'npx --yes {typed_client_package} generate -a {current_working_directory}/application.json -o client.ts' in '{current_working_directory}' | ||
DEBUG: npx: STDOUT | ||
DEBUG: npx: STDERR | ||
Error: Client generation failed for {current_working_directory}/application.json. |
5 changes: 5 additions & 0 deletions
5
tests/generate/test_generate_client.test_npx_failed[windows].approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Generating TypeScript client code for application specified in {current_working_directory}/application.json and writing to client.ts | ||
DEBUG: Running 'npx.cmd --yes {typed_client_package} generate -a {current_working_directory}/application.json -o client.ts' in '{current_working_directory}' | ||
DEBUG: npx.cmd: STDOUT | ||
DEBUG: npx.cmd: STDERR | ||
Error: Client generation failed for {current_working_directory}/application.json. |
a997953
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage Report