Skip to content

Commit

Permalink
feat: support publiccode.yml version 0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bfabio committed Jun 17, 2024
1 parent 0764499 commit e6a53cd
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/components/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import EditorBoolean from "./EditorBoolean";
import EditorMultiselect from "./EditorMultiselect";
import { DEFAULT_COUNTRY_SECTIONS } from "../contents/constants";
import categories from "../contents/categories";
import * as countrySection from "../contents/countrySpecificSection";
import * as countrySection from "../contents/countrySpecificSection";
import platforms from "../contents/platforms";
import EditorRadio from "./EditorRadio";
import softwareTypes from "../contents/softwareTypes";
Expand Down
4 changes: 4 additions & 0 deletions src/app/contents/categories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ export default [
"data-analytics",
"data-collection",
"data-visualization",
"design",
"design-system",
"digital-asset-management",
"digital-citizenship",
"document-management",
Expand Down Expand Up @@ -51,6 +53,7 @@ export default [
"ide",
"identity-management",
"instant-messaging",
"integrated-library-system",
"inventory-management",
"it-asset-management",
"it-development",
Expand All @@ -76,6 +79,7 @@ export default [
"project-management",
"property-management",
"real-estate-management",
"regulations-and-directives",
"remote-support",
"resource-management",
"sales-management",
Expand Down
2 changes: 1 addition & 1 deletion src/app/contents/publiccode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default interface PublicCode {
landingURL?: string;
isBasedOn?: string;
softwareVersion?: string;
releaseDate: string; // “YYYY-MM-DD”
releaseDate?: string; // “YYYY-MM-DD”
logo?: string;
platforms: Array<string>;
categories: Array<(typeof categories)[number]>;
Expand Down
2 changes: 1 addition & 1 deletion src/wasm/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

toolchain go1.21.7

require github.com/italia/publiccode-parser-go/v4 v4.0.0
require github.com/italia/publiccode-parser-go/v4 v4.1.0

require (
github.com/Jeffail/gabs v1.4.0 // indirect
Expand Down
4 changes: 2 additions & 2 deletions src/wasm/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ github.com/go-playground/validator/v10 v10.18.0 h1:BvolUXjp4zuvkZ5YN5t7ebzbhlUtP
github.com/go-playground/validator/v10 v10.18.0/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM=
github.com/italia/httpclient-lib-go v0.0.2 h1:4bJLywTVd7qHPdKxJXvvhlXp436JTC4KA6dLhIl5a6c=
github.com/italia/httpclient-lib-go v0.0.2/go.mod h1:b0/D3ULsBw8X+zEl7j/kSZmiMlUdj+agppneOvSq6eA=
github.com/italia/publiccode-parser-go/v4 v4.0.0 h1:1/q4VH7WtnkaJyq3Cn0HU0KUz9X6uRPzmxNariKuI3w=
github.com/italia/publiccode-parser-go/v4 v4.0.0/go.mod h1:qmxP/BgLwCeNMjfcXbRz8WCMPn85Pekcy+oGTUmEF4U=
github.com/italia/publiccode-parser-go/v4 v4.1.0 h1:xKk9Lr+ehhdmzSghEXFeS4PWJ5iK0kAeAb8ioCuLYKc=
github.com/italia/publiccode-parser-go/v4 v4.1.0/go.mod h1:qmxP/BgLwCeNMjfcXbRz8WCMPn85Pekcy+oGTUmEF4U=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0=
Expand Down

0 comments on commit e6a53cd

Please sign in to comment.