-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(test): Remove single/double quotes in npm scripts in fixtures (#…
…6459) When running these tests in Windows, these single and double quotes get printed whereas on Darwin/Linux, they do not. This bug is repoted in npm npm/cli#6968. It would be possible to workaround this by matching output in our prysk tests with regex and making the quotation marks optional, but for most tests that is additional noise that we do not need, so it is simpler to remove the quotes instead.
- Loading branch information
Showing
64 changed files
with
301 additions
and
301 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
turborepo-tests/integration/tests/_fixtures/basic_monorepo/apps/my-app/package.json
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: 2 additions & 2 deletions
4
turborepo-tests/integration/tests/_fixtures/basic_monorepo/packages/util/package.json
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,7 +1,7 @@ | ||
{ | ||
"name": "util", | ||
"scripts": { | ||
"build": "echo 'building'", | ||
"maybefails": "echo 'did not fail'" | ||
"build": "echo building", | ||
"maybefails": "echo didnotfail" | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
turborepo-tests/integration/tests/_fixtures/composable_config/apps/add-keys/package.json
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
2 changes: 1 addition & 1 deletion
2
turborepo-tests/integration/tests/_fixtures/composable_config/apps/add-tasks/package.json
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
2 changes: 1 addition & 1 deletion
2
turborepo-tests/integration/tests/_fixtures/composable_config/apps/bad-json/package.json
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,6 +1,6 @@ | ||
{ | ||
"name": "bad-json", | ||
"scripts": { | ||
"trailing-comma": "echo 'trailing-comma'" | ||
"trailing-comma": "echo trailing-comma" | ||
} | ||
} |
6 changes: 3 additions & 3 deletions
6
turborepo-tests/integration/tests/_fixtures/composable_config/apps/cached/package.json
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,8 +1,8 @@ | ||
{ | ||
"name": "cached", | ||
"scripts": { | ||
"cached-task-1": "echo 'cached-task-1' > out/foo.min.txt", | ||
"cached-task-2": "echo 'cached-task-2' > out/foo.min.txt", | ||
"cached-task-3": "echo 'cached-task-3' > out/foo.min.txt" | ||
"cached-task-1": "echo cached-task-1 > out/foo.min.txt", | ||
"cached-task-2": "echo cached-task-2 > out/foo.min.txt", | ||
"cached-task-3": "echo cached-task-3 > out/foo.min.txt" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...orepo-tests/integration/tests/_fixtures/composable_config/apps/config-change/package.json
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,6 +1,6 @@ | ||
{ | ||
"name": "config-change", | ||
"scripts": { | ||
"config-change-task": "echo 'config-change-task'" | ||
"config-change-task": "echo config-change-task" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...epo-tests/integration/tests/_fixtures/composable_config/apps/cross-workspace/package.json
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,6 +1,6 @@ | ||
{ | ||
"name": "cross-workspace", | ||
"scripts": { | ||
"cross-workspace-task": "echo \"cross-workspace-task\"" | ||
"cross-workspace-task": "echo cross-workspace-task" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...repo-tests/integration/tests/_fixtures/composable_config/apps/invalid-config/package.json
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,6 +1,6 @@ | ||
{ | ||
"name": "invalid-config", | ||
"scripts": { | ||
"build": "echo 'build invalid-config' > out/foo.min.txt" | ||
"build": "echo build-invalid-config > out/foo.min.txt" | ||
} | ||
} |
8 changes: 4 additions & 4 deletions
8
.../integration/tests/_fixtures/composable_config/apps/missing-workspace-config/package.json
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
6 changes: 3 additions & 3 deletions
6
turborepo-tests/integration/tests/_fixtures/composable_config/apps/omit-keys/package.json
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
8 changes: 4 additions & 4 deletions
8
...epo-tests/integration/tests/_fixtures/composable_config/apps/override-values/package.json
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
16 changes: 8 additions & 8 deletions
16
turborepo-tests/integration/tests/_fixtures/composable_config/apps/persistent/package.json
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,13 +1,13 @@ | ||
{ | ||
"name": "persistent", | ||
"scripts": { | ||
"persistent-task-1": "echo 'persistent-task-1'", | ||
"persistent-task-2": "echo 'persistent-task-2'", | ||
"persistent-task-3": "echo 'persistent-task-3'", | ||
"persistent-task-4": "echo 'persistent-task-4'", | ||
"persistent-task-1-parent": "echo 'persistent-task-1-parent'", | ||
"persistent-task-2-parent": "echo 'persistent-task-2-parent'", | ||
"persistent-task-3-parent": "echo 'persistent-task-3-parent'", | ||
"persistent-task-4-parent": "echo 'persistent-task-4-parent'" | ||
"persistent-task-1": "echo persistent-task-1", | ||
"persistent-task-2": "echo persistent-task-2", | ||
"persistent-task-3": "echo persistent-task-3", | ||
"persistent-task-4": "echo persistent-task-4", | ||
"persistent-task-1-parent": "echo persistent-task-1-parent", | ||
"persistent-task-2-parent": "echo persistent-task-2-parent", | ||
"persistent-task-3-parent": "echo persistent-task-3-parent", | ||
"persistent-task-4-parent": "echo persistent-task-4-parent" | ||
} | ||
} |
8 changes: 4 additions & 4 deletions
8
...orepo-tests/integration/tests/_fixtures/composable_config/packages/blank-pkg/package.json
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,9 +1,9 @@ | ||
{ | ||
"name": "blank-pkg", | ||
"scripts": { | ||
"omit-keys-underlying-topo-task": "echo \"omit-keys-underlying-topo-task from blank-pkg\"", | ||
"missing-workspace-config-underlying-topo-task": "echo \"missing-workspace-config-underlying-topo-task from blank-pkg\"", | ||
"override-values-underlying-topo-task": "echo \"override-values-underlying-topo-task from blank-pkg\"", | ||
"cross-workspace-underlying-task": "echo \"cross-workspace-underlying-task from blank-pkg\"" | ||
"omit-keys-underlying-topo-task": "echo omit-keys-underlying-topo-task from blank-pkg", | ||
"missing-workspace-config-underlying-topo-task": "echo missing-workspace-config-underlying-topo-task from blank-pkg", | ||
"override-values-underlying-topo-task": "echo override-values-underlying-topo-task from blank-pkg", | ||
"cross-workspace-underlying-task": "echo cross-workspace-underlying-task from blank-pkg" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
turborepo-tests/integration/tests/_fixtures/lockfile_aware_caching/apps/a/package.json
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
2 changes: 1 addition & 1 deletion
2
turborepo-tests/integration/tests/_fixtures/lockfile_aware_caching/apps/b/package.json
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: 2 additions & 2 deletions
4
...repo-tests/integration/tests/_fixtures/monorepo_one_script_error/apps/my-app/package.json
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,8 +1,8 @@ | ||
{ | ||
"name": "my-app", | ||
"scripts": { | ||
"okay": "echo 'working'", | ||
"okay2": "echo 'working'", | ||
"okay": "echo working", | ||
"okay2": "echo working", | ||
"error": "exit 2" | ||
} | ||
} |
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 |
---|---|---|
|
@@ -4,6 +4,6 @@ | |
"shared": "workspace:*" | ||
}, | ||
"scripts": { | ||
"new-task": "echo 'running new task'" | ||
"new-task": "echo building" | ||
} | ||
} |
8 changes: 4 additions & 4 deletions
8
turborepo-tests/integration/tests/_fixtures/run_logging/app-a/package.json
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,9 +1,9 @@ | ||
{ | ||
"name": "app-a", | ||
"scripts": { | ||
"build": "echo 'build app-a'", | ||
"builderror": "echo \"error builderror app-a!\" && exit 1", | ||
"builderror2": "echo \"error builderror2 app-a!\" && exit 1", | ||
"buildsuccess": "echo \"buildsuccess app-a!\"" | ||
"build": "echo build-app-a", | ||
"builderror": "echo error-builderror-app-a && exit 1", | ||
"builderror2": "echo error-builderror2-app-a && exit 1", | ||
"buildsuccess": "echo buildsuccess-app-a" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
turborepo-tests/integration/tests/_fixtures/single_package/package.json
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,7 +1,7 @@ | ||
{ | ||
"name": "my-pkg", | ||
"scripts": { | ||
"build": "echo 'building' > foo.txt", | ||
"build": "echo building > foo.txt", | ||
"test": "cat foo.txt" | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
...-tests/integration/tests/_fixtures/task_dependencies/overwriting/workspace-a/package.json
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,7 +1,7 @@ | ||
{ | ||
"name": "workspace-a", | ||
"scripts": { | ||
"build": "echo 'build workspace-a'", | ||
"generate": "echo 'generate workspace-a'" | ||
"build": "echo build-workspace-a", | ||
"generate": "echo generate-workspace-a" | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
...-tests/integration/tests/_fixtures/task_dependencies/overwriting/workspace-b/package.json
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,7 +1,7 @@ | ||
{ | ||
"name": "workspace-b", | ||
"scripts": { | ||
"build": "echo 'build workspace-b'", | ||
"generate": "echo 'generate workspace-b'" | ||
"build": "echo build-workspace-b", | ||
"generate": "echo generate-workspace-b" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...-tests/integration/tests/_fixtures/task_dependencies/topological/apps/my-app/package.json
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
2 changes: 1 addition & 1 deletion
2
...ests/integration/tests/_fixtures/task_dependencies/topological/packages/util/package.json
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,6 +1,6 @@ | ||
{ | ||
"name": "util", | ||
"scripts": { | ||
"build": "echo 'building'" | ||
"build": "echo building" | ||
} | ||
} |
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
Oops, something went wrong.