Skip to content

Commit

Permalink
change: ignore Error and EventEmitter extensions from Components.js g…
Browse files Browse the repository at this point in the history
…eneration
  • Loading branch information
rubensworks committed Nov 23, 2020
1 parent 7e3bb63 commit 58317ab
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 34 deletions.
4 changes: 4 additions & 0 deletions componentsjs-generator-ignore-classes.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[
"Error",
"EventEmitter"
]
117 changes: 85 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"homepage": "https://github.com/solid/community-server#readme",
"scripts": {
"build": "npm run build:ts && npm run build:components",
"build:components": "componentsjs-generator -s src",
"build:components": "componentsjs-generator -s src -i componentsjs-generator-ignore-classes.json",
"build:ts": "tsc",
"docker": "npm run docker:setup && npm run docker:start",
"docker:clean": "./test/docker/docker-clean.sh",
Expand Down Expand Up @@ -110,7 +110,7 @@
"@types/supertest": "^2.0.10",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"componentjs-generator": "^1.2.0",
"componentsjs-generator": "^1.5.0",
"eslint": "^7.9.0",
"eslint-config-es": "^3.20.3",
"eslint-import-resolver-typescript": "^2.3.0",
Expand Down

0 comments on commit 58317ab

Please sign in to comment.