gtfs-to-chart 2.0.6 → 2.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.husky/pre-commit CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env sh
2
2
  . "$(dirname -- "$0")/_/husky.sh"
3
3
 
4
- npx pretty-quick --staged && npm run lint
4
+ npx lint-staged
package/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [2.0.7] - 2023-07-18
8
+ ### Changed
9
+ - Use lint-staged instead of pretty-quick
10
+
11
+ ### Updated
12
+ - Dependency updates
13
+
7
14
  ## [2.0.6] - 2023-05-04
8
15
  ### Updated
9
16
  - Dependency updates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gtfs-to-chart",
3
- "version": "2.0.6",
3
+ "version": "2.0.7",
4
4
  "private": false,
5
5
  "description": "Generate stringline charts of a transit routes from GTFS",
6
6
  "keywords": [
@@ -24,16 +24,15 @@
24
24
  },
25
25
  "scripts": {
26
26
  "start": "node ./app",
27
- "lint": "eslint app/**/*.js lib/**/*.js public/**/*.js --fix",
28
27
  "prepare": "husky install"
29
28
  },
30
29
  "dependencies": {
31
30
  "better-copy": "^1.0.4",
32
- "chalk": "^5.2.0",
31
+ "chalk": "^5.3.0",
33
32
  "connect-slashes": "^1.4.0",
34
33
  "express": "^4.18.2",
35
- "gtfs": "^4.3.0",
36
- "js-beautify": "^1.14.7",
34
+ "gtfs": "^4.4.3",
35
+ "js-beautify": "^1.14.8",
37
36
  "lodash-es": "^4.17.21",
38
37
  "moment": "^2.29.4",
39
38
  "morgan": "^1.10.0",
@@ -43,19 +42,16 @@
43
42
  "simplify-geojson": "^1.0.5",
44
43
  "sqlstring": "^2.3.3",
45
44
  "timer-machine": "^1.1.0",
46
- "untildify": "^4.0.0",
45
+ "untildify": "^5.0.0",
47
46
  "yargs": "^17.7.2"
48
47
  },
49
48
  "devDependencies": {
50
- "eslint": "^8.39.0",
51
- "eslint-config-prettier": "^8.8.0",
52
- "eslint-config-xo": "^0.43.1",
53
49
  "husky": "^8.0.3",
54
- "prettier": "^2.8.8",
55
- "pretty-quick": "^3.1.3"
50
+ "lint-staged": "^13.2.3",
51
+ "prettier": "^3.0.0"
56
52
  },
57
53
  "engines": {
58
- "node": ">= 14.x"
54
+ "node": ">= 18.x"
59
55
  },
60
56
  "release-it": {
61
57
  "github": {
@@ -69,5 +65,9 @@
69
65
  },
70
66
  "prettier": {
71
67
  "singleQuote": true
68
+ },
69
+ "lint-staged": {
70
+ "*.json": "prettier --write",
71
+ "*.{js,css,md}": "prettier --write"
72
72
  }
73
73
  }