@vidispine/cra-template-vdt 22.3.0 → 22.3.1-pre.1
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 +11 -10
- package/template/.vscode/settings.json +1 -15
- package/template/README.md +2 -3
- package/template/public/index.html +17 -13
- package/template.json +20 -11
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vidispine/cra-template-vdt",
|
|
3
|
-
"version": "22.3.
|
|
3
|
+
"version": "22.3.1-pre.1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
|
-
"private": false,
|
|
6
5
|
"publishConfig": {
|
|
7
6
|
"access": "public"
|
|
8
7
|
},
|
|
@@ -14,26 +13,28 @@
|
|
|
14
13
|
"directory": "packages/cra-template-vdt"
|
|
15
14
|
},
|
|
16
15
|
"scripts": {
|
|
17
|
-
"lint": "eslint
|
|
18
|
-
"lint:fix": "yarn lint --fix"
|
|
16
|
+
"lint": "eslint . --ext js,md,mdx"
|
|
19
17
|
},
|
|
20
18
|
"files": [
|
|
21
19
|
"template",
|
|
22
20
|
"template.json"
|
|
23
21
|
],
|
|
24
22
|
"devDependencies": {
|
|
25
|
-
"@vidispine/eslint-config": "22.3.
|
|
26
|
-
"@vidispine/
|
|
23
|
+
"@vidispine/eslint-config": "22.3.1-pre.1",
|
|
24
|
+
"@vidispine/eslint-config-mdx": "22.3.1-pre.1",
|
|
25
|
+
"@vidispine/prettier-config": "22.3.1-pre.1",
|
|
26
|
+
"eslint": "8.23.1",
|
|
27
|
+
"prettier": "2.7.1"
|
|
27
28
|
},
|
|
28
29
|
"eslintConfig": {
|
|
29
30
|
"extends": [
|
|
30
|
-
"@vidispine"
|
|
31
|
+
"@vidispine",
|
|
32
|
+
"@vidispine/eslint-config-mdx"
|
|
31
33
|
],
|
|
32
34
|
"rules": {
|
|
33
35
|
"import/no-extraneous-dependencies": "off",
|
|
34
36
|
"import/no-unresolved": "off"
|
|
35
37
|
}
|
|
36
38
|
},
|
|
37
|
-
"prettier": "@vidispine/prettier-config"
|
|
38
|
-
|
|
39
|
-
}
|
|
39
|
+
"prettier": "@vidispine/prettier-config"
|
|
40
|
+
}
|
|
@@ -1,27 +1,13 @@
|
|
|
1
1
|
{
|
|
2
|
-
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
3
2
|
"[html]": {
|
|
4
3
|
"editor.formatOnSave": true
|
|
5
4
|
},
|
|
6
5
|
"[json]": {
|
|
7
|
-
"editor.formatOnSave": true
|
|
8
|
-
"editor.defaultFormatter": "vscode.json-language-features"
|
|
6
|
+
"editor.formatOnSave": true
|
|
9
7
|
},
|
|
10
8
|
"editor.codeActionsOnSave": {
|
|
11
9
|
"source.fixAll.eslint": true
|
|
12
10
|
},
|
|
13
|
-
"eslint.options": {
|
|
14
|
-
"extensions": [
|
|
15
|
-
".js",
|
|
16
|
-
".jsx",
|
|
17
|
-
".md",
|
|
18
|
-
]
|
|
19
|
-
},
|
|
20
|
-
"eslint.validate": [
|
|
21
|
-
"javascript",
|
|
22
|
-
"javascriptreact",
|
|
23
|
-
"markdown",
|
|
24
|
-
],
|
|
25
11
|
"editor.rulers": [
|
|
26
12
|
100
|
|
27
13
|
],
|
package/template/README.md
CHANGED
|
@@ -130,7 +130,7 @@ Inside the newly created project, you can run some yarn/npm commands:
|
|
|
130
130
|
|
|
131
131
|
Runs the app in development mode. Open http://localhost:3000 to view it in the browser.
|
|
132
132
|
|
|
133
|
-
The page will automatically reload if you make changes to the code. You will see the build errors and lint warnings in the console.
|
|
133
|
+
The page will automatically reload modules (hmr) or page if you make changes to the code. You will see the build errors and lint warnings in the console.
|
|
134
134
|
|
|
135
135
|
#### `yarn build` or `npm run build`
|
|
136
136
|
|
|
@@ -142,8 +142,7 @@ Your app is ready to be deployed.
|
|
|
142
142
|
|
|
143
143
|
#### `yarn lint` or `npm run lint`
|
|
144
144
|
|
|
145
|
-
Run eslint (with prettier formatting)
|
|
146
|
-
You can also run `lint:fix` to let eslint attempt to fix lint/format errors automatically.
|
|
145
|
+
Run eslint (with prettier formatting)
|
|
147
146
|
|
|
148
147
|
#### `yarn test` or `npm test`
|
|
149
148
|
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
|
+
|
|
2
3
|
<html lang="en">
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<meta charset="utf-8" />
|
|
7
|
+
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
9
|
+
<meta name="theme-color" content="#000000" />
|
|
10
|
+
<meta name="description" content="<VDT TEMPLATE>" />
|
|
11
|
+
</head>
|
|
12
|
+
|
|
13
|
+
<body>
|
|
14
|
+
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
15
|
+
<div id="root"></div>
|
|
16
|
+
<!--
|
|
14
17
|
This HTML file is a template.
|
|
15
18
|
If you open it directly in the browser, you will see an empty page.
|
|
16
19
|
|
|
@@ -20,5 +23,6 @@
|
|
|
20
23
|
To begin the development, run `npm start` or `yarn start`.
|
|
21
24
|
To create a production bundle, use `npm run build` or `yarn build`.
|
|
22
25
|
-->
|
|
23
|
-
|
|
24
|
-
|
|
26
|
+
</body>
|
|
27
|
+
|
|
28
|
+
</html>
|
package/template.json
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": {
|
|
3
3
|
"scripts": {
|
|
4
|
-
"lint": "eslint
|
|
5
|
-
"lint:fix": "yarn lint --fix"
|
|
4
|
+
"lint": "eslint . --ext js"
|
|
6
5
|
},
|
|
7
6
|
"dependencies": {
|
|
8
7
|
"@material-ui/core": "^4.12.4",
|
|
9
8
|
"@material-ui/icons": "^4.11.3",
|
|
10
9
|
"@material-ui/lab": "^4.0.0-alpha.61",
|
|
11
|
-
"@vidispine/vdt-api": "22.3.
|
|
12
|
-
"@vidispine/vdt-materialui": "22.3.
|
|
13
|
-
"@vidispine/vdt-react": "22.3.
|
|
10
|
+
"@vidispine/vdt-api": "22.3.1-pre.1",
|
|
11
|
+
"@vidispine/vdt-materialui": "22.3.1-pre.1",
|
|
12
|
+
"@vidispine/vdt-react": "22.3.1-pre.1",
|
|
14
13
|
"clsx": "^1.2.1",
|
|
15
14
|
"react": "^17.0.2",
|
|
16
15
|
"react-dom": "^17.0.2",
|
|
@@ -19,18 +18,28 @@
|
|
|
19
18
|
"typeface-roboto": "^1.1.13"
|
|
20
19
|
},
|
|
21
20
|
"devDependencies": {
|
|
22
|
-
"@vidispine/eslint-config": "22.3.
|
|
23
|
-
"@vidispine/prettier-config": "22.3.
|
|
21
|
+
"@vidispine/eslint-config": "22.3.1-pre.1",
|
|
22
|
+
"@vidispine/prettier-config": "22.3.1-pre.1",
|
|
24
23
|
"http-proxy-middleware": "^2.0.6",
|
|
25
24
|
"prettier": "^2.7.1"
|
|
26
25
|
},
|
|
27
26
|
"eslintConfig": {
|
|
28
|
-
"extends": [
|
|
27
|
+
"extends": [
|
|
28
|
+
"@vidispine"
|
|
29
|
+
]
|
|
29
30
|
},
|
|
30
31
|
"prettier": "@vidispine/prettier-config",
|
|
31
32
|
"browserslist": {
|
|
32
|
-
"production": [
|
|
33
|
-
|
|
33
|
+
"production": [
|
|
34
|
+
">0.2%",
|
|
35
|
+
"not dead",
|
|
36
|
+
"not op_mini all"
|
|
37
|
+
],
|
|
38
|
+
"development": [
|
|
39
|
+
"last 1 chrome version",
|
|
40
|
+
"last 1 firefox version",
|
|
41
|
+
"last 1 safari version"
|
|
42
|
+
]
|
|
34
43
|
}
|
|
35
44
|
}
|
|
36
|
-
}
|
|
45
|
+
}
|