Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(build): cross-platform fixes #15

Merged
merged 7 commits into from
Sep 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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