Skip to content

Commit

Permalink
Chain-event and Snapshot notification emitter (#4948)
Browse files Browse the repository at this point in the history
* real notif replacement script working

* replace random notifs when not using mock

* doc

* typo

* update yarn.lock

* error message update

* docs

* fix package.json

* fix yarn.lock

* fix yarn.lock

* increase mock notification randomness

* added doc to package-scripts.md per Grahams changes
  • Loading branch information
timolegros authored Sep 5, 2023
1 parent 715e094 commit 0d97ef5
Show file tree
Hide file tree
Showing 4 changed files with 381 additions and 22 deletions.
45 changes: 24 additions & 21 deletions packages/commonwealth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"dump-db-limit": "yarn run dump-db && psql $(heroku config:get CW_READ_DB -a commonwealth-beta) -a -f limited_dump.sql",
"dump-db-local": "pg_dump -U commonwealth --verbose --no-privileges --no-owner -f local_save.dump",
"e2e-start-server": "ETH_RPC=e2e-test yarn start",
"emit-notification": "ts-node --project tsconfig.json server/scripts/emitTestNotification.ts",
"format": "prettier --ignore-path ../../.prettierignore --config ../../.prettierrc.json --write .",
"gen-e2e": "npx playwright codegen",
"heroku-postbuild": "NODE_OPTIONS=--max-old-space-size=$(../../scripts/get-max-old-space-size.sh) webpack --config webpack/webpack.prod.config.js --progress && yarn build-consumer",
Expand Down Expand Up @@ -264,10 +265,21 @@
"velocity": "^0.7.2",
"vm-browserify": "^1.1.2",
"ws": "^7.4.6",
"yargs": "^17.7.2",
"zustand": "^4.3.8"
},
"devDependencies": {
"@aave/aave-token": "^1.0.4",
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-async-generator-functions": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-transform-react-jsx": "^7.16.7",
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.5",
"@babel/register": "^7.4.0",
"@istanbuljs/nyc-config-typescript": "^0.1.3",
"@openzeppelin/contracts": "^2.4.0",
"@openzeppelin/contracts-governance": "npm:@openzeppelin/contracts@^4.3.2",
Expand All @@ -289,60 +301,51 @@
"@types/pg-format": "^1.0.2",
"@types/rascal": "^10.0.4",
"@types/react-beautiful-dnd": "^13.1.3",
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-async-generator-functions": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-transform-react-jsx": "^7.16.7",
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.5",
"@babel/register": "^7.4.0",
"@types/yargs": "^17.0.24",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.4",
"babel-plugin-transform-scss": "^1.2.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chai-http": "^4.3.0",
"chromatic": "^6.17.4",
"copy-webpack-plugin": "^4.6.0",
"css-loader": "^2.1.0",
"css-minimizer-webpack-plugin": "^4.2.2",
"esbuild-loader": "^2.16.0",
"fast-sass-loader": "^2.0.1",
"file-loader": "^6.2.0",
"style-loader": "^0.23.1",
"ignore-loader": "^0.1.2",
"eslint-import-resolver-webpack": "^0.12.1",
"eslint-plugin-react-hooks": "^4.6.0",
"faker": "^4.1.0",
"fast-sass-loader": "^2.0.1",
"file-loader": "^6.2.0",
"ganache-cli": "^6.9.1",
"html-webpack-inject-attributes-plugin": "^1.0.6",
"html-webpack-plugin": "^5.5.0",
"ignore-loader": "^0.1.2",
"mocha": "^6.2.2",
"mock-express-request": "^0.2.2",
"nyc": "^15.1.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"playwright-test": "^8.2.0",
"process": "^0.11.10",
"sinon": "^15.0.4",
"source-map-support": "^0.5.21",
"storybook": "7.0.9",
"style-loader": "^0.23.1",
"sync-request": "^6.1.0",
"ts-mocha": "^6.0.0",
"ts-node-dev": "^2.0.0",
"tslint": "^5.13.0",
"webpack-dev-server": "^3.1.14",
"copy-webpack-plugin": "^4.6.0",
"css-minimizer-webpack-plugin": "^4.2.2",
"html-webpack-inject-attributes-plugin": "^1.0.6",
"html-webpack-plugin": "^5.5.0",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.4.0",
"webpack-cli": "^4.10.0",
"webpack-deduplication-plugin": "^0.0.8",
"webpack-dev-middleware": "^5.3.3",
"webpack-dev-server": "^3.1.14",
"webpack-hot-middleware": "^2.25.2",
"webpack-merge": "^5.8.0"
},
"optionalDependencies": {
"esbuild-darwin-64": "^0.15.12"
}
}
}
Loading

0 comments on commit 0d97ef5

Please sign in to comment.