From a869cb7cab9c7e0b823f95ddc181e4a4cda82c4d Mon Sep 17 00:00:00 2001 From: julienmalard Date: Mon, 15 Jul 2024 15:19:51 +0200 Subject: [PATCH] Formatting --- package.json | 2 +- src/version.ts | 2 +- test/config.ts | 2 +- tsconfig.json | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 5226946..03030ae 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "test": "pnpm test:node && pnpm test:browser", "test:node": "pnpm compile && pnpm aegir test -t node --cov -- --exit", "test:browser": "pnpm compile && pnpm aegir test -t browser --cov -- --exit", - "format": "pnpm prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\" && pnpm eslint --ext .js,.ts src", + "format": "pnpm prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\" && pnpm eslint", "release": "pnpm test && pnpm compile:prod && (git commit -a -m 'version' || true) && pnpm publish", "updateVersion": "pnpm genversion --es6 --semi src/version.ts" }, diff --git a/src/version.ts b/src/version.ts index 4c5cb31..9425e52 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1,2 +1,2 @@ // Generated by genversion. -export const version = "1.0.0"; +export const version = "1.0.1"; diff --git a/test/config.ts b/test/config.ts index c2cb140..84b55ba 100644 --- a/test/config.ts +++ b/test/config.ts @@ -86,5 +86,5 @@ export const createTestHelia = async ({ blockBrokers: [bitswap()], }; - return await createHelia({ ...heliaOptions }) as unknown as HeliaLibp2p; + return (await createHelia({ ...heliaOptions })) as unknown as HeliaLibp2p; }; diff --git a/tsconfig.json b/tsconfig.json index c2eb235..0aa6c46 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,7 +15,7 @@ "noUnusedLocals": false, "noUnusedParameters": false, "paths": { - "@/*": ["src/*"], + "@/*": ["src/*"] }, "outDir": "./dist", "sourceMap": true, @@ -30,8 +30,8 @@ "plugins": [ { "transform": "typescript-transform-paths" }, - { "transform": "typescript-transform-paths", "afterDeclarations": true }, - ], + { "transform": "typescript-transform-paths", "afterDeclarations": true } + ] }, - "include": ["src", "@types", "test"], + "include": ["src", "@types", "test"] }