@blux.ai/web-sdk 1.0.0-rc0 → 1.0.0-rc1
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/package.json +1 -1
- package/package.json +1 -1
- package/demo/craco.config.js +0 -29
- package/demo/package.json +0 -50
- package/demo/public/favicon.ico +0 -0
- package/demo/public/index.html +0 -43
- package/demo/public/logo192.png +0 -0
- package/demo/public/logo512.png +0 -0
- package/demo/public/manifest.json +0 -25
- package/demo/public/robots.txt +0 -3
- package/demo/tailwind.config.js +0 -10
package/dist/package.json
CHANGED
package/package.json
CHANGED
package/demo/craco.config.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/* eslint-disable no-undef */
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
webpack: {
|
|
5
|
-
configure: (config) => {
|
|
6
|
-
// ...
|
|
7
|
-
const fileLoaderRule = getFileLoaderRule(config.module.rules);
|
|
8
|
-
if (!fileLoaderRule) {
|
|
9
|
-
throw new Error("File loader not found");
|
|
10
|
-
}
|
|
11
|
-
fileLoaderRule.exclude.push(/\.cjs$/);
|
|
12
|
-
// ...
|
|
13
|
-
return config;
|
|
14
|
-
},
|
|
15
|
-
},
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
function getFileLoaderRule(rules) {
|
|
19
|
-
for (const rule of rules) {
|
|
20
|
-
if ("oneOf" in rule) {
|
|
21
|
-
const found = getFileLoaderRule(rule.oneOf);
|
|
22
|
-
if (found) {
|
|
23
|
-
return found;
|
|
24
|
-
}
|
|
25
|
-
} else if (rule.test === undefined && rule.type === "asset/resource") {
|
|
26
|
-
return rule;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
package/demo/package.json
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "demo",
|
|
3
|
-
"version": "0.1.0",
|
|
4
|
-
"private": true,
|
|
5
|
-
"dependencies": {
|
|
6
|
-
"@blux.ai/web-sdk": "workspace:*",
|
|
7
|
-
"@testing-library/jest-dom": "^5.14.1",
|
|
8
|
-
"@testing-library/react": "^13.0.0",
|
|
9
|
-
"@types/jest": "^27.0.1",
|
|
10
|
-
"@types/node": "^16.7.13",
|
|
11
|
-
"@types/react": "^18.0.0",
|
|
12
|
-
"@types/react-dom": "^18.0.0",
|
|
13
|
-
"react": "^18.3.1",
|
|
14
|
-
"react-dom": "^18.3.1",
|
|
15
|
-
"react-scripts": "5.0.1",
|
|
16
|
-
"typescript": "^4.4.2",
|
|
17
|
-
"web-vitals": "^2.1.0"
|
|
18
|
-
},
|
|
19
|
-
"scripts": {
|
|
20
|
-
"start": "craco start",
|
|
21
|
-
"build": "craco build",
|
|
22
|
-
"test": "craco test",
|
|
23
|
-
"eject": "react-scripts eject"
|
|
24
|
-
},
|
|
25
|
-
"eslintConfig": {
|
|
26
|
-
"extends": [
|
|
27
|
-
"react-app",
|
|
28
|
-
"react-app/jest"
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
"browserslist": {
|
|
32
|
-
"production": [
|
|
33
|
-
">0.2%",
|
|
34
|
-
"not dead",
|
|
35
|
-
"not op_mini all"
|
|
36
|
-
],
|
|
37
|
-
"development": [
|
|
38
|
-
"last 1 chrome version",
|
|
39
|
-
"last 1 firefox version",
|
|
40
|
-
"last 1 safari version"
|
|
41
|
-
]
|
|
42
|
-
},
|
|
43
|
-
"devDependencies": {
|
|
44
|
-
"@craco/craco": "^7.1.0",
|
|
45
|
-
"tailwindcss": "^3.4.4"
|
|
46
|
-
},
|
|
47
|
-
"installConfig": {
|
|
48
|
-
"hoistingLimits": "workspaces"
|
|
49
|
-
}
|
|
50
|
-
}
|
package/demo/public/favicon.ico
DELETED
|
Binary file
|
package/demo/public/index.html
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8" />
|
|
5
|
-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
-
<meta name="theme-color" content="#000000" />
|
|
8
|
-
<meta
|
|
9
|
-
name="description"
|
|
10
|
-
content="Web site created using create-react-app"
|
|
11
|
-
/>
|
|
12
|
-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
|
|
13
|
-
<!--
|
|
14
|
-
manifest.json provides metadata used when your web app is installed on a
|
|
15
|
-
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
|
16
|
-
-->
|
|
17
|
-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
|
18
|
-
<!--
|
|
19
|
-
Notice the use of %PUBLIC_URL% in the tags above.
|
|
20
|
-
It will be replaced with the URL of the `public` folder during the build.
|
|
21
|
-
Only files inside the `public` folder can be referenced from the HTML.
|
|
22
|
-
|
|
23
|
-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
|
24
|
-
work correctly both with client-side routing and a non-root public URL.
|
|
25
|
-
Learn how to configure a non-root public URL by running `npm run build`.
|
|
26
|
-
-->
|
|
27
|
-
<title>React App</title>
|
|
28
|
-
</head>
|
|
29
|
-
<body>
|
|
30
|
-
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
31
|
-
<div id="root"></div>
|
|
32
|
-
<!--
|
|
33
|
-
This HTML file is a template.
|
|
34
|
-
If you open it directly in the browser, you will see an empty page.
|
|
35
|
-
|
|
36
|
-
You can add webfonts, meta tags, or analytics to this file.
|
|
37
|
-
The build step will place the bundled scripts into the <body> tag.
|
|
38
|
-
|
|
39
|
-
To begin the development, run `npm start` or `yarn start`.
|
|
40
|
-
To create a production bundle, use `npm run build` or `yarn build`.
|
|
41
|
-
-->
|
|
42
|
-
</body>
|
|
43
|
-
</html>
|
package/demo/public/logo192.png
DELETED
|
Binary file
|
package/demo/public/logo512.png
DELETED
|
Binary file
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
}
|
package/demo/public/robots.txt
DELETED