@steedos/webapp 2.2.25 → 2.2.28

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/.env CHANGED
@@ -1,2 +1,3 @@
1
1
  NODE_ENV=production
2
- REACT_APP_API_URL=http://127.0.0.1:4000
2
+ REACT_APP_API_URL=https://zhuangjianguo.steedos.cn
3
+ DISABLE_ESLINT_PLUGIN=true
package/.eslintignore ADDED
@@ -0,0 +1 @@
1
+ *
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021 Steedos 华炎魔方
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -19,4 +19,8 @@ yarn start
19
19
  Open a browser and navigate to [http://localhost:3000](http://localhost:3000).
20
20
 
21
21
  ## 功能说明
22
- - 登录及注册页面前台
22
+ - 登录及注册页面前台
23
+
24
+ ## Build
25
+ 执行命令`build-disabled`
26
+ 注意: steedos-frontend需要与steedos-platform文件夹路径需要平级
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@steedos/webapp",
3
- "version": "2.2.25",
3
+ "version": "2.2.28",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "main": "lib/exports.js",
7
7
  "scripts": {
8
8
  "start": "cross-env SKIP_PREFLIGHT_CHECK=true PUBLIC_URL=/ react-scripts start",
9
- "build": "yarn build:react && yarn build-lib && yarn build-tailwind && yarn build-copy-to-public",
9
+ "build-disabled": "yarn build:react && yarn build-lib && yarn build-tailwind && yarn build-copy-to-public",
10
10
  "build:react": "cross-env GENERATE_SOURCEMAP=false NODE_ENV=production SKIP_PREFLIGHT_CHECK=true PUBLIC_URL=../../ react-scripts build && yarn build-after",
11
11
  "build-after": "mkdirp build/accounts && mkdirp build/accounts/a && mv build/index.html build/accounts/a/",
12
12
  "copy-to-public": "rm -rf build/assets && mkdirp public/accounts && mv build ./public/accounts/a",
13
13
  "build-lib": "rm -rf lib && tsc --build tsconfig.lib.json",
14
- "build-tailwind": "cd ../../../packages/tailwind && yarn build-tailwind",
14
+ "build-tailwind": "cd ../../../steedos-platform/packages/tailwind && yarn build-tailwind",
15
15
  "test": "SKIP_PREFLIGHT_CHECK=true react-scripts test",
16
- "build-copy-to-public": "rm -rf ../public && mv build ../public"
16
+ "build-copy-to-public": "rm -rf ../../../steedos-platform/steedos-packages/webapp-accounts/public && mv build ../../../steedos-platform/steedos-packages/webapp-accounts/public"
17
17
  },
18
18
  "eslintConfig": {
19
19
  "extends": "react-app"
@@ -32,54 +32,59 @@
32
32
  "last 1 safari version"
33
33
  ]
34
34
  },
