axios-error-redact 0.1.293 → 0.1.295
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 +2 -2
- package/.projenrc.ts +0 -93
package/package.json
CHANGED
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
46
46
|
"eslint-plugin-import": "^2.29.1",
|
|
47
47
|
"mocha": "^10.2.0",
|
|
48
|
-
"projen": "^0.78.
|
|
48
|
+
"projen": "^0.78.11",
|
|
49
49
|
"standard-version": "^9",
|
|
50
50
|
"ts-eager": "^2.0.2",
|
|
51
51
|
"ts-node": "^10.9.2",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
},
|
|
70
70
|
"main": "lib/index.js",
|
|
71
71
|
"license": "Apache-2.0",
|
|
72
|
-
"version": "0.1.
|
|
72
|
+
"version": "0.1.295",
|
|
73
73
|
"types": "lib/index.d.ts",
|
|
74
74
|
"//": "~~ Generated by projen. To modify, edit .projenrc.ts and run \"npx projen\"."
|
|
75
75
|
}
|
package/.projenrc.ts
DELETED
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import {JsonFile, typescript, javascript, TextFile} from 'projen'
|
|
2
|
-
|
|
3
|
-
const nodeVersion = '16'
|
|
4
|
-
|
|
5
|
-
const project = new typescript.TypeScriptProject({
|
|
6
|
-
projenrcTs: true,
|
|
7
|
-
defaultReleaseBranch: 'main',
|
|
8
|
-
name: 'axios-error-redact',
|
|
9
|
-
description: 'Library to redact sensitive information from Axios errors',
|
|
10
|
-
keywords: [
|
|
11
|
-
'axios',
|
|
12
|
-
'error',
|
|
13
|
-
'sensitive',
|
|
14
|
-
'redact',
|
|
15
|
-
'interceptor',
|
|
16
|
-
'projen',
|
|
17
|
-
'typescript',
|
|
18
|
-
],
|
|
19
|
-
majorVersion: 0,
|
|
20
|
-
packageName: 'axios-error-redact',
|
|
21
|
-
packageManager: javascript.NodePackageManager.NPM,
|
|
22
|
-
repository: 'https://github.com/AminFazlMondo/Axios-Error-Redact.git',
|
|
23
|
-
authorEmail: 'amin.fazl@mondo.com.au',
|
|
24
|
-
authorName: 'Amin Fazl',
|
|
25
|
-
jest: false,
|
|
26
|
-
deps: [
|
|
27
|
-
'axios',
|
|
28
|
-
],
|
|
29
|
-
devDeps: [
|
|
30
|
-
'chai',
|
|
31
|
-
'@types/chai',
|
|
32
|
-
'mocha',
|
|
33
|
-
'@types/mocha',
|
|
34
|
-
'ts-eager',
|
|
35
|
-
'@types/babel__core',
|
|
36
|
-
],
|
|
37
|
-
releaseToNpm: true,
|
|
38
|
-
npmAccess: javascript.NpmAccess.PUBLIC,
|
|
39
|
-
npmTokenSecret: 'NPM_TOKEN',
|
|
40
|
-
minNodeVersion: '16.20.0',
|
|
41
|
-
tsconfig: {
|
|
42
|
-
compilerOptions: {
|
|
43
|
-
target: 'ES2019',
|
|
44
|
-
lib: ['ES2019'],
|
|
45
|
-
skipLibCheck: true,
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
docgen: true,
|
|
49
|
-
npmignore: [
|
|
50
|
-
'.mocharc.json',
|
|
51
|
-
'docs',
|
|
52
|
-
],
|
|
53
|
-
publishTasks: true,
|
|
54
|
-
autoApproveOptions: {
|
|
55
|
-
allowedUsernames: ['AminFazlMondo'],
|
|
56
|
-
},
|
|
57
|
-
autoApproveUpgrades: true,
|
|
58
|
-
workflowNodeVersion: nodeVersion,
|
|
59
|
-
})
|
|
60
|
-
|
|
61
|
-
const additionalRules = {
|
|
62
|
-
'curly': [
|
|
63
|
-
'error',
|
|
64
|
-
'multi',
|
|
65
|
-
'consistent',
|
|
66
|
-
],
|
|
67
|
-
'semi': [
|
|
68
|
-
'error',
|
|
69
|
-
'never',
|
|
70
|
-
],
|
|
71
|
-
'object-curly-spacing': 'error',
|
|
72
|
-
'nonblock-statement-body-position': ['error', 'below'],
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
project.eslint?.addRules(additionalRules)
|
|
76
|
-
|
|
77
|
-
new JsonFile(project, '.mocharc.json', {
|
|
78
|
-
obj: {
|
|
79
|
-
recursive: true,
|
|
80
|
-
require: ['ts-eager/register'],
|
|
81
|
-
timeout: 8000,
|
|
82
|
-
slow: 3000,
|
|
83
|
-
extension: ['ts'],
|
|
84
|
-
spec: ['test/*.test.ts'],
|
|
85
|
-
},
|
|
86
|
-
})
|
|
87
|
-
|
|
88
|
-
new TextFile(project, '.nvmrc', {
|
|
89
|
-
lines: [nodeVersion],
|
|
90
|
-
})
|
|
91
|
-
|
|
92
|
-
project.tasks.tryFind('test')?.exec('mocha')
|
|
93
|
-
project.synth()
|