react-spatial 1.2.0-beta.9 → 1.2.0
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/README.md +4 -0
- package/components/CanvasSaveButton/CanvasSaveButton.test.js +1 -1
- package/components/CanvasSaveButton/CanvasSaveButton.test.js.map +1 -1
- package/components/Copyright/Copyright.test.js +1 -1
- package/components/Copyright/Copyright.test.js.map +1 -1
- package/components/FeatureExportButton/FeatureExportButton.test.js +1 -1
- package/components/FeatureExportButton/FeatureExportButton.test.js.map +1 -1
- package/components/FilterButton/FilterButton.test.js +1 -1
- package/components/FilterButton/FilterButton.test.js.map +1 -1
- package/components/FitExtent/FitExtent.test.js +1 -1
- package/components/FitExtent/FitExtent.test.js.map +1 -1
- package/components/FollowButton/FollowButton.test.js +1 -1
- package/components/FollowButton/FollowButton.test.js.map +1 -1
- package/components/Geolocation/Geolocation.test.js +1 -1
- package/components/Geolocation/Geolocation.test.js.map +1 -1
- package/components/LayerTree/LayerTree.js +1 -17
- package/components/LayerTree/LayerTree.js.map +1 -1
- package/components/LayerTree/LayerTree.test.js +1 -1
- package/components/LayerTree/LayerTree.test.js.map +1 -1
- package/components/MousePosition/MousePosition.test.js +1 -1
- package/components/MousePosition/MousePosition.test.js.map +1 -1
- package/components/NorthArrow/NorthArrow.test.js +1 -1
- package/components/NorthArrow/NorthArrow.test.js.map +1 -1
- package/components/Overlay/Overlay.js +2 -2
- package/components/Overlay/Overlay.js.map +1 -1
- package/components/Overlay/Overlay.test.js +1 -1
- package/components/Overlay/Overlay.test.js.map +1 -1
- package/components/Permalink/Permalink.js +8 -24
- package/components/Permalink/Permalink.js.map +1 -1
- package/components/Permalink/Permalink.test.js +1 -1
- package/components/Permalink/Permalink.test.js.map +1 -1
- package/components/Popup/Popup.test.js +1 -1
- package/components/Popup/Popup.test.js.map +1 -1
- package/components/ResizeHandler/ResizeHandler.js +2 -2
- package/components/ResizeHandler/ResizeHandler.js.map +1 -1
- package/components/ResizeHandler/ResizeHandler.test.js +1 -1
- package/components/ResizeHandler/ResizeHandler.test.js.map +1 -1
- package/components/RouteSchedule/RouteSchedule.js +4 -4
- package/components/RouteSchedule/RouteSchedule.js.map +1 -1
- package/components/ScaleLine/ScaleLine.test.js +1 -1
- package/components/ScaleLine/ScaleLine.test.js.map +1 -1
- package/components/Zoom/Zoom.test.js +1 -1
- package/components/Zoom/Zoom.test.js.map +1 -1
- package/package.json +16 -18
package/package.json
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-spatial",
|
|
3
3
|
"description": "Components to build React map apps.",
|
|
4
|
-
"version": "1.2.0
|
|
4
|
+
"version": "1.2.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"dependencies": {
|
|
7
|
+
"@commitlint/cli": "17.0.2",
|
|
8
|
+
"@commitlint/config-conventional": "17.0.2",
|
|
7
9
|
"@geops/geops-ui": "0.1.13",
|
|
8
10
|
"@material-ui/core": "4.12.3",
|
|
9
11
|
"@material-ui/icons": "4.11.2",
|
|
@@ -21,8 +23,8 @@
|
|
|
21
23
|
"mapbox-gl": "^1",
|
|
22
24
|
"mobility-toolbox-js": "^1",
|
|
23
25
|
"ol": "^6",
|
|
24
|
-
"react": "^
|
|
25
|
-
"react-dom": "^
|
|
26
|
+
"react": "^16",
|
|
27
|
+
"react-dom": "^16"
|
|
26
28
|
},
|
|
27
29
|
"devDependencies": {
|
|
28
30
|
"@babel/core": "7.15.0",
|
|
@@ -34,7 +36,6 @@
|
|
|
34
36
|
"@testing-library/jest-dom": "5.16.3",
|
|
35
37
|
"@testing-library/react": "12.1.4",
|
|
36
38
|
"@testing-library/user-event": "13.5.0",
|
|
37
|
-
"@wojtekmaj/enzyme-adapter-react-17": "0.6.7",
|
|
38
39
|
"babel-core": "7.0.0-bridge.0",
|
|
39
40
|
"babel-jest": "27.0.2",
|
|
40
41
|
"babel-loader": "8.2.2",
|
|
@@ -42,6 +43,7 @@
|
|
|
42
43
|
"canvas": "2.8.0",
|
|
43
44
|
"css-loader": "5.2.6",
|
|
44
45
|
"enzyme": "3.11.0",
|
|
46
|
+
"enzyme-adapter-react-16": "1.15.6",
|
|
45
47
|
"eslint": "7.32.0",
|
|
46
48
|
"eslint-config-airbnb": "18.2.1",
|
|
47
49
|
"eslint-config-prettier": "8.3.0",
|
|
@@ -53,7 +55,7 @@
|
|
|
53
55
|
"file-loader": "6.2.0",
|
|
54
56
|
"fixpack": "3.0.6",
|
|
55
57
|
"generact": "0.4.0",
|
|
56
|
-
"husky": "
|
|
58
|
+
"husky": "8.0.1",
|
|
57
59
|
"identity-obj-proxy": "3.0.0",
|
|
58
60
|
"jest": "26.6.3",
|
|
59
61
|
"jest-canvas-mock": "2.3.1",
|
|
@@ -66,19 +68,20 @@
|
|
|
66
68
|
"jsts": "2.7.3",
|
|
67
69
|
"lint-staged": "11.2.0",
|
|
68
70
|
"mapbox-gl": "1.13.1",
|
|
69
|
-
"mobility-toolbox-js": "1.
|
|
71
|
+
"mobility-toolbox-js": "1.6.3",
|
|
70
72
|
"ol": "6.6.1",
|
|
71
73
|
"prettier": "2.4.1",
|
|
72
74
|
"proj4": "2.7.5",
|
|
73
75
|
"prop-types": "15.7.2",
|
|
74
|
-
"react": "
|
|
76
|
+
"react": "16.14.0",
|
|
75
77
|
"react-app-polyfill": "2.0.0",
|
|
76
|
-
"react-dom": "
|
|
78
|
+
"react-dom": "16.14.0",
|
|
77
79
|
"react-styleguidist": "11.0.8",
|
|
78
80
|
"react-svg-loader": "3.0.3",
|
|
79
81
|
"react-test-renderer": "16.13.1",
|
|
80
82
|
"sass": "1.49.9",
|
|
81
83
|
"sass-loader": "10.2.0",
|
|
84
|
+
"standard-version": "9.5.0",
|
|
82
85
|
"stream-array": "1.1.2",
|
|
83
86
|
"style-loader": "2.0.0",
|
|
84
87
|
"stylelint": "13.13.1",
|
|
@@ -100,8 +103,11 @@
|
|
|
100
103
|
"lint": "eslint 'src/**/*.js' && stylelint 'src/**/*.css' 'src/**/*.scss'",
|
|
101
104
|
"postbuild": "cp package.json build/ && cd src && find . -name '*.scss' | cpio -pdm ../build",
|
|
102
105
|
"prebuild": "rm -rf build/",
|
|
103
|
-
"publish:beta": "yarn publish
|
|
104
|
-
"publish:
|
|
106
|
+
"publish:beta": "yarn release -- --prerelease beta --skip.changelog && git push origin HEAD && yarn run build && yarn publish build/ --access public --tag beta",
|
|
107
|
+
"publish:beta:dryrun": "yarn release -- --prerelease beta --dry-run --skip.changelog",
|
|
108
|
+
"publish:public": "yarn release && git push origin HEAD && yarn build && git push --tags && yarn publish build/",
|
|
109
|
+
"publish:public:dryrun": "yarn release --dry-run",
|
|
110
|
+
"release": "standard-version",
|
|
105
111
|
"start": "styleguidist server",
|
|
106
112
|
"test": "jest"
|
|
107
113
|
},
|
|
@@ -152,14 +158,6 @@
|
|
|
152
158
|
"jsx-a11y/no-access-key": "Off"
|
|
153
159
|
}
|
|
154
160
|
},
|
|
155
|
-
"husky": {
|
|
156
|
-
"hooks": {
|
|
157
|
-
"post-checkout": "yarn install --frozen-lockfile",
|
|
158
|
-
"post-merge": "yarn install --frozen-lockfile",
|
|
159
|
-
"post-rebase": "yarn install --frozen-lockfile",
|
|
160
|
-
"pre-commit": "sort && CI=true lint-staged "
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
161
|
"jest": {
|
|
164
162
|
"maxConcurrency": 10,
|
|
165
163
|
"transform": {
|