@infrascan/aws-cloudwatch-logs-scanner 0.3.0 → 0.3.1

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 (1) hide show
  1. package/package.json +9 -23
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrascan/aws-cloudwatch-logs-scanner",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Infrascan scanner definition for AWS Cloudwatch Logs",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -15,26 +15,11 @@
15
15
  "files": [
16
16
  "dist"
17
17
  ],
18
- "tsup": {
19
- "clean": true,
20
- "cjsInterop": true,
21
- "dts": true,
22
- "splitting": false,
23
- "sourcemap": false,
24
- "entry": [
25
- "src/**/*.ts"
26
- ],
27
- "format": [
28
- "cjs",
29
- "esm"
30
- ],
31
- "target": "node18"
32
- },
33
18
  "scripts": {
34
19
  "codegen": "npx ts-node ./codegen.ts ; npm run lint:fix ; npm run fmt",
35
- "build": "rm -rf dist ; tsup",
36
- "prepublish": "rm -rf dist ; tsup",
37
- "test": "tap test/*.test.ts --allow-incomplete-coverage -- --typescript",
20
+ "build": "rm -rf dist ; tsup --config internal/tsconfig/tsup.json",
21
+ "prepublish": "rm -rf dist ; tsup --config internal/tsconfig/tsup.json",
22
+ "test": "tap src/*.test.ts --allow-incomplete-coverage -- --typescript",
38
23
  "lint": "tsc --noEmit ; prettier src/**/*.ts -c ; eslint .",
39
24
  "lint:fix": "eslint . --fix",
40
25
  "fmt": "prettier src/**/*.ts -w",
@@ -60,13 +45,14 @@
60
45
  "@aws-sdk/credential-providers": "^3.428.0",
61
46
  "@infrascan/aws-codegen": "^0.1.0",
62
47
  "@infrascan/fs-connector": "^0.2.2",
63
- "@infrascan/shared-types": "^0.4.0",
48
+ "@infrascan/shared-types": "^0.5.0",
49
+ "@infrascan/tsconfig": "*",
64
50
  "aws-sdk-client-mock": "^3.0.0",
65
51
  "eslint-config-codegen": "^1.0.0",
66
- "tsconfig": "^0.0.0"
52
+ "tap": "^18.7.0"
67
53
  },
68
54
  "dependencies": {
69
55
  "@aws-sdk/client-cloudwatch-logs": "3.428.0",
70
- "@infrascan/core": "0.3.0"
56
+ "@infrascan/core": "0.4.0"
71
57
  }
72
- }
58
+ }