mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-05-13 20:16:45 +08:00
fix: mobx breakage by locking package dependencies (#1206)
This commit is contained in:
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
@@ -40,7 +40,7 @@ jobs:
|
||||
${{ runner.os }}-
|
||||
|
||||
- name: Install deps
|
||||
run: npm install --audit=false
|
||||
run: npm ci --audit=false
|
||||
|
||||
- name: Lint ESLint
|
||||
run: npm run lint:eslint
|
||||
@@ -81,7 +81,7 @@ jobs:
|
||||
${{ runner.os }}-
|
||||
|
||||
- name: Install deps
|
||||
run: npm install --audit=false
|
||||
run: npm ci --audit=false
|
||||
|
||||
- name: Build schema & docs
|
||||
run: npm run build
|
||||
@@ -126,15 +126,15 @@ jobs:
|
||||
${{ runner.os }}-
|
||||
|
||||
- name: Install deps
|
||||
run: npm install --audit=false
|
||||
run: npm ci --audit=false
|
||||
|
||||
- name: Install client deps
|
||||
working-directory: client
|
||||
run: npm install --audit=false
|
||||
run: npm ci --audit=false
|
||||
|
||||
- name: Install docs deps
|
||||
working-directory: docs
|
||||
run: npm install --audit=false
|
||||
run: npm ci --audit=false
|
||||
|
||||
- name: Setup env vars
|
||||
run: echo "STACKS_CORE_EVENT_HOST=http://0.0.0.0" >> $GITHUB_ENV
|
||||
@@ -193,7 +193,7 @@ jobs:
|
||||
${{ runner.os }}-
|
||||
|
||||
- name: Install deps
|
||||
run: npm install --audit=false
|
||||
run: npm ci --audit=false
|
||||
|
||||
- name: Setup env vars
|
||||
run: echo "STACKS_CORE_EVENT_HOST=http://0.0.0.0" >> $GITHUB_ENV
|
||||
@@ -252,7 +252,7 @@ jobs:
|
||||
${{ runner.os }}-
|
||||
|
||||
- name: Install deps
|
||||
run: npm install --audit=false
|
||||
run: npm ci --audit=false
|
||||
|
||||
- name: Setup env vars
|
||||
run: echo "STACKS_CORE_EVENT_HOST=http://0.0.0.0" >> $GITHUB_ENV
|
||||
@@ -311,7 +311,7 @@ jobs:
|
||||
${{ runner.os }}-
|
||||
|
||||
- name: Install deps
|
||||
run: npm install --audit=false
|
||||
run: npm ci --audit=false
|
||||
|
||||
- name: Setup env vars
|
||||
run: echo "STACKS_CORE_EVENT_HOST=http://0.0.0.0">> $GITHUB_ENV
|
||||
@@ -378,7 +378,7 @@ jobs:
|
||||
${{ runner.os }}-
|
||||
|
||||
- name: Install deps
|
||||
run: npm install --audit=false
|
||||
run: npm ci --audit=false
|
||||
|
||||
- name: Setup env vars
|
||||
run: echo "STACKS_CORE_EVENT_HOST=http://0.0.0.0">> $GITHUB_ENV
|
||||
@@ -431,7 +431,7 @@ jobs:
|
||||
node-version-file: '.nvmrc'
|
||||
|
||||
- name: Install deps
|
||||
run: npm install
|
||||
run: npm ci
|
||||
|
||||
- name: Setup env vars
|
||||
run: echo "STACKS_CORE_EVENT_HOST=http://0.0.0.0" >> $GITHUB_ENV
|
||||
|
||||
@@ -9,7 +9,7 @@ ports:
|
||||
onOpen: ignore
|
||||
|
||||
tasks:
|
||||
- init: npm install
|
||||
- init: npm ci
|
||||
command: npm run dev
|
||||
- openMode: split-right
|
||||
command: stacks-node start --config=stacks-blockchain/Stacks-dev.toml
|
||||
|
||||
@@ -5,7 +5,7 @@ COPY . .
|
||||
|
||||
RUN apk add --no-cache --virtual .build-deps alpine-sdk python3 git openjdk8-jre cmake
|
||||
RUN echo "GIT_TAG=$(git tag --points-at HEAD)" >> .env
|
||||
RUN npm config set unsafe-perm true && npm install && npm run build && npm run build:docs && npm prune --production
|
||||
RUN npm config set unsafe-perm true && npm ci && npm run build && npm run build:docs && npm prune --production
|
||||
RUN apk del .build-deps
|
||||
|
||||
CMD ["node", "./lib/index.js"]
|
||||
|
||||
46
client/package-lock.json
generated
46
client/package-lock.json
generated
@@ -10,32 +10,32 @@
|
||||
"license": "GPL-3.0",
|
||||
"dependencies": {
|
||||
"@stacks/stacks-blockchain-api-types": "*",
|
||||
"@types/ws": "^7.4.0",
|
||||
"cross-fetch": "^3.0.6",
|
||||
"eventemitter3": "^4.0.4",
|
||||
"jsonrpc-lite": "^2.2.0",
|
||||
"socket.io-client": "^4.0.1",
|
||||
"ws": "^7.4.0"
|
||||
"@types/ws": "7.4.7",
|
||||
"cross-fetch": "3.1.4",
|
||||
"eventemitter3": "4.0.7",
|
||||
"jsonrpc-lite": "2.2.0",
|
||||
"socket.io-client": "4.4.0",
|
||||
"ws": "7.5.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@apidevtools/swagger-cli": "^4.0.4",
|
||||
"@openapitools/openapi-generator-cli": "^2.4.12",
|
||||
"@stacks/eslint-config": "^1.0.7",
|
||||
"@apidevtools/swagger-cli": "4.0.4",
|
||||
"@openapitools/openapi-generator-cli": "2.4.21",
|
||||
"@stacks/eslint-config": "1.2.0",
|
||||
"@stacks/prettier-config": "0.0.7",
|
||||
"@typescript-eslint/eslint-plugin": "^4.22.0",
|
||||
"@typescript-eslint/parser": "^4.22.0",
|
||||
"concurrently": "^6.0.2",
|
||||
"eslint": "^7.25.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-prettier": "^3.4.0",
|
||||
"http-server": "^14.0.0",
|
||||
"microbundle": "^0.13.0",
|
||||
"prettier": "^2.2.1",
|
||||
"rimraf": "^3.0.2",
|
||||
"shx": "^0.3.2",
|
||||
"ts-node": "^9.1.1",
|
||||
"typedoc": "^0.20.36",
|
||||
"typescript": "^4.2.4"
|
||||
"@typescript-eslint/eslint-plugin": "4.33.0",
|
||||
"@typescript-eslint/parser": "4.33.0",
|
||||
"concurrently": "6.5.1",
|
||||
"eslint": "7.32.0",
|
||||
"eslint-config-prettier": "8.3.0",
|
||||
"eslint-plugin-prettier": "3.4.1",
|
||||
"http-server": "14.0.0",
|
||||
"microbundle": "0.13.3",
|
||||
"prettier": "2.5.1",
|
||||
"rimraf": "3.0.2",
|
||||
"shx": "0.3.3",
|
||||
"ts-node": "9.1.1",
|
||||
"typedoc": "0.20.37",
|
||||
"typescript": "4.2.4"
|
||||
}
|
||||
},
|
||||
"node_modules/@apidevtools/json-schema-ref-parser": {
|
||||
|
||||
@@ -39,31 +39,31 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"@stacks/stacks-blockchain-api-types": "*",
|
||||
"@types/ws": "^7.4.0",
|
||||
"cross-fetch": "^3.0.6",
|
||||
"eventemitter3": "^4.0.4",
|
||||
"jsonrpc-lite": "^2.2.0",
|
||||
"socket.io-client": "^4.0.1",
|
||||
"ws": "^7.4.0"
|
||||
"@types/ws": "7.4.7",
|
||||
"cross-fetch": "3.1.4",
|
||||
"eventemitter3": "4.0.7",
|
||||
"jsonrpc-lite": "2.2.0",
|
||||
"socket.io-client": "4.4.0",
|
||||
"ws": "7.5.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@apidevtools/swagger-cli": "^4.0.4",
|
||||
"@openapitools/openapi-generator-cli": "^2.4.12",
|
||||
"@stacks/eslint-config": "^1.0.7",
|
||||
"@apidevtools/swagger-cli": "4.0.4",
|
||||
"@openapitools/openapi-generator-cli": "2.4.21",
|
||||
"@stacks/eslint-config": "1.2.0",
|
||||
"@stacks/prettier-config": "0.0.7",
|
||||
"@typescript-eslint/eslint-plugin": "^4.22.0",
|
||||
"@typescript-eslint/parser": "^4.22.0",
|
||||
"concurrently": "^6.0.2",
|
||||
"eslint": "^7.25.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-plugin-prettier": "^3.4.0",
|
||||
"http-server": "^14.0.0",
|
||||
"microbundle": "^0.13.0",
|
||||
"prettier": "^2.2.1",
|
||||
"rimraf": "^3.0.2",
|
||||
"shx": "^0.3.2",
|
||||
"ts-node": "^9.1.1",
|
||||
"typedoc": "^0.20.36",
|
||||
"typescript": "^4.2.4"
|
||||
"@typescript-eslint/eslint-plugin": "4.33.0",
|
||||
"@typescript-eslint/parser": "4.33.0",
|
||||
"concurrently": "6.5.1",
|
||||
"eslint": "7.32.0",
|
||||
"eslint-config-prettier": "8.3.0",
|
||||
"eslint-plugin-prettier": "3.4.1",
|
||||
"http-server": "14.0.0",
|
||||
"microbundle": "0.13.3",
|
||||
"prettier": "2.5.1",
|
||||
"rimraf": "3.0.2",
|
||||
"shx": "0.3.3",
|
||||
"ts-node": "9.1.1",
|
||||
"typedoc": "0.20.37",
|
||||
"typescript": "4.2.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ RUN apt-get update -y \
|
||||
&& git clone -b ${STACKS_API_VERSION} --depth 1 https://github.com/${STACKS_API_REPO} . \
|
||||
&& echo "GIT_TAG=$(git tag --points-at HEAD)" >> .env \
|
||||
&& npm config set unsafe-perm true \
|
||||
&& npm install \
|
||||
&& npm ci \
|
||||
&& npm run build \
|
||||
&& npm prune --production
|
||||
|
||||
|
||||
18841
docs/package-lock.json
generated
18841
docs/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -35,27 +35,27 @@
|
||||
"entities/**/*"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@apidevtools/json-schema-ref-parser": "^9.0.7",
|
||||
"@types/json-schema-merge-allof": "^0.6.0",
|
||||
"ajv": "^6.12.2",
|
||||
"chalk": "^4.0.0",
|
||||
"del": "^5.1.0",
|
||||
"glob": "^7.1.6",
|
||||
"gulp": "^4.0.2",
|
||||
"gulp-gh-pages": "^0.6.0-6",
|
||||
"@apidevtools/json-schema-ref-parser": "9.0.7",
|
||||
"@types/json-schema-merge-allof": "0.6.0",
|
||||
"ajv": "6.12.6",
|
||||
"chalk": "4.1.1",
|
||||
"del": "5.1.0",
|
||||
"glob": "7.1.6",
|
||||
"gulp": "4.0.2",
|
||||
"gulp-gh-pages": "0.6.0-6",
|
||||
"gulp-jsonschema-deref": "0.0.3",
|
||||
"ibm-openapi-validator": "^0.27.1",
|
||||
"json-schema": "^0.2.5",
|
||||
"json-schema-merge-allof": "^0.7.0",
|
||||
"json-schema-to-typescript": "^10.1.4",
|
||||
"jsonlint-cli": "^1.0.1",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"openapi-to-postmanv2": "^2.13.0",
|
||||
"redoc-cli": "^0.9.8",
|
||||
"shx": "^0.3.3",
|
||||
"speccy": "^0.11.0",
|
||||
"ts-node": "^9.1.1",
|
||||
"typescript": "^4.2.4",
|
||||
"yaml-lint": "^1.2.4"
|
||||
"ibm-openapi-validator": "0.27.1",
|
||||
"json-schema": "0.2.5",
|
||||
"json-schema-merge-allof": "0.7.0",
|
||||
"json-schema-to-typescript": "10.1.4",
|
||||
"jsonlint-cli": "1.0.1",
|
||||
"npm-run-all": "4.1.5",
|
||||
"openapi-to-postmanv2": "2.13.0",
|
||||
"redoc-cli": "0.13.16",
|
||||
"shx": "0.3.3",
|
||||
"speccy": "0.11.0",
|
||||
"ts-node": "9.1.1",
|
||||
"typescript": "4.2.4",
|
||||
"yaml-lint": "1.2.4"
|
||||
}
|
||||
}
|
||||
|
||||
45
package-lock.json
generated
45
package-lock.json
generated
@@ -49,7 +49,7 @@
|
||||
"pg": "8.7.1",
|
||||
"pg-copy-streams": "5.1.1",
|
||||
"pg-cursor": "2.7.1",
|
||||
"postgres": "github:porsager/postgres#master",
|
||||
"postgres": "3.2.4",
|
||||
"prom-client": "14.0.1",
|
||||
"rpc-bitcoin": "2.0.0",
|
||||
"socket.io": "4.4.0",
|
||||
@@ -1536,6 +1536,22 @@
|
||||
"@octokit/types": "^6.0.3"
|
||||
}
|
||||
},
|
||||
"node_modules/@octokit/core": {
|
||||
"version": "3.6.0",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.6.0.tgz",
|
||||
"integrity": "sha512-7RKRKuA4xTjMhY+eG3jthb3hlZCsOwg3rztWh75Xc+ShDWOfDDATWbeZpAHBNRpm4Tv9WgBMOy1zEJYXG6NJ7Q==",
|
||||
"dev": true,
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@octokit/auth-token": "^2.4.4",
|
||||
"@octokit/graphql": "^4.5.8",
|
||||
"@octokit/request": "^5.6.3",
|
||||
"@octokit/request-error": "^2.0.5",
|
||||
"@octokit/types": "^6.0.3",
|
||||
"before-after-hook": "^2.2.0",
|
||||
"universal-user-agent": "^6.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@octokit/endpoint": {
|
||||
"version": "6.0.12",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz",
|
||||
@@ -9870,9 +9886,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/postgres": {
|
||||
"version": "3.1.0",
|
||||
"resolved": "git+ssh://git@github.com/porsager/postgres.git#28512bf22a3e8372f013553ddbed2d13fbd08ff9",
|
||||
"license": "Unlicense",
|
||||
"version": "3.2.4",
|
||||
"resolved": "https://registry.npmjs.org/postgres/-/postgres-3.2.4.tgz",
|
||||
"integrity": "sha512-iscysD+ZlM4A9zj0RS2zo3f4Us4yuov94Yx+p3dE1rEARaBHC8R3/gRq40KEnWp1lxjuFq9EjuAenIUsPaTaDA==",
|
||||
"funding": {
|
||||
"type": "individual",
|
||||
"url": "https://github.com/sponsors/porsager"
|
||||
@@ -13888,6 +13904,22 @@
|
||||
"@octokit/types": "^6.0.3"
|
||||
}
|
||||
},
|
||||
"@octokit/core": {
|
||||
"version": "3.6.0",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/core/-/core-3.6.0.tgz",
|
||||
"integrity": "sha512-7RKRKuA4xTjMhY+eG3jthb3hlZCsOwg3rztWh75Xc+ShDWOfDDATWbeZpAHBNRpm4Tv9WgBMOy1zEJYXG6NJ7Q==",
|
||||
"dev": true,
|
||||
"peer": true,
|
||||
"requires": {
|
||||
"@octokit/auth-token": "^2.4.4",
|
||||
"@octokit/graphql": "^4.5.8",
|
||||
"@octokit/request": "^5.6.3",
|
||||
"@octokit/request-error": "^2.0.5",
|
||||
"@octokit/types": "^6.0.3",
|
||||
"before-after-hook": "^2.2.0",
|
||||
"universal-user-agent": "^6.0.0"
|
||||
}
|
||||
},
|
||||
"@octokit/endpoint": {
|
||||
"version": "6.0.12",
|
||||
"resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.12.tgz",
|
||||
@@ -20325,8 +20357,9 @@
|
||||
}
|
||||
},
|
||||
"postgres": {
|
||||
"version": "git+ssh://git@github.com/porsager/postgres.git#28512bf22a3e8372f013553ddbed2d13fbd08ff9",
|
||||
"from": "postgres@github:porsager/postgres#master"
|
||||
"version": "3.2.4",
|
||||
"resolved": "https://registry.npmjs.org/postgres/-/postgres-3.2.4.tgz",
|
||||
"integrity": "sha512-iscysD+ZlM4A9zj0RS2zo3f4Us4yuov94Yx+p3dE1rEARaBHC8R3/gRq40KEnWp1lxjuFq9EjuAenIUsPaTaDA=="
|
||||
},
|
||||
"postgres-array": {
|
||||
"version": "2.0.0",
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"generate:git-info": "node ./git-info-generator.mjs",
|
||||
"build": "npm run generate:git-info && rimraf ./lib && tsc -p tsconfig.build.json",
|
||||
"build:tests": "tsc -p tsconfig.json",
|
||||
"build:docs": "npm i --prefix docs && npm run build --prefix docs && npm i --prefix client && npm run generate:docs --prefix client",
|
||||
"build:docs": "npm ci --prefix docs && npm run build --prefix docs && npm ci --prefix client && npm run generate:docs --prefix client",
|
||||
"start": "node ./lib/index.js",
|
||||
"lint": "npm run lint:eslint && npm run lint:prettier",
|
||||
"lint:unused-exports": "ts-unused-exports tsconfig.json --ignoreFiles=src/migrations/*",
|
||||
@@ -62,7 +62,7 @@
|
||||
"@semantic-release/exec",
|
||||
{
|
||||
"execCwd": "client",
|
||||
"prepareCmd": "npm install"
|
||||
"prepareCmd": "npm ci"
|
||||
}
|
||||
],
|
||||
[
|
||||
@@ -133,7 +133,7 @@
|
||||
"pg": "8.7.1",
|
||||
"pg-copy-streams": "5.1.1",
|
||||
"pg-cursor": "2.7.1",
|
||||
"postgres": "github:porsager/postgres#master",
|
||||
"postgres": "3.2.4",
|
||||
"prom-client": "14.0.1",
|
||||
"rpc-bitcoin": "2.0.0",
|
||||
"socket.io": "4.4.0",
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"description": "Utility script to build and upload the Stacks Blockchain core node from source.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "npm i && node index.js",
|
||||
"start": "npm ci && node index.js",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "",
|
||||
|
||||
Reference in New Issue
Block a user