-
Notifications
You must be signed in to change notification settings - Fork 132
censorProjectWarnings in monorepo workspace spago.yaml
#1316
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
Open
noisyscanner
wants to merge
11
commits into
purescript:master
Choose a base branch
from
OxfordAbstracts:censorprojectwarnings-monorepo
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 4 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
0b4b475
WIP - censor project warnings at workspace level
noisyscanner b4fdf6f
improe tests
noisyscanner 1f0a21d
changelog and readme
noisyscanner dd9f58c
self review
noisyscanner f3ed3ad
revert md changes
noisyscanner 5ca180e
censorTestWarnings
noisyscanner 4e878b3
Merge remote-tracking branch 'upstream/master' into censorprojectwarn…
noisyscanner 0979c30
add dummy spago.yaml to test-fixtures
noisyscanner 15c8c8a
Revert "add dummy spago.yaml to test-fixtures"
noisyscanner 0f71b5f
Merge remote-tracking branch 'upstream/master' into censorprojectwarn…
noisyscanner 4ae5c0b
Merge branch 'master' into censorprojectwarnings-monorepo
noisyscanner 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
Large diffs are not rendered by default.
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
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
6 changes: 6 additions & 0 deletions
6
test-fixtures/monorepo/strict-true-workspace-censored-warnings/package-a/spago.yaml
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,6 @@ | ||
package: | ||
name: package-a | ||
dependencies: | ||
- prelude | ||
build: | ||
strict: true |
7 changes: 7 additions & 0 deletions
7
test-fixtures/monorepo/strict-true-workspace-censored-warnings/package-a/src/Main.purs
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,7 @@ | ||
module Src.PACKAGE.A where | ||
|
||
import Prelude | ||
|
||
packageName :: String -> String | ||
packageName foo = | ||
"package" <> "package-a" |
8 changes: 8 additions & 0 deletions
8
test-fixtures/monorepo/strict-true-workspace-censored-warnings/package-b/spago.yaml
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,8 @@ | ||
package: | ||
name: package-b | ||
dependencies: | ||
- package-a | ||
- prelude | ||
build: | ||
strict: true | ||
censor_project_warnings: [] # override workspace |
7 changes: 7 additions & 0 deletions
7
test-fixtures/monorepo/strict-true-workspace-censored-warnings/package-b/src/Main.purs
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,7 @@ | ||
module Src.PACKAGE.B where | ||
|
||
import Prelude | ||
|
||
packageName :: _ | ||
packageName foo = | ||
"package" <> "package-b" |
8 changes: 8 additions & 0 deletions
8
test-fixtures/monorepo/strict-true-workspace-censored-warnings/package-c/spago.yaml
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,8 @@ | ||
package: | ||
name: package-c | ||
dependencies: | ||
- package-a | ||
- package-b | ||
- prelude | ||
build: | ||
strict: true |
7 changes: 7 additions & 0 deletions
7
test-fixtures/monorepo/strict-true-workspace-censored-warnings/package-c/src/Main.purs
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,7 @@ | ||
module Src.PACKAGE.C where | ||
|
||
import Prelude | ||
|
||
packageName :: _ | ||
packageName foo = | ||
"package" <> "package-c" |
6 changes: 6 additions & 0 deletions
6
test-fixtures/monorepo/strict-true-workspace-censored-warnings/spago.yaml
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,6 @@ | ||
workspace: | ||
buildOpts: | ||
censor_project_warnings: all | ||
package_set: | ||
registry: 0.0.1 | ||
extra_packages: {} |
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
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.