@open-xchange/vite-plugin-replace-pkg 0.0.6 → 1.0.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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## `1.0.1` – 2025-Feb-20
4
+
5
+ - chore: bump dependencies
6
+
7
+ ## `1.0.0` – 2025-Jan-03
8
+
9
+ - chore: release v1 (no code changes)
10
+
3
11
  ## `0.0.6` – 2024-Nov-29
4
12
 
5
13
  - chore: add vite v6 to peerDeps
package/README.md CHANGED
@@ -75,7 +75,7 @@ The location of the source file to resolve the module imports with. There are di
75
75
  | Name | Type | Default | Description |
76
76
  | - | - | - | - |
77
77
  | `url` | `string` | _required_ | The URL of the source file to be downloaded. |
78
- | `query` | `Dict<string\|number\|boolean>` | `{}` | Query parameters to be added to the URL. |
78
+ | `query` | `Record<string, string\|number\|boolean>` | `{}` | Query parameters to be added to the URL. |
79
79
 
80
80
  Example:
81
81
 
package/dist/index.d.ts CHANGED
@@ -35,7 +35,9 @@ export interface VitePluginReplacePkg_GitLabFile {
35
35
  path: string;
36
36
  /**
37
37
  * The name of a branch or a tag, or a commit ID. Slashes in branch names
38
- * will be encoded internally. Default value is "HEAD".
38
+ * will be encoded internally.
39
+ *
40
+ * @default "HEAD"
39
41
  */
40
42
  ref?: string;
41
43
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-xchange/vite-plugin-replace-pkg",
3
- "version": "0.0.6",
3
+ "version": "1.0.1",
4
4
  "description": "Vite plugin replacing a specific external package with an arbitrary source code module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -10,25 +10,28 @@
10
10
  "engines": {
11
11
  "node": ">=20.18"
12
12
  },
13
- "packageManager": "yarn@4.5.3",
13
+ "packageManager": "yarn@4.6.0",
14
14
  "type": "module",
15
15
  "exports": "./dist/index.js",
16
16
  "scripts": {
17
17
  "prepare": "yarn build",
18
18
  "prepack": "yarn build && yarn lint",
19
- "build": "rimraf dist && tsc",
20
- "lint": "eslint ."
19
+ "clean": "premove dist",
20
+ "build": "yarn clean && tsc --project src/tsconfig.json",
21
+ "lint": "tsc && tsc --project src/tsconfig.json --noEmit && eslint ."
21
22
  },
22
23
  "dependencies": {
23
- "@open-xchange/vite-helper": "0.1.5"
24
+ "@open-xchange/vite-helper": "^1.0.1"
24
25
  },
25
26
  "devDependencies": {
26
- "@open-xchange/linter-presets": "0.11.4",
27
- "@types/node": "^22.10.1",
28
- "eslint": "^9.15.0",
29
- "rimraf": "^6.0.1",
30
- "typescript": "^5.7.2",
31
- "vite": "^6.0.1"
27
+ "@open-xchange/linter-presets": "^1.2.12",
28
+ "@types/node": "^22.13.4",
29
+ "better-typescript-lib": "^2.10.1",
30
+ "eslint": "^9.20.1",
31
+ "jiti": "^2.4.2",
32
+ "premove": "^4.0.0",
33
+ "typescript": "^5.7.3",
34
+ "vite": "^6.1.1"
32
35
  },
33
36
  "peerDependencies": {
34
37
  "vite": "^5.3 || ^6.0.0"