@sprucelabs/error 5.0.2 → 5.0.6
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/build/.spruce/settings.json +16 -0
- package/package.json +96 -88
package/package.json
CHANGED
|
@@ -1,93 +1,101 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
"name": "@sprucelabs/error",
|
|
3
|
+
"publishConfig": {
|
|
4
|
+
"access": "public"
|
|
5
|
+
},
|
|
6
|
+
"version": "5.0.6",
|
|
7
|
+
"skill": {
|
|
8
|
+
"namespace": "spruce-error",
|
|
9
|
+
"upgradeIgnoreList": [
|
|
10
|
+
"@sprucelabs/resolve-path-aliases",
|
|
11
|
+
"@sprucelabs/spruce-test-fixtures",
|
|
12
|
+
"@sprucelabs/test-utils",
|
|
13
|
+
"@types/node",
|
|
14
|
+
"ts-node"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"build"
|
|
19
|
+
],
|
|
20
|
+
"main": "./build/index.js",
|
|
21
|
+
"types": "./build/index.d.ts",
|
|
22
|
+
"module": "./build/esm/index.js",
|
|
23
|
+
"sideEffects": false,
|
|
24
|
+
"description": "Error reporting that's really, really helpful. 💡",
|
|
25
|
+
"keywords": [
|
|
26
|
+
"node",
|
|
27
|
+
"components",
|
|
28
|
+
"sprucebot",
|
|
29
|
+
"sprucelabs"
|
|
30
|
+
],
|
|
31
|
+
"homepage": "https://github.com/sprucelabsai/spruce-error",
|
|
32
|
+
"bugs": {
|
|
33
|
+
"url": "https://github.com/sprucelabsai/spruce-error/issues"
|
|
34
|
+
},
|
|
35
|
+
"scripts": {
|
|
36
|
+
"build.ci": "yarn build.tsc",
|
|
37
|
+
"build.copy-files": "mkdir -p build && rsync -avzq --exclude='*.ts' ./src/ ./build/",
|
|
38
|
+
"build.dev": "yarn build.tsc --sourceMap",
|
|
39
|
+
"build.dist": "yarn build.tsc && tsc --project tsconfig.dist.json && yarn build.esm-postbuild",
|
|
40
|
+
"build.esm-postbuild": "esm-postbuild --target build/esm --patterns '**/*.js'",
|
|
41
|
+
"build.resolve-paths": "true",
|
|
42
|
+
"build.tsc": "yarn build.copy-files && tsc",
|
|
43
|
+
"build.types": "tsc --emitDeclarationOnly && echo PASS",
|
|
44
|
+
"clean": "yarn clean.build",
|
|
45
|
+
"clean.all": "yarn clean.dependencies && yarn clean.build",
|
|
46
|
+
"clean.build": "rm -rf build/",
|
|
47
|
+
"clean.dependencies": "rm -rf node_modules/ package-lock.json yarn.lock",
|
|
48
|
+
"fix.lint": "eslint --fix --cache '**/*.ts'",
|
|
49
|
+
"lint": "eslint --cache '**/*.ts'",
|
|
50
|
+
"lint.tsc": "tsc -p . --noEmit",
|
|
51
|
+
"test": "jest",
|
|
52
|
+
"post.watch.build": "yarn build.copy-files",
|
|
53
|
+
"rebuild": "yarn clean.all && yarn && yarn build.dev",
|
|
54
|
+
"release": "semantic-release",
|
|
55
|
+
"resolve-paths.lint": "yarn build.resolve-paths ; yarn lint",
|
|
56
|
+
"update.dependencies": "yarn clean.dependencies && yarn",
|
|
57
|
+
"upgrade.packages": "yarn-upgrade-all && rm -f yarn.lock ; yarn ; yarn fix.lint | true",
|
|
58
|
+
"upgrade.packages.all": "yarn install && yarn upgrade.packages",
|
|
59
|
+
"upgrade.packages.test": "yarn upgrade.packages.all && yarn lint && yarn build.dev && yarn test",
|
|
60
|
+
"watch.build.dev": "tsc-watch --sourceMap --onCompilationComplete 'yarn post.watch.build'",
|
|
61
|
+
"watch.test": "jest --watch",
|
|
62
|
+
"watch.lint": "concurrently 'yarn lint' \"chokidar 'src/**/*' -c 'yarn lint.tsc'\"",
|
|
63
|
+
"watch.rebuild": "yarn clean.all && yarn && yarn watch.build.dev",
|
|
64
|
+
"watch.tsc": "tsc -w"
|
|
65
|
+
},
|
|
66
|
+
"devDependencies": {
|
|
67
|
+
"@sprucelabs/esm-postbuild": "^1.0.50",
|
|
68
|
+
"@sprucelabs/jest-json-reporter": "^6.0.42",
|
|
69
|
+
"@sprucelabs/semantic-release": "^4.0.6",
|
|
70
|
+
"@sprucelabs/test": "^7.7.62",
|
|
71
|
+
"chokidar-cli": "^3.0.0",
|
|
72
|
+
"concurrently": "^6.2.1",
|
|
73
|
+
"eslint": "^7.32.0",
|
|
74
|
+
"eslint-config-spruce": "^10.10.10",
|
|
75
|
+
"jest": "^27.2.0",
|
|
76
|
+
"jest-circus": "^27.2.0",
|
|
77
|
+
"prettier": "^2.4.1",
|
|
78
|
+
"tsc-watch": "^4.5.0",
|
|
79
|
+
"typescript": "^4.4.3"
|
|
80
|
+
},
|
|
81
|
+
"peerDependencies": {},
|
|
82
|
+
"dependencies": {},
|
|
83
|
+
"jest": {
|
|
84
|
+
"maxWorkers": 4,
|
|
85
|
+
"testTimeout": 120000,
|
|
86
|
+
"testEnvironment": "node",
|
|
87
|
+
"testPathIgnorePatterns": [
|
|
88
|
+
"<rootDir>/tmp/",
|
|
89
|
+
"<rootDir>/src/",
|
|
90
|
+
"<rootDir>/node_modules/",
|
|
91
|
+
"<rootDir>/build/__tests__/testDirsAndFiles/",
|
|
92
|
+
"<rootDir>/build/esm/"
|
|
9
93
|
],
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
"module": "./build/esm/index.js",
|
|
13
|
-
"sideEffects": false,
|
|
14
|
-
"description": "Error reporting that's really, really helpful. 💡",
|
|
15
|
-
"keywords": [
|
|
16
|
-
"node",
|
|
17
|
-
"components",
|
|
18
|
-
"sprucebot",
|
|
19
|
-
"sprucelabs"
|
|
94
|
+
"testMatch": [
|
|
95
|
+
"**/__tests__/**/*.test.js?(x)"
|
|
20
96
|
],
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
"url": "https://github.com/sprucelabsai/spruce-error/issues"
|
|
24
|
-
},
|
|
25
|
-
"scripts": {
|
|
26
|
-
"preinstall": "git config core.hooksPath .githooks",
|
|
27
|
-
"build.ci": "yarn build.tsc",
|
|
28
|
-
"build.dev": "yarn build.tsc --sourceMap",
|
|
29
|
-
"build.dist": "yarn build.tsc && tsc --project tsconfig.dist.json && yarn build.esm-postbuild",
|
|
30
|
-
"build.esm-postbuild": "esm-postbuild --target build/esm --patterns '**/*.js'",
|
|
31
|
-
"build.tsc": "tsc",
|
|
32
|
-
"build.types": "tsc --emitDeclarationOnly && echo PASS",
|
|
33
|
-
"clean": "yarn clean.build",
|
|
34
|
-
"clean.all": "yarn clean.dependencies && yarn clean.build",
|
|
35
|
-
"clean.build": "rm -rf build/",
|
|
36
|
-
"clean.dependencies": "rm -rf node_modules/ package-lock.json yarn.lock",
|
|
37
|
-
"fix.lint": "eslint --fix '**/*.ts'",
|
|
38
|
-
"lint": "eslint --cache '**/*.ts'",
|
|
39
|
-
"test": "jest",
|
|
40
|
-
"rebuild": "yarn clean.all && yarn && yarn build.dev",
|
|
41
|
-
"release": "semantic-release",
|
|
42
|
-
"update.dependencies": "yarn clean.dependencies && yarn",
|
|
43
|
-
"upgrade.packages": "yarn-upgrade-all && rm -f yarn.lock ; yarn ; yarn fix.lint | true",
|
|
44
|
-
"upgrade.packages.all": "yarn install && yarn upgrade.packages",
|
|
45
|
-
"upgrade.packages.test": "yarn upgrade.packages.all && yarn lint && yarn build.dev && yarn test",
|
|
46
|
-
"watch.build.dev": "concurrently 'yarn build.dev -w' 'yarn lint -w'",
|
|
47
|
-
"watch.test": "jest --watch"
|
|
48
|
-
},
|
|
49
|
-
"devDependencies": {
|
|
50
|
-
"@sprucelabs/esm-postbuild": "latest",
|
|
51
|
-
"@sprucelabs/jest-json-reporter": "latest",
|
|
52
|
-
"@sprucelabs/semantic-release": "latest",
|
|
53
|
-
"@sprucelabs/test": "latest",
|
|
54
|
-
"chokidar-cli": "^2.1.0",
|
|
55
|
-
"concurrently": "^5.3.0",
|
|
56
|
-
"eslint": "^7.11.0",
|
|
57
|
-
"eslint-config-spruce": "latest",
|
|
58
|
-
"jest": "^26.5.3",
|
|
59
|
-
"jest-circus": "^26.6.3",
|
|
60
|
-
"prettier": "^2.1.2",
|
|
61
|
-
"ts-node": "^9.0.0",
|
|
62
|
-
"typescript": "^4.0.3"
|
|
63
|
-
},
|
|
64
|
-
"peerDependencies": {},
|
|
65
|
-
"dependencies": {},
|
|
66
|
-
"jest": {
|
|
67
|
-
"maxWorkers": 4,
|
|
68
|
-
"testTimeout": 120000,
|
|
69
|
-
"testEnvironment": "node",
|
|
70
|
-
"testPathIgnorePatterns": [
|
|
71
|
-
"<rootDir>/tmp/",
|
|
72
|
-
"<rootDir>/src/",
|
|
73
|
-
"<rootDir>/node_modules/",
|
|
74
|
-
"<rootDir>/build/__tests__/testDirsAndFiles/",
|
|
75
|
-
"<rootDir>/build/esm/"
|
|
76
|
-
],
|
|
77
|
-
"testMatch": [
|
|
78
|
-
"**/__tests__/**/*.test.js?(x)"
|
|
79
|
-
],
|
|
80
|
-
"moduleNameMapper": {
|
|
81
|
-
"^#spruce/(.*)$": "<rootDir>/build/.spruce/$1"
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"yarn-upgrade-all": {
|
|
85
|
-
"ignore": [
|
|
86
|
-
"@sprucelabs/esm-postbuild",
|
|
87
|
-
"@sprucelabs/jest-json-reporter",
|
|
88
|
-
"@sprucelabs/semantic-release",
|
|
89
|
-
"@sprucelabs/test",
|
|
90
|
-
"eslint-config-spruce"
|
|
91
|
-
]
|
|
97
|
+
"moduleNameMapper": {
|
|
98
|
+
"^#spruce/(.*)$": "<rootDir>/build/.spruce/$1"
|
|
92
99
|
}
|
|
100
|
+
}
|
|
93
101
|
}
|