Skip to content

Commit

Permalink
feat: support React 18 in @edx/frontend-enterprise-hotjar (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamstankiewicz authored Feb 24, 2025
1 parent b84b51f commit 8b2d8f8
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 18 deletions.
51 changes: 44 additions & 7 deletions package-lock.json

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

22 changes: 11 additions & 11 deletions packages/hotjar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@
"patterns": [
"src"
],
"extensions": "js,jsx"
"extensions": "js,jsx,ts,tsx"
}
},
"scripts": {
"dev": "npx npm-watch build",
"clean": "make clean",
"build": "make build",
"i18n_extract": "BABEL_ENV=i18n fedx-scripts babel src --quiet > /dev/null",
"lint": "fedx-scripts eslint --ext .js --ext .jsx .",
"lint:fix": "fedx-scripts eslint --fix --ext .js --ext .jsx .",
"snapshot": "fedx-scripts jest --updateSnapshot",
"lint": "fedx-scripts eslint --ext .js --ext .jsx --ext .ts --ext .tsx .",
"lint:fix": "npm run lint -- --fix",
"test": "fedx-scripts jest --coverage --passWithNoTests",
"snapshot": "npm run test -- --updateSnapshot",
"test:watch": "npm run test -- --watch"
},
"author": "edX",
Expand All @@ -37,15 +37,15 @@
},
"sideEffects": false,
"devDependencies": {
"@edx/browserslist-config": "1.5.0",
"@openedx/frontend-build": "14.3.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-router-dom": "6.29.0"
"@edx/browserslist-config": "^1.5.0",
"@openedx/frontend-build": "^14.3.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.29.0"
},
"peerDependencies": {
"react": "^16.12.0 || ^17.0.0",
"react-dom": "^16.12.0 || ^17.0.0",
"react": "^16.12.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.12.0 || ^17.0.0 || ^18.0.0",
"react-router-dom": "^6.0.0"
}
}

0 comments on commit 8b2d8f8

Please sign in to comment.