backport 12.0.0 → 12.0.2

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 (40) hide show
  1. package/README.md +3 -0
  2. package/dist/src/backport-run.d.ts +2 -6
  3. package/dist/src/backport-run.js.map +1 -1
  4. package/dist/src/graphql/generated/gql.d.ts +2 -2
  5. package/dist/src/graphql/generated/gql.js +1 -1
  6. package/dist/src/graphql/generated/gql.js.map +1 -1
  7. package/dist/src/graphql/generated/graphql.js +4 -4
  8. package/dist/src/graphql/generated/graphql.js.map +1 -1
  9. package/dist/src/lib/author.d.ts +1 -1
  10. package/dist/src/lib/cherrypickAndCreateTargetPullRequest/get-backport-branch-name.d.ts +1 -1
  11. package/dist/src/lib/cherrypickAndCreateTargetPullRequest/get-backport-branch-name.js.map +1 -1
  12. package/dist/src/lib/cherrypickAndCreateTargetPullRequest/get-commits-without-backports.d.ts +1 -1
  13. package/dist/src/lib/cherrypickAndCreateTargetPullRequest/get-commits-without-backports.js.map +1 -1
  14. package/dist/src/lib/cherrypickAndCreateTargetPullRequest/get-merge-commit.d.ts +1 -1
  15. package/dist/src/lib/cherrypickAndCreateTargetPullRequest/get-merge-commit.js.map +1 -1
  16. package/dist/src/lib/cherrypickAndCreateTargetPullRequest/getTargetPRLabels/get-configured-target-pr-labels.d.ts +1 -1
  17. package/dist/src/lib/cherrypickAndCreateTargetPullRequest/getTargetPRLabels/get-configured-target-pr-labels.js.map +1 -1
  18. package/dist/src/lib/cherrypickAndCreateTargetPullRequest/getTargetPRLabels/get-target-prlabels.d.ts +1 -1
  19. package/dist/src/lib/cherrypickAndCreateTargetPullRequest/list-conflicting-and-unstaged-files.js +1 -1
  20. package/dist/src/lib/cherrypickAndCreateTargetPullRequest/list-conflicting-and-unstaged-files.js.map +1 -1
  21. package/dist/src/lib/cherrypickAndCreateTargetPullRequest/wait-for-cherrypick.d.ts +1 -1
  22. package/dist/src/lib/cherrypickAndCreateTargetPullRequest/wait-for-cherrypick.js +5 -2
  23. package/dist/src/lib/cherrypickAndCreateTargetPullRequest/wait-for-cherrypick.js.map +1 -1
  24. package/dist/src/lib/get-source-branch-from-commits.d.ts +1 -1
  25. package/dist/src/lib/github/v3/create-pull-request/get-pull-request-body.js +22 -8
  26. package/dist/src/lib/github/v3/create-pull-request/get-pull-request-body.js.map +1 -1
  27. package/dist/src/lib/github/v3/create-status-comment.d.ts +1 -1
  28. package/dist/src/lib/github/v3/create-status-comment.js.map +1 -1
  29. package/dist/src/lib/github/v4/fetchCommits/fetch-commits-for-rebase-and-merge-strategy.d.ts +1 -1
  30. package/dist/src/lib/github/v4/fetchCommits/fetch-commits-for-rebase-and-merge-strategy.js.map +1 -1
  31. package/dist/src/lib/run-sequentially.d.ts +4 -0
  32. package/dist/src/lib/run-sequentially.js.map +1 -1
  33. package/dist/src/lib/sourceCommit/get-source-pull-request.js +5 -1
  34. package/dist/src/lib/sourceCommit/get-source-pull-request.js.map +1 -1
  35. package/dist/src/lib/sourceCommit/parse-source-commit.js +3 -2
  36. package/dist/src/lib/sourceCommit/parse-source-commit.js.map +1 -1
  37. package/dist/src/types/index.d.ts +1 -1
  38. package/dist/src/utils/filter-unmerged-commits.d.ts +1 -1
  39. package/dist/tsconfig.eslint.tsbuildinfo +1 -0
  40. package/package.json +8 -5
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "branches",
15
15
  "branching"
16
16
  ],
17
- "version": "12.0.0",
17
+ "version": "12.0.2",
18
18
  "type": "module",
19
19
  "main": "./dist/src/entrypoint.api.js",
20
20
  "types": "dist/src/entrypoint.api.d.ts",
@@ -30,12 +30,15 @@
30
30
  "license": "Apache-2.0",
31
31
  "scripts": {
32
32
  "postinstall": "test -f ./dist/src/scripts/run-postinstall.js && node ./dist/src/scripts/run-postinstall.js || echo 'Dist folder missing'",
33
- "prepare": "husky && npm run build",
34
- "prepublishOnly": "npm install && npm run lint && npm run build",
33
+ "prepare": "husky",
34
+ "prepack": "npm run build",
35
+ "prepublishOnly": "npm run lint && npm run test:unit",
35
36
  "lint-and-test": "npm run lint && npm test",
36
- "lint": "tsc -p tsconfig.eslint.json --noEmit --incremental && eslint './**/*.{ts,js}' --fix --cache",
37
+ "lint": "tsc -p tsconfig.eslint.json --noEmit --incremental && eslint './**/*.{ts,js}'",
38
+ "lint:fix": "tsc -p tsconfig.eslint.json --noEmit --incremental && eslint './**/*.{ts,js}' --fix --cache",
37
39
  "start": "NODE_ENV=development tsx ./src/entrypoint.cli.ts",
38
- "test": "vitest run",
40
+ "test": "vitest run --config ./vitest.config.unit.ts",
41
+ "test:all": "vitest run",
39
42
  "test:unit": "vitest run --config ./vitest.config.unit.ts",
40
43
  "test:mutation": "vitest run --config ./vitest.config.mutation.ts",
41
44
  "test:private": "vitest run --config ./vitest.config.private.ts",