gtfs-to-chart 2.0.6 → 2.0.8

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 @@
1
- #!/usr/bin/env sh
2
- . "$(dirname -- "$0")/_/husky.sh"
3
-
4
- npx pretty-quick --staged && npm run lint
1
+ npx lint-staged
package/CHANGELOG.md CHANGED
@@ -1,45 +1,79 @@
1
1
  # Changelog
2
+
2
3
  All notable changes to this project will be documented in this file.
3
4
 
4
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
7
 
8
+ ## [2.0.8] - 2024-07-23
9
+
10
+ ### Updated
11
+
12
+ - Dependency updates
13
+
14
+ ## [2.0.7] - 2023-07-18
15
+
16
+ ### Changed
17
+
18
+ - Use lint-staged instead of pretty-quick
19
+
20
+ ### Updated
21
+
22
+ - Dependency updates
23
+
7
24
  ## [2.0.6] - 2023-05-04
25
+
8
26
  ### Updated
27
+
9
28
  - Dependency updates
10
29
 
11
30
  ## [2.0.5] - 2022-12-31
31
+
12
32
  ### Updated
33
+
13
34
  - Update to node-gtfs v4
14
35
  - Dependency updates
15
36
  - Add Husky
16
37
 
17
38
  ## [2.0.4] - 2022-11-09
39
+
18
40
  ### Updated
41
+
19
42
  - Dependency updates
20
43
 
21
44
  ### Fixed
45
+
22
46
  - Fixed charts path in generated charts HTML
23
47
 
24
48
  ## [2.0.3] - 2022-06-25
49
+
25
50
  ### Updated
51
+
26
52
  - Dependency updates
27
53
 
28
54
  ### Fixed
55
+
29
56
  - Fixed charts path in generated index.html
30
57
 
31
58
  ## [2.0.2] - 2022-06-25
59
+
32
60
  ### Updated
61
+
33
62
  - Dependency updates
34
63
  - Readme udpates
35
64
 
36
65
  ## [2.0.1] - 2021-08-17
66
+
37
67
  ### Updated
68
+
38
69
  - Dependency updates
39
70
 
40
71
  ### Fixed
72
+
41
73
  - Fixes for no shape_dist_traveled
42
74
 
43
75
  ## [2.0.0] - 2021-05-14
76
+
44
77
  ### Breaking Changes
78
+
45
79
  - Converted to ES6 Module
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.8",
4
4
  "private": false,
5
5
  "description": "Generate stringline charts of a transit routes from GTFS",
6
6
  "keywords": [
@@ -24,38 +24,34 @@
24
24
  },
25
25
  "scripts": {
26
26
  "start": "node ./app",
27
- "lint": "eslint app/**/*.js lib/**/*.js public/**/*.js --fix",
28
- "prepare": "husky install"
27
+ "prepare": "husky"
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
- "express": "^4.18.2",
35
- "gtfs": "^4.3.0",
36
- "js-beautify": "^1.14.7",
33
+ "express": "^4.19.2",
34
+ "gtfs": "^4.13.1",
35
+ "js-beautify": "^1.15.1",
37
36
  "lodash-es": "^4.17.21",
38
- "moment": "^2.29.4",
37
+ "moment": "^2.30.1",
39
38
  "morgan": "^1.10.0",
40
39
  "progress": "^2.0.3",
41
- "pug": "^3.0.2",
40
+ "pug": "^3.0.3",
42
41
  "sanitize-filename": "^1.6.3",
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
- "husky": "^8.0.3",
54
- "prettier": "^2.8.8",
55
- "pretty-quick": "^3.1.3"
49
+ "husky": "^9.1.1",
50
+ "lint-staged": "^15.2.7",
51
+ "prettier": "^3.3.3"
56
52
  },
57
53
  "engines": {
58
- "node": ">= 14.x"
54
+ "node": ">= 20.11.0"
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
  }