@datawheel/bespoke 0.9.2 → 0.10.0-beta.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 CHANGED
@@ -1,38 +1,51 @@
1
1
  {
2
2
  "name": "@datawheel/bespoke",
3
- "version": "0.9.2",
3
+ "version": "0.10.0-beta.1",
4
4
  "description": "Content management system for creating automated data reports",
5
5
  "exports": {
6
6
  ".": {
7
+ "types": "./dist/index.d.mts",
7
8
  "import": "./dist/index.js"
8
9
  },
9
10
  "./server": {
11
+ "types": "./dist/server.d.mts",
10
12
  "import": "./dist/server.js"
11
13
  },
12
14
  "./explore": {
15
+ "types": "./dist/explore.d.mts",
13
16
  "import": "./dist/explore.js"
14
17
  },
15
18
  "./store": {
19
+ "types": "./dist/redux-store.d.mts",
16
20
  "import": "./dist/redux-store.js"
17
21
  },
18
22
  "./cms": {
23
+ "types": "./dist/cms.d.mts",
19
24
  "import": "./dist/cms.js"
20
25
  },
21
26
  "./report": {
27
+ "types": "./dist/report.d.mts",
22
28
  "import": "./dist/report.js"
23
29
  },
24
30
  "./auth": {
31
+ "types": "./dist/auth.d.mts",
25
32
  "import": "./dist/auth.js"
26
- }
33
+ },
34
+ "./cms.css": "./dist/cms.css",
35
+ "./explore.css": "./dist/explore.css",
36
+ "./report.css": "./dist/report.css",
37
+ "./css/mixins.scss": "./css/mixins.scss"
27
38
  },
28
39
  "files": [
29
40
  "dist",
41
+ "css",
30
42
  "README.md"
31
43
  ],
32
44
  "style": "./dist/index.css",
33
45
  "scripts": {
34
- "prepublishOnly": "tsup",
35
- "build": "tsup",
46
+ "prepublishOnly": "npm run typecheck && tsup",
47
+ "build": "npm run typecheck && tsup",
48
+ "typecheck": "tsc --noEmit",
36
49
  "dev": "tsup --watch",
37
50
  "test": "echo \"Error: no test specified\" && exit 1",
38
51
  "lint": "eslint . --ext .ts,.tsx,.js,.jsx --fix"
@@ -54,20 +67,16 @@
54
67
  },
55
68
  "homepage": "https://github.com/Datawheel/reports#readme",
56
69
  "dependencies": {
57
- "@auth0/nextjs-auth0": "^3.6.0",
58
- "@emotion/react": "^11.10.4",
59
- "@hello-pangea/dnd": "16.3.0",
60
- "@mantine/core": "^6.0.19",
61
- "@mantine/dates": "^6.0.19",
62
- "@mantine/dropzone": "^6.0.19",
63
- "@mantine/form": "^6.0.19",
64
- "@mantine/hooks": "^6.0.19",
65
- "@mantine/next": "^6.0.19",
66
- "@mantine/notifications": "^6.0.19",
67
- "@mantine/prism": "^6.0.19",
70
+ "@auth0/nextjs-auth0": "^3.8.0",
71
+ "@d3plus/color": "^3.0.11",
72
+ "@d3plus/data": "^3.0.11",
73
+ "@d3plus/dom": "^3.0.11",
74
+ "@d3plus/export": "^3.0.11",
75
+ "@d3plus/math": "^3.0.14",
76
+ "@d3plus/react": "^3.0.11",
77
+ "@d3plus/text": "^3.0.11",
78
+ "@hello-pangea/dnd": "^16.6.0",
68
79
  "@monaco-editor/react": "^4.4.5",
69
- "@reduxjs/toolkit": "^1.8.4",
70
- "@tabler/icons-react": "^2.15.0",
71
80
  "@tiptap/extension-hard-break": "^2.5.9",
72
81
  "@tiptap/extension-history": "^2.5.9",
73
82
  "@tiptap/extension-mention": "^2.5.9",
@@ -84,7 +93,9 @@
84
93
  "axios-retry": "^3.8.0",
85
94
  "base58": "^2.0.1",
86
95
  "buble": "^0.20.0",
96
+ "clsx": "^2.1.1",
87
97
  "comment-parser": "^1.3.1",
98
+ "cors": "^2.8.5",
88
99
  "d3": "^7.8.4",
89
100
  "d3-array": "^3.1.6",
90
101
  "d3-collection": "^1.0.7",
@@ -93,13 +104,7 @@
93
104
  "d3-format": "^3.1.0",
94
105
  "d3-selection": "^3.0.0",
95
106
  "d3-time-format": "^4.1.0",
96
- "d3plus-axis": "^1.2.24",
97
- "d3plus-common": "^1.2.8",
98
- "d3plus-export": "^1.3.0",
99
- "d3plus-format": "^1.2.8",
100
- "d3plus-react": "^1.3.3",
101
- "d3plus-text": "^1.2.5",
102
- "d3plus-viz": "^1.3.11",
107
+ "dayjs": "^1.11.13",
103
108
  "dom-parser": "^0.1.6",
104
109
  "fast-glob": "^3.2.12",
105
110
  "file-loader": "^6.2.0",
@@ -107,26 +112,20 @@
107
112
  "flexsearch": "^0.7.43",
108
113
  "flickr-sdk": "6.3.0",
109
114
  "formidable": "^2.1.1",
110
- "html-react-parser": "^3.0.15",
115
+ "html-react-parser": "^5.2.5",
111
116
  "html-to-image": "^1.10.8",
112
117
  "image-type": "^5.2.0",
118
+ "immer": "^10.1.1",
113
119
  "jsonwebtoken": "^9.0.2",
114
120
  "jszip": "^3.10.1",
115
- "mantine-react-table": "^1.3.4",
121
+ "mantine-react-table": "^2.0.0-beta.9",
116
122
  "monaco-themes": "^0.4.2",
117
- "next-auth": "^4.24.7",
118
- "next-redux-wrapper": "^7.0.0",
119
- "nextjs-cors": "^2.1.1",
120
123
  "normalizr": "^3.6.2",
121
124
  "pg": "^8.7.3",
122
125
  "pretty-format": "^28.1.1",
123
- "react": "^18.2.0",
124
- "react-dom": "^18.2.0",
125
- "react-icons": "^4.3.1",
126
- "react-redux": "^7.2.6",
127
126
  "react-share": "^5.2.2",
128
127
  "sequelize": "^6.17.0",
129
- "sharp": "^0.32.6",
128
+ "sharp": "^0.34.2",
130
129
  "shelljs": "^0.8.5",
131
130
  "slugify": "^1.6.5",
132
131
  "toposort": "^2.0.2",
@@ -135,10 +134,20 @@
135
134
  "yn": "^5.0.0"
136
135
  },
