aefis-core-ui 2.1.3 → 2.1.4

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/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "aefis-core-ui",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "private": false,
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
7
7
  "module": "dist/index.modern.js",
8
- "source": "src/core-ui/index.js",
8
+ "source": "../src/core-ui/index.js",
9
9
  "exports": {
10
10
  "module": "./dist/index.modern.js"
11
11
  },
@@ -14,8 +14,6 @@
14
14
  ],
15
15
  "dependencies": {
16
16
  "@babel/runtime": "7.19.4",
17
- "@mui/x-date-pickers": "^5.0.4",
18
- "@react-keycloak/web": "^3.4.0",
19
17
  "@rjsf/material-ui": "^4.2.0",
20
18
  "axios": "^0.26",
21
19
  "change-case": "^4.1.2",
@@ -28,15 +26,11 @@
28
26
  "filepond-plugin-image-preview": "^4.6.11",
29
27
  "framer-motion": "^4.1.17",
30
28
  "iframe-resizer-react": "^1.1.0",
31
- "lodash": "4.17.21",
32
- "moment": "2.29.1",
29
+ "moment": "^2.29.4",
33
30
  "mustache": "^4.2.0",
34
- "namor": "^2.0.2",
35
31
  "notistack": "^3.0.0-alpha.7",
36
32
  "nouislider-react": "^3.4.1",
37
- "prop-types": "15.8.1",
38
33
  "query-string": "^7.1.1",
39
- "react-awesome-query-builder": "^4.6.0",
40
34
  "react-copy-to-clipboard": "^5.0.3",
41
35
  "react-fade-in": "^2.0.1",
42
36
  "react-filepond": "^7.1.1",
@@ -46,7 +40,6 @@
46
40
  "react-moment": "^1.1.1",
47
41
  "react-perfect-scrollbar": "^1.5.8",
48
42
  "react-query": "^3.5.6",
49
- "react-router-dom": "^5.3.0",
50
43
  "react-scroll": "^1.8.4",
51
44
  "react-share": "^4.4.0",
52
45
  "react-swipeable-views": "^0.14.0",
@@ -59,16 +52,6 @@
59
52
  "scripts": {
60
53
  "build:components": "microbundle -f modern --generateTypes --no-compress --jsx React.createElement --alias components=src/components --jsxFragment React.Fragment --jsxImportSource react",
61
54
  "build:lib": "rm -rf dist && (npm run build:components && ./scripts/build-icon.sh)",
62
- "start": "react-scripts start",
63
- "build": "react-scripts build",
64
- "test": "react-scripts test --env=jsdom --silent",
65
- "test:update-snapshots": "react-scripts test --env=jsdom --silent --watchAll -u",
66
- "test:verbose": "react-scripts test --env=jsdom --verbose",
67
- "test:image-snapshots": "ENABLE_IMAGE_SNAPSHOTS=true npm run test",
68
- "eject": "react-scripts eject",
69
- "storybook": "start-storybook -p 6006 -s public",
70
- "build-storybook": "build-storybook -s public",
71
- "storybook:server": "build-storybook -s public -o build && npx http-server ./build",
72
55
  "prepare": "patch-package"
73
56
  },
74
57
  "eslintConfig": {
@@ -88,38 +71,18 @@
88
71
  },
89
72
  "devDependencies": {
90
73
  "@babel/core": "^7.11.6",
91
- "@storybook/addon-a11y": "^6.5.10",
92
- "@storybook/addon-actions": "^6.5.10",
93
- "@storybook/addon-essentials": "^6.5.10",
94
- "@storybook/addon-links": "^6.5.10",
95
- "@storybook/addon-storyshots": "^6.5.10",
96
- "@storybook/addon-storyshots-puppeteer": "^6.5.10",
97
- "@storybook/node-logger": "^6.5.10",
98
- "@storybook/preset-create-react-app": "^3.2.0",
99
- "@storybook/react": "^6.5.10",
100
- "@testing-library/dom": "^8.10.1",
101
- "@testing-library/jest-dom": "^5.11.6",
102
- "@testing-library/react": "^11.2.2",
103
- "@testing-library/user-event": "^12.2.2",
104
- "@types/classnames": "^2.2.10",
105
- "@types/react-table": "^7.0.24",
106
- "@wojtekmaj/enzyme-adapter-react-17": "^0.6.3",
74
+ "@svgr/rollup": "^6.5.1",
75
+ "autoprefixer": "^9.0.0",
107
76
  "babel-loader": "8.1.0",
108
77
  "babel-plugin-import": "^1.13.3",
109
- "enzyme-to-json": "^3.6.2",
110
- "eslint-plugin-jest-dom": "^3.2.3",
111
- "eslint-plugin-only-warn": "^1.0.2",
112
- "eslint-plugin-testing-library": "^3.9.0",
113
- "http-server": "^13.0.2",
114
- "jest-environment-jsdom-sixteen": "^1.0.3",
115
78
  "microbundle": "^0.15.1",
116
- "microbundle-crl": "^0.13.11",
117
79
  "patch-package": "^6.5.0",
118
- "puppeteer": "^10.4.0",
119
- "react-app-rewired": "^2.1.8",
120
- "react-is": "^17.0.2"
80
+ "rollup-plugin-smart-asset": "^2.1.2"
121
81
  },
122
82
  "peerDependencies": {
83
+ "prop-types": "15.8.1",
84
+ "lodash": "4.17.21",
85
+ "@mui/x-date-pickers": "^5.0.4",
123
86
  "@mui/icons-material": "^5.10.9",
124
87
  "@mui/material": "^5.10.10",
125
88
  "@mui/styles": "^5.10.10",
@@ -129,10 +92,7 @@
129
92
  "react": "^17.0.2",
130
93
  "react-dom": "^17.0.2"
131
94
  },
132
- "prettier": {
133
- "trailingComma": "none",
134
- "tabWidth": 4,
135
- "useTabs": true,
136
- "printWidth": 100
95
+ "publishConfig": {
96
+ "registry": "https://registry.npmjs.org"
137
97
  }
138
98
  }
package/README.md DELETED
@@ -1,81 +0,0 @@
1
- # CORE-UI
2
-
3
-
4
- ## Install `core-ui` package
5
-
6
- * To install `core-ui` to your project, first add npm registry server configuration with the command below:
7
-
8
- ```bash
9
- $> npm config set '@heliocampus:registry' https://node.bit.cloud
10
- ```
11
-
12
- * Install (latest):
13
-
14
- ```bash
15
- $> npm i @heliocampus/lib.core-ui@latest
16
- ```
17
-
18
- ## Release new `core-ui` version with `@bit`
19
-
20
- We use [`bit`](https://bit.dev/docs/quick-start/) to manage our core-ui releases.
21
-
22
- * Bit is used via its CLI tool that can be installed with following command:
23
- ```bash
24
- $> npx @teambit/bvm install
25
- ```
26
-
27
- > **Caveat!:** In case you already have legacy version `bit` CLI that we no longer use; you should able to access `bit` CLI with `bbit` command.
28
-
29
- Legacy `bit` CLI, **should NOT be used!**:
30
- ```bash
31
- $> bit --version
32
- 14.8.8
33
- ```
34
-
35
- New version of `bit` (Harmony) that should be used:
36
- ```bash
37
- $> bbit --version
38
- 0.0.793
39
- ```
40
-
41
- * Once you have changes. 1st import latest remote state of core-ui release status:
42
- ```bash
43
- $> bbit import
44
- ```
45
-
46
- * Stage you changes:
47
- ```bash
48
- $> bbit add src/core-ui
49
- ```
50
-
51
- * Compile (optional), this will compile core-ui package into `node_modules/@heliocampus/lib.core-ui/` folder. You may later use this to test your changes without releasing on other repos.
52
-
53
- ```bash
54
- $> bbit compile
55
- ```
56
-
57
- * Tag you changes:
58
- ```bash
59
- $> bbit tag
60
- ```
61
-
62
- * Finally export the release with following command, (you may check the release on web: https://bit.cloud/heliocampus/lib/core-ui) :
63
- ```bash
64
- $> bbit export
65
- ```
66
-
67
-
68
- image.png
69
- ## Available Scripts
70
-
71
- In the project directory, you can run:
72
-
73
- Storybook:
74
- ```bash
75
- npm run storybook
76
- ```
77
-
78
- Create React App:
79
- ```bash
80
- npm run start
81
- ```