node-backpack 0.0.410 → 0.0.412

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 CHANGED
@@ -1,4 +1,4 @@
1
- # ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
1
+ # ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
2
2
 
3
3
  *.snap linguist-generated
4
4
  /.eslintrc.json linguist-generated
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,13 +38,14 @@
38
38
  "jest": "^27",
39
39
  "jest-junit": "^15",
40
40
  "npm-check-updates": "^16",
41
- "projen": "^0.71.91",
41
+ "projen": "^0.71.94",
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": {
47
- "esbuild": "^0.18.1",
48
+ "esbuild": "^0.18.2",
48
49
  "fs-extra": "^10.1.0",
49
50
  "license-checker": "^25.0.1",
50
51
  "madge": "^5.0.2",
@@ -53,7 +54,7 @@
53
54
  },
54
55
  "main": "lib/index.js",
55
56
  "license": "Apache-2.0",
56
- "version": "0.0.410",
57
+ "version": "0.0.412",
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.js and run \"npx projen\"."
99
+ "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run \"npx projen\"."
99
100
  }