node-backpack 0.0.411 → 0.0.413
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/.gitattributes +1 -1
- package/.projenrc.ts +40 -0
- package/package.json +4 -3
package/.gitattributes
CHANGED
package/.projenrc.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { typescript } from 'projen';
|
|
2
|
+
const project = new typescript.TypeScriptProject({
|
|
3
|
+
name: 'node-backpack',
|
|
4
|
+
projenrcTs: true,
|
|
5
|
+
defaultReleaseBranch: 'main',
|
|
6
|
+
releaseToNpm: true,
|
|
7
|
+
devDeps: [
|
|
8
|
+
'@types/madge',
|
|
9
|
+
'@types/license-checker',
|
|
10
|
+
'@types/fs-extra',
|
|
11
|
+
],
|
|
12
|
+
deps: [
|
|
13
|
+
'esbuild',
|
|
14
|
+
'madge',
|
|
15
|
+
'license-checker',
|
|
16
|
+
'yargs',
|
|
17
|
+
'fs-extra',
|
|
18
|
+
'shlex',
|
|
19
|
+
],
|
|
20
|
+
bin: {
|
|
21
|
+
'node-backpack': 'bin/node-backpack',
|
|
22
|
+
},
|
|
23
|
+
autoApproveOptions: {
|
|
24
|
+
allowedUsernames: ['cdklabs-automation'],
|
|
25
|
+
secret: 'GITHUB_TOKEN',
|
|
26
|
+
},
|
|
27
|
+
autoApproveUpgrades: true,
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
project.gitignore.exclude('.vscode/');
|
|
31
|
+
|
|
32
|
+
// required for esbuild > v0.14.32
|
|
33
|
+
// see https://github.com/evanw/esbuild/pull/2155
|
|
34
|
+
// see https://stackoverflow.com/questions/56906718/error-ts2304-cannot-find-name-webassembly
|
|
35
|
+
project.tsconfig?.compilerOptions.lib?.push('dom');
|
|
36
|
+
|
|
37
|
+
// needed for CLI tests to run
|
|
38
|
+
project.testTask.prependSpawn(project.compileTask);
|
|
39
|
+
|
|
40
|
+
project.synth();
|
package/package.json
CHANGED
|
@@ -38,9 +38,10 @@
|
|
|
38
38
|
"jest": "^27",
|
|
39
39
|
"jest-junit": "^15",
|
|
40
40
|
"npm-check-updates": "^16",
|
|
41
|
-
"projen": "^0.71.
|
|
41
|
+
"projen": "^0.71.96",
|
|
42
42
|
"standard-version": "^9",
|
|
43
43
|
"ts-jest": "^27",
|
|
44
|
+
"ts-node": "^10.9.1",
|
|
44
45
|
"typescript": "^4.9.5"
|
|
45
46
|
},
|
|
46
47
|
"dependencies": {
|
|
@@ -53,7 +54,7 @@
|
|
|
53
54
|
},
|
|
54
55
|
"main": "lib/index.js",
|
|
55
56
|
"license": "Apache-2.0",
|
|
56
|
-
"version": "0.0.
|
|
57
|
+
"version": "0.0.413",
|
|
57
58
|
"jest": {
|
|
58
59
|
"testMatch": [
|
|
59
60
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|
|
@@ -95,5 +96,5 @@
|
|
|
95
96
|
}
|
|
96
97
|
},
|
|
97
98
|
"types": "lib/index.d.ts",
|
|
98
|
-
"//": "~~ Generated by projen. To modify, edit .projenrc.
|
|
99
|
+
"//": "~~ Generated by projen. To modify, edit .projenrc.ts and run \"npx projen\"."
|
|
99
100
|
}
|