137
136
  "devDependencies": {
138
- "@next/bundle-analyzer": "^14.2.5",
137
+ "@mantine/code-highlight": "^8.3.0",
138
+ "@mantine/core": "^8.3.0",
139
+ "@mantine/dates": "^8.3.0",
140
+ "@mantine/dropzone": "^8.3.0",
141
+ "@mantine/form": "^8.3.0",
142
+ "@mantine/hooks": "^8.3.0",
143
+ "@mantine/notifications": "^8.3.0",
144
+ "@next/bundle-analyzer": "^15.3.4",
145
+ "@reduxjs/toolkit": "^2.8.2",
146
+ "@tabler/icons-react": "^3.34.0",
139
147
  "@types/express": "^4.17.13",
140
148
  "@types/node": "^17.0.45",
141
- "@types/react-beautiful-dnd": "^13.1.2",
149
+ "@types/react": "^18.3.23",
150
+ "@types/react-beautiful-dnd": "^13.1.8",
142
151
  "@typescript-eslint/eslint-plugin": "^5.15.0",
143
152
  "@typescript-eslint/parser": "^5.15.0",
144
153
  "autoprefixer": "^10.0.0",
@@ -146,15 +155,42 @@
146
155
  "eslint": "^8.11.0",
147
156
  "eslint-import-resolver-typescript": "^3.5.2",
148
157
  "eslint-plugin-jsx-a11y": "^6.5.1",
149
- "eslint-plugin-react": "^7.29.4",
150
- "eslint-plugin-react-hooks": "^4.3.0",
158
+ "eslint-plugin-react": "^7.32.2",
159
+ "eslint-plugin-react-hooks": "^4.6.0",
151
160
  "monaco-editor": "^0.34.1",
161
+ "next-auth": "^4.24.7",
162
+ "next-redux-wrapper": "^8.1.0",
152
163
  "postcss": "^8.4.20",
153
164
  "postcss-mixins": "^9.0.4",
154
165
  "postcss-nested": "^6.0.0",
155
- "tsup": "^8.3.7"
166
+ "react": "^18.3.1",
167
+ "react-dom": "^18.3.1",
168
+ "react-redux": "^8.1.3",
169
+ "tsup": "^8.5.0",
170
+ "typescript": "^5.9.3"
156
171
  },
157
172
  "peerDependencies": {
158
- "next": "^14.2.3"
173
+ "@mantine/code-highlight": "^8.3.0",
174
+ "@mantine/core": "^8.3.0",
175
+ "@mantine/dates": "^8.3.0",
176
+ "@mantine/dropzone": "^8.3.0",
177
+ "@mantine/form": "^8.3.0",
178
+ "@mantine/hooks": "^8.3.0",
179
+ "@mantine/notifications": "^8.3.0",
180
+ "@reduxjs/toolkit": "^2.0.0",
181
+ "@tabler/icons-react": "^3.0.0",
182
+ "next": "^15.3.4",
183
+ "next-auth": "^4.24.0",
184
+ "next-redux-wrapper": "^8.1.0",
185
+ "react": "^18.3.1",
186
+ "react-dom": "^18.3.1",
187
+ "react-redux": "^8.0.0 || ^9.0.0"
188
+ },
189
+ "overrides": {
190
+ "mantine-react-table": {
191
+ "@mantine/core": "^8.0.0",
192
+ "@mantine/hooks": "^8.0.0",
193
+ "@mantine/dates": "^8.0.0"
194
+ }
159
195
  }
160
196
  }