@mountainpass/problem-document 0.0.42 → 0.0.43

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/.cspell.json CHANGED
@@ -90,6 +90,7 @@
90
90
  ".eslintrc.json",
91
91
  ".gitattributes",
92
92
  ".github/pull_request_template.md",
93
+ ".github/workflows/auto-approve.yml",
93
94
  ".github/workflows/build.yml",
94
95
  ".github/workflows/pull-request-lint.yml",
95
96
  ".github/workflows/release.yml",
package/.gitattributes CHANGED
@@ -6,6 +6,7 @@
6
6
  /.eslintrc.json linguist-generated
7
7
  /.gitattributes linguist-generated
8
8
  /.github/pull_request_template.md linguist-generated
9
+ /.github/workflows/auto-approve.yml linguist-generated
9
10
  /.github/workflows/build.yml linguist-generated
10
11
  /.github/workflows/pull-request-lint.yml linguist-generated
11
12
  /.github/workflows/release.yml linguist-generated
package/.projenrc.ts CHANGED
@@ -43,6 +43,44 @@ const project = new TypeScriptProject({
43
43
  keywords: ["problem-details", "rfc7807"],
44
44
  defaultReleaseBranch: "main",
45
45
  projenrcTs: true,
46
+ dependabotOptions: {
47
+ labels: ["auto-approve"],
48
+ },
49
+ jestOptions: {
50
+ jestConfig: {
51
+ coverageThreshold: {
52
+ branches: 100,
53
+ functions: 100,
54
+ lines: 100,
55
+ statements: 100,
56
+ },
57
+ },
58
+ },
59
+ autoApproveUpgrades: true,
60
+ autoApproveOptions: {
61
+ allowedUsernames: ["dependabot[bot]"],
62
+ label: "auto-approve",
63
+ secret: "GITHUB_TOKEN",
64
+ },
65
+ githubOptions: {
66
+ pullRequestLintOptions: {
67
+ semanticTitleOptions: {
68
+ types: [
69
+ "build",
70
+ "chore",
71
+ "ci",
72
+ "docs",
73
+ "feat",
74
+ "fix",
75
+ "perf",
76
+ "refactor",
77
+ "revert",
78
+ "style",
79
+ "test",
80
+ ],
81
+ },
82
+ },
83
+ },
46
84
  });
47
85
 
48
86
  const recommended = new Recommended(project, {
package/package.json CHANGED
@@ -75,11 +75,19 @@
75
75
  "publishConfig": {
76
76
  "access": "public"
77
77
  },
78
- "version": "0.0.42",
78
+ "version": "0.0.43",
79
79
  "bugs": {
80
80
  "url": "https://github.com/mountain-pass/problem-document/issues"
81
81
  },
82
82
  "jest": {
83
+ "coverageThreshold": {
84
+ "global": {
85
+ "branches": 100,
86
+ "functions": 100,
87
+ "lines": 100,
88
+ "statements": 100
89
+ }
90
+ },
83
91
  "testMatch": [
84
92
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",
85
93
  "<rootDir>/(test|src)/**/?(*.)+(spec|test).ts?(x)"