@woosmap/ui 4.223.2 → 4.224.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/.eslintrc CHANGED
@@ -15,16 +15,6 @@
15
15
  "google": true,
16
16
  "config": true
17
17
  },
18
- "settings": {
19
- "import/resolver": {
20
- "alias": {
21
- "map": [
22
- ["@", "./src"]
23
- ],
24
- "extensions": [".js", ".jsx", ".json"]
25
- }
26
- }
27
- },
28
18
  "rules": {
29
19
  "quotes": [
30
20
  "error",
@@ -92,13 +92,6 @@ module.exports = {
92
92
  },
93
93
  );
94
94
 
95
- // Ajout de l'alias '@' pour src
96
- config.resolve = config.resolve || {};
97
- config.resolve.alias = {
98
- ...(config.resolve.alias || {}),
99
- '@': path.resolve(__dirname, '../src'),
100
- };
101
-
102
95
  return config;
103
96
  },
104
97
 
package/package.json CHANGED
@@ -1,111 +1,115 @@
1
1
  {
2
- "name": "@woosmap/ui",
3
- "version": "4.223.2",
4
- "repository": {
5
- "type": "git",
6
- "url": "git+https://github.com/WebGeoServices/ui.git"
7
- },
8
- "main": "src/index.js",
9
- "exports": {
10
- ".": "./src/index.js",
11
- "./src/website": "./src/website.js",
12
- "./src/styles/style-website.styl": "./src/styles/style-website.styl",
13
- "./src/styles/style-console.styl": "./src/styles/style-console.styl"
14
- },
15
- "dependencies": {
16
- "@mapbox/polyline": "^1.2.1",
17
- "axios": "0.28.1",
18
- "classnames": "^2.5.1",
19
- "framer-motion": "^11.3.28",
20
- "google-map-react": "^2.2.1",
21
- "i18next": "^23.14.0",
22
- "moment": "^2.30.1",
23
- "numeral": "^2.0.6",
24
- "perfect-scrollbar": "^1.5.5",
25
- "prop-types": "^15.8.1",
26
- "react": "^18.3.1",
27
- "react-datetime": "^3.2.0",
28
- "react-dom": "^18.3.1",
29
- "react-laag": "^2.0.5",
30
- "react-select": "^5.10.0",
31
- "react-slider": "^2.0.6",
32
- "react-syntax-highlighter": "^15.5.0",
33
- "resize-observer-polyfill": "^1.5.1",
34
- "zxcvbn": "^4.4.2"
35
- },
36
- "scripts": {
37
- "start": "yarn stylus-dev && yarn storybook:dev",
38
- "stylus": "stylus ./src/styles/style-console.styl -o dist/styles/dev",
39
- "stylus-dev": "stylus ./src/styles/style-console.styl -o dist/styles/dev && stylus ./src/styles/style-stories.styl -o dist/styles/dev",
40
- "build": "rimraf dist && NODE_ENV=production babel src --out-dir dist --copy-files --no-copy-ignored --ignore '**/*.stories.js,**/*.test.js,**/*.styl' && yarn build-css",
41
- "build-css": "stylus ./src/styles/style-console.styl -o dist && stylus ./src/styles/style-stories.styl -o dist",
42
- "test": "react-scripts test",
43
- "test:generate-output": "react-scripts test --json --outputFile=./.storybook/jest-test-results.json --silent",
44
- "prestorybook:dev": "clear && echo \"DOING FIRST TEST RUN\" && CI=true npm run test:generate-output",
45
- "storybook:dev": "clear && concurrently -k \"npm run storybook\" \"npm run test:generate-output\"",
46
- "storybook": "storybook dev -p 9009 public -h localhost",
47
- "build-storybook": "storybook build -s public",
48
- "icons": "svgo -f ./src/icons --config ./svgo-config.js",
49
- "deploy-storybook": "storybook-to-ghpages",
50
- "publish-npm": "yarn version minor && npm publish --access=public",
51
- "extract": "babel -f .babelrc 'src/components/**/*.{js,jsx,ts,tsx}'",
52
- "coverage": "react-scripts test --coverage --silent --ci --coverageReporters=text --coverageReporters=text-summary --watchAll=false --collectCoverageFrom=!src/**/*.stories.js --collectCoverageFrom=!src/**/*.json "
53
- },
54
- "eslintConfig": {
55
- "extends": [
56
- "react-app",
57
- "react-app/jest"
58
- ]
59
- },
60
- "browserslist": {
61
- "production": [
62
- ">0.2%",
63
- "not dead",
64
- "not op_mini all"
65
- ],
66
- "development": [
67
- "last 1 chrome version",
68
- "last 1 firefox version",
69
- "last 1 safari version"
70
- ]
71
- },
72
- "devDependencies": {
73
- "@babel/cli": "^7.24.8",
74
- "@babel/core": "^7.25.2",
75
- "@babel/plugin-proposal-class-properties": "^7.18.6",
76
- "@babel/preset-env": "^7.25.4",
77
- "@babel/preset-react": "^7.24.7",
78
- "@emotion/is-prop-valid": "^1.3.0",
79
- "@storybook/addon-actions": "^8.3.1",
80
- "@storybook/addon-essentials": "^8.3.1",
81
- "@storybook/addon-jest": "^8.3.1",
82
- "@storybook/addon-links": "^8.3.1",
83
- "@storybook/addon-styling-webpack": "^1.0.0",
84
- "@storybook/node-logger": "^8.3.1",
85
- "@storybook/preset-create-react-app": "^8.3.1",
86
- "@storybook/react": "^8.3.1",
87
- "@storybook/react-webpack5": "^8.3.1",
88
- "@storybook/storybook-deployer": "^2.8.16",
89
- "@testing-library/jest-dom": "^5.17.0",
90
- "@testing-library/react": "^13.4.0",
91
- "@testing-library/user-event": "^14.5.2",
92
- "babel-plugin-i18next-extract": "^0.10.0",
93
- "babel-plugin-transform-dynamic-import": "^2.1.0",
94
- "concurrently": "^8.2.2",
95
- "eslint-config-airbnb": "^19.0.4",
96
- "eslint-config-prettier": "^9.1.0",
97
- "eslint-plugin-prettier": "^5.2.1",
98
- "eslint-plugin-sonarjs": "^1.0.4",
99
- "jest-google-maps-mock": "^1.0.7",
100
- "prettier": "^3.3.3",
101
- "react-scripts": "5.0.1",
102
- "rimraf": "^6.0.1",
103
- "storybook": "^8.3.1",
104
- "stylus": "^0.63.0",
105
- "stylus-loader": "^8.1.0",
106
- "svgo": "^3.3.2"
107
- },
108
- "resolutions": {
109
- "nwsapi": "2.2.13"
110
- }
2
+ "name": "@woosmap/ui",
3
+ "version": "4.224.0",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "git+https://github.com/WebGeoServices/ui.git"
7
+ },
8
+ "main": "src/index.js",
9
+ "exports": {
10
+ ".": "./src/index.js",
11
+ "./src/website": "./src/website.js",
12
+ "./src/styles/style-website.styl": "./src/styles/style-website.styl",
13
+ "./src/styles/style-console.styl": "./src/styles/style-console.styl"
14
+ },
15
+ "dependencies": {
16
+ "@mapbox/polyline": "^1.2.1",
17
+ "axios": "0.28.1",
18
+ "classnames": "^2.5.1",
19
+ "framer-motion": "^11.3.28",
20
+ "google-map-react": "^2.2.1",
21
+ "i18next": "^23.14.0",
22
+ "moment": "^2.30.1",
23
+ "numeral": "^2.0.6",
24
+ "perfect-scrollbar": "^1.5.5",
25
+ "prop-types": "^15.8.1",
26
+ "react": "^18.3.1",
27
+ "react-datetime": "^3.2.0",
28
+ "react-dom": "^18.3.1",
29
+ "react-laag": "^2.0.5",
30
+ "react-select": "^5.10.0",
31
+ "react-slider": "^2.0.6",
32
+ "react-syntax-highlighter": "^15.5.0",
33
+ "resize-observer-polyfill": "^1.5.1",
34
+ "zxcvbn": "^4.4.2"
35
+ },
36
+ "scripts": {
37
+ "start": "yarn stylus-dev && yarn storybook:dev",
38
+ "stylus": "stylus ./src/styles/style-console.styl -o dist/styles/dev",
39
+ "stylus-dev": "stylus ./src/styles/style-console.styl -o dist/styles/dev && stylus ./src/styles/style-stories.styl -o dist/styles/dev",
40
+ "build": "rimraf dist && NODE_ENV=production babel src --out-dir dist --copy-files --no-copy-ignored --ignore '**/*.stories.js,**/*.test.js,**/*.styl' && yarn build-css",
41
+ "build-css": "stylus ./src/styles/style-console.styl -o dist && stylus ./src/styles/style-stories.styl -o dist",
42
+ "test": "react-scripts test",
43
+ "test:generate-output": "react-scripts test --json --outputFile=./.storybook/jest-test-results.json --silent",
44
+ "prestorybook:dev": "clear && echo \"DOING FIRST TEST RUN\" && CI=true npm run test:generate-output",
45
+ "storybook:dev": "clear && concurrently -k \"npm run storybook\" \"npm run test:generate-output\"",
46
+ "storybook": "storybook dev -p 9009 public -h localhost",
47
+ "build-storybook": "storybook build -s public",
48
+ "icons": "svgo -f ./src/icons --config ./svgo-config.js",
49
+ "deploy-storybook": "storybook-to-ghpages",
50
+ "publish-npm": "yarn version --minor && npm publish --access=public",
51
+ "extract": "babel -f .babelrc 'src/components/**/*.{js,jsx,ts,tsx}'",
52
+ "coverage": "react-scripts test --coverage --silent --ci --coverageReporters=text --coverageReporters=text-summary --watchAll=false --collectCoverageFrom=!src/**/*.stories.js --collectCoverageFrom=!src/**/*.json ",
53
+ "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,json,css,md}\"",
54
+ "format:check": "prettier --check \"src/**/*.{js,jsx,ts,tsx,json,css,md}\"",
55
+ "lint": "eslint src --ext .js,.jsx --fix",
56
+ "lint:check": "eslint src --ext .js,.jsx"
57
+ },
58
+ "eslintConfig": {
59
+ "extends": [
60
+ "react-app",
61
+ "react-app/jest"
62
+ ]
63
+ },
64
+ "browserslist": {
65
+ "production": [
66
+ ">0.2%",
67
+ "not dead",
68
+ "not op_mini all"
69
+ ],
70
+ "development": [
71
+ "last 1 chrome version",
72
+ "last 1 firefox version",
73
+ "last 1 safari version"
74
+ ]
75
+ },
76
+ "devDependencies": {
77
+ "@babel/cli": "^7.24.8",
78
+ "@babel/core": "^7.25.2",
79
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
80
+ "@babel/preset-env": "^7.25.4",
81
+ "@babel/preset-react": "^7.24.7",
82
+ "@emotion/is-prop-valid": "^1.3.0",
83
+ "@storybook/addon-actions": "^8.3.1",
84
+ "@storybook/addon-essentials": "^8.3.1",
85
+ "@storybook/addon-jest": "^8.3.1",
86
+ "@storybook/addon-links": "^8.3.1",
87
+ "@storybook/addon-styling-webpack": "^1.0.0",
88
+ "@storybook/node-logger": "^8.3.1",
89
+ "@storybook/preset-create-react-app": "^8.3.1",
90
+ "@storybook/react": "^8.3.1",
91
+ "@storybook/react-webpack5": "^8.3.1",
92
+ "@storybook/storybook-deployer": "^2.8.16",
93
+ "@testing-library/jest-dom": "^5.17.0",
94
+ "@testing-library/react": "^13.4.0",
95
+ "@testing-library/user-event": "^14.5.2",
96
+ "babel-plugin-i18next-extract": "^0.10.0",
97
+ "babel-plugin-transform-dynamic-import": "^2.1.0",
98
+ "concurrently": "^8.2.2",
99
+ "eslint-config-airbnb": "^19.0.4",
100
+ "eslint-config-prettier": "^9.1.0",
101
+ "eslint-plugin-prettier": "^5.2.1",
102
+ "eslint-plugin-sonarjs": "^1.0.4",
103
+ "jest-google-maps-mock": "^1.0.7",
104
+ "prettier": "^3.3.3",
105
+ "react-scripts": "5.0.1",
106
+ "rimraf": "^6.0.1",
107
+ "storybook": "^8.3.1",
108
+ "stylus": "^0.63.0",
109
+ "stylus-loader": "^8.1.0",
110
+ "svgo": "^3.3.2"
111
+ },
112
+ "resolutions": {
113
+ "nwsapi": "2.2.13"
114
+ }
111
115
  }