[spago] deps. Also, add "needs" to order CI steps

parent b918d140
...@@ -9,6 +9,7 @@ variables: ...@@ -9,6 +9,7 @@ variables:
STACK_OPTS: "--system-ghc" STACK_OPTS: "--system-ghc"
#before_script: #before_script:
#- nix-env -iA nixpkgs.nix nixpkgs.cacert
#- apt-get update #- apt-get update
#- apt-get install make xz-utils #- apt-get install make xz-utils
...@@ -21,17 +22,20 @@ deps: ...@@ -21,17 +22,20 @@ deps:
paths: paths:
- /nix/store - /nix/store
- node_modules/ - node_modules/
- .spago/
script: script:
- nix-env -i git - nix-env -i git
- nix-shell shell.nix --run 'bun install --skip-builds' - nix-shell shell.nix --run 'bun install --skip-builds'
test: test:
needs: ["deps"]
cache: cache:
# cache per branch name # cache per branch name
# key: ${CI_COMMIT_REF_SLUG} # key: ${CI_COMMIT_REF_SLUG}
paths: paths:
- /nix/store - /nix/store
- node_modules/ - node_modules/
- .spago/
script: script:
# find 0.14.5 purescript version here: # find 0.14.5 purescript version here:
# https://lazamar.co.uk/nix-versions/ # https://lazamar.co.uk/nix-versions/
......
...@@ -22,7 +22,7 @@ workspace: ...@@ -22,7 +22,7 @@ workspace:
- datetime: ">=6.1.0 <7.0.0" - datetime: ">=6.1.0 <7.0.0"
- debug: ">=6.0.2 <7.0.0" - debug: ">=6.0.2 <7.0.0"
- dom-filereader: ">=7.0.0 <8.0.0" - dom-filereader: ">=7.0.0 <8.0.0"
- dom-simple - dom-simple: ">=0.4.0 <0.5.0"
- effect: ">=4.0.0 <5.0.0" - effect: ">=4.0.0 <5.0.0"
- either: ">=6.1.0 <7.0.0" - either: ">=6.1.0 <7.0.0"
- enums: ">=6.0.1 <7.0.0" - enums: ">=6.0.1 <7.0.0"
...@@ -58,7 +58,7 @@ workspace: ...@@ -58,7 +58,7 @@ workspace:
- psci-support: ">=6.0.0 <7.0.0" - psci-support: ">=6.0.0 <7.0.0"
- random: ">=6.0.0 <7.0.0" - random: ">=6.0.0 <7.0.0"
- react: ">=11.0.0 <12.0.0" - react: ">=11.0.0 <12.0.0"
- reactix - reactix: ">=0.6.0 <0.7.0"
- record: ">=4.0.0 <5.0.0" - record: ">=4.0.0 <5.0.0"
- record-extra: ">=5.0.1 <6.0.0" - record-extra: ">=5.0.1 <6.0.0"
- routing: ">=11.0.0 <12.0.0" - routing: ">=11.0.0 <12.0.0"
...@@ -70,7 +70,7 @@ workspace: ...@@ -70,7 +70,7 @@ workspace:
- strings-extra: ">=4.0.0 <5.0.0" - strings-extra: ">=4.0.0 <5.0.0"
- stringutils: ">=0.0.12 <0.0.13" - stringutils: ">=0.0.12 <0.0.13"
- these: ">=6.0.0 <7.0.0" - these: ">=6.0.0 <7.0.0"
- toestand - toestand: ">=0.9.0 <0.10.0"
- transformers: ">=6.0.0 <7.0.0" - transformers: ">=6.0.0 <7.0.0"
- tuples: ">=7.0.0 <8.0.0" - tuples: ">=7.0.0 <8.0.0"
- tuples-native: "*" - tuples-native: "*"
...@@ -234,11 +234,12 @@ workspace: ...@@ -234,11 +234,12 @@ workspace:
- web-xhr - web-xhr
package_set: package_set:
address: address:
registry: 50.9.0 registry: 50.11.0
compiler: ">=0.15.15 <0.16.0" compiler: ">=0.15.15 <0.16.0"
content: content:
abc-parser: 2.0.1 abc-parser: 2.0.1
ace: 9.1.0 ace: 9.1.0
address-rfc2821: 0.1.1
aff: 7.1.0 aff: 7.1.0
aff-bus: 6.0.0 aff-bus: 6.0.0
aff-coroutines: 9.0.0 aff-coroutines: 9.0.0
...@@ -581,6 +582,7 @@ workspace: ...@@ -581,6 +582,7 @@ workspace:
react-markdown: 0.1.0 react-markdown: 0.1.0
react-testing-library: 4.0.1 react-testing-library: 4.0.1
react-virtuoso: 1.0.0 react-virtuoso: 1.0.0
reactix: 0.6.0
read: 1.0.1 read: 1.0.1
recharts: 1.1.0 recharts: 1.1.0
record: 4.0.0 record: 4.0.0
...@@ -610,6 +612,7 @@ workspace: ...@@ -610,6 +612,7 @@ workspace:
simple-emitter: 3.0.1 simple-emitter: 3.0.1
simple-i18n: 2.0.1 simple-i18n: 2.0.1
simple-json: 9.0.0 simple-json: 9.0.0
simple-json-generics: 0.2.1
simple-ulid: 3.0.0 simple-ulid: 3.0.0
sized-matrices: 1.0.0 sized-matrices: 1.0.0
sized-vectors: 5.0.2 sized-vectors: 5.0.2
...@@ -642,6 +645,7 @@ workspace: ...@@ -642,6 +645,7 @@ workspace:
thermite: 6.3.1 thermite: 6.3.1
thermite-dom: 0.3.1 thermite-dom: 0.3.1
these: 6.0.0 these: 6.0.0
toestand: 0.9.0
transformation-matrix: 1.0.1 transformation-matrix: 1.0.1
transformers: 6.0.0 transformers: 6.0.0
tree-rose: 4.0.2 tree-rose: 4.0.2
...@@ -656,6 +660,7 @@ workspace: ...@@ -656,6 +660,7 @@ workspace:
typelevel-prelude: 7.0.0 typelevel-prelude: 7.0.0
typelevel-regex: 0.0.3 typelevel-regex: 0.0.3
typelevel-rows: 0.1.0 typelevel-rows: 0.1.0
typisch: 0.4.0
uint: 7.0.0 uint: 7.0.0
ulid: 3.0.1 ulid: 3.0.1
uncurried-transformers: 1.1.0 uncurried-transformers: 1.1.0
...@@ -723,14 +728,12 @@ workspace: ...@@ -723,14 +728,12 @@ workspace:
data-default: data-default:
git: https://github.com/garganscript/purescript-data-default.git git: https://github.com/garganscript/purescript-data-default.git
ref: v0.4.0 ref: v0.4.0
dom-simple: 0.4.0
graphql-client: graphql-client:
git: https://github.com/garganscript/purescript-graphql-client.git git: https://github.com/garganscript/purescript-graphql-client.git
ref: spago-next-9.3.2 ref: spago-next-9.3.2
markdown-it: markdown-it:
git: https://github.com/garganscript/purescript-markdown-it.git git: https://github.com/garganscript/purescript-markdown-it.git
ref: spago-next ref: spago-next
reactix: 0.6.0
sequences: sequences:
git: https://github.com/garganscript/purescript-sequences.git git: https://github.com/garganscript/purescript-sequences.git
ref: v3.0.2-spago-next ref: v3.0.2-spago-next
...@@ -741,11 +744,9 @@ workspace: ...@@ -741,11 +744,9 @@ workspace:
string-search: string-search:
git: https://gitlab.iscpif.fr/gargantext/purescript-string-search.git git: https://gitlab.iscpif.fr/gargantext/purescript-string-search.git
ref: spago-next ref: spago-next
toestand: 0.9.0
tuples-native: tuples-native:
git: https://github.com/garganscript/purescript-tuples-native.git git: https://github.com/garganscript/purescript-tuples-native.git
ref: v2.3.0-spago-next ref: v2.3.0-spago-next
typisch: 0.4.0
packages: packages:
aff: aff:
type: registry type: registry
......
workspace: workspace:
packageSet: packageSet:
registry: 50.9.0 registry: 50.11.0
extraPackages: extraPackages:
# garganscript packages # garganscript packages
d3: d3:
git: https://github.com/garganscript/purescript-d3.git git: https://github.com/garganscript/purescript-d3.git
ref: v0.11.0 ref: v0.11.0
dom-simple: 0.4.0
reactix: 0.6.0
string-search: string-search:
git: https://gitlab.iscpif.fr/gargantext/purescript-string-search.git git: https://gitlab.iscpif.fr/gargantext/purescript-string-search.git
ref: spago-next ref: spago-next
toestand: 0.9.0
typisch: 0.4.0
# custom forks # custom forks
data-default: data-default:
...@@ -37,6 +33,11 @@ workspace: ...@@ -37,6 +33,11 @@ workspace:
git: https://github.com/garganscript/purescript-spec-discovery.git git: https://github.com/garganscript/purescript-spec-discovery.git
ref: v8.2.0-spago-next ref: v8.2.0-spago-next
build:
# Be strict about missing packages
# https://github.com/purescript/spago/issues/1211#issuecomment-2066083651
pedanticPackages: true
package: package:
name: gargantext name: gargantext
dependencies: dependencies:
...@@ -59,7 +60,7 @@ package: ...@@ -59,7 +60,7 @@ package:
- datetime: ">=6.1.0 <7.0.0" - datetime: ">=6.1.0 <7.0.0"
- debug: ">=6.0.2 <7.0.0" - debug: ">=6.0.2 <7.0.0"
- dom-filereader: ">=7.0.0 <8.0.0" - dom-filereader: ">=7.0.0 <8.0.0"
- dom-simple - dom-simple: ">=0.4.0 <0.5.0"
- effect: ">=4.0.0 <5.0.0" - effect: ">=4.0.0 <5.0.0"
- either: ">=6.1.0 <7.0.0" - either: ">=6.1.0 <7.0.0"
- enums: ">=6.0.1 <7.0.0" - enums: ">=6.0.1 <7.0.0"
...@@ -95,7 +96,7 @@ package: ...@@ -95,7 +96,7 @@ package:
- psci-support: ">=6.0.0 <7.0.0" - psci-support: ">=6.0.0 <7.0.0"
- random: ">=6.0.0 <7.0.0" - random: ">=6.0.0 <7.0.0"
- react: ">=11.0.0 <12.0.0" - react: ">=11.0.0 <12.0.0"
- reactix - reactix: ">=0.6.0 <0.7.0"
- record: ">=4.0.0 <5.0.0" - record: ">=4.0.0 <5.0.0"
- record-extra: ">=5.0.1 <6.0.0" - record-extra: ">=5.0.1 <6.0.0"
- routing: ">=11.0.0 <12.0.0" - routing: ">=11.0.0 <12.0.0"
...@@ -107,7 +108,7 @@ package: ...@@ -107,7 +108,7 @@ package:
- strings-extra: ">=4.0.0 <5.0.0" - strings-extra: ">=4.0.0 <5.0.0"
- stringutils: ">=0.0.12 <0.0.13" - stringutils: ">=0.0.12 <0.0.13"
- these: ">=6.0.0 <7.0.0" - these: ">=6.0.0 <7.0.0"
- toestand - toestand: ">=0.9.0 <0.10.0"
- transformers: ">=6.0.0 <7.0.0" - transformers: ">=6.0.0 <7.0.0"
- tuples: ">=7.0.0 <8.0.0" - tuples: ">=7.0.0 <8.0.0"
- tuples-native: "*" - tuples-native: "*"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment