@axdspub/axiom-ui-forms 0.1.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.
Files changed (68) hide show
  1. package/.dockerignore +4 -0
  2. package/.env +1 -0
  3. package/.eslintrc.json +37 -0
  4. package/.gitlab-ci.yml +72 -0
  5. package/.storybook/main.ts +43 -0
  6. package/.storybook/preview.ts +16 -0
  7. package/.vscode/extensions.json +5 -0
  8. package/.vscode/settings.json +10 -0
  9. package/Dockerfile +34 -0
  10. package/README.md +19 -0
  11. package/craco.config.js +42 -0
  12. package/docker/nginx/conf.d/default.conf +46 -0
  13. package/docker-compose.yml +13 -0
  14. package/package.json +103 -0
  15. package/public/exampleForm.json +77 -0
  16. package/public/favicon.ico +0 -0
  17. package/public/index.html +43 -0
  18. package/public/logo192.png +0 -0
  19. package/public/logo512.png +0 -0
  20. package/public/manifest.json +25 -0
  21. package/public/robots.txt +3 -0
  22. package/rollup.config.mjs +108 -0
  23. package/src/App.tsx +25 -0
  24. package/src/Form/Components/FieldCreator.tsx +206 -0
  25. package/src/Form/Components/FieldLabel.tsx +14 -0
  26. package/src/Form/Components/Inputs/Boolean.tsx +13 -0
  27. package/src/Form/Components/Inputs/JSONString.tsx +40 -0
  28. package/src/Form/Components/Inputs/LongString.tsx +22 -0
  29. package/src/Form/Components/Inputs/Number.tsx +22 -0
  30. package/src/Form/Components/Inputs/Object.tsx +56 -0
  31. package/src/Form/Components/Inputs/RadioGroup.tsx +24 -0
  32. package/src/Form/Components/Inputs/SingleSelect.tsx +24 -0
  33. package/src/Form/Components/Inputs/String.tsx +18 -0
  34. package/src/Form/Components/Inputs/index.tsx +6 -0
  35. package/src/Form/Components/Inputs/inputMap.ts +23 -0
  36. package/src/Form/Components/index.tsx +2 -0
  37. package/src/Form/FormCreator.tsx +62 -0
  38. package/src/Form/FormCreatorTypes.ts +187 -0
  39. package/src/Form/FormMappingTypes.ts +17 -0
  40. package/src/Form/Manage/CopyableJSONOutput.tsx +75 -0
  41. package/src/Form/Manage/FormConfigInput.tsx +61 -0
  42. package/src/Form/Manage/FormMappedOutput.tsx +131 -0
  43. package/src/Form/Manage/FormMappingInput.tsx +60 -0
  44. package/src/Form/Manage/Manage.tsx +132 -0
  45. package/src/Form/Manage/RawFormOutput.tsx +20 -0
  46. package/src/Form/MapTester.tsx +107 -0
  47. package/src/Form/SchemaToForm.tsx +348 -0
  48. package/src/Form/formDefinition.json +8 -0
  49. package/src/Form/helpers.ts +85 -0
  50. package/src/Form/index.ts +1 -0
  51. package/src/Form/testData/assetData.json +65 -0
  52. package/src/Form/testData/exampleParticle.json +112 -0
  53. package/src/Form/testData/fields.json +151 -0
  54. package/src/Form/testData/nestedForm.json +156 -0
  55. package/src/Form/testData/testSchema.json +89 -0
  56. package/src/SetTester.tsx +61 -0
  57. package/src/helpers.ts +36 -0
  58. package/src/index.css +39 -0
  59. package/src/index.tsx +19 -0
  60. package/src/library.ts +3 -0
  61. package/src/reportWebVitals.ts +15 -0
  62. package/src/state/formAtom.ts +21 -0
  63. package/src/state/formMappingAtom.ts +21 -0
  64. package/src/state/formValuesAtom.ts +22 -0
  65. package/src/types/generate-schema.d.ts +8 -0
  66. package/tailwind.config.js +11 -0
  67. package/tsconfig.json +32 -0
  68. package/tsconfig.paths.json +19 -0
