-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
## Summary: - Switched to pnpm. - Udpated most of the devDependencies to the latest version. Except `eslint` as the latest version is not compatible with our current setup. - Fixed TS errors in tests. - Fixed stories, lint, prettier, etc. - Updated rollup config to use pnpm (for builds). Issue: WB-1870 ## Test plan: Verify that all the checks pass and that the Storybook site works fine. Author: jandrade Reviewers: jandrade, beaesguerra, jeresig Required Reviewers: Approved By: beaesguerra, jeresig Checks: ✅ Chromatic - Get results on regular PRs (ubuntu-latest, 20.x), ✅ Test / Test (ubuntu-latest, 20.x, 2/2), ✅ Test / Test (ubuntu-latest, 20.x, 1/2), ✅ Lint / Lint (ubuntu-latest, 20.x), ❌ Check build sizes (ubuntu-latest, 20.x), ✅ Publish npm snapshot (ubuntu-latest, 20.x), ✅ Chromatic - Build and test on regular PRs / chromatic (ubuntu-latest, 20.x), ✅ Prime node_modules cache for primary configuration (ubuntu-latest, 20.x), ⏭️ Chromatic - Skip on Release PR (changesets), ✅ Check for .changeset entries for all changed files (ubuntu-latest, 20.x), ✅ gerald, ⏭️ dependabot Pull Request URL: #2453
- Loading branch information
Showing
134 changed files
with
17,430 additions
and
14,152 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,40 @@ | ||
--- | ||
"@khanacademy/wonder-blocks-progress-spinner": minor | ||
"@khanacademy/wonder-blocks-birthday-picker": minor | ||
"@khanacademy/wonder-blocks-labeled-field": minor | ||
"@khanacademy/wonder-blocks-search-field": minor | ||
"@khanacademy/wonder-blocks-testing-core": minor | ||
"@khanacademy/wonder-blocks-breadcrumbs": minor | ||
"@khanacademy/wonder-blocks-icon-button": minor | ||
"@khanacademy/wonder-blocks-typography": minor | ||
"@khanacademy/wonder-blocks-accordion": minor | ||
"@khanacademy/wonder-blocks-clickable": minor | ||
"@khanacademy/wonder-blocks-dropdown": minor | ||
"@khanacademy/wonder-blocks-popover": minor | ||
"@khanacademy/wonder-blocks-testing": minor | ||
"@khanacademy/wonder-blocks-theming": minor | ||
"@khanacademy/wonder-blocks-toolbar": minor | ||
"@khanacademy/wonder-blocks-tooltip": minor | ||
"@khanacademy/wonder-blocks-banner": minor | ||
"@khanacademy/wonder-blocks-button": minor | ||
"@khanacademy/wonder-blocks-layout": minor | ||
"@khanacademy/wonder-blocks-switch": minor | ||
"@khanacademy/wonder-blocks-timing": minor | ||
"@khanacademy/wonder-blocks-tokens": minor | ||
"@khanacademy/wonder-blocks-modal": minor | ||
"@khanacademy/wonder-blocks-cell": minor | ||
"@khanacademy/wonder-blocks-core": minor | ||
"@khanacademy/wonder-blocks-data": minor | ||
"@khanacademy/wonder-blocks-form": minor | ||
"@khanacademy/wonder-blocks-grid": minor | ||
"@khanacademy/wonder-blocks-icon": minor | ||
"@khanacademy/wonder-blocks-link": minor | ||
"@khanacademy/wonder-blocks-pill": minor | ||
"@khanacademy/wb-dev-build-settings": minor | ||
"@khanacademy/wb-codemod": minor | ||
--- | ||
|
||
Tooling: | ||
|
||
- Switching to `pnpm`. | ||
- Upgrading `rollup` to v4 and `@babel/runtime` to match the current webapp version. |
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 |
---|---|---|
|
@@ -21,4 +21,6 @@ CODEOWNERS | |
**/*.json | ||
**/*.jpg | ||
**/*.png | ||
**/*.svg | ||
**/*.svg | ||
|
||
types/ |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: 'Shared Node Cache' | ||
description: 'Install & cache our npm dependencies' | ||
|
||
# The inputs this action expects. | ||
inputs: | ||
node-version: | ||
description: 'Node version to use' | ||
required: false | ||
default: '20.x' | ||
cache-bust: | ||
description: 'A unique string to bust the cache' | ||
required: true | ||
|
||
# The steps this action runs. | ||
runs: | ||
using: "composite" | ||
steps: | ||
|
||
- uses: pnpm/action-setup@v4 | ||
name: Install pnpm | ||
with: | ||
run_install: false | ||
|
||
- name: Use Node.js ${{ inputs.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ inputs.node-version }} | ||
cache: 'pnpm' | ||
cache-dependency-path: 'pnpm-lock.yaml' | ||
|
||
- name: Install Dependencies | ||
shell: bash | ||
run: pnpm install --frozen-lockfile |
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
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
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
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
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
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
Oops, something went wrong.