Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kill podcast lib dep #59

Merged
merged 1 commit into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ jobs:
cache: 'npm'
- name: Install npm dependencies
run: npm ci
- name: Build podcast lib
run: npm run build-podcast
- name: Deploy
uses: cloudflare/wrangler-action@7c01cc48d88a1f83b4716e0557c168854a9dcdb8 # v3.4.1
with:
Expand Down
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
},
"files": {
"include": ["rai/**/*.ts", "rai/**/*.json", "server/**/*.ts", "server/**/*.json", "cf/**/*.ts", "cf/**/*.json", "tools/**/*.ts"],
"include": ["rai/**/*.ts", "rai/**/*.json", "server/**/*.ts", "server/**/*.json", "cf/**/*.ts", "cf/**/*.json"],
"ignore": ["cf/.wrangler"]
}
}
3 changes: 0 additions & 3 deletions build/podcast/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions build/podcast/README.md

This file was deleted.

3 changes: 0 additions & 3 deletions cf/test/lastoriaingiallo.parsed.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
"description": "Una ricostruzione sceneggiata catapulta l'ascoltatore sulla scena del delitto, sul quale criminologi, psichiatri e storici cercano di far luce per svelarne il mistero. Delitti diversi per dinamiche, movente, ambiente, quindi delitti passionali, politici, di serial killer o delitti in famiglia. Ma anche misteri, storie di follia e tragici destini. Andato in onda su Rai Radio 3 dal 2002 al 2010, La storia in giallo è un programma ideato e condotto da Antonella Ferrera.",
"explicit": false,
"funding": [],
"generator": "Podcast for Node",
"imageURL": "http://localhost:RAI_SERVER_PORT/dl/img/2024/01/11/1704978749483_La%20storia%20in%20giallo-2048x2048.jpg",
"link": "http://github.com/dylang/node-rss",
"owner": { "name": "", "email": "" },
"summary": "Una ricostruzione sceneggiata catapulta l'ascoltatore sulla scena del delitto, sul quale criminologi, psichiatri e storici cercano di far luce per svelarne il mistero. Delitti diversi per dinamiche, movente, ambiente, quindi delitti passionali, politici, di serial killer o delitti in famiglia. Ma anche misteri, storie di follia e tragici destini. Andato in onda su Rai Radio 3 dal 2002 al 2010, La storia in giallo è un programma ideato e condotto da Antonella Ferrera.",
"title": "La storia in giallo",
"value": null
Expand Down
247 changes: 247 additions & 0 deletions cf/test/lastoriaingiallo.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion cf/worker.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { strict as assert } from "node:assert";
import { writeFile } from "node:fs/promises";
import { Server, createServer } from "node:http";
import { test } from "node:test";
import { getPodcastFromFeed } from "@podverse/podcast-feed-parser";
Expand Down Expand Up @@ -95,7 +96,6 @@ async function rssFeedSuccess() {
servers.raiServerPort.toString(10),
);
}

assert.deepStrictEqual(parsedFeed, expectedJsonCopy);
}

Expand Down
97 changes: 24 additions & 73 deletions package-lock.json

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

Loading