vite-plugin-backend-html 0.0.1 → 0.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 (2) hide show
  1. package/dist/index.mjs +1 -4
  2. package/package.json +17 -21
package/dist/index.mjs CHANGED
@@ -60,7 +60,6 @@ const normalizeRedirectLocation = (location, basePath) => {
60
60
  if (normalized.startsWith(basePath)) normalized = normalized.slice(basePath.length);
61
61
  return ensureLeadingSlash(normalized);
62
62
  };
63
-
64
63
  //#endregion
65
64
  //#region src/backend-proxy.ts
66
65
  /**
@@ -336,7 +335,6 @@ function nowUtcCompact() {
336
335
  const now = /* @__PURE__ */ new Date();
337
336
  return `${now.getUTCHours().toString().padStart(2, "0")}:${now.getUTCMinutes().toString().padStart(2, "0")}:${now.getUTCSeconds().toString().padStart(2, "0")}.${now.getUTCMilliseconds().toString().padStart(3, "0")}`;
338
337
  }
339
-
340
338
  //#endregion
341
339
  //#region src/index.ts
342
340
  /**
@@ -363,6 +361,5 @@ function backendProxyPlugin(config) {
363
361
  }
364
362
  };
365
363
  }
366
-
367
364
  //#endregion
368
- export { backendProxyPlugin, createFetchBackendHandler, ensureLeadingSlash, extractModuleFromMeta, extractModuleFromUrl, joinUrlParts, normalizeRedirectLocation, stripLeadingSlash, stripTrailingSlash };
365
+ export { backendProxyPlugin, createFetchBackendHandler, ensureLeadingSlash, extractModuleFromMeta, extractModuleFromUrl, joinUrlParts, normalizeRedirectLocation, stripLeadingSlash, stripTrailingSlash };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vite-plugin-backend-html",
3
- "version": "0.0.1",
3
+ "version": "0.1.0",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Dieter Oberkofler",
@@ -17,7 +17,7 @@
17
17
  "scripts": {
18
18
  "dev": "tsdown --watch",
19
19
  "build": "tsdown",
20
- "lint": "eslint --no-cache . && tsc && prettier --check .",
20
+ "lint": "prettier --check . && oxlint --type-aware --type-check && tsc",
21
21
  "test": "vitest run --coverage",
22
22
  "ci": "npm run lint && npm run build && npm run test",
23
23
  "create-changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
@@ -39,33 +39,29 @@
39
39
  "url": "git://github.com/doberkofler/vite-plugin-merge-css.git"
40
40
  },
41
41
  "homepage": "https://github.com/doberkofler/vite-plugin-merge-css#readme",
42
- "peerDependencies": {
43
- "vite": "^7.0.0"
44
- },
45
42
  "devDependencies": {
46
- "@commitlint/cli": "^20.4.2",
47
- "@commitlint/config-conventional": "^20.4.2",
48
- "@eslint/js": "^9.31.0",
43
+ "@commitlint/cli": "^20.5.0",
44
+ "@commitlint/config-conventional": "^20.5.0",
49
45
  "@types/debug": "^4.1.12",
50
- "@types/node": "^25.3.0",
51
- "@vitest/coverage-v8": "^4.0.18",
52
- "@vitest/eslint-plugin": "^1.6.9",
53
- "conventional-changelog": "^7.1.1",
54
- "conventional-changelog-angular": "^8.1.0",
46
+ "@types/node": "^25.5.0",
47
+ "@vitest/coverage-v8": "^4.1.0",
48
+ "conventional-changelog": "^7.2.0",
49
+ "conventional-changelog-angular": "^8.3.0",
55
50
  "conventional-changelog-cli": "^5.0.0",
56
- "eslint": "^9.31.0",
57
- "eslint-plugin-jsdoc": "^62.6.1",
58
- "eslint-plugin-regexp": "^3.0.0",
59
- "eslint-plugin-unicorn": "^63.0.0",
60
- "globals": "^17.3.0",
51
+ "eslint-plugin-regexp": "3.1.0",
61
52
  "husky": "^9.1.7",
53
+ "oxlint": "^1.56.0",
54
+ "oxlint-tsgolint": "^0.17.0",
62
55
  "prettier": "^3.8.1",
63
- "tsdown": "^0.20.3",
56
+ "tsdown": "^0.21.4",
64
57
  "typescript": "^5.9.3",
65
- "typescript-eslint": "^8.56.0",
66
- "vitest": "^4.0.18"
58
+ "vite": "^7.0.0 || ^8.0.0",
59
+ "vitest": "^4.1.0"
67
60
  },
68
61
  "dependencies": {
69
62
  "debug": "^4.4.3"
63
+ },
64
+ "peerDependencies": {
65
+ "vite": "^7.0.0 || ^8.0.0"
70
66
  }
71
67
  }