Skip to content

Commit

Permalink
[CCI] Replace node with scripts/use_node in functional tests (#3783
Browse files Browse the repository at this point in the history
…) (#3881) (#3892)

* Replace node with scripts/use_node (#3719)




* Update CHANGELOG.md (#3719)




---------




(cherry picked from commit 8f890e9)


# Conflicts:
#	CHANGELOG.md


(cherry picked from commit 6796992)

Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent c73dfeb commit 5e8c7cd
Show file tree
Hide file tree
Showing 21 changed files with 42 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"@elastic/eui": "npm:@opensearch-project/[email protected]",
Expand Down
4 changes: 2 additions & 2 deletions test/plugin_functional/plugins/app_link_test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
4 changes: 2 additions & 2 deletions test/plugin_functional/plugins/core_app_status/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
4 changes: 2 additions & 2 deletions test/plugin_functional/plugins/core_plugin_a/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
4 changes: 2 additions & 2 deletions test/plugin_functional/plugins/core_plugin_b/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
4 changes: 2 additions & 2 deletions test/plugin_functional/plugins/data_search/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
4 changes: 2 additions & 2 deletions test/plugin_functional/plugins/doc_views_plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
4 changes: 2 additions & 2 deletions test/plugin_functional/plugins/index_patterns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"@elastic/eui": "npm:@opensearch-project/[email protected]",
Expand Down
4 changes: 2 additions & 2 deletions test/plugin_functional/plugins/osd_top_nav/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"@elastic/eui": "npm:@opensearch-project/[email protected]",
Expand Down
4 changes: 2 additions & 2 deletions test/plugin_functional/plugins/rendering_plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"license": "Apache-2.0",
"scripts": {
"osd": "node ../../../../scripts/osd.js",
"build": "node ../../scripts/remove.js './target' && tsc"
"osd": "../../../../scripts/use_node ../../../../scripts/osd.js",
"build": "../../../../scripts/use_node ../../scripts/remove.js './target' && tsc"
},
"devDependencies": {
"typescript": "4.0.2"
Expand Down

0 comments on commit 5e8c7cd

Please sign in to comment.