sdk-logs 0.6.12 → 0.6.13
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/package.json +34 -32
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "sdk-logs",
|
|
3
3
|
"author": "ehmpathy",
|
|
4
4
|
"description": "a simple and opinionated logging library. plays well with aws lambda + cloudwatch.",
|
|
5
|
-
"version": "0.6.
|
|
5
|
+
"version": "0.6.13",
|
|
6
6
|
"repository": "ehmpathy/sdk-logs",
|
|
7
7
|
"homepage": "https://github.com/ehmpathy/sdk-logs",
|
|
8
8
|
"keywords": [
|
|
@@ -25,6 +25,37 @@
|
|
|
25
25
|
"files": [
|
|
26
26
|
"/dist"
|
|
27
27
|
],
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build:ts": "tsc -p ./tsconfig.build.json",
|
|
30
|
+
"commit:with-cli": "npx cz",
|
|
31
|
+
"fix:format:biome": "biome check --write",
|
|
32
|
+
"fix:format": "npm run fix:format:biome",
|
|
33
|
+
"fix:lint": "biome check --write",
|
|
34
|
+
"fix": "npm run fix:format && npm run fix:lint",
|
|
35
|
+
"build:clean": "chmod -R u+w dist 2>/dev/null; rm -rf dist/",
|
|
36
|
+
"build:compile": "tsc -p ./tsconfig.build.json && tsc-alias -p ./tsconfig.build.json",
|
|
37
|
+
"build": "npm run build:clean && npm run build:compile && npm run build:complete --if-present",
|
|
38
|
+
"test:commits": "LAST_TAG=$(git describe --tags --abbrev=0 @^ 2> /dev/null || git rev-list --max-parents=0 HEAD) && npx commitlint --from $LAST_TAG --to HEAD --verbose",
|
|
39
|
+
"test:types": "tsc -p ./tsconfig.json --noEmit",
|
|
40
|
+
"test:format:biome": "biome format",
|
|
41
|
+
"test:format": "npm run test:format:biome",
|
|
42
|
+
"test:lint:deps": "npx depcheck -c ./.depcheckrc.yml",
|
|
43
|
+
"test:lint:biome": "biome check --diagnostic-level=error",
|
|
44
|
+
"test:lint:biome:all": "biome check",
|
|
45
|
+
"test:lint": "npm run test:lint:biome && npm run test:lint:deps",
|
|
46
|
+
"test:unit": "jest -c ./jest.unit.config.ts --forceExit --verbose --passWithNoTests $([ -z $THOROUGH ] && echo '--changedSince=main') $([ -n $RESNAP ] && echo '--updateSnapshot')",
|
|
47
|
+
"test:integration": "jest -c ./jest.integration.config.ts --forceExit --verbose --passWithNoTests $([ -z $THOROUGH ] && echo '--changedSince=main') $([ -n $RESNAP ] && echo '--updateSnapshot')",
|
|
48
|
+
"test:acceptance:locally": "npm run build && LOCALLY=true jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests $([ -n $RESNAP ] && echo '--updateSnapshot')",
|
|
49
|
+
"test": "npm run test:commits && npm run test:types && npm run test:format && npm run test:lint && npm run test:unit && npm run test:integration && npm run test:acceptance:locally",
|
|
50
|
+
"test:acceptance": "npm run build && jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests $([ -n $RESNAP ] && echo '--updateSnapshot')",
|
|
51
|
+
"prepush": "npm run test && npm run build",
|
|
52
|
+
"prepublish": "npm run build",
|
|
53
|
+
"preversion": "npm run prepush",
|
|
54
|
+
"postversion": "git push origin HEAD --tags --no-verify",
|
|
55
|
+
"prepare:husky": "husky install && chmod ug+x .husky/*",
|
|
56
|
+
"prepare:rhachet": "rhachet init --hooks --roles mechanic behaver driver reviewer librarian ergonomist architect reflector dreamer dispatcher",
|
|
57
|
+
"prepare": "if [ -e .git ] && [ -z $CI ]; then npm run prepare:husky && npm run prepare:rhachet; fi"
|
|
58
|
+
},
|
|
28
59
|
"dependencies": {
|
|
29
60
|
"@ehmpathy/error-fns": "^1.3.7",
|
|
30
61
|
"domain-glossary-procedure": "^1.0.0",
|
|
@@ -70,34 +101,5 @@
|
|
|
70
101
|
"path": "./node_modules/cz-conventional-changelog"
|
|
71
102
|
}
|
|
72
103
|
},
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
"commit:with-cli": "npx cz",
|
|
76
|
-
"fix:format:biome": "biome check --write",
|
|
77
|
-
"fix:format": "npm run fix:format:biome",
|
|
78
|
-
"fix:lint": "biome check --write",
|
|
79
|
-
"fix": "npm run fix:format && npm run fix:lint",
|
|
80
|
-
"build:clean": "chmod -R u+w dist 2>/dev/null; rm -rf dist/",
|
|
81
|
-
"build:compile": "tsc -p ./tsconfig.build.json && tsc-alias -p ./tsconfig.build.json",
|
|
82
|
-
"build": "npm run build:clean && npm run build:compile && npm run build:complete --if-present",
|
|
83
|
-
"test:commits": "LAST_TAG=$(git describe --tags --abbrev=0 @^ 2> /dev/null || git rev-list --max-parents=0 HEAD) && npx commitlint --from $LAST_TAG --to HEAD --verbose",
|
|
84
|
-
"test:types": "tsc -p ./tsconfig.json --noEmit",
|
|
85
|
-
"test:format:biome": "biome format",
|
|
86
|
-
"test:format": "npm run test:format:biome",
|
|
87
|
-
"test:lint:deps": "npx depcheck -c ./.depcheckrc.yml",
|
|
88
|
-
"test:lint:biome": "biome check --diagnostic-level=error",
|
|
89
|
-
"test:lint:biome:all": "biome check",
|
|
90
|
-
"test:lint": "npm run test:lint:biome && npm run test:lint:deps",
|
|
91
|
-
"test:unit": "jest -c ./jest.unit.config.ts --forceExit --verbose --passWithNoTests $([ -z $THOROUGH ] && echo '--changedSince=main') $([ -n $RESNAP ] && echo '--updateSnapshot')",
|
|
92
|
-
"test:integration": "jest -c ./jest.integration.config.ts --forceExit --verbose --passWithNoTests $([ -z $THOROUGH ] && echo '--changedSince=main') $([ -n $RESNAP ] && echo '--updateSnapshot')",
|
|
93
|
-
"test:acceptance:locally": "npm run build && LOCALLY=true jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests $([ -n $RESNAP ] && echo '--updateSnapshot')",
|
|
94
|
-
"test": "npm run test:commits && npm run test:types && npm run test:format && npm run test:lint && npm run test:unit && npm run test:integration && npm run test:acceptance:locally",
|
|
95
|
-
"test:acceptance": "npm run build && jest -c ./jest.acceptance.config.ts --forceExit --verbose --runInBand --passWithNoTests $([ -n $RESNAP ] && echo '--updateSnapshot')",
|
|
96
|
-
"prepush": "npm run test && npm run build",
|
|
97
|
-
"prepublish": "npm run build",
|
|
98
|
-
"preversion": "npm run prepush",
|
|
99
|
-
"postversion": "git push origin HEAD --tags --no-verify",
|
|
100
|
-
"prepare:husky": "husky install && chmod ug+x .husky/*",
|
|
101
|
-
"prepare:rhachet": "rhachet init --hooks --roles mechanic behaver driver reviewer librarian ergonomist architect reflector dreamer dispatcher"
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
+
"packageManager": "pnpm@10.24.0"
|
|
105
|
+
}
|