orc-scripts 4.0.0-dev.0 → 4.0.0-dev.9
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orc-scripts",
|
|
3
|
-
"version": "4.0.0-dev.
|
|
3
|
+
"version": "4.0.0-dev.9",
|
|
4
4
|
"description": "Scripts toolbox for Orckestra",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"bin": {
|
|
@@ -38,17 +38,21 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://github.com/Orckestra/orc-scripts#readme",
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@babel/cli": "^7.
|
|
42
|
-
"@babel/core": "^7.
|
|
43
|
-
"@babel/
|
|
44
|
-
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
|
|
45
|
-
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
|
|
41
|
+
"@babel/cli": "^7.24.7",
|
|
42
|
+
"@babel/core": "^7.24.7",
|
|
43
|
+
"@babel/eslint-parser": "^7.24.7",
|
|
46
44
|
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
47
|
-
"@babel/plugin-transform-
|
|
48
|
-
"@babel/plugin-transform-
|
|
49
|
-
"@babel/plugin-transform-
|
|
50
|
-
"@babel/plugin-transform-
|
|
51
|
-
"@babel/
|
|
45
|
+
"@babel/plugin-transform-class-properties": "^7.24.7",
|
|
46
|
+
"@babel/plugin-transform-computed-properties": "^7.24.7",
|
|
47
|
+
"@babel/plugin-transform-destructuring": "^7.24.7",
|
|
48
|
+
"@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7",
|
|
49
|
+
"@babel/plugin-transform-numeric-separator": "^7.24.7",
|
|
50
|
+
"@babel/plugin-transform-object-rest-spread": "^7.24.7",
|
|
51
|
+
"@babel/plugin-transform-optional-chaining": "^7.24.7",
|
|
52
|
+
"@babel/plugin-transform-private-methods": "^7.24.7",
|
|
53
|
+
"@babel/plugin-transform-react-jsx": "^7.24.7",
|
|
54
|
+
"@babel/plugin-transform-template-literals": "^7.24.7",
|
|
55
|
+
"@babel/preset-env": "^7.24.7",
|
|
52
56
|
"@formatjs/intl-getcanonicallocales": "^1.4.6",
|
|
53
57
|
"@formatjs/intl-pluralrules": "^3.4.10",
|
|
54
58
|
"@gustavnikolaj/async-main-wrap": "^3.0.1",
|
|
@@ -56,12 +60,13 @@
|
|
|
56
60
|
"@loadable/component": "5.13.1",
|
|
57
61
|
"@material-ui/core": "^4.9.14",
|
|
58
62
|
"@material-ui/lab": "^4.0.0-alpha.57",
|
|
59
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
60
|
-
"@typescript-eslint/parser": "^
|
|
63
|
+
"@typescript-eslint/eslint-plugin": "^7.14.1",
|
|
64
|
+
"@typescript-eslint/parser": "^7.14.1",
|
|
61
65
|
"@welldone-software/why-did-you-render": "^4.2.5",
|
|
66
|
+
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
|
|
62
67
|
"babel-core": "7.0.0-bridge.0",
|
|
63
|
-
"babel-eslint": "^10.0.1",
|
|
64
68
|
"babel-loader": "^8.3.0",
|
|
69
|
+
"babel-plugin-formatjs": "^10.5.16",
|
|
65
70
|
"babel-plugin-react-intl-auto": "^3.1.0",
|
|
66
71
|
"babel-plugin-root-import": "^6.5.0",
|
|
67
72
|
"babel-plugin-styled-components": "^1.10.6",
|
|
@@ -74,17 +79,17 @@
|
|
|
74
79
|
"date-fns": "^2",
|
|
75
80
|
"dotenv": "^8.0.0",
|
|
76
81
|
"enzyme": "^3.11.0",
|
|
77
|
-
"
|
|
78
|
-
"eslint": "^
|
|
79
|
-
"eslint-
|
|
80
|
-
"eslint-plugin-
|
|
81
|
-
"eslint-plugin-
|
|
82
|
-
"eslint-plugin-
|
|
83
|
-
"eslint-plugin-react": "^
|
|
84
|
-
"eslint-plugin-react-hooks": "^2.5.1",
|
|
82
|
+
"eslint": "^8.57.0",
|
|
83
|
+
"eslint-config-react-app": "^7.0.1",
|
|
84
|
+
"eslint-plugin-flowtype": "^8.0.3",
|
|
85
|
+
"eslint-plugin-import": "^2.29.1",
|
|
86
|
+
"eslint-plugin-jsx-a11y": "^6.9.0",
|
|
87
|
+
"eslint-plugin-react": "^7.34.3",
|
|
88
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
85
89
|
"extract-react-intl-messages": "^4.1.1",
|
|
86
90
|
"file-loader": "^6.2.0",
|
|
87
91
|
"full-icu": "^1.3.1",
|
|
92
|
+
"globals": "^15.8.0",
|
|
88
93
|
"husky": "^4.0.0",
|
|
89
94
|
"icu4c-data": "^0.64.2",
|
|
90
95
|
"identity-obj-proxy": "^3.0.0",
|
|
@@ -102,11 +107,11 @@
|
|
|
102
107
|
"normalizr": "^3.3.0",
|
|
103
108
|
"pkg-dir": "^4.0.0",
|
|
104
109
|
"polished": "^3.4.2",
|
|
105
|
-
"prettier": "^
|
|
106
|
-
"react": "^
|
|
107
|
-
"react-big-calendar": "^
|
|
110
|
+
"prettier": "^3.3.2",
|
|
111
|
+
"react": "^17.0.2",
|
|
112
|
+
"react-big-calendar": "^1.13.0",
|
|
108
113
|
"react-datepicker": "^3.0.0",
|
|
109
|
-
"react-dom": "^
|
|
114
|
+
"react-dom": "^17.0.2",
|
|
110
115
|
"react-hot-loader": "^4.12.18",
|
|
111
116
|
"react-intl": "5.6.5",
|
|
112
117
|
"react-measure": "^2.1.2",
|
|
@@ -149,7 +154,7 @@
|
|
|
149
154
|
},
|
|
150
155
|
"sideEffects": false,
|
|
151
156
|
"lint-staged": {
|
|
152
|
-
"*.{js,json,md}": [
|
|
157
|
+
"*.{js,json,md,mjs}": [
|
|
153
158
|
"prettier --write"
|
|
154
159
|
],
|
|
155
160
|
"*.js": [
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import globals from "globals";
|
|
2
|
+
import pluginReactConfig from "eslint-plugin-react/configs/recommended.js";
|
|
3
|
+
import pluginReactHookConfig from "eslint-plugin-react-hooks"
|
|
4
|
+
|
|
5
|
+
export default [
|
|
6
|
+
{ files: ["**/*.{js,mjs,cjs,jsx}"] },
|
|
7
|
+
{ languageOptions: { parserOptions: { ecmaFeatures: { jsx: true } } } },
|
|
8
|
+
{ files: ["**/*.js"], languageOptions: { sourceType: "module" } },
|
|
9
|
+
{ languageOptions: { globals: { ...globals.browser, ...globals.node } } },
|
|
10
|
+
pluginReactConfig,
|
|
11
|
+
{
|
|
12
|
+
plugins: {
|
|
13
|
+
"react-hooks": pluginReactHookConfig,
|
|
14
|
+
},
|
|
15
|
+
rules: pluginReactHookConfig.configs.recommended.rules,
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
files: ["**/*.test.js"],
|
|
19
|
+
rules: {
|
|
20
|
+
"react/jsx-key": "off",
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"settings": {
|
|
25
|
+
"react": {
|
|
26
|
+
"version": "detect"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
languageOptions: {
|
|
30
|
+
globals: {
|
|
31
|
+
SUPPORTED_LOCALES: false,
|
|
32
|
+
OVERTURE_APPLICATION: false,
|
|
33
|
+
DEPENDENCIES: false,
|
|
34
|
+
BUILD_ID: false,
|
|
35
|
+
BUILD_NUMBER: false,
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
rules: {
|
|
39
|
+
"jsx-a11y/href-no-hash": "off",
|
|
40
|
+
"react/prop-types": "off",
|
|
41
|
+
"react/no-children-prop": "off",
|
|
42
|
+
"react/display-name": "off",
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
];
|
package/eslint.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./src/config/eslintrc");
|
package/prettier.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require("./src/config/prettier.config");
|
package/src/config/eslintrc.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
const eslintrc = {
|
|
2
|
-
extends: ["react-app"],
|
|
3
|
-
rules: {
|
|
4
|
-
"jsx-a11y/href-no-hash": "off",
|
|
5
|
-
},
|
|
6
|
-
globals: {
|
|
7
|
-
SUPPORTED_LOCALES: false,
|
|
8
|
-
OVERTURE_APPLICATION: false,
|
|
9
|
-
DEPENDENCIES: false,
|
|
10
|
-
BUILD_ID: false,
|
|
11
|
-
BUILD_NUMBER: false,
|
|
12
|
-
},
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
module.exports = eslintrc;
|