@internetarchive/collection-browser 3.0.1 → 3.0.2-alpha1

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,117 +1,117 @@
1
- {
2
- "name": "@internetarchive/collection-browser",
3
- "description": "The Internet Archive Collection Browser.",
4
- "license": "AGPL-3.0-only",
5
- "author": "Internet Archive",
6
- "version": "3.0.1",
7
- "main": "dist/index.js",
8
- "module": "dist/index.js",
9
- "scripts": {
10
- "start": "yarn run prepare && tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
11
- "prepare:ghpages": "rimraf ghpages && yarn run prepare && vite build",
12
- "prepare": "rimraf dist && tsc && husky install",
13
- "lint": "eslint . && prettier \"**/*.ts\" --check",
14
- "format": "eslint . --fix && prettier \"**/*.ts\" --write",
15
- "circular": "madge --circular --extensions ts .",
16
- "test": "tsc && yarn run lint && yarn run circular && wtr --coverage",
17
- "test:fast": "tsc && wtr --coverage",
18
- "test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\"",
19
- "deploy": "yarn run deploy:run -e $(git branch --show-current)",
20
- "deploy:run": "yarn run prepare:ghpages && touch ghpages/.nojekyll && yarn run deploy:gh",
21
- "deploy:gh": "gh-pages -t -d ghpages -m \"Build for $(git log --pretty=format:\"%h %an %ai %s\" -n1) [skip ci]\"",
22
- "typecheck": "yarn tsc --noEmit"
23
- },
24
- "types": "dist/index.d.ts",
25
- "dependencies": {
26
- "@internetarchive/analytics-manager": "^0.1.4",
27
- "@internetarchive/feature-feedback": "^1.0.0",
28
- "@internetarchive/field-parsers": "^1.0.0",
29
- "@internetarchive/histogram-date-range": "^1.4.0",
30
- "@internetarchive/ia-activity-indicator": "^0.0.6",
31
- "@internetarchive/ia-dropdown": "^1.4.0",
32
- "@internetarchive/iaux-item-metadata": "^1.0.5",
33
- "@internetarchive/infinite-scroller": "^1.0.1",
34
- "@internetarchive/modal-manager": "^2.0.1",
35
- "@internetarchive/search-service": "^2.5.2",
36
- "@internetarchive/shared-resize-observer": "^0.2.0",
37
- "@lit/localize": "^0.12.2",
38
- "dompurify": "^3.2.4",
39
- "lit": "^2.8.0",
40
- "typescript-cookie": "^1.0.6"
41
- },
42
- "devDependencies": {
43
- "@internetarchive/result-type": "^0.0.1",
44
- "@open-wc/eslint-config": "^12.0.3",
45
- "@open-wc/testing": "^4.0.0",
46
- "@types/dompurify": "^3.2.0",
47
- "@types/mocha": "^10.0.10",
48
- "@typescript-eslint/eslint-plugin": "^8.27.0",
49
- "@typescript-eslint/parser": "^8.27.0",
50
- "@web/dev-server": "^0.4.6",
51
- "@web/test-runner": "^0.20.0",
52
- "concurrently": "^9.1.2",
53
- "eslint": "^9.22.0",
54
- "eslint-config-prettier": "^10.1.1",
55
- "eslint-plugin-html": "^8.1.2",
56
- "eslint-plugin-import": "^2.31.0",
57
- "eslint-plugin-lit": "^2.0.0",
58
- "eslint-plugin-lit-a11y": "^4.1.4",
59
- "eslint-plugin-no-only-tests": "^3.3.0",
60
- "eslint-plugin-wc": "^3.0.0",
61
- "gh-pages": "^6.3.0",
62
- "husky": "^9.1.7",
63
- "madge": "^8.0.0",
64
- "prettier": "^3.5.3",
65
- "rimraf": "^6.0.1",
66
- "sinon": "^19.0.4",
67
- "tslib": "^2.8.1",
68
- "typescript": "^5.8.2",
69
- "vite": "^6.2.2"
70
- },
71
- "publishConfig": {
72
- "access": "public"
73
- },
74
- "eslintConfig": {
75
- "parser": "@typescript-eslint/parser",
76
- "extends": [
77
- "@open-wc",
78
- "prettier"
79
- ],
80
- "plugins": [
81
- "@typescript-eslint"
82
- ],
83
- "rules": {
84
- "no-unused-vars": "off",
85
- "@typescript-eslint/no-unused-vars": [
86
- "error"
87
- ],
88
- "no-shadow": "off",
89
- "@typescript-eslint/no-shadow": [
90
- "error"
91
- ],
92
- "class-methods-use-this": "off",
93
- "import/no-unresolved": "off",
94
- "import/extensions": [
95
- "off",
96
- "ignorePackages",
97
- {
98
- "js": "never",
99
- "ts": "never"
100
- }
101
- ],
102
- "no-unsafe-optional-chaining": "warn",
103
- "default-param-last": "warn"
104
- }
105
- },
106
- "prettier": {
107
- "singleQuote": true,
108
- "arrowParens": "avoid"
109
- },
110
- "lint-staged": {
111
- "*.ts": [
112
- "eslint --fix",
113
- "prettier --write",
114
- "git add"
115
- ]
116
- }
117
- }
1
+ {
2
+ "name": "@internetarchive/collection-browser",
3
+ "description": "The Internet Archive Collection Browser.",
4
+ "license": "AGPL-3.0-only",
5
+ "author": "Internet Archive",
6
+ "version": "3.0.2-alpha1",
7
+ "main": "dist/index.js",
8
+ "module": "dist/index.js",
9
+ "scripts": {
10
+ "start": "yarn run prepare && tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wds\"",
11
+ "prepare:ghpages": "rimraf ghpages && yarn run prepare && vite build",
12
+ "prepare": "rimraf dist && tsc && husky install",
13
+ "lint": "eslint . && prettier \"**/*.ts\" --check",
14
+ "format": "eslint . --fix && prettier \"**/*.ts\" --write",
15
+ "circular": "madge --circular --extensions ts .",
16
+ "test": "tsc && yarn run lint && yarn run circular && wtr --coverage",
17
+ "test:fast": "tsc && wtr --coverage",
18
+ "test:watch": "tsc && concurrently -k -r \"tsc --watch --preserveWatchOutput\" \"wtr --watch\"",
19
+ "deploy": "yarn run deploy:run -e $(git branch --show-current)",
20
+ "deploy:run": "yarn run prepare:ghpages && touch ghpages/.nojekyll && yarn run deploy:gh",
21
+ "deploy:gh": "gh-pages -t -d ghpages -m \"Build for $(git log --pretty=format:\"%h %an %ai %s\" -n1) [skip ci]\"",
22
+ "typecheck": "yarn tsc --noEmit"
23
+ },
24
+ "types": "dist/index.d.ts",
25
+ "dependencies": {
26
+ "@internetarchive/analytics-manager": "^0.1.4",
27
+ "@internetarchive/feature-feedback": "^1.0.0",
28
+ "@internetarchive/field-parsers": "^1.0.0",
29
+ "@internetarchive/histogram-date-range": "^1.4.0",
30
+ "@internetarchive/ia-activity-indicator": "^0.0.6",
31
+ "@internetarchive/ia-dropdown": "^1.4.0",
32
+ "@internetarchive/iaux-item-metadata": "^1.0.5",
33
+ "@internetarchive/infinite-scroller": "^1.0.1",
34
+ "@internetarchive/modal-manager": "^2.0.1",
35
+ "@internetarchive/search-service": "^2.5.2",
36
+ "@internetarchive/shared-resize-observer": "^0.2.0",
37
+ "@lit/localize": "^0.12.2",
38
+ "dompurify": "^3.2.4",
39
+ "lit": "^2.8.0",
40
+ "typescript-cookie": "^1.0.6"
41
+ },
42
+ "devDependencies": {
43
+ "@internetarchive/result-type": "^0.0.1",
44
+ "@open-wc/eslint-config": "^12.0.3",
45
+ "@open-wc/testing": "^4.0.0",
46
+ "@types/dompurify": "^3.2.0",
47
+ "@types/mocha": "^10.0.10",
48
+ "@typescript-eslint/eslint-plugin": "^8.27.0",
49
+ "@typescript-eslint/parser": "^8.27.0",
50
+ "@web/dev-server": "^0.4.6",
51
+ "@web/test-runner": "^0.20.0",
52
+ "concurrently": "^9.1.2",
53
+ "eslint": "^9.22.0",
54
+ "eslint-config-prettier": "^10.1.1",
55
+ "eslint-plugin-html": "^8.1.2",
56
+ "eslint-plugin-import": "^2.31.0",
57
+ "eslint-plugin-lit": "^2.0.0",
58
+ "eslint-plugin-lit-a11y": "^4.1.4",
59
+ "eslint-plugin-no-only-tests": "^3.3.0",
60
+ "eslint-plugin-wc": "^3.0.0",
61
+ "gh-pages": "^6.3.0",
62
+ "husky": "^9.1.7",
63
+ "madge": "^8.0.0",
64
+ "prettier": "^3.5.3",
65
+ "rimraf": "^6.0.1",
66
+ "sinon": "^19.0.4",
67
+ "tslib": "^2.8.1",
68
+ "typescript": "^5.8.2",
69
+ "vite": "^6.2.2"
70
+ },
71
+ "publishConfig": {
72
+ "access": "public"
73
+ },
74
+ "eslintConfig": {
75
+ "parser": "@typescript-eslint/parser",
76
+ "extends": [
77
+ "@open-wc",
78
+ "prettier"
79
+ ],
80
+ "plugins": [
81
+ "@typescript-eslint"
82
+ ],
83
+ "rules": {
84
+ "no-unused-vars": "off",
85
+ "@typescript-eslint/no-unused-vars": [
86
+ "error"
87
+ ],
88
+ "no-shadow": "off",
89
+ "@typescript-eslint/no-shadow": [
90
+ "error"
91
+ ],
92
+ "class-methods-use-this": "off",
93
+ "import/no-unresolved": "off",
94
+ "import/extensions": [
95
+ "off",
96
+ "ignorePackages",
97
+ {
98
+ "js": "never",
99
+ "ts": "never"
100
+ }
101
+ ],
102
+ "no-unsafe-optional-chaining": "warn",
103
+ "default-param-last": "warn"
104
+ }
105
+ },
106
+ "prettier": {
107
+ "singleQuote": true,
108
+ "arrowParens": "avoid"
109
+ },
110
+ "lint-staged": {
111
+ "*.ts": [
112
+ "eslint --fix",
113
+ "prettier --write",
114
+ "git add"
115
+ ]
116
+ }
117
+ }
package/renovate.json CHANGED
@@ -1,6 +1,6 @@
1
- {
2
- "extends": [
3
- "config:base",
4
- ":preserveSemverRanges"
5
- ]
6
- }
1
+ {
2
+ "extends": [
3
+ "config:base",
4
+ ":preserveSemverRanges"
5
+ ]
6
+ }
@@ -1,10 +1,10 @@
1
- /**
2
- * Maximum number of aggregations to include in the More... facet dialogs.
3
- */
4
- export const MORE_FACETS__MAX_AGGREGATIONS = 10000;
5
-
6
- /**
7
- * Default number of facets to show per page of the More... facet dialogs.
8
- * Can be overridden via component property.
9
- */
10
- export const MORE_FACETS__DEFAULT_PAGE_SIZE = 35;
1
+ /**
2
+ * Maximum number of aggregations to include in the More... facet dialogs.
3
+ */
4
+ export const MORE_FACETS__MAX_AGGREGATIONS = 10000;
5
+
6
+ /**
7
+ * Default number of facets to show per page of the More... facet dialogs.
8
+ * Can be overridden via component property.
9
+ */
10
+ export const MORE_FACETS__DEFAULT_PAGE_SIZE = 35;