From 65d5c63b5453ceb2bb0ff28fccf7bff1efe5faff Mon Sep 17 00:00:00 2001 From: Antonio Nuno Monteiro Date: Mon, 9 Oct 2023 19:32:57 -0700 Subject: [PATCH] prep release --- CHANGES.md | 4 ++++ dune-project | 35 +++++++++++++++++++++++++++++++++++ flake.lock | 32 ++++++++++++++++---------------- melange-json.opam | 23 ++++++++--------------- 4 files changed, 63 insertions(+), 31 deletions(-) create mode 100644 CHANGES.md diff --git a/CHANGES.md b/CHANGES.md new file mode 100644 index 0000000..d472b99 --- /dev/null +++ b/CHANGES.md @@ -0,0 +1,4 @@ +## 1.0.0 (2023-09-22) + +- Initial release + diff --git a/dune-project b/dune-project index 36ec53c..18602dd 100644 --- a/dune-project +++ b/dune-project @@ -3,3 +3,38 @@ (using melange 0.1) (name melange-json) + +(generate_opam_files true) + +(authors "glennsl") + +(maintainers + "Antonio Nuno Monteiro " + "Javier Ch\195\161varri ") + +(license "LGPL-3.0-only" "MPL-2.0") + +(homepage "https://github.com/melange-community/melange-json/") + +(bug_reports "https://github.com/melange-community/melange-json/issues") + +(source + (github melange-community/melange-json)) + +(package + (name melange-json) + (synopsis "Compositional JSON encode/decode library for Melange") + (description + "Provides encoders and decoders to convert JSON values into typed values. With the possibility to create custom encoders and decoders.") + (depends + (ocaml + (>= "5.1")) + (melange + (>= "2.0.0")) + (melange-jest :with-test) + (reason + (and + (>= "3.10.0") + :with-test)) + (opam-check-npm-deps :with-test) ; todo: use with-dev-setup once opam 2.2 is out + (ocaml-lsp-server :with-test))) diff --git a/flake.lock b/flake.lock index 23fcec7..6bc1ed1 100644 --- a/flake.lock +++ b/flake.lock @@ -30,11 +30,11 @@ ] }, "locked": { - "lastModified": 1694035969, - "narHash": "sha256-QJnOPSxduX34SAPJJXORukEusOLUe/rpMdOI2qOxnGo=", + "lastModified": 1695779252, + "narHash": "sha256-/tlUGkM4jXEF+FG0xe0I51qY7XLBd3db2m4kpBGg264=", "owner": "melange-re", "repo": "melange-compiler-libs", - "rev": "6e6646c6f8b6e2d785e12b8c38e14af2e8e47893", + "rev": "eb8207c1b6744180095184194dfd843e06f9fad1", "type": "github" }, "original": { @@ -57,11 +57,11 @@ ] }, "locked": { - "lastModified": 1694652454, - "narHash": "sha256-pTpVWB3d831iy85K2N7yliLIvswBmW7xpOI48TfluXE=", + "lastModified": 1696756708, + "narHash": "sha256-+4l14c4cYdYVt5WfMRU66vdj2wUL66r/lg9ZXHhbZJg=", "owner": "melange-re", "repo": "melange", - "rev": "465101328e0e1ec90e246b0a2e8622e6cbdc0584", + "rev": "2ff08be262f113fc8d28b66c272502c6f403399c", "type": "github" }, "original": { @@ -72,11 +72,11 @@ }, "nix-filter": { "locked": { - "lastModified": 1694434370, - "narHash": "sha256-7yfdTR4mCvWZ39Q6HUcsa18tr0mg+fJZSaHE/63rwoo=", + "lastModified": 1694857738, + "narHash": "sha256-bxxNyLHjhu0N8T3REINXQ2ZkJco0ABFPn6PIe2QUfqo=", "owner": "numtide", "repo": "nix-filter", - "rev": "d6381c442f79f2f1fdfde00521c3d15d6c21218e", + "rev": "41fd48e00c22b4ced525af521ead8792402de0ea", "type": "github" }, "original": { @@ -93,11 +93,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1694726758, - "narHash": "sha256-eaDW64+DyLe6qtNfAD/rckzYY3DagHcqGimQ3lDnBsc=", + "lastModified": 1696894742, + "narHash": "sha256-Ee9sHSkAVWbuHUSRP4MVyefGlyxxEzIf62cbfujTQ8I=", "owner": "nix-ocaml", "repo": "nix-overlays", - "rev": "93add9ca2d495db927496e032312dcc937e2b944", + "rev": "a6a66ed0edfd8ecc39bb3a049197d598d7c8052e", "type": "github" }, "original": { @@ -108,17 +108,17 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1694669921, - "narHash": "sha256-6ESpJ6FsftHV96JO/zn6je07tyV2dlLR7SdLsmkegTY=", + "lastModified": 1696826630, + "narHash": "sha256-oGU94vo6pkzGbaSsPHjpHtOUg6b7nL8v3xATnrcw3cQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "f2ea252d23ebc9a5336bf6a61e0644921f64e67c", + "rev": "5a9c737c587d2c34d63c5b3cb53c6ab0705bdf4f", "type": "github" }, "original": { "owner": "NixOS", "repo": "nixpkgs", - "rev": "f2ea252d23ebc9a5336bf6a61e0644921f64e67c", + "rev": "5a9c737c587d2c34d63c5b3cb53c6ab0705bdf4f", "type": "github" } }, diff --git a/melange-json.opam b/melange-json.opam index 0cb8e2e..a0ee2bc 100644 --- a/melange-json.opam +++ b/melange-json.opam @@ -1,23 +1,23 @@ +# This file is generated by dune, edit dune-project instead opam-version: "2.0" synopsis: "Compositional JSON encode/decode library for Melange" -description: "Provides encoders and decoders to convert JSON values into typed values. With the possibility to create custom encoders and decoders." +description: + "Provides encoders and decoders to convert JSON values into typed values. With the possibility to create custom encoders and decoders." maintainer: [ + "Antonio Nuno Monteiro " "Javier Chávarri " ] -authors: [ - "glennsl" -] +authors: ["glennsl"] license: ["LGPL-3.0-only" "MPL-2.0"] homepage: "https://github.com/melange-community/melange-json/" -doc: "https://github.com/melange-community/melange-json/" bug-reports: "https://github.com/melange-community/melange-json/issues" depends: [ "dune" {>= "3.8"} - "ocaml" + "ocaml" {>= "5.1"} "melange" {>= "2.0.0"} "melange-jest" {with-test} - "reason" {with-test} - "opam-check-npm-deps" {with-test} # todo: use with-dev-setup once opam 2.2 is out + "reason" {>= "3.10.0" & with-test} + "opam-check-npm-deps" {with-test} "ocaml-lsp-server" {with-test} "odoc" {with-doc} ] @@ -36,10 +36,3 @@ build: [ ] ] dev-repo: "git+https://github.com/melange-community/melange-json.git" -pin-depends: [ - [ "melange.2.0.0" "git+https://github.com/melange-re/melange.git#e114ad55d185badeb32b3c766c9ab547495eac1b" ] - [ "reason.3.10.0" "git+https://github.com/reasonml/reason.git#972261dab3b651ff8ab9b8b9fcc32940595073dc" ] - [ "melange-jest.dev" "git+https://github.com/melange-community/melange-jest.git#acb6ef50beef3c486805d616b90aa7b56b51172d" ] - [ "melange-webapi.dev" "git+https://github.com/melange-community/melange-webapi.git#96dc1e2a867624d18050fad25cf1c71af7a098e1" ] - [ "melange-fetch.dev" "git+https://github.com/melange-community/melange-fetch.git#796f941b6b85eb7e6182ac6e4f40708bfde7a9a9" ] -]