From 41098d09a7169089d475133aec354c5fe6e54512 Mon Sep 17 00:00:00 2001 From: Amaury Date: Mon, 26 Jul 2021 16:07:39 +0200 Subject: [PATCH] Minor refactor to publish --- package-lock.json | 34 +++++++++++++++++----------------- package.json | 4 ++-- src/main.ts | 4 ++-- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0801779..9418167 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index edaf339..99de776 100644 --- a/package.json +++ b/package.json @@ -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" } } diff --git a/src/main.ts b/src/main.ts index 722f149..ab0cf4d 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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", });