Minor refactor to publish

This commit is contained in:
Amaury 2021-07-26 16:07:39 +02:00
parent b2b04df23b
commit 41098d09a7
3 changed files with 21 additions and 21 deletions

34
package-lock.json generated
View File

@ -1,15 +1,15 @@
{
"name": "peertube-plugin-auto-import-ytb",
"version": "0.0.2",
"version": "0.0.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"version": "0.0.2",
"version": "0.0.1",
"dependencies": {
"@types/node-fetch": "^2.5.11",
"form-data": "^4.0.0",
"listener-rss-agregator": "git+https://zeteo.me/gitea/Outils-PeerTube/listener-rss-agregators#1b36afbb34",
"listener-rss-aggregator": "^0.0.4",
"node-fetch": "^2.6.1"
},
"devDependencies": {
@ -398,11 +398,10 @@
"rss-parser": "^3.11.0"
}
},
"node_modules/listener-rss-agregator": {
"version": "0.0.3",
"resolved": "git+https://zeteo.me/gitea/Outils-PeerTube/listener-rss-agregators#1b36afbb344112c3827b5bcea92e1cc60bd8cf6a",
"hasInstallScript": true,
"license": "MIT",
"node_modules/listener-rss-aggregator": {
"version": "0.0.4",
"resolved": "https://registry.npmjs.org/listener-rss-aggregator/-/listener-rss-aggregator-0.0.4.tgz",
"integrity": "sha512-8QdCfAb6x6gha6rEZGTwa+FN9eiqknlp6Yo3Oap66BdFnpnjDXUArGuM/bwvrreLr9+fBsmUVHpSWGUuCmm2bA==",
"dependencies": {
"@databases/sqlite": "^3.0.0",
"listener-rss": "^0.0.3"
@ -799,9 +798,9 @@
}
},
"node_modules/tar": {
"version": "4.4.13",
"resolved": "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz",
"integrity": "sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==",
"version": "4.4.14",
"resolved": "https://registry.npmjs.org/tar/-/tar-4.4.14.tgz",
"integrity": "sha512-ouN3XcSWYOAHmXZ+P4NEFJvqXL50To9OZBSQNNP30vBUFJFZZ0PLX15fnwupv6azfxMUfUDUr2fhYw4zGAEPcg==",
"dependencies": {
"chownr": "^1.1.1",
"fs-minipass": "^1.2.5",
@ -1270,9 +1269,10 @@
"rss-parser": "^3.11.0"
}
},
"listener-rss-agregator": {
"version": "git+https://zeteo.me/gitea/Outils-PeerTube/listener-rss-agregators#1b36afbb344112c3827b5bcea92e1cc60bd8cf6a",
"from": "listener-rss-agregator@git+https://zeteo.me/gitea/Outils-PeerTube/listener-rss-agregators#1b36afbb34",
"listener-rss-aggregator": {
"version": "0.0.4",
"resolved": "https://registry.npmjs.org/listener-rss-aggregator/-/listener-rss-aggregator-0.0.4.tgz",
"integrity": "sha512-8QdCfAb6x6gha6rEZGTwa+FN9eiqknlp6Yo3Oap66BdFnpnjDXUArGuM/bwvrreLr9+fBsmUVHpSWGUuCmm2bA==",
"requires": {
"@databases/sqlite": "^3.0.0",
"listener-rss": "^0.0.3"
@ -1604,9 +1604,9 @@
"integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo="
},
"tar": {
"version": "4.4.13",
"resolved": "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz",
"integrity": "sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==",
"version": "4.4.14",
"resolved": "https://registry.npmjs.org/tar/-/tar-4.4.14.tgz",
"integrity": "sha512-ouN3XcSWYOAHmXZ+P4NEFJvqXL50To9OZBSQNNP30vBUFJFZZ0PLX15fnwupv6azfxMUfUDUr2fhYw4zGAEPcg==",
"requires": {
"chownr": "^1.1.1",
"fs-minipass": "^1.2.5",

View File

@ -1,7 +1,7 @@
{
"name": "peertube-plugin-auto-import-ytb",
"description": "PeerTube plugin quickstart",
"version": "0.0.2",
"version": "0.0.1",
"author": "AmauryJOLY",
"bugs": "https://framagit.org/framasoft/peertube/peertube-plugin-quickstart/issues",
"clientScripts": [],
@ -33,7 +33,7 @@
"dependencies": {
"@types/node-fetch": "^2.5.11",
"form-data": "^4.0.0",
"listener-rss-agregator": "git+https://zeteo.me/gitea/Outils-PeerTube/listener-rss-agregators#1b36afbb34",
"listener-rss-aggregator": "^0.0.4",
"node-fetch": "^2.6.1"
}
}

View File

@ -1,4 +1,4 @@
import { ListenerRssAggregator } from "listener-rss-agregator";
import { ListenerRssAggregator } from "listener-rss-aggregator";
import { ListenerRss } from "listener-rss";
import { PeerTubeRequester } from "../lib/peertubeRequester";
@ -25,7 +25,7 @@ async function register({
registerSetting({
name: "ytb-urls",
label: 'URL list of Youtube channel to synchronize',
label: "URL list of Youtube channel to synchronize",
type: "input-textarea",
});