package/.dockerignore ADDED
@@ -0,0 +1,4 @@
1
+ node_modules
2
+ build
3
+ .dockerignore
4
+ Dockerfile
package/.env ADDED
@@ -0,0 +1 @@
1
+ PORT=3080
package/.eslintrc.json ADDED
@@ -0,0 +1,37 @@
1
+ {
2
+ "env": {
3
+ "browser": true,
4
+ "es2021": true
5
+ },
6
+ "extends": [
7
+ "plugin:react/recommended",
8
+ "standard-with-typescript"
9
+ ],
10
+ "overrides": [],
11
+ "parserOptions": {
12
+ "ecmaVersion": "latest",
13
+ "sourceType": "module",
14
+ "project": [
15
+ "./tsconfig.json"
16
+ ]
17
+ },
18
+ "plugins": [
19
+ "react"
20
+ ],
21
+ "rules": {
22
+ "ignoreIIFE": 0,
23
+ "@typescript-eslint/strict-boolean-expressions": 0,
24
+ "@typescript-eslint/no-misused-promises": [2, {
25
+ "checksVoidReturn": {
26
+ "attributes": false
27
+ }
28
+ }]
29
+
30
+ },
31
+ "ignorePatterns": [
32
+ "**/build/*",
33
+ "**/library/*",
34
+ "**/node_modules/*",
35
+ "**/.yalc/*"
36
+ ]
37
+ }
package/.gitlab-ci.yml ADDED
@@ -0,0 +1,72 @@
1
+ stages:
2
+ - build
3
+ - test
4
+ - push
5
+ - clean
6
+ - deploy
7
+
8
+ build_image:
9
+ stage: build
10
+ script:
11
+ - docker build -f Dockerfile -t $CI_PROJECT_NAME:$CI_PIPELINE_ID .
12
+
13
+ test:
14
+ stage: test
15
+ image: $CI_PROJECT_NAME:$CI_PIPELINE_ID
16
+ script:
17
+ - test -e /usr/share/nginx/html/index.html
18
+ - test -e /usr/share/nginx/html/asset-manifest.json
19
+
20
+ push_latest:
21
+ stage: push
22
+ only:
23
+ - main
24
+ script:
25
+ - docker tag $CI_PROJECT_NAME:$CI_PIPELINE_ID registry.axiom/$CI_PROJECT_NAME:latest
26
+ - docker push registry.axiom/$CI_PROJECT_NAME:latest
27
+
28
+ push_branch:
29
+ stage: push
30
+ only:
31
+ - branches
32
+ except:
33
+ - main
34
+ script:
35
+ - docker tag $CI_PROJECT_NAME:$CI_PIPELINE_ID registry.axiom/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME
36
+ - docker push registry.axiom/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME
37
+
38
+
39
+ push_tag:
40
+ stage: push
41
+ only:
42
+ - tags
43
+ script:
44
+ - docker tag $CI_PROJECT_NAME:$CI_PIPELINE_ID registry.axiom/$CI_PROJECT_NAME:$CI_BUILD_TAG
45
+ - docker push registry.axiom/$CI_PROJECT_NAME:$CI_BUILD_TAG
46
+ - docker tag $CI_PROJECT_NAME:$CI_PIPELINE_ID registry.axiom/$CI_PROJECT_NAME:prod
47
+ - docker push registry.axiom/$CI_PROJECT_NAME:prod
48
+
49
+ clean_latest:
50
+ stage: clean
51
+ only:
52
+ - main
53
+ script:
54
+ - docker rmi --no-prune $CI_PROJECT_NAME:$CI_PIPELINE_ID
55
+ - docker rmi --no-prune registry.axiom/$CI_PROJECT_NAME:latest
56
+
57
+ clean_tag:
58
+ stage: clean
59
+ only:
60
+ - tags
61
+ script:
62
+ - docker rmi --no-prune $CI_PROJECT_NAME:$CI_PIPELINE_ID
63
+ - docker rmi --no-prune registry.axiom/$CI_PROJECT_NAME:$CI_BUILD_TAG
64
+ - docker rmi --no-prune registry.axiom/$CI_PROJECT_NAME:prod
65
+
66
+
67
+ deploy_app:
68
+ stage: deploy
69
+ only:
70
+ - main
71
+ script:
72
+ - aps apps-prod axiom-ui-forms
@@ -0,0 +1,43 @@
1
+ import type { StorybookConfig } from "@storybook/react-webpack5"
2
+ import path from "path"
3
+ const cracoConfig = require('../craco.config.js')
4
+
5
+ const config: StorybookConfig = {
6
+ stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
7
+ addons: [
8
+ "@storybook/addon-links",
9
+ "@storybook/addon-essentials",
10
+ "@storybook/preset-create-react-app",
11
+ "@storybook/addon-onboarding",
12
+ "@storybook/addon-interactions",
13
+ ],
14
+ framework: {
15
+ name: "@storybook/react-webpack5",
16
+ options: {},
17
+ },
18
+ webpackFinal(config, {
19
+ configType
20
+ }) {
21
+ return {
22
+ ...config,
23
+ resolve: {
24
+ ...config.resolve,
25
+ alias: {
26
+ ...config?.resolve?.alias,
27
+ ...{
28
+ '@': path.resolve(__dirname, "../src")
29
+ }
30
+ },
31
+ fallback: {
32
+ ...config?.resolve?.fallback,
33
+ ...cracoConfig?.webpack?.configure?.resolve?.fallback
34
+ }
35
+ }
36
+ };
37
+ },
38
+ docs: {
39
+ autodocs: "tag",
40
+ },
41
+ staticDirs: ["../public"],
42
+ };
43
+ export default config;
@@ -0,0 +1,16 @@
1
+ import type { Preview } from "@storybook/react";
2
+ import '../src/index.css'
3
+
4
+ const preview: Preview = {
5
+ parameters: {
6
+ actions: { argTypesRegex: "^on[A-Z].*" },
7
+ controls: {
8
+ matchers: {
9
+ color: /(background|color)$/i,
10
+ date: /Date$/,
11
+ },
12
+ },
13
+ },
14
+ };
15
+
16
+ export default preview;
@@ -0,0 +1,5 @@
1
+ {
2
+ "recommendations": [
3
+ "bradlc.vscode-tailwindcss"
4
+ ]
5
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "editor.formatOnSave": false,
3
+ "editor.codeActionsOnSave": {
4
+ "source.fixAll.eslint": "explicit"
5
+ },
6
+ "eslint.validate": [
7
+ "typescript"
8
+ ],
9
+ "typescript.preferences.importModuleSpecifier": "non-relative"
10
+ }
package/Dockerfile ADDED
@@ -0,0 +1,34 @@
1
+ # Install dependencies only when needed
2
+ FROM node:18-alpine AS deps
3
+ WORKDIR /app
4
+ COPY package.json package-lock.json ./
5
+ # TODO: Maybe revisit this, as we probably shouldn't be relying on
6
+ # legacy-peer-deps
7
+ COPY .npmrc ./
8
+ RUN npm ci
9
+
10
+ # Rebuild the source code only when needed
11
+ FROM node:18-alpine AS builder
12
+
13
+ # RUN apk --no-cache add curl
14
+ WORKDIR /app
15
+ COPY src/example-jwt-tokens.json src/jwt-tokens.json
16
+ COPY package.json package-lock.json ./
17
+ COPY .storybook .storybook
18
+ COPY public public
19
+ COPY src src
20
+ COPY .eslintrc.json craco.config.js tailwind.config.js tsconfig.json tsconfig.paths.json ./
21
+ COPY --from=deps /app/node_modules ./node_modules
22
+ RUN npm run build
23
+
24
+ # Production image, copy all the files and run craco
25
+ FROM nginx:1.25.1 AS nginx
26
+ WORKDIR /app
27
+
28
+ ENV NODE_ENV production
29
+
30
+ COPY --from=builder /app/build/ /usr/share/nginx/html
31
+
32
+ COPY ./docker/nginx/conf.d/* /etc/nginx/conf.d/
33
+
34
+ EXPOSE 80
package/README.md ADDED
@@ -0,0 +1,19 @@
1
+ Library that allows:
2
+ - Creation of forms using a json config file
3
+ - Creation of forms using a [https://json-schema.org/draft-06/json-schema-release-notes](json schema draft 6), with selective overrides using json config
4
+
5
+ ## Testing build locally
6
+
7
+ ```
8
+ npm i spa-http-server -g
9
+ npm run build
10
+ cd build
11
+ http-server --push-state -p 8091 -o
12
+ ```
13
+
14
+
15
+
16
+ ## TODO
17
+
18
+ - [ ] Save filter and map state in url
19
+ - [ ] Update `axiom-maps` to allow geojson to be updatd on existing layer with the goal of removingthe flicker after filter
@@ -0,0 +1,42 @@
1
+ const path = require('path')
2
+
3
+ // someday, clean up the the FOUR! repeated declarations of aliases (others are is in tsconfig.paths.json => tsconfig.json and .storybook/main.ts)
4
+ // https://stackoverflow.com/a/71892901
5
+
6
+ module.exports = {
7
+ webpack: {
8
+ eslint: {
9
+ enable: false
10
+ },
11
+ alias: {
12
+ '@': path.resolve(__dirname, 'src/'),
13
+ '@Components': path.resolve(__dirname, 'src/Components'),
14
+ '@State': path.resolve(__dirname, 'src/State')
15
+ },
16
+ configure: {
17
+ ignoreWarnings: [/Failed to parse source map/],
18
+ resolve: {
19
+ fallback: {
20
+ https: false,
21
+ http: false,
22
+ path: false,
23
+ zlib: false
24
+ }
25
+ },
26
+ module: {
27
+ // this silences a warning (Critical dependency: require function is used in a way in which dependencies cannot be statically extracted) that comes up with the cesium build included with @axdspubs/axiom-maps
28
+ unknownContextCritical: false
29
+ }
30
+ }
31
+ },
32
+ jest: {
33
+ configure: {
34
+ verbose: true,
35
+ moduleNameMapper: {
36
+ '^@/(.*)$': '<rootDir>/src/$1',
37
+ '^@Components/(.*)$': '<rootDir>/src/State/$1',
38
+ '^@State/(.*)$': '<rootDir>/src/State/$1'
39
+ }
40
+ }
41
+ }
42
+ }
@@ -0,0 +1,46 @@
1
+ server {
2
+ listen 80;
3
+ listen [::]:80;
4
+ server_name localhost;
5
+
6
+ #access_log /var/log/nginx/host.access.log main;
7
+
8
+ location / {
9
+ root /usr/share/nginx/html;
10
+ index index.html index.htm;
11
+
12
+ try_files $uri /index.html;
13
+ }
14
+
15
+ #error_page 404 /404.html;
16
+
17
+ # redirect server error pages to the static page /50x.html
18
+ #
19
+ error_page 500 502 503 504 /50x.html;
20
+ location = /50x.html {
21
+ root /usr/share/nginx/html;
22
+ }
23
+
24
+ # proxy the PHP scripts to Apache listening on 127.0.0.1:80
25
+ #
26
+ #location ~ \.php$ {
27
+ # proxy_pass http://127.0.0.1;
28
+ #}
29
+
30
+ # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
31
+ #
32
+ #location ~ \.php$ {
33
+ # root html;
34
+ # fastcgi_pass 127.0.0.1:9000;
35
+ # fastcgi_index index.php;
36
+ # fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
37
+ # include fastcgi_params;
38
+ #}
39
+
40
+ # deny access to .htaccess files, if Apache's document root
41
+ # concurs with nginx's one
42
+ #
43
+ #location ~ /\.ht {
44
+ # deny all;
45
+ #}
46
+ }
@@ -0,0 +1,13 @@
1
+ services:
2
+ app:
3
+ image: axiom-ui-forms:latest
4
+ build:
5
+ context: .
6
+ dockerfile: Dockerfile
7
+ extra_hosts:
8
+ - "npm-registry.srv.axiomptk:10.2.3.4"
9
+ - "npm-registry.srv.axiomptk:10.2.10.2"
10
+ ports:
11
+ - "8787:80"
12
+ # profiles:
13
+ # - app
package/package.json ADDED
@@ -0,0 +1,103 @@
1
+ {
2
+ "name": "@axdspub/axiom-ui-forms",
3
+ "version": "0.1.0",
4
+ "private": false,
5
+ "main": "./library/index.js",
6
+ "module": "./library/index.js",
7
+ "types": "./library/axiom-ui-utilities.d.ts",
8
+ "peerDependencies": {
9
+ "lodash": "^4.17.21",
10
+ "react": "^18.0.0",
11
+ "react-dom": "^18.0.0",
12
+ "react-hook-form": "^7.0.0"
13
+ },
14
+ "dependencies": {
15
+ "@axdspub/axiom-ui-utilities": "^0.1.6",
16
+ "@radix-ui/react-icons": "^1.3.2",
17
+ "@rollup/plugin-alias": "^5.1.1",
18
+ "@rollup/plugin-commonjs": "^28.0.2",
19
+ "@rollup/plugin-json": "^6.1.0",
20
+ "@rollup/plugin-node-resolve": "^16.0.0",
21
+ "@rollup/plugin-typescript": "^12.1.2",
22
+ "@types/geojson": "^7946.0.16",
23
+ "@types/json-schema": "^7.0.15",
24
+ "@types/react": "^18.2.28",
25
+ "@types/react-dom": "^18.2.13",
26
+ "ajv": "^8.17.1",
27
+ "cbor-x": "^1.6.0",
28
+ "generate-schema": "^2.6.0",
29
+ "jotai": "^2.7.0",
30
+ "jotai-tanstack-query": "^0.8.5",
31
+ "lodash.set": "^4.3.2",
32
+ "react": "^18.0.0",
33
+ "react-dom": "^18.0.0",
34
+ "react-media": "^1.10.0",
35
+ "react-router-dom": "^6.28.0",
36
+ "react-scripts": "5.0.1",
37
+ "rimraf": "^6.0.1",
38
+ "rollup": "^4.34.8",
39
+ "rollup-plugin-dts": "^6.1.1",
40
+ "rollup-plugin-polyfill-node": "^0.13.0",
41
+ "typescript": "^5.2.2"
42
+ },
43
+ "scripts": {
44
+ "start": "set PORT=3080 && craco start ",
45
+ "build": "craco build",
46
+ "test": "craco test",
47
+ "eject": "react-scripts eject",
48
+ "clean": "rimraf library",
49
+ "rollup": "rollup -c",
50
+ "prepublishOnly": "npm run clean && rollup -c"
51
+ },
52
+ "eslintConfig": {
53
+ "extends": [
54
+ "react-app",
55
+ "react-app/jest"
56
+ ],
57
+ "overrides": [
58
+ {
59
+ "files": [
60
+ "**/*.stories.*"
61
+ ],
62
+ "rules": {
63
+ "import/no-anonymous-default-export": "off"
64
+ }
65
+ }
66
+ ]
67
+ },
68
+ "browserslist": {
69
+ "production": [
70
+ ">0.2%",
71
+ "not dead",
72
+ "not op_mini all",
73
+ "not safari < 10",
74
+ "not chrome < 51",
75
+ "not android < 5",
76
+ "not ie < 12"
77
+ ],
78
+ "development": [
79
+ "last 1 chrome version",
80
+ "last 1 firefox version",
81
+ "last 1 safari version"
82
+ ]
83
+ },
84
+ "devDependencies": {
85
+ "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
86
+ "@craco/craco": "^7.1.0",
87
+ "@types/lodash": "^4.17.12",
88
+ "@types/rison": "^0.1.0",
89
+ "@typescript-eslint/eslint-plugin": "^6.8.0",
90
+ "@typescript-eslint/parser": "^6.8.0",
91
+ "babel-plugin-named-exports-order": "^0.0.2",
92
+ "eslint": "^8.51.0",
93
+ "eslint-config-standard-with-typescript": "^39.1.1",
94
+ "eslint-plugin-import": "^2.28.1",
95
+ "eslint-plugin-n": "^16.2.0",
96
+ "eslint-plugin-promise": "^6.1.1",
97
+ "eslint-plugin-react": "^7.33.2",
98
+ "tailwindcss": "^3.3.3",
99
+ "ts-node": "^10.9.1",
100
+ "web-vitals": "^2.1.4",
101
+ "webpack": "^5.88.2"
102
+ }
103
+ }
@@ -0,0 +1,77 @@
1
+ {
2
+ "label": "New form",
3
+ "id": "newForm",
4
+ "fields": [
5
+ {
6
+ "label": "Label",
7
+ "id": "label",
8
+ "type": "text",
9
+ "required": true
10
+ },
11
+ {
12
+ "label": "Description",
13
+ "id": "description",
14
+ "type": "long_text",
15
+ "required": true
16
+ },
17
+ {
18
+ "label": "Is it true?",
19
+ "id": "isit",
20
+ "type": "boolean",
21
+ "required": false
22
+ },
23
+ {
24
+ "label": "You must agree",
25
+ "id": "agree",
26
+ "type": "boolean",
27
+ "required": true
28
+ },
29
+ {
30
+ "label": "Select one",
31
+ "id": "color",
32
+ "type": "select",
33
+ "required": true,
34
+ "options": [
35
+ {
36
+ "label": "Red",
37
+ "value": "red"
38
+ },
39
+ {
40
+ "label": "Green",
41
+ "value": "green"
42
+ },
43
+ {
44
+ "label": "Blue",
45
+ "value": "blue"
46
+ }
47
+ ]
48
+ },
49
+ {
50
+ "label": "Pick a size",
51
+ "id": "size",
52
+ "type": "radio",
53
+ "required": true,
54
+ "layout": "vertical",
55
+ "options": [
56
+ {
57
+ "label": "Small",
58
+ "value": "small"
59
+ },
60
+ {
61
+ "label": "Medium",
62
+ "value": "medium"
63
+ },
64
+ {
65
+ "label": "Large",
66
+ "value": "large"
67
+ }
68
+ ]
69
+ },
70
+ {
71
+ "label": "A few of your favorite things",
72
+ "id": "favorites",
73
+ "type": "text",
74
+ "multiple": true
75
+ }
76
+ ]
77
+ }
Binary file
@@ -0,0 +1,43 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="utf-8" />
6
+ <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
8
+ <meta name="theme-color" content="#000000" />
9
+ <meta name="description" content="Web site created using create-react-app" />
10
+ <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
11
+ <!--
12
+ manifest.json provides metadata used when your web app is installed on a
13
+ user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
14
+ -->
15
+ <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
16
+ <!--
17
+ Notice the use of %PUBLIC_URL% in the tags above.
18
+ It will be replaced with the URL of the `public` folder during the build.
19
+ Only files inside the `public` folder can be referenced from the HTML.
20
+
21
+ Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
22
+ work correctly both with client-side routing and a non-root public URL.
23
+ Learn how to configure a non-root public URL by running `npm run build`.
24
+ -->
25
+ <title>Asset Manager</title>
26
+ </head>
27
+
28
+ <body>
29
+ <noscript>You need to enable JavaScript to run this app.</noscript>
30
+ <div id="root"></div>
31
+ <!--
32
+ This HTML file is a template.
33
+ If you open it directly in the browser, you will see an empty page.
34
+
35
+ You can add webfonts, meta tags, or analytics to this file.
36
+ The build step will place the bundled scripts into the <body> tag.
37
+
38
+ To begin the development, run `npm start` or `yarn start`.
39
+ To create a production bundle, use `npm run build` or `yarn build`.
40
+ -->
41
+ </body>
42
+
43
+ </html>
Binary file
Binary file
@@ -0,0 +1,25 @@
1
+ {
2
+ "short_name": "React App",
3
+ "name": "Create React App Sample",
4
+ "icons": [
5
+ {
6
+ "src": "favicon.ico",
7
+ "sizes": "64x64 32x32 24x24 16x16",
8
+ "type": "image/x-icon"
9
+ },
10
+ {
11
+ "src": "logo192.png",
12
+ "type": "image/png",
13
+ "sizes": "192x192"
14
+ },
15
+ {
16
+ "src": "logo512.png",
17
+ "type": "image/png",
18
+ "sizes": "512x512"
19
+ }
20
+ ],
21
+ "start_url": ".",
22
+ "display": "standalone",
23
+ "theme_color": "#000000",
24
+ "background_color": "#ffffff"
25
+ }
@@ -0,0 +1,3 @@
1
+ # https://www.robotstxt.org/robotstxt.html
2
+ User-agent: *
3
+ Disallow: