Commit 2f26593
feat(many): migrate from npm to pnpm Phase 1
Implement Phase 1 of pnpm migration with workspace protocol and core tooling updates:
Configuration:
- Add pnpm-workspace.yaml defining workspace packages
- Add .npmrc with pnpm configuration (hoisted node linker, strict peer deps)
- Update lerna.json to use pnpm as npm client
- Update root package.json with pnpm 10.18.3 as packageManager
- Update engines requirement to pnpm >=10
- Update .gitignore for pnpm artifacts
- Delete package-lock.json (replaced by pnpm-lock.yaml)
Workspace Dependencies:
- Convert all internal @instructure/* dependencies from exact versions to workspace:*
- Update 94 package.json files across all packages
Build Tooling:
- Update scripts/bootstrap.js to use pnpm and run builds sequentially
- Update packages/ui-scripts/lib/commands/bump.js to use pnpm install
- Update packages/ui-scripts/lib/utils/npm.js to use pnpm whoami
- Fix babel-plugin-transform-imports for pnpm workspace module resolution
- Fix generate-all-tokens for pnpm workspace package resolution
CI/CD:
- Update all GitHub Actions workflows to use pnpm version 10
- Add pnpm/action-setup@v4
- Update caching to use pnpm lock files
- Configure registry-url for npm publishing
- Fix visual-regression.yml: use pnpm workspace protocol instead of global linking
- Fix visual-regression.yml: explicitly install Cypress binary before tests
- Add Cypress binary caching with lockfile hash (cypress-io/github-action#1138)
TypeScript References:
- Fix TypeScript project references in 10 packages (ui-drawer-layout, ui-expandable,
ui-file-drop, ui-instructure, ui-link, ui-number-input, ui-popover, ui-radio-input,
ui-text-area, ui-text-input)
- Add missing tsconfig.build.json references to match package.json dependencies
Regression Test Updates:
- Update regression-test app to use @instructure/ui meta package
- Convert all component imports to use single import from @instructure/ui
- Update InstUISettingsProvider import path
Documentation:
- Add pnpm-migration-plan.md with complete migration strategy
- Add pnpm-phase1-test-plan.md with testing procedures
- Add pnpm-phase1-investigation.md analyzing implementation
- Update building-instui.md and contributing.md with pnpm instructions
Notes:
- All Babel builds and token generation working successfully with pnpm
- Cypress binary installation resolved by explicit `cypress install` step
- Phase 2 will focus on fixing phantom dependencies and removing workarounds
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 7450ddc commit 2f26593
File tree
166 files changed
+51645
-41435
lines changed- .github/workflows
- cypress
- docs/contributor-docs
- packages
- __docs__
- src
- babel-plugin-transform-imports/lib
- canvas-high-contrast-theme
- canvas-theme
- console
- debounce
- emotion
- ui-a11y-content
- ui-a11y-utils
- ui-alerts
- ui-avatar
- ui-axe-check
- ui-babel-preset
- ui-badge
- ui-billboard
- ui-breadcrumb
- ui-buttons
- ui-byline
- ui-calendar
- ui-checkbox
- ui-codemods
- ui-color-picker
- ui-color-utils
- ui-date-input
- ui-date-time-input
- ui-decorator
- ui-dialog
- ui-dom-utils
- ui-drawer-layout
- ui-drilldown
- ui-editable
- ui-expandable
- ui-file-drop
- ui-flex
- ui-focusable
- ui-form-field
- ui-grid
- ui-heading
- ui-i18n
- ui-icons
- ui-img
- ui-instructure
- ui-link
- ui-list
- ui-metric
- ui-modal
- ui-motion
- ui-number-input
- ui-options
- ui-overlays
- ui-pages
- ui-pagination
- ui-pill
- ui-popover
- ui-portal
- ui-position
- ui-progress
- ui-radio-input
- ui-range-input
- ui-rating
- ui-react-utils
- ui-responsive
- ui-scripts
- lib
- build
- commands
- icons
- utils
- ui-selectable
- ui-select
- ui-simple-select
- ui-source-code-editor
- ui-spinner
- ui-svg-images
- ui-table
- ui-tabs
- ui-tag
- ui-text-area
- ui-text-input
- ui-text
- ui-theme-tokens
- ui-themes
- ui-time-select
- ui-toggle-details
- ui-tooltip
- ui-tray
- ui-tree-browser
- ui-truncate-list
- ui-truncate-text
- ui-utils
- ui-view
- uid
- ui
- regression-test
- src/app
- alert
- avatar
- badge
- billboard
- breadcrumb
- button
- byline
- calendar
- checkboxgroup
- checkbox
- colorpicker
- contextview
- dateinput
- datetimeinput
- drilldown
- filedrop
- form-errors
- heading
- img
- link
- options
- pagination
- progressbar
- select
- small-components
- table
- tabs
- tooltip
- treebrowser
- view
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
166 files changed
+51645
-41435
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
20 | | - | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
40 | | - | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
| |||
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
60 | 67 | | |
61 | 68 | | |
62 | 69 | | |
63 | 70 | | |
64 | | - | |
| 71 | + | |
| 72 | + | |
65 | 73 | | |
66 | | - | |
| 74 | + | |
67 | 75 | | |
68 | 76 | | |
69 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
14 | | - | |
| 17 | + | |
15 | 18 | | |
16 | | - | |
| 19 | + | |
17 | 20 | | |
18 | | - | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
24 | | - | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| 18 | + | |
15 | 19 | | |
16 | | - | |
| 20 | + | |
17 | 21 | | |
18 | | - | |
| 22 | + | |
19 | 23 | | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
24 | | - | |
| 28 | + | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
14 | | - | |
| 17 | + | |
15 | 18 | | |
16 | | - | |
| 19 | + | |
17 | 20 | | |
18 | | - | |
| 21 | + | |
19 | 22 | | |
20 | | - | |
| 23 | + | |
21 | 24 | | |
22 | | - | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
31 | | - | |
| 37 | + | |
32 | 38 | | |
33 | | - | |
| 39 | + | |
34 | 40 | | |
35 | | - | |
| 41 | + | |
36 | 42 | | |
37 | | - | |
| 43 | + | |
38 | 44 | | |
39 | 45 | | |
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
43 | 52 | | |
44 | 53 | | |
45 | 54 | | |
46 | | - | |
| 55 | + | |
47 | 56 | | |
48 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
49 | 60 | | |
50 | | - | |
| 61 | + | |
51 | 62 | | |
52 | | - | |
| 63 | + | |
53 | 64 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
21 | | - | |
22 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | | - | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
17 | | - | |
| 20 | + | |
18 | 21 | | |
19 | | - | |
| 22 | + | |
20 | 23 | | |
21 | | - | |
| 24 | + | |
22 | 25 | | |
23 | | - | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
29 | | - | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
16 | 28 | | |
17 | | - | |
18 | | - | |
19 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
20 | 35 | | |
21 | 36 | | |
22 | 37 | | |
23 | 38 | | |
24 | 39 | | |
25 | 40 | | |
26 | | - | |
27 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
28 | 44 | | |
29 | 45 | | |
30 | 46 | | |
| |||
42 | 58 | | |
43 | 59 | | |
44 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
45 | 64 | | |
46 | 65 | | |
47 | 66 | | |
48 | | - | |
49 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
50 | 72 | | |
51 | 73 | | |
52 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
1 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
2 | 54 | | |
3 | 55 | | |
4 | 56 | | |
5 | 57 | | |
6 | 58 | | |
| 59 | + | |
7 | 60 | | |
8 | 61 | | |
9 | 62 | | |
| |||
20 | 73 | | |
21 | 74 | | |
22 | 75 | | |
23 | | - | |
| 76 | + | |
0 commit comments