Skip to content

Commit

Permalink
Version 0.93.29
Browse files Browse the repository at this point in the history
  • Loading branch information
f-f committed Apr 3, 2024
1 parent 7308e90 commit 755eff1
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 20 deletions.
6 changes: 3 additions & 3 deletions bin/spago.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package:
name: spago-bin
publish:
version: 0.93.28
version: 0.93.29
license: BSD-3-Clause
build:
strict: true
censor_project_warnings:
censorProjectWarnings:
- WildcardInferredType
dependencies:
- aff
Expand All @@ -31,5 +31,5 @@ package:
minify: false
platform: node
type: app
extra_args:
extraArgs:
- "--external:better-sqlite3"
2 changes: 1 addition & 1 deletion docs-search/client-halogen/spago.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ package:
module: Docs.Search.App
outfile: "../../bin/docs-search-app.js"
platform: browser
extra_args:
extraArgs:
# punycode is a builtin node module. Since we're bundling for browser, esbuild complains about it.
# The node module is also considered deprecated and recommends using the upstream npm package punycode. So its an easy swap-in.
# The extra / at the end is how you tell node and esbuild to override a builtin node package with a user-space package.
Expand Down
2 changes: 1 addition & 1 deletion docs-search/common/spago.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package:
name: docs-search-common
build:
strict: true
censor_project_warnings:
censorProjectWarnings:
- ImplicitQualifiedImport
- ImplicitQualifiedImportReExport
dependencies:
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "spago",
"version": "0.93.28",
"version": "0.93.29",
"license": "BSD-3-Clause",
"description": "🍝 PureScript package manager and build tool",
"keywords": [
Expand Down
10 changes: 5 additions & 5 deletions spago.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package:
name: spago
publish:
version: 0.93.28
version: 0.93.29
license: BSD-3-Clause
location:
githubOwner: purescript
githubRepo: spago
build:
strict: true
censor_project_warnings:
censorProjectWarnings:
- WildcardInferredType
- ImplicitQualifiedImportReExport
dependencies:
Expand Down Expand Up @@ -54,15 +54,15 @@ package:
- unsafe-coerce
test:
main: Test.Spago
censor_test_warnings:
censorTestWarnings:
- ImplicitQualifiedImportReExport
- ImplicitQualifiedImport
dependencies:
- spec
workspace:
package_set:
packageSet:
registry: 47.9.1
extra_packages:
extraPackages:
registry-lib:
git: https://github.com/purescript/registry-dev.git
ref: d7d35c94cc286528e506a6a7ca78d22c84b251c9
Expand Down
4 changes: 0 additions & 4 deletions src/Spago/Config.purs
Original file line number Diff line number Diff line change
Expand Up @@ -625,10 +625,6 @@ readConfig path = do
(\yaml -> { doc, yaml, wasMigrated: isJust maybeMigratedDoc })
(CA.decode Core.configCodec (Yaml.toJson $ fromMaybe doc maybeMigratedDoc))

-- TODO we need a few tests:
-- 1. test that we can read a new-style config without warnings
-- 2. test that we warn if the file is outdated, and that we can migrate it if then passed the flag

setPackageSetVersionInConfig :: forall m. MonadAff m => MonadEffect m => YamlDoc Core.Config -> Version -> m Unit
setPackageSetVersionInConfig doc version = do
liftEffect $ runEffectFn2 setPackageSetVersionInConfigImpl doc (Version.print version)
Expand Down

0 comments on commit 755eff1

Please sign in to comment.