Skip to content

Commit

Permalink
Formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
umgefahren committed Nov 5, 2024
1 parent 0062238 commit 31d055c
Show file tree
Hide file tree
Showing 15 changed files with 4,093 additions and 3,021 deletions.
6 changes: 0 additions & 6 deletions .prettierrc

This file was deleted.

14 changes: 14 additions & 0 deletions .prettierrc.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// prettier.config.js, .prettierrc.js, prettier.config.mjs, or .prettierrc.mjs

/**
* @see https://prettier.io/docs/en/configuration.html
* @type {import("prettier").Config}
*/
const config = {
trailingComma: 'es5',
tabWidth: 4,
semi: false,
singleQuote: true,
}

export default config
90 changes: 46 additions & 44 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,47 @@
{
"name": "libp2p-on-edge",
"version": "0.0.0",
"private": true,
"scripts": {
"deploy": "wrangler deploy",
"dev": "wrangler dev",
"start": "wrangler dev",
"test": "vitest",
"cf-typegen": "wrangler types"
},
"devDependencies": {
"@cloudflare/vitest-pool-workers": "^0.5.2",
"@cloudflare/workers-types": "^4.20241022.0",
"typescript": "^5.5.2",
"vitest": "2.0.5",
"wrangler": "^3.60.3"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^16.0.0",
"@chainsafe/libp2p-yamux": "^7.0.1",
"@libp2p/bootstrap": "^11.0.10",
"@libp2p/crypto": "^5.0.6",
"@libp2p/identify": "^3.0.10",
"@libp2p/interface": "^2.2.0",
"@libp2p/kad-dht": "^14.1.0",
"@libp2p/peer-id": "^5.0.7",
"@libp2p/peer-store": "^11.0.10",
"@libp2p/ping": "^2.0.10",
"@libp2p/utils": "^6.1.3",
"@libp2p/websockets": "^9.0.11",
"@multiformats/multiaddr": "^12.3.1",
"@multiformats/multiaddr-matcher": "^1.4.0",
"@multiformats/multiaddr-to-uri": "^10.1.2",
"datastore-core": "^10.0.2",
"interface-datastore": "^8.3.1",
"interface-store": "^6.0.2",
"it-stream-types": "^2.0.2",
"itty-router": "^5.0.18",
"libp2p": "^2.2.1",
"progress-events": "^1.0.1",
"race-signal": "^1.1.0",
"wherearewe": "^2.0.1"
}
}
"name": "libp2p-on-edge",
"version": "0.0.0",
"private": true,
"scripts": {
"deploy": "wrangler deploy",
"dev": "wrangler dev",
"start": "wrangler dev",
"test": "vitest",
"cf-typegen": "wrangler types",
"format": "prettier --write ."
},
"devDependencies": {
"@cloudflare/vitest-pool-workers": "^0.5.2",
"@cloudflare/workers-types": "^4.20241022.0",
"prettier": "3.3.3",
"typescript": "^5.5.2",
"vitest": "2.0.5",
"wrangler": "^3.60.3"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^16.0.0",
"@chainsafe/libp2p-yamux": "^7.0.1",
"@libp2p/bootstrap": "^11.0.10",
"@libp2p/crypto": "^5.0.6",
"@libp2p/identify": "^3.0.10",
"@libp2p/interface": "^2.2.0",
"@libp2p/kad-dht": "^14.1.0",
"@libp2p/peer-id": "^5.0.7",
"@libp2p/peer-store": "^11.0.10",
"@libp2p/ping": "^2.0.10",
"@libp2p/utils": "^6.1.3",
"@libp2p/websockets": "^9.0.11",
"@multiformats/multiaddr": "^12.3.1",
"@multiformats/multiaddr-matcher": "^1.4.0",
"@multiformats/multiaddr-to-uri": "^10.1.2",
"datastore-core": "^10.0.2",
"interface-datastore": "^8.3.1",
"interface-store": "^6.0.2",
"it-stream-types": "^2.0.2",
"itty-router": "^5.0.18",
"libp2p": "^2.2.1",
"progress-events": "^1.0.1",
"race-signal": "^1.1.0",
"wherearewe": "^2.0.1"
}
}
Loading

0 comments on commit 31d055c

Please sign in to comment.