Skip to content

Commit

Permalink
Merge pull request #9 from inaiat/fix/replace_reduce_plus_spread_oper…
Browse files Browse the repository at this point in the history
…ator_with_performant_variant

fix: replace reduce + spread operator with performant variant
  • Loading branch information
inaiat authored Jun 26, 2024
2 parents ccf540a + a95816a commit c8c96d4
Show file tree
Hide file tree
Showing 5 changed files with 194 additions and 189 deletions.
2 changes: 1 addition & 1 deletion BUILD_SHA
Original file line number Diff line number Diff line change
@@ -1 +1 @@
05e544d9f7557435922ee406d0e6b43b252b7c31
ccf540ad8d625dbc0db78e03ed51278113d8c446
3 changes: 2 additions & 1 deletion dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"quoteStyle": "preferSingle",
"semiColons": "asi",
"binaryExpression.operatorPosition": "sameLine",
"newLineKind": "auto"
"newLineKind": "auto",
"arguments.preferHanging": "always"
},
"json": {},
"markdown": {},
Expand Down
32 changes: 11 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "resultar",
"version": "1.1.4",
"version": "1.1.5",
"description": "Result pattern for typescript",
"type": "module",
"packageManager": "[email protected]",
Expand All @@ -16,9 +16,7 @@
"node": ">=20"
},
"outDir": "./dist",
"files": [
"dist"
],
"files": ["dist"],
"scripts": {
"build": "tsup && git rev-parse HEAD > BUILD_SHA",
"format": "dprint fmt",
Expand All @@ -33,9 +31,7 @@
"type": "git",
"url": "git+https://github.com/inaiat/resultar.git"
},
"keywords": [
"plugin"
],
"keywords": ["plugin"],
"contributors": [
"Inaiat <[email protected]>",
"Tomaz Haidar <[email protected]>"
Expand All @@ -52,8 +48,7 @@
},
"homepage": "https://github.com/inaiat/resultar",
"devDependencies": {
"@sinclair/typebox": "^0.32.33",
"@types/node": "^20.14.5",
"@types/node": "^20.14.9",
"dprint": "^0.46.3",
"eslint": "^9.5.0",
"eslint-plugin-import": "^2.29.1",
Expand All @@ -64,26 +59,21 @@
"semver": "^7.6.2",
"testdouble": "^3.20.2",
"tsup": "^8.1.0",
"tsx": "^4.15.6",
"typedoc": "^0.25.13",
"tsx": "^4.15.7",
"typedoc": "^0.26.2",
"typedoc-github-wiki-theme": "2.0.0",
"typedoc-plugin-markdown": "4.0.3",
"typescript": "5.4.5",
"typescript-eslint": "^7.13.1"
"typedoc-plugin-markdown": "4.1.0",
"typescript": "5.5.2",
"typescript-eslint": "^7.14.1"
},
"tsup": {
"sourcemap": true,
"dts": true,
"clean": true,
"bundle": true,
"target": "node18",
"format": [
"esm",
"cjs"
],
"entry": [
"src/**/*.ts"
]
"format": ["esm", "cjs"],
"entry": ["src/**/*.ts"]
},
"directories": {
"test": "test"
Expand Down
Loading

0 comments on commit c8c96d4

Please sign in to comment.