Skip to content

Commit

Permalink
Clean up after porting to mocha (#38)
Browse files Browse the repository at this point in the history
* Clean up after mocha PR

* Update PR number
  • Loading branch information
compulim authored Jun 29, 2024
1 parent 25af1d2 commit fe53e2a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
10 changes: 10 additions & 0 deletions .eslintrc.mocha.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
env:
commonjs: true
es2021: true
es2022: true
mocha: true
rules:
# Disable for convenience
react/display-name: off
# Disable for convenience
react/prop-types: off
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- Fixed ESM imports under Node.js, in PR [#37](https://github.com/compulim/iter-fest/pull/37)
- Fixed ESM imports under Node.js, in PR [#37](https://github.com/compulim/iter-fest/pull/37) and [#38](https://github.com/compulim/iter-fest/pull/38)

### Added

Expand Down
2 changes: 1 addition & 1 deletion packages/integration-test/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
extends:
- ../../.eslintrc.mocha.yml
- ../../.eslintrc.react.yml
- ../../.eslintrc.jest.yml
3 changes: 1 addition & 2 deletions packages/integration-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"bump:prod": "PACKAGES_TO_BUMP=$(cat package.json | jq -r '(.pinDependencies // {}) as $P | (.localPeerDependencies // {}) as $L | (.dependencies // {}) | to_entries | map(select(.key as $K | $L | has($K) | not)) | map(.key + \"@\" + ($P[.key] // [\"latest\"])[0]) | join(\" \")') && [ ! -z \"$PACKAGES_TO_BUMP\" ] && npm install $PACKAGES_TO_BUMP || true",
"precommit": "eslint --ext .js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts ./",
"switch": "cat package.json | jq --arg SWITCH_NAME $SWITCH_NAME -r '(.[\"switch:\" + $SWITCH_NAME] // {}) as $TEMPLATE | .devDependencies += ($TEMPLATE.devDependencies // {}) | .dependencies += ($TEMPLATE.dependencies // {})' | tee ./package.json.tmp && mv ./package.json.tmp ./package.json",
"test": "mocha --recursive",
"test:jest": "jest"
"test": "mocha --recursive"
},
"author": "William Wong (https://github.com/compulim)",
"license": "MIT",
Expand Down
7 changes: 0 additions & 7 deletions packages/integration-test/tsconfig.json

This file was deleted.

0 comments on commit fe53e2a

Please sign in to comment.