@thepalaceproject/circulation-admin 1.41.0 → 1.42.0-post.6
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/CLAUDE.md +3 -2
- package/README.md +1 -1
- package/dist/circulation-admin.css +1 -1
- package/dist/circulation-admin.js +1 -1
- package/dist/circulation-admin.js.LICENSE.txt +1 -9
- package/eslint.config.mjs +90 -0
- package/jest.polyfills.js +0 -1
- package/package.json +35 -36
- package/scripts/syncPatronBlockingDocs.js +0 -1
- package/testReporter.js +0 -2
- package/tests/browser/commands/goHome.js +3 -4
- package/tests/browser/navigate.js +114 -124
- package/tests/browser/redirect.js +26 -41
- package/tests/jest/components/AdvancedSearchBuilder.test.tsx +1 -1
- package/tests/jest/components/CollectionReapButton.test.tsx +240 -0
- package/tests/jest/components/Collections.test.tsx +1 -0
- package/tests/jest/components/CustomLists.test.tsx +0 -1
- package/tests/jest/components/DebugAuthentication.test.tsx +0 -2
- package/tests/jest/components/InventoryReportRequestModal.test.tsx +3 -5
- package/tests/jest/components/JsonField.test.tsx +0 -1
- package/tests/jest/components/LaneEditor.test.tsx +1 -1
- package/tests/jest/components/PatronBlockingRulesHelpModal.test.tsx +6 -8
- package/tests/jest/components/QuicksightDashboard.test.tsx +0 -1
- package/tests/jest/components/Stats.test.tsx +7 -13
- package/tests/jest/features/book.test.ts +2 -7
- package/webpack.common.js +0 -2
- package/webpack.dev-server.config.js +1 -3
- package/webpack.dev.config.js +3 -3
- package/webpack.prod.config.js +4 -4
- package/.eslintrc +0 -67
- package/tslint.json +0 -56
package/.eslintrc
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": [
|
|
3
|
-
"eslint:recommended",
|
|
4
|
-
"plugin:@typescript-eslint/eslint-recommended",
|
|
5
|
-
"plugin:@typescript-eslint/recommended",
|
|
6
|
-
"plugin:react/recommended",
|
|
7
|
-
"plugin:jsx-a11y/strict",
|
|
8
|
-
"prettier",
|
|
9
|
-
"prettier/@typescript-eslint",
|
|
10
|
-
"plugin:prettier/recommended",
|
|
11
|
-
"prettier/react"
|
|
12
|
-
],
|
|
13
|
-
"parser": "@typescript-eslint/parser",
|
|
14
|
-
"parserOptions": {
|
|
15
|
-
"project": "tsconfig.json",
|
|
16
|
-
"sourceType": "module",
|
|
17
|
-
"ecmaFeatures": {
|
|
18
|
-
"jsx": true
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
"env": {
|
|
22
|
-
"browser": true,
|
|
23
|
-
"node": true,
|
|
24
|
-
"es6": true,
|
|
25
|
-
"jest": true
|
|
26
|
-
},
|
|
27
|
-
"rules": {
|
|
28
|
-
"import/extensions": 0,
|
|
29
|
-
"global-require": 0,
|
|
30
|
-
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx", ".ts", ".tsx"] }],
|
|
31
|
-
"react/jsx-props-no-spreading": 0,
|
|
32
|
-
"@typescript-eslint/no-explicit-any": 0,
|
|
33
|
-
"no-useless-escape": 0,
|
|
34
|
-
"@typescript-eslint/explicit-function-return-type": 0,
|
|
35
|
-
"react/prop-types": 0,
|
|
36
|
-
"@typescript-eslint/camelcase": 0,
|
|
37
|
-
"react/no-string-refs": 0,
|
|
38
|
-
"jsx-a11y/label-has-associated-control": 0,
|
|
39
|
-
"react/no-find-dom-node": 0,
|
|
40
|
-
"jsx-a11y/label-has-for": 0,
|
|
41
|
-
"react/no-unescaped-entities": 0,
|
|
42
|
-
"@typescript-eslint/no-inferrable-types": 0,
|
|
43
|
-
"@typescript-eslint/no-unused-vars": [
|
|
44
|
-
"warn",
|
|
45
|
-
{
|
|
46
|
-
"argsIgnorePattern": "^_",
|
|
47
|
-
"varsIgnorePattern": "^_",
|
|
48
|
-
"ignoreRestSiblings": true
|
|
49
|
-
}
|
|
50
|
-
]
|
|
51
|
-
},
|
|
52
|
-
"settings": {
|
|
53
|
-
"react": {
|
|
54
|
-
"version": "detect"
|
|
55
|
-
},
|
|
56
|
-
"import/resolver": {
|
|
57
|
-
"node": {
|
|
58
|
-
"extensions": [
|
|
59
|
-
".js",
|
|
60
|
-
".jsx",
|
|
61
|
-
".ts",
|
|
62
|
-
".tsx"
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
package/tslint.json
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": ["tslint-react-a11y"],
|
|
3
|
-
"rules": {
|
|
4
|
-
"class-name": true,
|
|
5
|
-
"comment-format": [
|
|
6
|
-
true,
|
|
7
|
-
"check-space"
|
|
8
|
-
],
|
|
9
|
-
"indent": [
|
|
10
|
-
true,
|
|
11
|
-
"spaces"
|
|
12
|
-
],
|
|
13
|
-
"no-duplicate-variable": true,
|
|
14
|
-
"no-eval": true,
|
|
15
|
-
"no-internal-module": true,
|
|
16
|
-
"no-trailing-whitespace": true,
|
|
17
|
-
"no-var-keyword": true,
|
|
18
|
-
"one-line": [
|
|
19
|
-
true,
|
|
20
|
-
"check-open-brace",
|
|
21
|
-
"check-whitespace"
|
|
22
|
-
],
|
|
23
|
-
"quotemark": [
|
|
24
|
-
true,
|
|
25
|
-
"double",
|
|
26
|
-
"avoid-escape"
|
|
27
|
-
],
|
|
28
|
-
"semicolon": true,
|
|
29
|
-
"triple-equals": [
|
|
30
|
-
true,
|
|
31
|
-
"allow-null-check"
|
|
32
|
-
],
|
|
33
|
-
"typedef-whitespace": [
|
|
34
|
-
true,
|
|
35
|
-
{
|
|
36
|
-
"call-signature": "nospace",
|
|
37
|
-
"index-signature": "nospace",
|
|
38
|
-
"parameter": "nospace",
|
|
39
|
-
"property-declaration": "nospace",
|
|
40
|
-
"variable-declaration": "nospace"
|
|
41
|
-
}
|
|
42
|
-
],
|
|
43
|
-
"variable-name": [
|
|
44
|
-
true,
|
|
45
|
-
"ban-keywords"
|
|
46
|
-
],
|
|
47
|
-
"whitespace": [
|
|
48
|
-
true,
|
|
49
|
-
"check-branch",
|
|
50
|
-
"check-decl",
|
|
51
|
-
"check-operator",
|
|
52
|
-
"check-separator",
|
|
53
|
-
"check-type"
|
|
54
|
-
]
|
|
55
|
-
}
|
|
56
|
-
}
|