Julian Simioni
a4c31b6f8d
fix: Explicitly depend on packages' optional dependencies
...
[istanbul](https://www.npmjs.com/package/istanbul ) and
[escodegen](https://www.npmjs.com/package/escodegen ) have optional
dependencies, which for some reason `npm ls` in npm version 3 fails to
handle properly. We don't need these packages, but installing them does
little harm so it seems to be the best way to make our precommit-hook
scripts pass for all users.
9 years ago
greenkeeperio-bot
e65072cfa4
chore(package): update pelias-query to version 7.0.1
...
https://greenkeeper.io/
9 years ago
greenkeeperio-bot
183741709d
chore(package): update express-http-proxy to version 0.7.0
...
https://greenkeeper.io/
9 years ago
greenkeeperio-bot
ca0b121bde
chore(package): update pelias-query to version 7.0.0
...
https://greenkeeper.io/
9 years ago
Julian Simioni
bfd340a0fc
Remove NPM engine specification
...
According to the NPM docs on [engine](https://docs.npmjs.com/files/package.json#engines ),
this specification was only ever advisory, and is now depricated. It
seems to cause NPM to pull in a very old version of NPM, which causes
warnings when installing dependencies.
9 years ago
Julian Simioni
5293e96929
Remove Elasticsearch from engines
...
According to the [docs](https://docs.npmjs.com/files/package.json#engines )
only node and NPM versions may be specified here.
9 years ago
greenkeeperio-bot
b9cac7d629
chore(package): update check-types to version 7.0.0
...
https://greenkeeper.io/
9 years ago
Peter Johnson
dd5215cbae
upgrade to ES2+
9 years ago
greenkeeperio-bot
d168698dd6
chore(package): update proxyquire to version 1.7.7
...
https://greenkeeper.io/
9 years ago
Peter Johnson
0caca08787
improve error matching by using string prefix matching on known elasticsearch exception names
9 years ago
missinglink
01a3233a7b
add a view to boost exact matches
9 years ago
greenkeeperio-bot
bf3d931640
chore(package): update pelias-query to version 6.3.0
...
https://greenkeeper.io/
9 years ago
Stephen Hess
bd3b8e7bbe
switched to pelias-text-analyzer package since that responsibility has been moved to there
9 years ago
greenkeeperio-bot
7876650581
chore(package): update pelias-model to version 4.0.0
...
http://greenkeeper.io/
9 years ago
Julian Simioni
d98973c21f
Handle fatal errors in unit tests
...
Due to the way our unit tests are run, a fatal error in the API code
that causes the node process to quit with an error will not be picked up
by `tap-dot`, and the unit tests will still return a passing status
code. This is due to the way status codes from pipes are handled by
default.
Fortunately, there is an ["unofficial bash strict mode"](http://redsymbol.net/articles/unofficial-bash-strict-mode/ )
that helps fix this sort of thing, and by running our unit tests with a
few tweaks we can ensure that any failure in the unit tests is captured.
9 years ago
greenkeeperio-bot
96af007044
chore(package): update elasticsearch to version 11.0.0
...
http://greenkeeper.io/
9 years ago
Diana Shkolnikov
201f4d4fb3
Convert parent WOF ids to valid Pelias ids to be used by /place
9 years ago
Diana Shkolnikov
7231e229d4
Convert parent WOF ids to valid Pelias ids to be used by /place
9 years ago
greenkeeperio-bot
0868494778
chore(package): update tap-dot to version 1.0.5
...
http://greenkeeper.io/
9 years ago
Diana Shkolnikov
582fd50902
Update pelias-query package version
9 years ago
Peter Johnson
a4f6e70d25
upgrade to pelias-query@6.1.0
9 years ago
Julian Simioni
ab427229f4
Use the official elasticsearch
...
This replaces the pelias-esclient library which has not been maintained
for a long time.
9 years ago
missinglink
cd16ff92b1
add common.diff() function for test debugging
9 years ago
Julian Simioni
aebaf52f61
Remove pelias-schema from dependencies
9 years ago
Diana Shkolnikov
4dc1da27a5
Upgrade pelias-query to 6.0.0
9 years ago
Julian Simioni
8fdb522f11
Upgrade to pelias-query 5.1.0
9 years ago
greenkeeperio-bot
0c3e4de0ad
chore(package): update pelias-schema to version 3.0.0
...
http://greenkeeper.io/
9 years ago
greenkeeperio-bot
46afbc09fd
chore(package): update morgan to version 1.7.0
...
http://greenkeeper.io/
9 years ago
greenkeeperio-bot
358cee5407
chore(package): update lodash to version 4.5.0
...
http://greenkeeper.io/
9 years ago
Julian Simioni
4c924605f8
Keep stats-lite at version 1 to avoid using ES6 features
...
Once we are using Node 4+, we can upgrade. See
ttps://www.npmjs.com/package/stats-lite
9 years ago
greenkeeperio-bot
b95e175bb5
chore(package): update dependencies
...
http://greenkeeper.io/
9 years ago
Julian Simioni
e8fb26ea85
Add precommit-hook sections to package.json
9 years ago
Julian Simioni
e50bce47c7
Upgrade precommit-hook to 3.0.0
...
It just handles linting better.
9 years ago
Julian Simioni
92aaf960c3
Upgrade tap-dot to 1.0.4
9 years ago
Julian Simioni
d31fae3bd2
Use patched branch of tap-dot
...
Our test printer has a bug where a zero-test suite will pass. Usually,
and definitely for this repo, the only way a test suite will not have
any tests is if there was an error in the test program before it even
ran any tests ([example](https://travis-ci.org/pelias/api/jobs/110970031 )).
Until my PR or something similar is merged into tap-dot, we should use
this branch.
9 years ago
greenkeeperio-bot
00b76c6e81
chore(package): update geojson to version 0.3.0
...
http://greenkeeper.io/
9 years ago
Julian Simioni
0f121c5ffe
Move doc generation commands to script file
...
They were getting too large already, and I want to add more.
9 years ago
Julian Simioni
0146050620
Ignore failures removing docs directory
...
If the docs files aren't there, it's expected that removing them would
fail, and the task should continue.
9 years ago
Diana Shkolnikov
ed2d8bea72
Update package.json
9 years ago
Diana Shkolnikov
804a520839
Fix github link
9 years ago
Diana Shkolnikov
500835a4c1
Update addressit module to not strip 0s from zipcodes
9 years ago
Julian Simioni
098c3c74ab
Use tap-dot when running tests
9 years ago
Julian Simioni
b1f615479c
Replace tap-spec module with tap-dot
9 years ago
Peter Johnson
2ce249ad30
adjust balance between population/popularity and focus
9 years ago
Peter Johnson
cb679888ff
better population and popularity boosting
9 years ago
Peter Johnson
b5b3c41ba1
remove microtime module
9 years ago
Peter Johnson
80f419846d
admin boost for sqrt(popularity), autocomplete focus not restricted to phrase matches
9 years ago
Diana Shkolnikov
3476831b6b
Lock down the pelias-query version
...
Allowing for even the smallest changes to pelias-query is problematic.
9 years ago
Peter Johnson
bfb63ec912
update ciao tests, update ciao itself
9 years ago
Stephen Hess
66bf2bb46b
added sanitizer for boundary country parameter
...
sets to undefined if input country not found as ISO2/3
9 years ago