-
Notifications
You must be signed in to change notification settings - Fork 131
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix lockfile not updating when a local package set changed on disk (#…
- Loading branch information
Showing
8 changed files
with
165 additions
and
37 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
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
10 changes: 10 additions & 0 deletions
10
test-fixtures/build/local-package-set-lockfile/local-package-set.json
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,10 @@ | ||
{ | ||
"compiler": "0.15.10", | ||
"published": "2023-09-30", | ||
"version": "1.0.0", | ||
"packages": { | ||
"prelude": "6.0.1", | ||
"console": "6.1.0", | ||
"effect": "4.0.0" | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
test-fixtures/build/local-package-set-lockfile/new-package-set.json
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,11 @@ | ||
{ | ||
"compiler": "0.15.10", | ||
"published": "2023-09-30", | ||
"version": "1.0.0", | ||
"packages": { | ||
"prelude": "6.0.1", | ||
"typelevel-prelude": "7.0.0", | ||
"console": "6.1.0", | ||
"effect": "4.0.0" | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
test-fixtures/build/local-package-set-lockfile/spago.lock.new
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,42 @@ | ||
workspace: | ||
packages: | ||
local-package-set-lockfile: | ||
path: ./ | ||
dependencies: | ||
- console | ||
- effect | ||
- prelude | ||
test_dependencies: [] | ||
build_plan: | ||
- console | ||
- effect | ||
- prelude | ||
package_set: | ||
address: | ||
path: ./local-package-set.json | ||
compiler: ">=0.15.10 <0.16.0" | ||
content: | ||
console: 6.1.0 | ||
effect: 4.0.0 | ||
prelude: 6.0.1 | ||
typelevel-prelude: 7.0.0 | ||
extra_packages: {} | ||
packages: | ||
console: | ||
type: registry | ||
version: 6.1.0 | ||
integrity: sha256-CxmAzjgyuGDmt9FZW51VhV6rBPwR6o0YeKUzA9rSzcM= | ||
dependencies: | ||
- effect | ||
- prelude | ||
effect: | ||
type: registry | ||
version: 4.0.0 | ||
integrity: sha256-eBtZu+HZcMa5HilvI6kaDyVX3ji8p0W9MGKy2K4T6+M= | ||
dependencies: | ||
- prelude | ||
prelude: | ||
type: registry | ||
version: 6.0.1 | ||
integrity: sha256-o8p6SLYmVPqzXZhQFd2hGAWEwBoXl1swxLG/scpJ0V0= | ||
dependencies: [] |
41 changes: 41 additions & 0 deletions
41
test-fixtures/build/local-package-set-lockfile/spago.lock.old
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,41 @@ | ||
workspace: | ||
packages: | ||
local-package-set-lockfile: | ||
path: ./ | ||
dependencies: | ||
- console | ||
- effect | ||
- prelude | ||
test_dependencies: [] | ||
build_plan: | ||
- console | ||
- effect | ||
- prelude | ||
package_set: | ||
address: | ||
path: ./local-package-set.json | ||
compiler: ">=0.15.10 <0.16.0" | ||
content: | ||
console: 6.1.0 | ||
effect: 4.0.0 | ||
prelude: 6.0.1 | ||
extra_packages: {} | ||
packages: | ||
console: | ||
type: registry | ||
version: 6.1.0 | ||
integrity: sha256-CxmAzjgyuGDmt9FZW51VhV6rBPwR6o0YeKUzA9rSzcM= | ||
dependencies: | ||
- effect | ||
- prelude | ||
effect: | ||
type: registry | ||
version: 4.0.0 | ||
integrity: sha256-eBtZu+HZcMa5HilvI6kaDyVX3ji8p0W9MGKy2K4T6+M= | ||
dependencies: | ||
- prelude | ||
prelude: | ||
type: registry | ||
version: 6.0.1 | ||
integrity: sha256-o8p6SLYmVPqzXZhQFd2hGAWEwBoXl1swxLG/scpJ0V0= | ||
dependencies: [] |
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,10 @@ | ||
package: | ||
name: local-package-set-lockfile | ||
dependencies: | ||
- console | ||
- effect | ||
- prelude | ||
workspace: | ||
package_set: | ||
path: ./local-package-set.json | ||
extra_packages: {} |
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