Skip to content

Commit

Permalink
fix(build): cross-platform fixes (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmstss authored Sep 15, 2021
1 parent a1696da commit c075fc4
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ checks:
plugins:
eslint:
enabled: true
channel: "eslint-7"
config:
config: .eslintrc.js
config: ./.eslintrc.js
extensions:
- .ts
exclude_patterns:
- "**/dist/"
- "**/node_modules/"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/auto-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageLocations: .coverage/lcov.info:lcov
debug: true

release:
if: ${{ github.ref == 'refs/heads/master' }}
Expand Down
2 changes: 1 addition & 1 deletion packages/capture/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"compile": "tsc -b tsconfig.build.json",
"lint": "eslint --ignore-path ../../.eslintignore .",
"format": "prettier --ignore-path ../../.prettierignore --check .",
"test": "NODE_ENV=test mocha tests/**/*.spec.ts",
"test": "cross-env NODE_ENV=test mocha tests/**/*.spec.ts",
"coverage": "nyc npm t -- --reporter xunit --reporter-options output=.mocha/testspec.xunit.xml"
},
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/oas/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"compile": "tsc -b tsconfig.build.json",
"lint": "eslint --ignore-path ../../.eslintignore .",
"format": "prettier --ignore-path ../../.prettierignore --check .",
"test": "NODE_ENV=test mocha tests/**/*.spec.ts",
"test": "cross-env NODE_ENV=test mocha tests/**/*.spec.ts",
"coverage": "nyc npm t -- --reporter xunit --reporter-options output=.mocha/testspec.xunit.xml"
},
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi-sampler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"compile": "tsc -b tsconfig.build.json",
"lint": "eslint --ignore-path ../../.eslintignore .",
"format": "prettier --ignore-path ../../.prettierignore --check .",
"test": "NODE_ENV=test mocha tests/**/*.spec.ts",
"test": "cross-env NODE_ENV=test mocha tests/**/*.spec.ts",
"coverage": "nyc npm t -- --reporter xunit --reporter-options output=.mocha/testspec.xunit.xml"
},
"keywords": [
Expand Down
4 changes: 2 additions & 2 deletions packages/validator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"compile": "tsc -b tsconfig.build.json",
"lint": "eslint --ignore-path ../../.eslintignore .",
"format": "prettier --ignore-path ../../.prettierignore --check .",
"test": "NODE_ENV=test mocha tests/**/*.spec.ts",
"test": "cross-env NODE_ENV=test mocha tests/**/*.spec.ts",
"coverage": "nyc npm t -- --reporter xunit --reporter-options output=.mocha/testspec.xunit.xml"
},
"keywords": [
Expand All @@ -44,7 +44,7 @@
"json"
],
"dependencies": {
"@har-sdk/types": "*",
"@har-sdk/types": "^1.0.0",
"ajv": "^8.6.0",
"ajv-formats": "^2.1.0",
"semver": "^7.3.5",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default {
plugins: [
json(),
resolve({ preferBuiltins: false }),
commonjs({ include: 'node_modules/**' }),
commonjs({ include: /node_modules/ }),
typescript({
clean: true,
tsconfig: 'tsconfig.build.json'
Expand Down

0 comments on commit c075fc4

Please sign in to comment.