From 30f6e5bb9fff63aeca88e85ff6d04583b642ad92 Mon Sep 17 00:00:00 2001 From: Serhii Khoma Date: Thu, 10 Oct 2024 21:45:35 +0700 Subject: [PATCH] feat: migrate to spago@next --- .github/workflows/ci.yml | 2 +- bower.json | 9 +----- spago.lock | 60 ++++++++++++++++++++++++++++++---------- spago.yaml | 31 +++++++++++---------- 4 files changed, 63 insertions(+), 39 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 76cf55a..832e988 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: output - name: Build source - run: spago build --censor-stats --strict --pedantic-packages + run: spago build --censor-stats --strict --ensure-ranges --pedantic-packages - name: Run tests run: spago test --offline --censor-stats --strict --pedantic-packages -- --censor-codes=UserDefinedWarning diff --git a/bower.json b/bower.json index bf102cb..f88b0a5 100644 --- a/bower.json +++ b/bower.json @@ -12,12 +12,5 @@ "repository": { "type": "git", "url": "https://github.com/purescript-contrib/purescript-css.git" - }, - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "test", - "tests" - ] + } } diff --git a/spago.lock b/spago.lock index 94c621b..b2a9c0b 100644 --- a/spago.lock +++ b/spago.lock @@ -5,21 +5,51 @@ "path": "./", "core": { "dependencies": [ - "arrays", - "colors", - "console", - "effect", - "either", - "exists", - "foldable-traversable", - "maybe", - "nonempty", - "prelude", - "profunctor", - "strings", - "these", - "transformers", - "tuples" + { + "arrays": ">=7.3.0 <8.0.0" + }, + { + "colors": ">=7.0.1 <8.0.0" + }, + { + "console": ">=6.1.0 <7.0.0" + }, + { + "effect": ">=4.0.0 <5.0.0" + }, + { + "either": ">=6.1.0 <7.0.0" + }, + { + "exists": ">=6.0.0 <7.0.0" + }, + { + "foldable-traversable": ">=6.0.0 <7.0.0" + }, + { + "maybe": ">=6.0.0 <7.0.0" + }, + { + "nonempty": ">=7.0.0 <8.0.0" + }, + { + "prelude": ">=6.0.1 <7.0.0" + }, + { + "profunctor": ">=6.0.1 <7.0.0" + }, + { + "strings": ">=6.0.1 <7.0.0" + }, + { + "these": ">=6.0.0 <7.0.0" + }, + { + "transformers": ">=6.1.0 <7.0.0" + }, + { + "tuples": ">=7.0.0 <8.0.0" + } ], "build_plan": [ "arrays", diff --git a/spago.yaml b/spago.yaml index f1221af..0e74ff8 100644 --- a/spago.yaml +++ b/spago.yaml @@ -1,5 +1,6 @@ package: name: css + description: PureScript CSS preprocessor publish: license: Apache-2.0 version: 6.0.0 @@ -7,21 +8,21 @@ package: githubOwner: purescript-contrib githubRepo: purescript-css dependencies: - - arrays - - colors - - console - - effect - - either - - exists - - foldable-traversable - - maybe - - nonempty - - prelude - - profunctor - - strings - - these - - transformers - - tuples + - arrays: ">=7.3.0 <8.0.0" + - colors: ">=7.0.1 <8.0.0" + - console: ">=6.1.0 <7.0.0" + - effect: ">=4.0.0 <5.0.0" + - either: ">=6.1.0 <7.0.0" + - exists: ">=6.0.0 <7.0.0" + - foldable-traversable: ">=6.0.0 <7.0.0" + - maybe: ">=6.0.0 <7.0.0" + - nonempty: ">=7.0.0 <8.0.0" + - prelude: ">=6.0.1 <7.0.0" + - profunctor: ">=6.0.1 <7.0.0" + - strings: ">=6.0.1 <7.0.0" + - these: ">=6.0.0 <7.0.0" + - transformers: ">=6.1.0 <7.0.0" + - tuples: ">=7.0.0 <8.0.0" test: main: Test.Main dependencies: