datajunction-ui 0.0.1-rc.2 → 0.0.1-rc.3
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/dist/index.html +1 -1
- package/dist/static/main.05a86d446163fd5f17d3.js +119254 -1
- package/dist/static/main.9e53bed734dae98e5b10.js +117976 -1
- package/dist/static/main.ebaa9bc7ec95d2f8d4fb.js +2 -0
- package/dist/static/main.ebaa9bc7ec95d2f8d4fb.js.LICENSE.txt +98 -0
- package/dist/static/main.js +119254 -1
- package/dist/static/vendor.05a86d446163fd5f17d3.js +9834 -1
- package/dist/static/vendor.9e53bed734dae98e5b10.js +9490 -1
- package/dist/static/vendor.ebaa9bc7ec95d2f8d4fb.js +2 -0
- package/dist/static/vendor.ebaa9bc7ec95d2f8d4fb.js.LICENSE.txt +29 -0
- package/dist/static/vendor.js +9834 -1
- package/package.json +1 -3
- package/src/app/index.tsx +12 -3
- package/tsconfig.json +1 -5
- package/webpack.config.js +5 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "datajunction-ui",
|
|
3
|
-
"version": "0.0.1-rc.
|
|
3
|
+
"version": "0.0.1-rc.3",
|
|
4
4
|
"description": "DataJunction Metrics Platform UI",
|
|
5
5
|
"module": "src/index.tsx",
|
|
6
6
|
"repository": {
|
|
@@ -44,8 +44,6 @@
|
|
|
44
44
|
"eslint-config-prettier": "8.5.0",
|
|
45
45
|
"eslint-plugin-prettier": "4.2.1",
|
|
46
46
|
"eslint-plugin-react-hooks": "4.6.0",
|
|
47
|
-
"fbemitter": "3.0.0",
|
|
48
|
-
"flux": "4.0.4",
|
|
49
47
|
"fontfaceobserver": "2.3.0",
|
|
50
48
|
"husky": "8.0.1",
|
|
51
49
|
"i18next": "21.9.2",
|
package/src/app/index.tsx
CHANGED
|
@@ -32,9 +32,18 @@ export function App() {
|
|
|
32
32
|
element={<Root />}
|
|
33
33
|
children={
|
|
34
34
|
<>
|
|
35
|
-
<Route path="nodes
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
<Route path="nodes" key="nodes">
|
|
36
|
+
<Route path=":name" element={<NodePage />} />
|
|
37
|
+
</Route>
|
|
38
|
+
|
|
39
|
+
<Route path="/" element={<ListNamespacesPage />} key="index" />
|
|
40
|
+
<Route path="namespaces">
|
|
41
|
+
<Route
|
|
42
|
+
path=":namespace"
|
|
43
|
+
element={<NamespacePage />}
|
|
44
|
+
key="namespaces"
|
|
45
|
+
/>
|
|
46
|
+
</Route>
|
|
38
47
|
</>
|
|
39
48
|
}
|
|
40
49
|
/>
|
package/tsconfig.json
CHANGED
|
@@ -21,11 +21,7 @@
|
|
|
21
21
|
"removeComments": true,
|
|
22
22
|
"sourceMap": true
|
|
23
23
|
},
|
|
24
|
-
"include": [
|
|
25
|
-
"src/**/*.ts",
|
|
26
|
-
"src/**/*.tsx",
|
|
27
|
-
"internals/startingTemplate/**/*"
|
|
28
|
-
],
|
|
24
|
+
"include": ["src/**/*.ts", "src/**/*.tsx", "internals/startingTemplate/**/*"],
|
|
29
25
|
"ts-node": {
|
|
30
26
|
"compilerOptions": {
|
|
31
27
|
"esModuleInterop": true,
|
package/webpack.config.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const path = require('path');
|
|
2
2
|
const HtmlWebpackPlugin = require('html-webpack-plugin');
|
|
3
|
-
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
3
|
+
// const MiniCssExtractPlugin = require('mini-css-extract-plugin');
|
|
4
4
|
|
|
5
5
|
var babelOptions = {
|
|
6
6
|
presets: ['@babel/preset-react'],
|
|
@@ -10,7 +10,7 @@ module.exports = {
|
|
|
10
10
|
cache: true,
|
|
11
11
|
entry: {
|
|
12
12
|
main: './src/index.tsx',
|
|
13
|
-
vendor: ['events', '
|
|
13
|
+
vendor: ['events', 'react', 'react-dom'],
|
|
14
14
|
},
|
|
15
15
|
target: 'web',
|
|
16
16
|
mode: 'development',
|
|
@@ -24,7 +24,9 @@ module.exports = {
|
|
|
24
24
|
publicPath: '/',
|
|
25
25
|
},
|
|
26
26
|
devServer: {
|
|
27
|
-
historyApiFallback:
|
|
27
|
+
historyApiFallback: {
|
|
28
|
+
disableDotRule: true,
|
|
29
|
+
},
|
|
28
30
|
},
|
|
29
31
|
resolve: {
|
|
30
32
|
extensions: ['.js', '.jsx', '.json', '.ts', '.tsx'],
|