Skip to content

Commit

Permalink
Update package.jsons
Browse files Browse the repository at this point in the history
  • Loading branch information
olegnn committed Oct 9, 2024
1 parent 431e8b5 commit df3995a
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
with:
SSH: true
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: packages/credential-sdk/out # The folder the action should deploy.
FOLDER: out # The folder the action should deploy.
8 changes: 4 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: NPM Publish

#on:
# release:
# types: [published]
on: [pull_request]
on:
release:
types: [published]
# on: [pull_request]

jobs:
build:
Expand Down
9 changes: 1 addition & 8 deletions packages/cheqd-blockchain-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"url": "https://github.com/docknetwork/sdk"
},
"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
},
"devDependencies": {
"@babel/cli": "^7.24.1",
Expand Down Expand Up @@ -74,17 +74,10 @@
},
"scripts": {
"exc": "babel-node",
"staking_payouts": "babel-node scripts/staking_payouts.js",
"txn-pricing": "babel-node scripts/txn-pricing.js",
"get-did": "babel-node scripts/get_did_doc.js",
"upgrade_with_sudo": "babel-node scripts/runtime_upgrade_with_sudo.js",
"onboard_with_sudo": "babel-node scripts/onboard_validator_with_sudo.js",
"lint": "eslint \"src/**/*.js\"",
"lint-tests": "eslint \"{tests/tests/integration}/**/*.js\"",
"build": "rollup -c",
"watch": "rollup -c -w",
"docs": "rm -rf out && mkdir out && touch out/.nojekyll && jsdoc src -r -c ../../.jsdoc -d out/reference",
"mdbook": "mdbook build tutorials --dest-dir ../out/tutorials",
"type-check": "tsc --allowJs --checkJs --noEmit --moduleResolution node --resolveJsonModule --target ES6 --skipLibCheck true --allowSyntheticDefaultImports true"
},
"resolutions": {
Expand Down
10 changes: 9 additions & 1 deletion packages/cheqd-blockchain-modules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@docknetwork/cheqd-blockchain-modules",
"version": "0.1.0",
"type": "module",
"license": "MIT",
"main": "./dist/esm/index.js",
"files": [
"dist",
Expand All @@ -19,6 +20,13 @@
"default": "./dist/esm/*"
}
},
"repository": {
"type": "git",
"url": "https://github.com/docknetwork/sdk"
},
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@docknetwork/credential-sdk": "0.1.0"
},
Expand Down Expand Up @@ -61,7 +69,7 @@
"build": "rollup -c",
"lint": "eslint \"src/**/*.js\"",
"docs": "rm -rf out && mkdir out && touch out/.nojekyll && jsdoc src -r -c ../../.jsdoc -d out/reference",
"dev-node": "../../scripts/run_dock_node_in_docker --dev --rpc-external --ws-external --rpc-cors=all",
"dev-node": "CHEQD_MNEMONIC=$CHEQD_MNEMONIC ../../scripts/run_cheqd_node_in_docker --dev --rpc-external --ws-external --rpc-cors=all",
"test": "NODE_ENV=production jest --verbose --runInBand --forceExit ./tests/*",
"test-with-node": "CHEQD_MNEMONIC=$CHEQD_MNEMONIC ../../scripts/with_cheqd_docker_test_node yarn test",
"prepublishOnly": "yarn build"
Expand Down
9 changes: 8 additions & 1 deletion packages/credential-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@docknetwork/credential-sdk",
"version": "0.1.0",
"license": "MIT",
"type": "module",
"files": [
"dist"
Expand All @@ -17,6 +18,13 @@
"default": "./dist/esm/*"
}
},
"repository": {
"type": "git",
"url": "https://github.com/docknetwork/sdk"
},
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@comunica/actor-init-sparql-rdfjs": "^1.22.3",
"@digitalcredentials/vc-status-list": "^8.0.0",
Expand Down Expand Up @@ -88,7 +96,6 @@
"test-with-node": "../../scripts/with_dock_docker_test_node yarn test",
"test-with-all-nodes": "../../scripts/with_all_dock_docker_test_nodes yarn test-integration",
"lint": "eslint \"src/**/*.js\"",
"lint-examples": "eslint \"{src,example}/**/*.js\"",
"lint-scripts": "eslint \"scripts/**/*.js\"",
"lint-tests": "eslint \"{tests/unit,tests/integration}/**/*.js\"",
"docs": "rm -rf out && mkdir out && touch out/.nojekyll && jsdoc src -r -c ../../.jsdoc -d out/reference",
Expand Down
7 changes: 0 additions & 7 deletions packages/dock-blockchain-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,11 @@
},
"scripts": {
"exc": "babel-node",
"staking_payouts": "babel-node scripts/staking_payouts.js",
"txn-pricing": "babel-node scripts/txn-pricing.js",
"get-did": "babel-node scripts/get_did_doc.js",
"upgrade_with_sudo": "babel-node scripts/runtime_upgrade_with_sudo.js",
"onboard_with_sudo": "babel-node scripts/onboard_validator_with_sudo.js",
"lint": "eslint \"src/**/*.js\"",
"lint-tests": "eslint \"{tests/tests/integration}/**/*.js\"",
"build": "rollup -c",
"watch": "rollup -c -w",
"prepublishOnly": "yarn build",
"docs": "rm -rf out && mkdir out && touch out/.nojekyll && jsdoc src -r -c ../../.jsdoc -d out/reference",
"mdbook": "mdbook build tutorials --dest-dir ../out/tutorials",
"type-check": "tsc --allowJs --checkJs --noEmit --moduleResolution node --resolveJsonModule --target ES6 --skipLibCheck true --allowSyntheticDefaultImports true"
},
"resolutions": {
Expand Down
8 changes: 8 additions & 0 deletions packages/dock-blockchain-modules/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@docknetwork/dock-blockchain-modules",
"version": "0.1.0",
"license": "MIT",
"type": "module",
"main": "./dist/esm/index.js",
"files": [
Expand All @@ -19,6 +20,13 @@
"default": "./dist/esm/*"
}
},
"repository": {
"type": "git",
"url": "https://github.com/docknetwork/sdk"
},
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@docknetwork/credential-sdk": "0.1.0"
},
Expand Down

0 comments on commit df3995a

Please sign in to comment.