effect-errors 1.4.6 → 1.4.7
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 +13 -13
- package/package.json.bak +94 -0
package/package.json
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"repository": "https://github.com/jpb06/effect-errors.git",
|
|
3
|
-
"type": "module",
|
|
4
3
|
"main": "./cjs/index.js",
|
|
5
4
|
"module": "./esm/index.js",
|
|
6
5
|
"types": "./dts/index.d.ts",
|
|
@@ -14,7 +13,7 @@
|
|
|
14
13
|
}
|
|
15
14
|
},
|
|
16
15
|
"name": "effect-errors",
|
|
17
|
-
"version": "1.4.
|
|
16
|
+
"version": "1.4.7",
|
|
18
17
|
"author": "jpb06 <jp.bois.06@outlook.fr>",
|
|
19
18
|
"description": "A POC for errors reporting in Effect",
|
|
20
19
|
"keywords": [
|
|
@@ -27,12 +26,13 @@
|
|
|
27
26
|
"scripts": {
|
|
28
27
|
"update-deps": "bunx npm-check-updates --root --format group -i",
|
|
29
28
|
"copy-package": "copyfiles package.json ./dist/",
|
|
29
|
+
"remove-type-module-from-package": "sed -i.bak '/\"type\": \"module\"/d' ./dist/package.json",
|
|
30
30
|
"copy-readme": "copyfiles README.md ./dist/",
|
|
31
31
|
"build": "del-cli ./dist && bun build-esm && bun build-cjs && bun build-annotate",
|
|
32
32
|
"build-esm": "tsc -b tsconfig-prod.json",
|
|
33
33
|
"build-cjs": "babel dist/esm --plugins @babel/transform-export-namespace-from --plugins @babel/transform-modules-commonjs --out-dir dist/cjs --source-maps",
|
|
34
34
|
"build-annotate": "babel dist --plugins annotate-pure-calls --out-dir dist --source-maps",
|
|
35
|
-
"postbuild": "bun run copy-package && bun run copy-readme",
|
|
35
|
+
"postbuild": "bun run copy-package && bun run copy-readme && bun run remove-type-module-from-package",
|
|
36
36
|
"lint": "eslint ./src",
|
|
37
37
|
"type-check": "tsc --noEmit",
|
|
38
38
|
"test": "vitest",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"run-examples": "bun run ./src/examples/util/run-all"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@effect/schema": "^0.67.
|
|
48
|
+
"@effect/schema": "^0.67.16",
|
|
49
49
|
"chalk": "<5",
|
|
50
50
|
"convert-source-map": "^2.0.0",
|
|
51
|
-
"effect": "^3.2.
|
|
51
|
+
"effect": "^3.2.7",
|
|
52
52
|
"source-map": "^0.7.4"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
@@ -57,19 +57,19 @@
|
|
|
57
57
|
"@babel/plugin-transform-export-namespace-from": "^7.24.6",
|
|
58
58
|
"@babel/plugin-transform-modules-commonjs": "^7.24.6",
|
|
59
59
|
"@eslint/eslintrc": "^3.1.0",
|
|
60
|
-
"@eslint/js": "^9.
|
|
60
|
+
"@eslint/js": "^9.4.0",
|
|
61
61
|
"@stylistic/eslint-plugin": "^2.1.0",
|
|
62
62
|
"@stylistic/eslint-plugin-ts": "^2.1.0",
|
|
63
63
|
"@types/eslint": "^8.56.10",
|
|
64
64
|
"@types/fs-extra": "^11.0.4",
|
|
65
|
-
"@types/node": "^20.
|
|
66
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
67
|
-
"@typescript-eslint/parser": "^7.
|
|
65
|
+
"@types/node": "^20.13.0",
|
|
66
|
+
"@typescript-eslint/eslint-plugin": "^7.11.0",
|
|
67
|
+
"@typescript-eslint/parser": "^7.11.0",
|
|
68
68
|
"@vitest/coverage-v8": "^1.6.0",
|
|
69
69
|
"babel-plugin-annotate-pure-calls": "^0.4.0",
|
|
70
70
|
"copyfiles": "^2.4.1",
|
|
71
71
|
"del-cli": "^5.1.0",
|
|
72
|
-
"eslint": "^9.
|
|
72
|
+
"eslint": "^9.4.0",
|
|
73
73
|
"eslint-config-prettier": "^9.1.0",
|
|
74
74
|
"eslint-config-standard-with-typescript": "^43.0.1",
|
|
75
75
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
@@ -77,16 +77,16 @@
|
|
|
77
77
|
"eslint-plugin-markdown": "^5.0.0",
|
|
78
78
|
"eslint-plugin-n": "^17.7.0",
|
|
79
79
|
"eslint-plugin-prettier": "^5.1.3",
|
|
80
|
-
"eslint-plugin-promise": "^6.
|
|
80
|
+
"eslint-plugin-promise": "^6.2.0",
|
|
81
81
|
"eslint-plugin-vitest": "^0.5.4",
|
|
82
82
|
"fs-extra": "^11.2.0",
|
|
83
83
|
"globals": "^15.3.0",
|
|
84
|
-
"prettier": "^3.
|
|
84
|
+
"prettier": "^3.3.0",
|
|
85
85
|
"readme-package-icons": "^1.1.14",
|
|
86
86
|
"ts-node": "^10.9.2",
|
|
87
87
|
"tsx": "^4.11.0",
|
|
88
88
|
"typescript": "^5.4.5",
|
|
89
|
-
"typescript-eslint": "^7.
|
|
89
|
+
"typescript-eslint": "^7.11.0",
|
|
90
90
|
"vitest": "^1.6.0",
|
|
91
91
|
"vitest-mock-extended": "^1.3.1"
|
|
92
92
|
}
|
package/package.json.bak
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"repository": "https://github.com/jpb06/effect-errors.git",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"main": "./cjs/index.js",
|
|
5
|
+
"module": "./esm/index.js",
|
|
6
|
+
"types": "./dts/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"import": {
|
|
10
|
+
"types": "./dts/index.d.ts",
|
|
11
|
+
"default": "./esm/index.js"
|
|
12
|
+
},
|
|
13
|
+
"require": "./cjs/index.js"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"name": "effect-errors",
|
|
17
|
+
"version": "1.4.7",
|
|
18
|
+
"author": "jpb06 <jp.bois.06@outlook.fr>",
|
|
19
|
+
"description": "A POC for errors reporting in Effect",
|
|
20
|
+
"keywords": [
|
|
21
|
+
"effect"
|
|
22
|
+
],
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": "20.x"
|
|
26
|
+
},
|
|
27
|
+
"scripts": {
|
|
28
|
+
"update-deps": "bunx npm-check-updates --root --format group -i",
|
|
29
|
+
"copy-package": "copyfiles package.json ./dist/",
|
|
30
|
+
"remove-type-module-from-package": "sed -i.bak '/\"type\": \"module\"/d' ./dist/package.json",
|
|
31
|
+
"copy-readme": "copyfiles README.md ./dist/",
|
|
32
|
+
"build": "del-cli ./dist && bun build-esm && bun build-cjs && bun build-annotate",
|
|
33
|
+
"build-esm": "tsc -b tsconfig-prod.json",
|
|
34
|
+
"build-cjs": "babel dist/esm --plugins @babel/transform-export-namespace-from --plugins @babel/transform-modules-commonjs --out-dir dist/cjs --source-maps",
|
|
35
|
+
"build-annotate": "babel dist --plugins annotate-pure-calls --out-dir dist --source-maps",
|
|
36
|
+
"postbuild": "bun run copy-package && bun run copy-readme && bun run remove-type-module-from-package",
|
|
37
|
+
"lint": "eslint ./src",
|
|
38
|
+
"type-check": "tsc --noEmit",
|
|
39
|
+
"test": "vitest",
|
|
40
|
+
"test-ci": "vitest --coverage --run",
|
|
41
|
+
"test-dev": "vitest --coverage",
|
|
42
|
+
"test-coverage": "vitest run --coverage",
|
|
43
|
+
"sync-icons": "bun generateReadmeIcons -h 50",
|
|
44
|
+
"run-example-tsx": "tsx ./src/examples/util/run",
|
|
45
|
+
"run-example": "bun run ./src/examples/util/run",
|
|
46
|
+
"run-examples": "bun run ./src/examples/util/run-all"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@effect/schema": "^0.67.16",
|
|
50
|
+
"chalk": "<5",
|
|
51
|
+
"convert-source-map": "^2.0.0",
|
|
52
|
+
"effect": "^3.2.7",
|
|
53
|
+
"source-map": "^0.7.4"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@babel/cli": "^7.24.6",
|
|
57
|
+
"@babel/core": "^7.24.6",
|
|
58
|
+
"@babel/plugin-transform-export-namespace-from": "^7.24.6",
|
|
59
|
+
"@babel/plugin-transform-modules-commonjs": "^7.24.6",
|
|
60
|
+
"@eslint/eslintrc": "^3.1.0",
|
|
61
|
+
"@eslint/js": "^9.4.0",
|
|
62
|
+
"@stylistic/eslint-plugin": "^2.1.0",
|
|
63
|
+
"@stylistic/eslint-plugin-ts": "^2.1.0",
|
|
64
|
+
"@types/eslint": "^8.56.10",
|
|
65
|
+
"@types/fs-extra": "^11.0.4",
|
|
66
|
+
"@types/node": "^20.13.0",
|
|
67
|
+
"@typescript-eslint/eslint-plugin": "^7.11.0",
|
|
68
|
+
"@typescript-eslint/parser": "^7.11.0",
|
|
69
|
+
"@vitest/coverage-v8": "^1.6.0",
|
|
70
|
+
"babel-plugin-annotate-pure-calls": "^0.4.0",
|
|
71
|
+
"copyfiles": "^2.4.1",
|
|
72
|
+
"del-cli": "^5.1.0",
|
|
73
|
+
"eslint": "^9.4.0",
|
|
74
|
+
"eslint-config-prettier": "^9.1.0",
|
|
75
|
+
"eslint-config-standard-with-typescript": "^43.0.1",
|
|
76
|
+
"eslint-import-resolver-typescript": "^3.6.1",
|
|
77
|
+
"eslint-plugin-import": "^2.29.1",
|
|
78
|
+
"eslint-plugin-markdown": "^5.0.0",
|
|
79
|
+
"eslint-plugin-n": "^17.7.0",
|
|
80
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
81
|
+
"eslint-plugin-promise": "^6.2.0",
|
|
82
|
+
"eslint-plugin-vitest": "^0.5.4",
|
|
83
|
+
"fs-extra": "^11.2.0",
|
|
84
|
+
"globals": "^15.3.0",
|
|
85
|
+
"prettier": "^3.3.0",
|
|
86
|
+
"readme-package-icons": "^1.1.14",
|
|
87
|
+
"ts-node": "^10.9.2",
|
|
88
|
+
"tsx": "^4.11.0",
|
|
89
|
+
"typescript": "^5.4.5",
|
|
90
|
+
"typescript-eslint": "^7.11.0",
|
|
91
|
+
"vitest": "^1.6.0",
|
|
92
|
+
"vitest-mock-extended": "^1.3.1"
|
|
93
|
+
}
|
|
94
|
+
}
|