Skip to content

Commit

Permalink
chore: update yarn and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
cedoor committed Jun 24, 2022
1 parent 8be1a59 commit 70b09bb
Show file tree
Hide file tree
Showing 16 changed files with 22,267 additions and 17,071 deletions.
3 changes: 1 addition & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
node_modules
package-lock.json
yarn.lock
.yarn

# testing
coverage
Expand Down Expand Up @@ -34,5 +35,3 @@ yarn-error.log*

# others
target
witness_calculator.js
zkeyFiles
9 changes: 1 addition & 8 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,7 @@
"env": {
"es6": true
},
"extends": [
"airbnb",
"airbnb/hooks",
"airbnb-typescript",
"plugin:jest/recommended",
"plugin:jest/style",
"prettier"
],
"extends": ["airbnb-base", "airbnb-typescript/base", "plugin:jest/recommended", "plugin:jest/style", "prettier"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
Expand Down
13 changes: 7 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,14 @@ cache
.npm
.DS_Store

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
# yarn v3
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

# Other
benchmarks/results
zkeyFiles
8 changes: 5 additions & 3 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
node_modules
package-lock.json
yarn.lock
.yarn

# testing
/coverage
coverage
coverage.json

# docs
Expand All @@ -20,6 +21,9 @@ cache
dist
build

# github
.github/ISSUE_TEMPLATE

# misc
.DS_Store
*.pem
Expand All @@ -31,5 +35,3 @@ yarn-error.log*

# others
target
witness_calculator.js
zkeyFiles
28 changes: 28 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Large diffs are not rendered by default.

786 changes: 786 additions & 0 deletions .yarn/releases/yarn-3.2.1.cjs

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"

yarnPath: .yarn/releases/yarn-3.2.1.cjs
32 changes: 13 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,15 @@
"bugs": "https://github.com/privacy-scaling-explorations/zk-kit/issues",
"private": true,
"scripts": {
"install": "yarn bootstrap && yarn build",
"bootstrap": "lerna bootstrap",
"build": "lerna run build",
"build:watch": "lerna run --parallel build:watch -- -- --watch",
"build": "yarn workspaces foreach run build",
"test": "jest --coverage",
"test:watch": "jest --coverage --watch",
"test:prod": "yarn lint && yarn test && lerna run test",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:fix": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
"test:all": "yarn workspaces foreach run test",
"lint": "eslint . --ext .js,.ts",
"prettier": "prettier -c .",
"prettier:fix": "prettier -w .",
"prettier:write": "prettier -w .",
"benchmarks": "rimraf benchmarks/results && ts-node benchmarks/index.ts",
"publish:fp": "lerna publish from-package",
"docs": "lerna run docs",
"clean": "lerna clean",
"docs": "yarn workspaces foreach run docs",
"commit": "cz",
"precommit": "lint-staged"
},
Expand All @@ -33,10 +27,14 @@
"zk-snarks",
"circom"
],
"workspaces": [
"packages/*"
],
"packageManager": "[email protected]",
"devDependencies": {
"@babel/core": "^7.16.7",
"@babel/preset-env": "^7.16.8",
"@babel/preset-typescript": "^7.16.7",
"@babel/preset-typescript": "^7.17.12",
"@commitlint/cli": "^16.0.2",
"@commitlint/config-conventional": "^16.0.0",
"@rollup/plugin-typescript": "^8.3.0",
Expand All @@ -51,19 +49,15 @@
"circomlibjs": "^0.0.8",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.7.0",
"eslint-config-airbnb": "^19.0.4",
"eslint": "^8.2.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "^16.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-jest": "^25.7.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"incrementalquintree": "^1.0.9",
"jest": "^27.4.1",
"jest-config": "^27.4.7",
"lerna": "^4.0.0",
"lint-staged": "^12.1.7",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
Expand Down
Loading

0 comments on commit 70b09bb

Please sign in to comment.