@useupup/next 3.3.0

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 ADDED
@@ -0,0 +1,108 @@
1
+ {
2
+ "name": "@useupup/next",
3
+ "version": "3.3.0",
4
+ "description": "Next.js integration for the upup uploader — App Router + Pages Router handlers, client UI, and serverless-correct config helpers.",
5
+ "keywords": [
6
+ "file-upload",
7
+ "file-uploader",
8
+ "uploader",
9
+ "nextjs",
10
+ "next",
11
+ "app-router",
12
+ "react",
13
+ "drag-and-drop",
14
+ "dropzone",
15
+ "s3",
16
+ "presigned-url",
17
+ "google-drive",
18
+ "one-drive",
19
+ "dropbox",
20
+ "camera",
21
+ "typescript"
22
+ ],
23
+ "homepage": "https://useupup.com",
24
+ "bugs": {
25
+ "url": "https://github.com/DevinoSolutions/upup/issues"
26
+ },
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "git+https://github.com/DevinoSolutions/upup.git",
30
+ "directory": "packages/next"
31
+ },
32
+ "license": "MIT",
33
+ "publishConfig": {
34
+ "access": "public"
35
+ },
36
+ "type": "module",
37
+ "sideEffects": [
38
+ "*.css"
39
+ ],
40
+ "engines": {
41
+ "node": ">=20"
42
+ },
43
+ "exports": {
44
+ ".": {
45
+ "types": "./dist/index.d.ts",
46
+ "import": "./dist/index.js",
47
+ "require": "./dist/index.cjs"
48
+ },
49
+ "./server": {
50
+ "types": "./dist/server.d.ts",
51
+ "import": "./dist/server.js",
52
+ "require": "./dist/server.cjs"
53
+ },
54
+ "./styles": {
55
+ "types": "./dist/styles.d.ts",
56
+ "default": "./dist/tailwind-prefixed.css"
57
+ }
58
+ },
59
+ "main": "./dist/index.cjs",
60
+ "module": "./dist/index.js",
61
+ "types": "./dist/index.d.ts",
62
+ "typesVersions": {
63
+ "*": {
64
+ "styles": [
65
+ "dist/styles.d.ts"
66
+ ]
67
+ }
68
+ },
69
+ "files": [
70
+ "dist"
71
+ ],
72
+ "dependencies": {
73
+ "@useupup/core": "3.3.0",
74
+ "@useupup/server": "3.3.0",
75
+ "@useupup/react": "3.3.0"
76
+ },
77
+ "peerDependencies": {
78
+ "next": ">=15.0.0",
79
+ "react": "^19.0.0",
80
+ "react-dom": "^19.0.0"
81
+ },
82
+ "devDependencies": {
83
+ "@types/node": "^20.10.0",
84
+ "@types/react": ">=18.0.0",
85
+ "@types/react-dom": ">=18.0.0",
86
+ "@vitest/coverage-v8": "^4.1.2",
87
+ "eslint": "^10.6.0",
88
+ "jsdom": "22.1.0",
89
+ "next": "16.2.11",
90
+ "react": "^19.2.0",
91
+ "react-dom": "^19.2.0",
92
+ "tsup": "^8.4.0",
93
+ "typescript": "^5.3.2",
94
+ "vitest": "^4.1.2",
95
+ "@useupup/eslint-config": "0.1.0"
96
+ },
97
+ "scripts": {
98
+ "build": "node scripts/clean-dist.mjs && tsup && pnpm run build:css",
99
+ "build:css": "node scripts/copy-styles.mjs && node ../../scripts/emit-styles-dts.mjs",
100
+ "dev": "tsup --watch",
101
+ "lint": "eslint . --max-warnings 0",
102
+ "pretest": "pnpm run build",
103
+ "test": "vitest run",
104
+ "test:coverage": "vitest run --coverage",
105
+ "test:watch": "vitest",
106
+ "typecheck": "tsc --noEmit"
107
+ }
108
+ }