@corpsmap/corpsmap 3.2.74 → 3.2.76
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/css/corpsmap.css +9688 -9688
- package/lib/assets/index-42a6cd56.css +10185 -0
- package/lib/dev.js +53554 -47093
- package/lib/prod.js +51911 -46769
- package/package.json +20 -17
- package/rollup.config.js +23 -21
- package/src/core-plugins/add-data/bundle.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@corpsmap/corpsmap",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.76",
|
|
4
4
|
"description": "CorpsMap as React Components",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,28 +17,32 @@
|
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@babel/core": "^7.5.5",
|
|
20
|
+
"@babel/eslint-parser": "^7.28.5",
|
|
20
21
|
"@babel/plugin-proposal-class-properties": "^7.5.5",
|
|
22
|
+
"@babel/plugin-transform-numeric-separator": "^7.27.1",
|
|
21
23
|
"@babel/preset-env": "^7.5.5",
|
|
22
24
|
"@babel/preset-react": "^7.0.0",
|
|
23
25
|
"babel-plugin-import": "^1.12.2",
|
|
24
26
|
"concurrently": "^5.3.0",
|
|
25
27
|
"cross-env": "^5.2.0",
|
|
26
|
-
"
|
|
27
|
-
"react
|
|
28
|
-
"
|
|
29
|
-
"rollup
|
|
30
|
-
"rollup
|
|
31
|
-
"rollup
|
|
32
|
-
"rollup-plugin-
|
|
33
|
-
"rollup
|
|
28
|
+
"glob": "^9.0.0",
|
|
29
|
+
"react": "^18.3.0",
|
|
30
|
+
"react-dom": "^18.3.0",
|
|
31
|
+
"rollup": "^2.68.0",
|
|
32
|
+
"@rollup/plugin-babel": "^6.0.3",
|
|
33
|
+
"@rollup/plugin-commonjs": "^24.1.0",
|
|
34
|
+
"rollup-plugin-css-only": "^4.5.2",
|
|
35
|
+
"@rollup/plugin-json": "^6.0.0",
|
|
36
|
+
"@rollup/plugin-node-resolve": "^13.0.6",
|
|
37
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
34
38
|
"rollup-plugin-postcss": "^2.0.3",
|
|
35
|
-
"rollup
|
|
36
|
-
"styled-jsx": "^
|
|
39
|
+
"@rollup/plugin-replace": "^6.0.2",
|
|
40
|
+
"styled-jsx": "^5.1.6",
|
|
37
41
|
"wait-on": "^5.2.1"
|
|
38
42
|
},
|
|
39
43
|
"peerDependencies": {
|
|
40
|
-
"react": ">=
|
|
41
|
-
"react-dom": ">=
|
|
44
|
+
"react": ">= 18.x.x",
|
|
45
|
+
"react-dom": ">=18.x.x"
|
|
42
46
|
},
|
|
43
47
|
"dependencies": {
|
|
44
48
|
"@mapbox/togeojson": "^0.16.0",
|
|
@@ -72,16 +76,15 @@
|
|
|
72
76
|
"ol-esri-style": "^2.0.7",
|
|
73
77
|
"parse2-kmz": "^1.0.5",
|
|
74
78
|
"proj4": "^2.4.4",
|
|
75
|
-
"react-data-grid": "
|
|
76
|
-
"react-datepicker": "^
|
|
79
|
+
"react-data-grid": "7.0.0-beta.42",
|
|
80
|
+
"react-datepicker": "^6.9.0",
|
|
77
81
|
"react-dnd": "^9.4.0",
|
|
78
82
|
"react-dnd-html5-backend": "^9.4.0",
|
|
79
|
-
"react-notification-system": "^0.2.17",
|
|
80
83
|
"react-split": "^2.0.7",
|
|
81
84
|
"redux-bundler": "^26.0.0",
|
|
82
85
|
"redux-bundler-react": "^1.2.0",
|
|
83
86
|
"shpjs": "^3.4.3",
|
|
84
|
-
"uuid": "^
|
|
87
|
+
"uuid": "^7.0.0",
|
|
85
88
|
"xhr": "^2.5.0"
|
|
86
89
|
}
|
|
87
90
|
}
|
package/rollup.config.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import babel from "rollup
|
|
2
|
-
import commonjs from "rollup
|
|
3
|
-
import resolve from "rollup
|
|
4
|
-
import replace from "rollup
|
|
1
|
+
import babel from "@rollup/plugin-babel";
|
|
2
|
+
import commonjs from "@rollup/plugin-commonjs";
|
|
3
|
+
import resolve from "@rollup/plugin-node-resolve";
|
|
4
|
+
import replace from "@rollup/plugin-replace";
|
|
5
5
|
import css from "rollup-plugin-css-only";
|
|
6
|
-
import postcss from
|
|
7
|
-
import json from
|
|
8
|
-
import pkg from
|
|
9
|
-
|
|
6
|
+
import postcss from "rollup-plugin-postcss";
|
|
7
|
+
import json from "@rollup/plugin-json";
|
|
8
|
+
import pkg from "./package.json";
|
|
9
|
+
import path from "path";
|
|
10
10
|
|
|
11
11
|
const NODE_ENV = process.env.NODE_ENV || "development";
|
|
12
12
|
const outputFile = NODE_ENV === "production" ? "./lib/prod.js" : "./lib/dev.js";
|
|
@@ -15,36 +15,38 @@ export default {
|
|
|
15
15
|
input: "./src/index.js",
|
|
16
16
|
output: {
|
|
17
17
|
file: outputFile,
|
|
18
|
-
format: "cjs"
|
|
18
|
+
format: "cjs",
|
|
19
19
|
},
|
|
20
20
|
plugins: [
|
|
21
21
|
replace({
|
|
22
|
-
"process.env.NODE_ENV": JSON.stringify(NODE_ENV)
|
|
22
|
+
"process.env.NODE_ENV": JSON.stringify(NODE_ENV),
|
|
23
23
|
}),
|
|
24
24
|
babel({
|
|
25
|
-
plugins:[[
|
|
26
|
-
extensions: [
|
|
27
|
-
exclude: "node_modules/**"
|
|
25
|
+
plugins: [["import", { libraryName: "antd", style: true }]],
|
|
26
|
+
extensions: [".js", ".jsx", ".ts", ".tsx"],
|
|
27
|
+
exclude: "node_modules/**",
|
|
28
|
+
babelHelpers: "bundled",
|
|
28
29
|
}),
|
|
29
30
|
css({
|
|
30
|
-
output: "./css/corpsmap.css"
|
|
31
|
+
// output: "./css/corpsmap.css",
|
|
32
|
+
extract: path.resolve("./css/corpsmap.css"),
|
|
31
33
|
}),
|
|
32
34
|
resolve({
|
|
33
35
|
module: true,
|
|
34
36
|
jsnext: true,
|
|
35
37
|
customResolveOptions: {
|
|
36
|
-
moduleDirectory:
|
|
37
|
-
}
|
|
38
|
+
moduleDirectory: "node_modules",
|
|
39
|
+
},
|
|
38
40
|
}),
|
|
39
41
|
json(),
|
|
40
42
|
commonjs(),
|
|
41
43
|
postcss({
|
|
42
|
-
extensions: [
|
|
43
|
-
use: [
|
|
44
|
-
})
|
|
44
|
+
extensions: [".css", ".scss", ".less"],
|
|
45
|
+
use: ["sass", ["less", { javascriptEnabled: true }]],
|
|
46
|
+
}),
|
|
45
47
|
],
|
|
46
48
|
external: [
|
|
47
49
|
...Object.keys(pkg.devDependencies || {}),
|
|
48
|
-
...Object.keys(pkg.peerDependencies || {})
|
|
49
|
-
]
|
|
50
|
+
...Object.keys(pkg.peerDependencies || {}),
|
|
51
|
+
],
|
|
50
52
|
};
|