Skip to content

Commit

Permalink
fixing modules 1
Browse files Browse the repository at this point in the history
  • Loading branch information
jchip authored and divyakarippath committed Jul 17, 2020
1 parent b985f4e commit 1cd75cd
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 4 deletions.
8 changes: 8 additions & 0 deletions packages/xarc-webapp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.nyc_output
coverage
dist
node_modules
# recommend avoid committing package-lock.* file because a module's CI
# should use latest dep, as an app that consumes a module would have its
# own lockfile, but remove this if you want to commit the package lock file.
*-lock*
18 changes: 17 additions & 1 deletion packages/xarc-webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,15 @@
"@types/node": "^13.7.6",
"@types/sinon": "^9.0.0",
"@types/sinon-chai": "^3.2.4",
"@typescript-eslint/eslint-plugin": "^2.21.0",
"@typescript-eslint/parser": "^2.21.0",
"@xarc/module-dev": "^2.1.2",
"babel-eslint": "^10.1.0",
"chai": "^4.2.0",
"eslint": "^6.8.0",
"eslint-config-walmart": "^2.2.1",
"eslint-plugin-filenames": "^1.1.0",
"eslint-plugin-jsdoc": "^21.0.0",
"mocha": "^7.1.0",
"nyc": "^15.0.0",
"sinon": "^7.2.6",
Expand Down Expand Up @@ -80,10 +88,18 @@
},
"mocha": {
"require": [
"./config/test/setup.js",
"ts-node/register",
"source-map-support/register",
"./config/test/setup.js"
"@xarc/module-dev/config/test/setup.js"
],
"recursive": true
},
"fyn": {
"dependencies": {
"@xarc/jsx-renderer": "../xarc-jsx-renderer",
"@xarc/render-context": "../xarc-render-context",
"@xarc/simple-renderer": "../xarc-simple-renderer"
}
}
}
1 change: 1 addition & 0 deletions packages/xarc-webapp/src/http-status.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @ts-ignore
import * as HttpStatusCode from "http-status-codes";

export default {
Expand Down
6 changes: 3 additions & 3 deletions packages/xarc-webapp/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"sourceMap": true,
"declaration": true,
"types": ["node", "mocha"],
"jsx": "react",
"forceConsistentCasingInFileNames": true,
"noImplicitReturns": true,
"alwaysStrict": true,
"strictFunctionTypes": true
"alwaysStrict": false,
"strictFunctionTypes": true,
"jsx": "react"
},
"include": ["src"]
}

0 comments on commit 1cd75cd

Please sign in to comment.