@nextcloud/files 3.0.0-beta.11 → 3.0.0-beta.13

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,14 +1,16 @@
1
1
  {
2
2
  "name": "@nextcloud/files",
3
- "version": "3.0.0-beta.11",
3
+ "version": "3.0.0-beta.13",
4
4
  "description": "Nextcloud files utils",
5
- "main": "dist/index.js",
6
- "module": "dist/index.esm.js",
5
+ "type": "module",
6
+ "main": "dist/index.cjs",
7
+ "module": "dist/index.mjs",
7
8
  "types": "dist/index.d.ts",
8
9
  "exports": {
9
10
  ".": {
10
- "import": "./dist/index.esm.js",
11
- "require": "./dist/index.js"
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.mjs",
13
+ "require": "./dist/index.cjs"
12
14
  }
13
15
  },
14
16
  "files": [
@@ -16,7 +18,8 @@
16
18
  ],
17
19
  "author": "Christoph Wurst <christoph@winzerhof-wurst.at>",
18
20
  "contributors": [
19
- "John Molakvoæ <skjnldsv@protonmail.com>"
21
+ "John Molakvoæ <skjnldsv@protonmail.com>",
22
+ "Ferdinand Thiessen <opensource@fthiessen.de>"
20
23
  ],
21
24
  "license": "AGPL-3.0-or-later",
22
25
  "keywords": [
@@ -25,49 +28,51 @@
25
28
  "library"
26
29
  ],
27
30
  "scripts": {
28
- "build": "rollup --config rollup.config.mjs",
31
+ "build": "vite --mode production build",
29
32
  "build:doc": "typedoc --out dist/doc lib && touch dist/doc/.nojekyll",
30
- "dev": "echo 'No dev build available, production only' && npm run build",
31
- "watch": "rollup --config rollup.config.mjs --watch",
32
- "test": "jest",
33
- "test:watch": "jest --watchAll --verbose true",
34
- "test:coverage": "jest --coverage"
33
+ "dev": "vite --mode development build",
34
+ "dev:watch": "vite --mode development build --watch",
35
+ "lint": "eslint .",
36
+ "lint:fix": "eslint --fix .",
37
+ "test": "vitest run",
38
+ "test:watch": "vitest watch",
39
+ "test:coverage": "vitest run --coverage"
35
40
  },
36
41
  "repository": {
37
42
  "type": "git",
38
- "url": "https://github.com/nextcloud/nextcloud-files.git"
43
+ "url": "https://github.com/nextcloud-libraries/nextcloud-files.git"
39
44
  },
40
45
  "bugs": {
41
- "url": "https://github.com/nextcloud/nextcloud-files/issues"
46
+ "url": "https://github.com/nextcloud-libraries/nextcloud-files/issues"
42
47
  },
43
48
  "engines": {
44
49
  "node": "^20.0.0",
45
50
  "npm": "^9.0.0"
46
51
  },
47
- "homepage": "https://github.com/nextcloud/nextcloud-files",
52
+ "homepage": "https://github.com/nextcloud-libraries/nextcloud-files",
48
53
  "devDependencies": {
49
- "@babel/cli": "^7.17.10",
50
- "@babel/core": "^7.18.5",
51
- "@babel/preset-env": "^7.18.2",
52
- "@babel/preset-typescript": "^7.17.12",
54
+ "@nextcloud/eslint-config": "^8.3.0-beta.2",
53
55
  "@nextcloud/typings": "^1.7.0",
54
- "@rollup-extras/plugin-clean": "^1.2.3",
55
- "@rollup/plugin-commonjs": "^25.0.1",
56
- "@rollup/plugin-node-resolve": "^15.0.1",
57
- "@rollup/plugin-typescript": "^11.0.0",
58
- "@types/jest": "^29.4.0",
59
- "@types/node": "^20.3.1",
60
- "jest": "^29.4.0",
61
- "jest-environment-jsdom": "^29.4.0",
62
- "rollup": "^3.20.2",
63
- "ts-jest": "^29.0.5",
64
- "tslib": "^2.4.1",
65
- "typedoc": "^0.24.1",
66
- "typescript": "^5.0.3"
56
+ "@nextcloud/vite-config": "^1.0.0-beta.18",
57
+ "@rollup-extras/plugin-clean": "^1.3.6",
58
+ "@rollup/plugin-commonjs": "^25.0.3",
59
+ "@rollup/plugin-node-resolve": "^15.1.0",
60
+ "@rollup/plugin-typescript": "^11.1.2",
61
+ "@types/node": "^20.4.5",
62
+ "@vitest/coverage-istanbul": "^0.33.0",
63
+ "fast-xml-parser": "^4.2.6",
64
+ "rollup": "^3.27.0",
65
+ "tslib": "^2.6.1",
66
+ "typedoc": "^0.24.8",
67
+ "typescript": "^5.0.4",
68
+ "vite": "^4.4.7",
69
+ "vitest": "^0.33.0"
67
70
  },
68
71
  "dependencies": {
69
- "@nextcloud/auth": "^2.0.0",
70
- "@nextcloud/l10n": "^2.1.0",
71
- "@nextcloud/logger": "^2.5.0"
72
+ "@nextcloud/auth": "^2.1.0",
73
+ "@nextcloud/l10n": "^2.2.0",
74
+ "@nextcloud/logger": "^2.5.0",
75
+ "@nextcloud/router": "^2.1.2",
76
+ "webdav": "^5.2.3"
72
77
  }
73
78
  }