-
Notifications
You must be signed in to change notification settings - Fork 653
[heft-web-rig] Add an "app" profile, upgrade to Webpack 5, implement new CSS rules #3204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 23 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
ba04506
Bring over prototype of updated heft-web-rig
octogonz 05a01b4
Sync some changes to heft-node-rig
octogonz 2e691b6
Relink workspaces dependencies
octogonz 44827a2
Sync dependencies
octogonz bd7212a
rush update --full
octogonz fd483cc
Fix a Jest test that failed on Windows OS
octogonz 74ec89a
Reenable strictPeerDependencies=true, upgrade PNPM, and solve all the…
octogonz f0a227e
rush update --full
octogonz 99777c9
Fix up projects so everything builds successfully
octogonz 9b98c7e
Merge remote-tracking branch 'remotes/origin/master' into octogonz/he…
octogonz 4b3547e
rush change
octogonz c458420
rush change
octogonz 4728061
Merge remote-tracking branch 'remotes/origin/master' into octogonz/he…
octogonz b00dbe3
PR feedback -- we're not ready to release 1.0.0 yet
octogonz 2824e3c
PR feedback rush-project.json "outputFolderNames" should match heft.j…
octogonz 02e3346
Update rigs/heft-web-rig/profiles/library/config/typescript.json
octogonz 28b938b
Update rigs/heft-web-rig/profiles/app/config/typescript.json
octogonz 6295160
Update rigs/heft-web-rig/shared/webpack-base.config.js
octogonz 7baea3b
Merge branch 'octogonz/heft-web-rig-revamp' of https://github.com/mic…
octogonz 9fa72da
Convert "webpack" to be a peer dependency of "heft-webpack?-plugin". …
octogonz d6eca76
rush update --full
octogonz 2f44260
rush change
octogonz 7c0aa06
rush rebuild
octogonz deee2f2
Enable (optional) bundling of library projects
octogonz 57a632d
Add test projects
octogonz b70867b
rush update
octogonz e8f1ae8
Fix some issues with the Webpack config
octogonz a1bab5f
Example app now builds an runs
octogonz 198b595
PR feedback - cosmetic issues
octogonz 5436f15
Regenerate README.md
octogonz 770ff15
PR feedback -- remove @types/webpack-dev-server
octogonz 4d05712
Show how to configure heft-web-rig-app-tutorial to consume the librar…
octogonz 4fed4d3
PR feedback: Replace "file-loader" with asset modules, and update the…
octogonz 9aeadf2
rush update
octogonz 1c3388d
Move src/templates -> src/schemas/templates to make this folder more …
octogonz f04d5f7
Bring back the template for sass.json, which got inadvertently delete…
octogonz 72ad161
Replace sass-loader with heft-sass-plugin (work in progress, NOT WORK…
octogonz bccec15
Temporarily revert the sass.json features from 9aeadf28d49c6a9dc19811…
octogonz 5ccbe25
Fix an issue where source maps weren't loaded for library projects
octogonz da1d200
rush change
octogonz bb0edf2
Merge remote-tracking branch 'remotes/origin/master' into octogonz/he…
octogonz 06f121a
rush update --full
octogonz 55ef407
Update README.md
octogonz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -15,17 +15,17 @@ | |||||||||
| "@rushstack/heft-jest-plugin": "workspace:*", | ||||||||||
| "@rushstack/heft-webpack5-plugin": "workspace:*", | ||||||||||
| "@types/heft-jest": "1.0.1", | ||||||||||
| "@types/react": "16.9.45", | ||||||||||
| "@types/react-dom": "16.9.8", | ||||||||||
| "@types/react": "16.14.23", | ||||||||||
| "@types/react-dom": "16.9.14", | ||||||||||
octogonz marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||
| "@types/webpack-env": "1.13.0", | ||||||||||
| "css-loader": "~4.2.1", | ||||||||||
| "css-loader": "~6.6.0", | ||||||||||
| "eslint": "~8.7.0", | ||||||||||
| "html-webpack-plugin": "~5.5.0", | ||||||||||
| "react": "~16.13.1", | ||||||||||
| "react-dom": "~16.13.1", | ||||||||||
|
||||||||||
| "react": "~16.13.1", | |
| "react-dom": "~16.13.1", | |
| "react-dom": "~16.13.1", | |
| "react": "~16.13.1", |
octogonz marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
octogonz marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
This file contains hidden or 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 hidden or 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 hidden or 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
25 changes: 13 additions & 12 deletions
25
build-tests/install-test-workspace/workspace/common/pnpm-lock.yaml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
10 changes: 10 additions & 0 deletions
10
.../changes/@microsoft/load-themed-styles/octogonz-heft-web-rig-revamp_2022-02-05-10-39.json
This file contains hidden or 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,10 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "packageName": "@microsoft/load-themed-styles", | ||
| "comment": "Enable importHelpers=true", | ||
| "type": "patch" | ||
| } | ||
| ], | ||
| "packageName": "@microsoft/load-themed-styles" | ||
| } |
10 changes: 10 additions & 0 deletions
10
common/changes/@microsoft/rush/octogonz-heft-web-rig-revamp_2022-02-05-10-39.json
This file contains hidden or 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,10 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "packageName": "@microsoft/rush", | ||
| "comment": "", | ||
| "type": "none" | ||
| } | ||
| ], | ||
| "packageName": "@microsoft/rush" | ||
| } |
10 changes: 10 additions & 0 deletions
10
...hanges/@rushstack/heft-dev-cert-plugin/octogonz-heft-web-rig-revamp_2022-02-05-10-39.json
This file contains hidden or 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,10 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "packageName": "@rushstack/heft-dev-cert-plugin", | ||
| "comment": "", | ||
| "type": "none" | ||
| } | ||
| ], | ||
| "packageName": "@rushstack/heft-dev-cert-plugin" | ||
| } |
10 changes: 10 additions & 0 deletions
10
common/changes/@rushstack/heft-node-rig/octogonz-heft-web-rig-revamp_2022-02-05-01-55.json
This file contains hidden or 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,10 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "packageName": "@rushstack/heft-node-rig", | ||
| "comment": "Set useUnknownInCatchVariables=false in tsconfig.json, to work around https://github.com/microsoft/TypeScript/issues/42596", | ||
| "type": "minor" | ||
| } | ||
| ], | ||
| "packageName": "@rushstack/heft-node-rig" | ||
| } |
10 changes: 10 additions & 0 deletions
10
...on/changes/@rushstack/heft-sass-plugin/octogonz-heft-web-rig-revamp_2022-02-05-10-39.json
This file contains hidden or 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,10 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "packageName": "@rushstack/heft-sass-plugin", | ||
| "comment": "Upgrade postcss", | ||
| "type": "patch" | ||
| } | ||
| ], | ||
| "packageName": "@rushstack/heft-sass-plugin" | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.