@mountainpass/problem-document 0.0.43 → 0.0.46

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
@@ -1,14 +1,6 @@
1
1
  {
2
2
  "language": "en-GB",
3
3
  "words": [
4
- "MarkMcCulloh",
5
- "vscode-projen",
6
- "dbaeumer",
7
- "vscode-eslint",
8
- "streetsidesoftware",
9
- "code-spell-checker",
10
- "adam-bender",
11
- "commit-message-editor",
12
4
  "commitlint",
13
5
  "cli",
14
6
  "config-conventional",
@@ -27,6 +19,8 @@
27
19
  "eslint-import-resolver-typescript",
28
20
  "eslint-plugin-import",
29
21
  "eslint-plugin-jsdoc",
22
+ "eslint-plugin-jsonc",
23
+ "eslint-plugin-no-secrets",
30
24
  "eslint-plugin-prettier",
31
25
  "eslint-plugin-unicorn",
32
26
  "eslint",
@@ -45,6 +39,14 @@
45
39
  "unbump",
46
40
  "lcov",
47
41
  "cobertura",
42
+ "MarkMcCulloh",
43
+ "vscode-projen",
44
+ "dbaeumer",
45
+ "vscode-eslint",
46
+ "esbenp",
47
+ "prettier-vscode",
48
+ "streetsidesoftware",
49
+ "code-spell-checker",
48
50
  "applypatch-msg",
49
51
  "pre-applypatch",
50
52
  "post-applypatch",
@@ -72,7 +74,9 @@
72
74
  "p4-prepare-changelist",
73
75
  "p4-post-changelist",
74
76
  "p4-pre-submit",
75
- "post-index-change"
77
+ "post-index-change",
78
+ "commitlint",
79
+ "hubber"
76
80
  ],
77
81
  "dictionaryDefinitions": [
78
82
  {
@@ -86,7 +90,8 @@
86
90
  ],
87
91
  "ignorePaths": [
88
92
  "docs",
89
- ".commitlintrc.json",
93
+ ".eslintignore",
94
+ ".eslintrc-json.json",
90
95
  ".eslintrc.json",
91
96
  ".gitattributes",
92
97
  ".github/pull_request_template.md",
@@ -96,9 +101,6 @@
96
101
  ".github/workflows/release.yml",
97
102
  ".github/workflows/upgrade-main.yml",
98
103
  ".gitignore",
99
- ".husky/commit-msg",
100
- ".husky/pre-commit",
101
- ".husky/pre-push",
102
104
  ".mergify.yml",
103
105
  ".npmignore",
104
106
  ".prettierignore",
@@ -106,7 +108,7 @@
106
108
  ".projen/deps.json",
107
109
  ".projen/files.json",
108
110
  ".projen/tasks.json",
109
- ".vscode/extensions.json",
111
+ ".vscode/settings.json",
110
112
  "CODE_OF_CONDUCT.md",
111
113
  "LICENSE",
112
114
  "package.json",
package/.eslintignore ADDED
@@ -0,0 +1,31 @@
1
+ # ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
2
+ .commitlintrc.json
3
+ .cspell.json
4
+ .eslintignore
5
+ .eslintrc-json.json
6
+ .eslintrc.json
7
+ .gitattributes
8
+ .github/pull_request_template.md
9
+ .github/workflows/auto-approve.yml
10
+ .github/workflows/build.yml
11
+ .github/workflows/pull-request-lint.yml
12
+ .github/workflows/release.yml
13
+ .github/workflows/upgrade-main.yml
14
+ .gitignore
15
+ .husky/commit-msg
16
+ .husky/pre-commit
17
+ .husky/pre-push
18
+ .mergify.yml
19
+ .npmignore
20
+ .prettierignore
21
+ .prettierrc.json
22
+ .projen/deps.json
23
+ .projen/files.json
24
+ .projen/tasks.json
25
+ .vscode/extensions.json
26
+ .vscode/settings.json
27
+ CODE_OF_CONDUCT.md
28
+ LICENSE
29
+ package.json
30
+ tsconfig.dev.json
31
+ tsconfig.json
@@ -0,0 +1,26 @@
1
+ {
2
+ "env": {
3
+ "jest": true,
4
+ "node": true
5
+ },
6
+ "root": true,
7
+ "plugins": [
8
+ "prettier",
9
+ "no-secrets"
10
+ ],
11
+ "extends": [
12
+ "plugin:jsonc/recommended-with-jsonc",
13
+ "plugin:jsonc/prettier"
14
+ ],
15
+ "ignorePatterns": [
16
+ "*.js",
17
+ "!.projenrc.ts",
18
+ "*.d.ts",
19
+ "node_modules/",
20
+ "*.generated.ts",
21
+ "coverage"
22
+ ],
23
+ "rules": {
24
+ "no-secrets/no-secrets": "error"
25
+ }
26
+ }
package/.gitattributes CHANGED
@@ -3,6 +3,8 @@
3
3
  *.snap linguist-generated
4
4
  /.commitlintrc.json linguist-generated
5
5
  /.cspell.json linguist-generated
6
+ /.eslintignore linguist-generated
7
+ /.eslintrc-json.json linguist-generated
6
8
  /.eslintrc.json linguist-generated
7
9
  /.gitattributes linguist-generated
8
10
  /.github/pull_request_template.md linguist-generated
@@ -24,6 +26,7 @@
24
26
  /.projen/files.json linguist-generated
25
27
  /.projen/tasks.json linguist-generated
26
28
  /.vscode/extensions.json linguist-generated
29
+ /.vscode/settings.json linguist-generated
27
30
  /CODE_OF_CONDUCT.md linguist-generated
28
31
  /LICENSE linguist-generated
29
32
  /package.json linguist-generated
package/.projenrc.ts CHANGED
@@ -83,14 +83,14 @@ const project = new TypeScriptProject({
83
83
  },
84
84
  });
85
85
 
86
- const recommended = new Recommended(project, {
86
+ new Recommended(project, {
87
87
  cSpellOptions: { language: "en-GB", ignorePaths: ["docs"] },
88
88
  });
89
89
 
90
- new CodeOfConduct(
91
- project,
92
- { contactMethod: "tom@mountain-pass.com.au" },
93
- { cSpell: recommended.cSpell }
94
- );
90
+ new CodeOfConduct(project, { contactMethod: "tom@mountain-pass.com.au" });
91
+
92
+ gitHubber.addToProject(project);
93
+ npmReleaser.addToProject(project);
94
+ organisational.addToProject(project);
95
95
 
96
96
  project.synth();
package/package.json CHANGED
@@ -13,6 +13,7 @@
13
13
  "default": "npx projen default",
14
14
  "eject": "npx projen eject",
15
15
  "eslint": "npx projen eslint",
16
+ "eslint:json": "npx projen eslint:json",
16
17
  "package": "npx projen package",
17
18
  "post-compile": "npx projen post-compile",
18
19
  "post-upgrade": "npx projen post-upgrade",
@@ -37,7 +38,7 @@
37
38
  "devDependencies": {
38
39
  "@commitlint/cli": "^17.0.2",
39
40
  "@commitlint/config-conventional": "^17.0.2",
40
- "@mountainpass/cool-bits-for-projen": "^0.1.8",
41
+ "@mountainpass/cool-bits-for-projen": "^0.2.4",
41
42
  "@types/http-status-codes": "^1.2.0",
42
43
  "@types/jest": "^27.4.1",
43
44
  "@types/node": "^14",
@@ -50,6 +51,8 @@
50
51
  "eslint-import-resolver-typescript": "^2.7.1",
51
52
  "eslint-plugin-import": "^2.26.0",
52
53
  "eslint-plugin-jsdoc": "^39.3.2",
54
+ "eslint-plugin-jsonc": "^2.3.0",
55
+ "eslint-plugin-no-secrets": "^0.8.9",
53
56
  "eslint-plugin-prettier": "^4.0.0",
54
57
  "eslint-plugin-unicorn": "^42.0.0",
55
58
  "http-status-codes": "^2.2.0",
@@ -59,10 +62,10 @@
59
62
  "json-schema": "^0.4.0",
60
63
  "npm-check-updates": "^12",
61
64
  "prettier": "^2.6.2",
62
- "projen": "^0.56.35",
65
+ "projen": "^0.58.15",
63
66
  "standard-version": "^9",
64
67
  "ts-jest": "^27",
65
- "ts-node": "^9",
68
+ "ts-node": "^10.8.0",
66
69
  "typescript": "^4.6.3"
67
70
  },
68
71
  "keywords": [
@@ -75,7 +78,7 @@
75
78
  "publishConfig": {
76
79
  "access": "public"
77
80
  },
78
- "version": "0.0.43",
81
+ "version": "0.0.46",
79
82
  "bugs": {
80
83
  "url": "https://github.com/mountain-pass/problem-document/issues"
81
84
  },