@bscotch/gamemaker-releases
Advanced tools
Comparing version 0.4.5 to 0.4.6
@@ -9,6 +9,6 @@ import { z } from 'zod'; | ||
} | ||
export type Channel = typeof channels[number]; | ||
export type Channel = (typeof channels)[number]; | ||
export declare const channels: readonly ["lts", "stable", "beta", "unstable"]; | ||
export declare const channelSchema: z.ZodEnum<["lts", "stable", "beta", "unstable"]>; | ||
export type ArtifactType = typeof artifactTypes[number]; | ||
export type ArtifactType = (typeof artifactTypes)[number]; | ||
export declare const artifactTypes: readonly ["ide", "runtime"]; | ||
@@ -116,3 +116,3 @@ export declare const rssFeedSchema: z.ZodObject<{ | ||
feedUrl: z.ZodString; | ||
publishedAt: z.ZodString; | ||
publishedAt: z.ZodEffects<z.ZodString, string, string>; | ||
link: z.ZodOptional<z.ZodString>; | ||
@@ -147,3 +147,3 @@ notesUrl: z.ZodString; | ||
feedUrl: z.ZodString; | ||
publishedAt: z.ZodString; | ||
publishedAt: z.ZodEffects<z.ZodString, string, string>; | ||
notesUrl: z.ZodString; | ||
@@ -212,3 +212,3 @@ notes: z.ZodObject<{ | ||
summary: z.ZodEffects<z.ZodString, string, string>; | ||
publishedAt: z.ZodString; | ||
publishedAt: z.ZodEffects<z.ZodString, string, string>; | ||
ide: z.ZodObject<Omit<{ | ||
@@ -221,3 +221,3 @@ type: z.ZodEnum<["ide", "runtime"]>; | ||
feedUrl: z.ZodString; | ||
publishedAt: z.ZodString; | ||
publishedAt: z.ZodEffects<z.ZodString, string, string>; | ||
notesUrl: z.ZodString; | ||
@@ -287,3 +287,3 @@ notes: z.ZodObject<{ | ||
feedUrl: z.ZodString; | ||
publishedAt: z.ZodString; | ||
publishedAt: z.ZodEffects<z.ZodString, string, string>; | ||
notesUrl: z.ZodString; | ||
@@ -423,3 +423,3 @@ notes: z.ZodObject<{ | ||
summary: z.ZodEffects<z.ZodString, string, string>; | ||
publishedAt: z.ZodString; | ||
publishedAt: z.ZodEffects<z.ZodString, string, string>; | ||
ide: z.ZodObject<Omit<{ | ||
@@ -431,3 +431,3 @@ type: z.ZodEnum<["ide", "runtime"]>; | ||
feedUrl: z.ZodString; | ||
publishedAt: z.ZodString; | ||
publishedAt: z.ZodEffects<z.ZodString, string, string>; | ||
link: z.ZodOptional<z.ZodString>; | ||
@@ -458,3 +458,3 @@ notesUrl: z.ZodString; | ||
feedUrl: z.ZodString; | ||
publishedAt: z.ZodString; | ||
publishedAt: z.ZodEffects<z.ZodString, string, string>; | ||
link: z.ZodOptional<z.ZodString>; | ||
@@ -461,0 +461,0 @@ notesUrl: z.ZodString; |
@@ -35,3 +35,3 @@ import { z } from 'zod'; | ||
feedUrl: z.string(), | ||
publishedAt: z.string(), | ||
publishedAt: z.string().transform((arg) => new Date(arg).toISOString()), | ||
link: z.string().optional(), | ||
@@ -51,3 +51,6 @@ notesUrl: z.string(), | ||
channel: channelSchema, | ||
publishedAt: z.string().describe('Date of release for the IDE in this pair'), | ||
publishedAt: z | ||
.string() | ||
.transform((arg) => new Date(arg).toISOString()) | ||
.describe('Date of release for the IDE in this pair'), | ||
summary: htmlString().describe('Summary of the release, from the RSS feed for the IDE'), | ||
@@ -54,0 +57,0 @@ }); |
{ | ||
"name": "@bscotch/gamemaker-releases", | ||
"version": "0.4.5", | ||
"version": "0.4.6", | ||
"description": "Utility for combining GameMaker release data into a single feed.", | ||
@@ -41,6 +41,6 @@ "keywords": [ | ||
"dependencies": { | ||
"@bscotch/pathy": "^2.7.2", | ||
"@bscotch/utility": "^6.8.2", | ||
"entities": "^4.4.0", | ||
"fast-xml-parser": "^4.2.0", | ||
"@bscotch/pathy": "^2.7.3", | ||
"@bscotch/utility": "^6.8.3", | ||
"entities": "^4.5.0", | ||
"fast-xml-parser": "^4.2.2", | ||
"node-fetch": "^3.3.1", | ||
@@ -51,3 +51,3 @@ "tslib": "^2.5.0", | ||
"devDependencies": { | ||
"@types/chai": "^4.3.4", | ||
"@types/chai": "^4.3.5", | ||
"@types/mocha": "^10.0.1", | ||
@@ -54,0 +54,0 @@ "@types/rimraf": "^3", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
71695
1143
Updated@bscotch/pathy@^2.7.3
Updated@bscotch/utility@^6.8.3
Updatedentities@^4.5.0
Updatedfast-xml-parser@^4.2.2