-
Notifications
You must be signed in to change notification settings - Fork 350
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Summary: There were two issues that I identified: - some deps weren't be listed at all in perseus/packages/package.json - some deps were listed a "dependencies" instead of "peerDependencies" In a separate PR I'll add an eslint rule to protect against the first issue. The second issue could be solved by adding some additional logic to the rollup.config.js script to check to make sure there are no wonder-blocks deps listed as "dependencies". Issue: None ## Test plan: - yarn install - yarn clean - yarn build - cat packages/perseus/dist/es/index.js | grep router - see no, hits Author: kevinbarabash Reviewers: jeresig, handeyeco Required Reviewers: Approved By: jeresig Checks: ❌ codecov/project, ✅ Lint, Flow, and Test (ubuntu-latest, 16.x), ✅ Extract i18n strings (ubuntu-latest, 16.x), ✅ Jest Coverage (ubuntu-latest, 16.x), ✅ Check builds for changes in size (ubuntu-latest, 16.x), ✅ Cypress Coverage (ubuntu-latest, 16.x), ✅ gerald, ✅ Check for .changeset file (ubuntu-latest, 16.x) Pull Request URL: #295
- Loading branch information
1 parent
b317b55
commit 1a91b6c
Showing
4 changed files
with
71 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@khanacademy/math-input": patch | ||
"@khanacademy/perseus": patch | ||
--- | ||
|
||
Adds missing wonder-blocks deps, makes wonder-blocks peerDeps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,15 +27,16 @@ | |
"@khanacademy/perseus-linter": "^0.2.1", | ||
"@khanacademy/pure-markdown": "^0.1.1", | ||
"@khanacademy/simple-markdown": "^0.8.4", | ||
"@khanacademy/wonder-blocks-form": "^2.4.5", | ||
"mathquill": "git+https://[email protected]/Khan/mathquill.git#a9ae54e057c5c1acc8244a5627acbff29901d992" | ||
}, | ||
"devDependencies": { | ||
"@khanacademy/wonder-blocks-button": "^2.11.5", | ||
"@khanacademy/wonder-blocks-clickable": "^2.2.6", | ||
"@khanacademy/wonder-blocks-color": "^1.1.20", | ||
"@khanacademy/wonder-blocks-core": "^4.3.0", | ||
"@khanacademy/wonder-blocks-data": "^7.0.0", | ||
"@khanacademy/wonder-blocks-dropdown": "^2.6.7", | ||
"@khanacademy/wonder-blocks-form": "^2.4.5", | ||
"@khanacademy/wonder-blocks-i18n": "^1.2.3", | ||
"@khanacademy/wonder-blocks-layout": "^1.4.9", | ||
"@khanacademy/wonder-blocks-link": "^3.8.5", | ||
|
@@ -62,10 +63,12 @@ | |
}, | ||
"peerDependencies": { | ||
"@khanacademy/wonder-blocks-button": "^2.11.5", | ||
"@khanacademy/wonder-blocks-clickable": "^2.2.6", | ||
"@khanacademy/wonder-blocks-color": "^1.1.20", | ||
"@khanacademy/wonder-blocks-core": "^4.3.0", | ||
"@khanacademy/wonder-blocks-data": "^7.0.0", | ||
"@khanacademy/wonder-blocks-dropdown": "^2.6.7", | ||
"@khanacademy/wonder-blocks-form": "^2.4.5", | ||
"@khanacademy/wonder-blocks-i18n": "^1.2.3", | ||
"@khanacademy/wonder-blocks-layout": "^1.4.9", | ||
"@khanacademy/wonder-blocks-link": "^3.8.5", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters