chore(client): make curriculum helpers external (#46906)

* chore: make curriculum helpers external

* feat: add curriculum helpers as a package

* fix: use right preset?

* fix: update version with babel transpiled files

* fix: re-add fixture

* fix: declare as module

* fix: add declaration files in curriculum helpers

* fix: nothing with version 1.0.4

* fix: missing functions in package

* fix: remove old babel

* fix: linting
This commit is contained in:
Sem Bauke
2022-07-27 19:00:37 +02:00
committed by GitHub
parent 9c0d3fe1d6
commit 2440d3f43f
12 changed files with 31 additions and 865 deletions
+21
View File
@@ -446,6 +446,7 @@
"@fortawesome/free-brands-svg-icons": "6.1.1",
"@fortawesome/free-solid-svg-icons": "6.1.1",
"@fortawesome/react-fontawesome": "0.2.0",
"@freecodecamp/curriculum-helpers": "1.0.5",
"@freecodecamp/loop-protect": "2.2.1",
"@freecodecamp/react-bootstrap": "0.32.3",
"@freecodecamp/react-calendar-heatmap": "1.0.0",
@@ -3372,6 +3373,17 @@
"resolved": "tools/challenge-helper-scripts",
"link": true
},
"node_modules/@freecodecamp/curriculum-helpers": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/@freecodecamp/curriculum-helpers/-/curriculum-helpers-1.0.5.tgz",
"integrity": "sha512-GjaJXju1slWKtNb01xY6lbDjhuIQLEcLysdhi8d1eIfnvx94Jaxh1tBvxYiFbeI1xf+oeS+6gAy/GIEa7PP0KQ==",
"dependencies": {
"@freecodecamp/strip-comments": "^3.0.1"
},
"engines": {
"npm": ">= 4.0.0"
}
},
"node_modules/@freecodecamp/fcc-source-challenges": {
"resolved": "client/plugins/fcc-source-challenges",
"link": true
@@ -56312,6 +56324,7 @@
"@fortawesome/free-brands-svg-icons": "6.1.1",
"@fortawesome/free-solid-svg-icons": "6.1.1",
"@fortawesome/react-fontawesome": "0.2.0",
"@freecodecamp/curriculum-helpers": "1.0.5",
"@freecodecamp/loop-protect": "2.2.1",
"@freecodecamp/react-bootstrap": "0.32.3",
"@freecodecamp/react-calendar-heatmap": "1.0.0",
@@ -56543,6 +56556,14 @@
"typescript": "4.7.4"
}
},
"@freecodecamp/curriculum-helpers": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/@freecodecamp/curriculum-helpers/-/curriculum-helpers-1.0.5.tgz",
"integrity": "sha512-GjaJXju1slWKtNb01xY6lbDjhuIQLEcLysdhi8d1eIfnvx94Jaxh1tBvxYiFbeI1xf+oeS+6gAy/GIEa7PP0KQ==",
"requires": {
"@freecodecamp/strip-comments": "^3.0.1"
}
},
"@freecodecamp/fcc-source-challenges": {
"version": "file:client/plugins/fcc-source-challenges"
},