Skip to content

Commit ddb9ef8

Browse files
author
Chris Wiechmann
committed
Replace copyconf.js with api-builder-copy
1 parent ccc54f2 commit ddb9ef8

File tree

4 files changed

+34
-83
lines changed

4 files changed

+34
-83
lines changed

api-builder-plugin-fn-elasticsearch/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77
## [1.0.23] 2021-09-10
88
### Fixed
99
- No longer trying to read ca.pem
10+
- Now using api-builder-copy top copy default Elasticsearch-Configuration file
1011

1112
## [1.0.22] 2021-08-27
1213
### Fixed

api-builder-plugin-fn-elasticsearch/package-lock.json

Lines changed: 30 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api-builder-plugin-fn-elasticsearch/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
"files": [
2626
"src",
2727
"README.md",
28-
"config",
29-
"scripts"
28+
"config"
3029
],
3130
"dependencies": {
3231
"@axway/api-builder-sdk": "^1.1.12",
32+
"@axway/api-builder-project-utils": "^1.0.3",
3333
"@elastic/elasticsearch": "^7.14.0",
3434
"deep-equal": "^2.0.5",
3535
"simple-mock": "^0.8.0"
@@ -44,6 +44,6 @@
4444
},
4545
"scripts": {
4646
"test": "mocha ./test --recursive -R spec",
47-
"postinstall": "node scripts/copyconf.js"
47+
"postinstall": "api-builder-copy ./config/elasticsearch.default.js ./conf"
4848
}
4949
}

api-builder-plugin-fn-elasticsearch/scripts/copyconf.js

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)