Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
@abtnode/blocklet-services
Advanced tools
Aggregator to mount all blocklet services and make them work together.
yarn add @abtnode/blocklet-service
Then:
const createServer = require('@abtnode/service-server');
const ABTNode = require('@abtnode/core');
const node = ABTNode({ ...nodeOptions });
const server = createServer(node, { ...globalOptions });
node.onReady(() => {
server.listen(5000, () => {
console.log('ABT Node Service server ready on port 5000');
});
});
dataDir
, the loader and each service can have their own options, and the loader options are merged into service optionsPORT=3040
SKIP_PREFLIGHT_CHECK=true
# server only
ABT_NODE_SESSION_TTL="1d"
ABT_NODE_MODE="production"
ABT_NODE_SERVICE_PORT="3041"
# this should point to the data directory of node
ABT_NODE_DATA_DIR="/Users/wangshijun/Develop/arcblock/abt-node/.abtnode"
# both server and client
ABT_NODE_ROUTER_PROVIDER="nginx"
ABT_NODE_ADMIN_PATH="/admin"
ABT_NODE_NAME="ABT Node (Dev.Shijun)"
ABT_NODE_DESCRIPTION="Web Interface to manage your ABT Node"
ABT_NODE_DID="zNKaT2cjMMW4Js3hnBWUKPcdboQqrPUTWRat"
ABT_NODE_SERVICE_URL="http://192.168.199.142:3041"
# This should be updated to use a running blocklet in your node
TEST_BLOCKLET_DID="z8ia4e5vAeDsQEE2P26bQqz9oWR1Lxg9qUMaV"
TEST_BLOCKLET_URL="http://127.0.0.1:8090"
You need 2 terminal windows to start the client and server separately:
cd services/login
DEBUG=@abtnode/*,@arcblock/* npm run start:daemon
DEBUG=@abtnode/* npm run start:client
Now, you are ready to hacking the login service.
dependencies
devDependencies
FAQs
Provide unified services for every blocklet
The npm package @abtnode/blocklet-services receives a total of 711 weekly downloads. As such, @abtnode/blocklet-services popularity was classified as not popular.
We found that @abtnode/blocklet-services demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.