Skip to content

Commit

Permalink
install Iroh and configure
Browse files Browse the repository at this point in the history
  • Loading branch information
Driftedboat committed Oct 23, 2024
1 parent e1fd539 commit fa64bd6
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 56 deletions.
1 change: 1 addition & 0 deletions install/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"scripts": {
"start": "node loader.js",
"lint": "eslint --cache ./nodebb .",
"analyze:iroh": "iroh analyze --config ./iroh.config.js",
"test": "nyc --reporter=html --reporter=text-summary mocha",
"coverage": "nyc report --reporter=text-lcov > ./coverage/lcov.info",
"coveralls": "nyc report --reporter=text-lcov | coveralls && rm -r coverage"
Expand Down
16 changes: 16 additions & 0 deletions iroh.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
console.log("Starting Iroh Analysis...");

Check failure on line 1 in iroh.config.js

View workflow job for this annotation

GitHub Actions / test

Use the global form of 'use strict'

Check failure on line 1 in iroh.config.js

View workflow job for this annotation

GitHub Actions / test

Strings must use singlequote

module.exports = {
entry: 'app.js',

Check failure on line 4 in iroh.config.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 1 tab but found 4 spaces
output: './iroh-output',

Check failure on line 5 in iroh.config.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 1 tab but found 4 spaces
analyze: {

Check failure on line 6 in iroh.config.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 1 tab but found 4 spaces
calls: true,

Check failure on line 7 in iroh.config.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 2 tabs but found 6 spaces
variables: true,

Check failure on line 8 in iroh.config.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 2 tabs but found 6 spaces
ifStatements: true,

Check failure on line 9 in iroh.config.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 2 tabs but found 6 spaces
},

Check failure on line 10 in iroh.config.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 1 tab but found 4 spaces
include: ['./src/**/*.js'],

Check failure on line 11 in iroh.config.js

View workflow job for this annotation

GitHub Actions / test

Expected indentation of 1 tab but found 4 spaces
exclude: ['./node_modules'],
verbose: true
};

console.log("Iroh Configuration Loaded");
67 changes: 21 additions & 46 deletions node_modules/nodebb-plugin-composer-default/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fa64bd6

Please sign in to comment.