@scaleway/changesets-renovate 2.2.5 → 2.2.6

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/README.md CHANGED
@@ -43,6 +43,7 @@ SORT_CHANGESETS=TRUE changesets-renovate
43
43
  Example:
44
44
 
45
45
  Unsorted:
46
+
46
47
  ```
47
48
  ---
48
49
  'package-z': patch
@@ -55,6 +56,7 @@ Updated dependency `@company/zzz-backend` to `^0.228.0`.
55
56
  ```
56
57
 
57
58
  Sorted:
59
+
58
60
  ```
59
61
  ---
60
62
  'package-a': patch
package/dist/cli.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  #!/usr/bin/env node
2
- export declare function run(): Promise<void>;
2
+ declare function run(): Promise<void>;
3
+ export { run };
package/dist/cli.js CHANGED
@@ -14,7 +14,7 @@ async function run() {
14
14
  }
15
15
  const diffFiles = (await simpleGit().diffSummary(["--name-only", "HEAD~1"])).files.map((file) => file.file);
16
16
  console.log("Found changed files:", diffFiles);
17
- if (diffFiles.find((f) => f.startsWith(".changeset"))) {
17
+ if (diffFiles.some((f) => f.startsWith(".changeset"))) {
18
18
  console.log("Changeset already exists, skipping");
19
19
  return;
20
20
  }
@@ -33,6 +33,6 @@ async function run() {
33
33
  await handlePackageChanges(diffFiles);
34
34
  }
35
35
  }
36
- run().catch(console.error);
36
+ await run().catch(console.error);
37
37
  //#endregion
38
38
  export { run };
package/package.json CHANGED
@@ -1,54 +1,52 @@
1
1
  {
2
2
  "name": "@scaleway/changesets-renovate",
3
- "version": "2.2.5",
3
+ "version": "2.2.6",
4
4
  "description": "Automatically create changesets for Renovate and pnpm catalogs",
5
+ "keywords": [
6
+ "catalogs",
7
+ "changesets",
8
+ "pnpm",
9
+ "renovate",
10
+ "sync"
11
+ ],
12
+ "license": "MIT",
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/scaleway/scaleway-lib",
16
+ "directory": "packages/changesets-renovate"
17
+ },
18
+ "bin": {
19
+ "changesets-renovate": "dist/cli.js"
20
+ },
21
+ "files": [
22
+ "dist"
23
+ ],
5
24
  "type": "module",
25
+ "sideEffects": false,
6
26
  "module": "./dist/cli.js",
7
27
  "types": "./dist/cli.d.ts",
8
- "sideEffects": false,
9
28
  "exports": {
10
29
  ".": {
11
30
  "types": "./dist/cli.d.ts",
12
31
  "default": "./dist/cli.js"
13
32
  }
14
33
  },
15
- "files": [
16
- "dist"
17
- ],
18
- "engines": {
19
- "node": ">=20.x"
20
- },
21
- "bin": {
22
- "changesets-renovate": "dist/cli.js"
23
- },
24
34
  "publishConfig": {
25
35
  "access": "public"
26
36
  },
27
- "repository": {
28
- "type": "git",
29
- "url": "https://github.com/scaleway/scaleway-lib",
30
- "directory": "packages/changesets-renovate"
31
- },
32
- "license": "MIT",
33
- "keywords": [
34
- "changesets",
35
- "renovate",
36
- "pnpm",
37
- "catalogs",
38
- "sync"
39
- ],
40
37
  "dependencies": {
41
38
  "@types/js-yaml": "4.0.9",
42
39
  "fast-glob": "3.3.3",
43
40
  "js-yaml": "4.1.1",
44
- "simple-git": "3.33.0"
41
+ "simple-git": "3.36.0"
42
+ },
43
+ "engines": {
44
+ "node": ">=20.x"
45
45
  },
46
46
  "scripts": {
47
47
  "prebuild": "shx rm -rf dist",
48
- "typecheck": "tsc --noEmit",
49
- "typecheck:go": "tsgo --noEmit",
50
- "type:generate": "tsc --declaration -p tsconfig.build.json",
51
- "type:generate:go": "tsgo --declaration -p tsconfig.build.json",
48
+ "typecheck": "tsgo --noEmit",
49
+ "type:generate": "tsgo --declaration -p tsconfig.build.json",
52
50
  "build": "vite build --config vite.config.ts && pnpm run type:generate",
53
51
  "build:profile": "npx vite-bundle-visualizer -c vite.config.ts",
54
52
  "test:unit": "vitest --run --config vite.config.ts",