@laserfiche/lf-repository-api-client-v2 1.0.9 → 1.1.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.
Files changed (3) hide show
  1. package/dist/index.d.ts +1355 -374
  2. package/dist/index.js +5048 -2847
  3. package/package.json +9 -16
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@laserfiche/lf-repository-api-client-v2",
3
3
  "type": "module",
4
- "version": "1.0.9",
4
+ "version": "1.1.0",
5
5
  "description": "The TypeScript Laserfiche Repository API Client library for accessing the v2 Laserfiche Repository APIs.",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -24,33 +24,26 @@
24
24
  "@rollup/plugin-commonjs": "^26.0.1",
25
25
  "@rollup/plugin-node-resolve": "^15.2.3",
26
26
  "@rollup/plugin-typescript": "^11.1.6",
27
- "@types/isomorphic-fetch": "^0.0.35",
28
- "@types/jest": "^27.4.0",
29
- "@types/mocha": "^9.1.0",
30
27
  "@types/node": "^20.16.6",
31
- "babel-jest": "^27.5.1",
32
28
  "dotenv": "^16.0.1",
33
- "isomorphic-fetch": "^3.0.0",
34
- "jest": "^27.5.1",
35
- "jest-junit": "^13.0.0",
36
29
  "nswag": "^14.1.0",
37
- "ts-jest": "^27.1.3",
38
30
  "ts-node": "^10.4.0",
39
31
  "tslib": "^2.6.3",
40
- "typescript": "^4.5.5"
32
+ "typescript": "^4.5.5",
33
+ "vitest": "^4.1.2"
41
34
  },
42
35
  "dependencies": {
43
- "@laserfiche/lf-api-client-core": "^1.1.18",
36
+ "@laserfiche/lf-api-client-core": "^1.1.19",
44
37
  "@laserfiche/lf-js-utils": "^4.0.13"
45
38
  },
46
39
  "scripts": {
47
- "test": "npm run test:node",
48
- "test:node": "node --experimental-vm-modules --experimental-fetch node_modules/jest/bin/jest.js --rootDir=test --config jest.node.config.js --runInBand",
49
- "test:browser": "node --experimental-vm-modules --experimental-fetch node_modules/jest/bin/jest.js --rootDir=test --config jest.jsdom.config.js --runInBand",
50
- "test:all": "node --experimental-vm-modules --experimental-fetch node_modules/jest/bin/jest.js --rootDir=test --config jest.node.config.js --runInBand && node --experimental-vm-modules node_modules/jest/bin/jest.js --rootDir=test --config jest.jsdom.config.js --runInBand",
40
+ "test": "npm run test:all",
41
+ "test:node": "vitest run --config vitest.config.ts",
42
+ "test:browser": "vitest run --config vitest.config.browser.ts",
43
+ "test:all": "vitest run --config vitest.config.ts && vitest run --config vitest.config.browser.ts",
51
44
  "build": "npm run nswag && npm run clean && tsc -b",
52
45
  "build:watch": "npm run nswag && tsc -b --watch",
53
46
  "clean": "tsc -b --clean",
54
- "nswag": "nswag run generate-client/nswag.json"
47
+ "nswag": "nswag run generate-client/nswag.json && node generate-client/run-patch.js"
55
48
  }
56
49
  }