35
+ "dependencies": {
36
+ "crypto-js": "^4.1.1"
37
+ },
35
38
  "devDependencies": {
36
39
  "@accounts/client": "^0.19.0",
37
40
  "@accounts/client-password": "^0.19.0",
38
41
  "@accounts/rest-client": "^0.19.0",
39
- "@babel/cli": "7.2.3",
40
- "@babel/core": "7.3.4",
41
- "@babel/plugin-proposal-class-properties": "7.3.4",
42
+ "@babel/cli": "7.12.10",
43
+ "@babel/core": "^7.12.10",
44
+ "@babel/plugin-proposal-class-properties": "^7.16.7",
42
45
  "@babel/plugin-syntax-dynamic-import": "7.2.0",
43
46
  "@babel/polyfill": "^7.6.0",
44
- "@babel/preset-env": "7.3.4",
45
- "@babel/preset-react": "7.0.0",
46
- "@babel/runtime": "7.3.4",
47
+ "@babel/preset-env": "^7.16.11",
48
+ "@babel/preset-react": "^7.16.7",
49
+ "@babel/runtime": "7.13.8",
47
50
  "@material-ui/core": "^4.4.1",
48
51
  "@material-ui/icons": "^4.4.1",
49
52
  "@material-ui/styles": "^4.4.1",
50
53
  "@tailwindui/react": "^0.1.1",
51
- "@types/node": "12.6.8",
54
+ "@types/node": "^14.14.19",
52
55
  "@types/qrcode.react": "0.8.2",
53
- "@types/react": "^16.9.49",
54
- "@types/react-dom": "16.8.5",
55
- "@types/react-redux": "^7.1.2",
56
+ "@types/react": "^17.0.2",
57
+ "@types/react-dom": "^17.0.0",
58
+ "@types/react-redux": "^7.1.9",
56
59
  "@types/react-router": "5.0.3",
57
- "@types/react-router-dom": "4.3.4",
58
- "@types/serialize-error": "^4.0.1",
60
+ "@types/react-router-dom": "5.1.7",
61
+ "@typescript-eslint/eslint-plugin": "^5.10.2",
62
+ "@typescript-eslint/parser": "^5.10.2",
59
63
  "add": "^2.0.6",
60
- "babel-jest": "^26.3.0",
64
+ "babel-jest": "^26.6.0",
61
65
  "babel-preset-react-app": "^10.0.1",
62
66
  "core-js": "^3.2.1",
63
- "cross-env": "^5.2.0",
67
+ "cross-env": "7.0.3",
64
68
  "mkdirp": "^1.0.4",
65
- "qrcode.react": "0.9.3",
66
- "react": "^16.13.1",
67
- "react-app-polyfill": "^1.0.4",
68
- "react-dom": "^16.13.1",
69
+ "qrcode.react": "^1.0.1",
70
+ "react": "^17.0.2",
71
+ "react-app-polyfill": "^2.0.0",
72
+ "react-dom": "^17.0.2",
69
73
  "react-intl": "^3.1.13",
70
- "react-redux": "^7.1.0",
71
- "react-router-dom": "^5.2.0",
72
- "react-scripts": "3.4.3",
74
+ "react-redux": "^7.1.1",
75
+ "react-router-dom": "^6.2.2",
76
+ "react-scripts": "^4.0.3",
73
77
  "redux": "^4.0.4",
74
78
  "redux-devtools-extension": "^2.13.8",
75
- "redux-thunk": "^2.3.0",
79
+ "redux-thunk": "^2.4.1",
76
80
  "serialize-error": "^7.0.1",
77
- "tslib": "1.10.0",
78
- "typescript": "4.5.5",
81
+ "tslib": "^2.3.1",
82
+ "typescript": "^4.6.2",
79
83
  "yarn": "^1.22.5"
80
84
  },
81
85
  "publishConfig": {
82
86
  "access": "public"
83
87
  },
84
- "gitHead": "e81092f007bce951b627a5c28e286032afbba1fb"
88
+ "repository": "https://github.com/steedos/app-builder/tree/master/apps/accounts",
89
+ "gitHead": "d28f53406deaceccfba5e860d2847d2263f7d469"
85
90
  }
package/tsconfig.json CHANGED
@@ -19,7 +19,8 @@
19
19
  "isolatedModules": true,
20
20
  "downlevelIteration": true,
21
21
  "noImplicitThis": false,
22
- "jsx": "preserve"
22
+ "jsx": "react-jsx",
23
+ "noFallthroughCasesInSwitch": true
23
24
  },
24
25
  "include": [
25
26
  "src"
package/LICENSE.txt DELETED
@@ -1,25 +0,0 @@
1
- Steedos Licensing
2
-
3
- SOFTWARE LICENSING
4
-
5
- To determine under which license you may use a file from the Steedos source code,
6
- please resort to the header of that file.
7
-
8
- If the file has no header, the following rules apply
9
- 1. project templates are licensed under MIT, see License.MIT.txt
10
- 2. enterprise features are licensed under Steedos Enterprise Terms, see License.enterprise.txt
11
- 3. source code that is neither (1) nor (2) is licensed under AGPL, see License.AGPL.txt
12
-
13
- On request, licenses under different terms are available.
14
-
15
- Project templates can be found in the folders steedos-projects/
16
-
17
- Source code of enterprise features are files that
18
- * are in folders named "ee" or start with "ee_", or in subfolders of such folders.
19
- * contain the strings "ee_" in its filename name.
20
- The files can be found by running the command `find . -iname ee -or -iname "*_ee*" -or -iname "*ee_*"`
21
-
22
- STEEDOS TRADEMARK GUIDELINES
23
-
24
- Your use of the mark Steedos is subject to Steedos, Inc's prior written approval. For trademark approval or any questions
25
- you have about using these trademarks, please email zhuangjianguo@steedos.com