Minor refactor to publish
This commit is contained in:
parent
b2b04df23b
commit
41098d09a7
34
package-lock.json
generated
34
package-lock.json
generated
|
@ -1,15 +1,15 @@
|
||||||
{
|
{
|
||||||
"name": "peertube-plugin-auto-import-ytb",
|
"name": "peertube-plugin-auto-import-ytb",
|
||||||
"version": "0.0.2",
|
"version": "0.0.1",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"version": "0.0.2",
|
"version": "0.0.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/node-fetch": "^2.5.11",
|
"@types/node-fetch": "^2.5.11",
|
||||||
"form-data": "^4.0.0",
|
"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"
|
"node-fetch": "^2.6.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -398,11 +398,10 @@
|
||||||
"rss-parser": "^3.11.0"
|
"rss-parser": "^3.11.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/listener-rss-agregator": {
|
"node_modules/listener-rss-aggregator": {
|
||||||
"version": "0.0.3",
|
"version": "0.0.4",
|
||||||
"resolved": "git+https://zeteo.me/gitea/Outils-PeerTube/listener-rss-agregators#1b36afbb344112c3827b5bcea92e1cc60bd8cf6a",
|
"resolved": "https://registry.npmjs.org/listener-rss-aggregator/-/listener-rss-aggregator-0.0.4.tgz",
|
||||||
"hasInstallScript": true,
|
"integrity": "sha512-8QdCfAb6x6gha6rEZGTwa+FN9eiqknlp6Yo3Oap66BdFnpnjDXUArGuM/bwvrreLr9+fBsmUVHpSWGUuCmm2bA==",
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@databases/sqlite": "^3.0.0",
|
"@databases/sqlite": "^3.0.0",
|
||||||
"listener-rss": "^0.0.3"
|
"listener-rss": "^0.0.3"
|
||||||
|
@ -799,9 +798,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/tar": {
|
"node_modules/tar": {
|
||||||
"version": "4.4.13",
|
"version": "4.4.14",
|
||||||
"resolved": "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz",
|
"resolved": "https://registry.npmjs.org/tar/-/tar-4.4.14.tgz",
|
||||||
"integrity": "sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==",
|
"integrity": "sha512-ouN3XcSWYOAHmXZ+P4NEFJvqXL50To9OZBSQNNP30vBUFJFZZ0PLX15fnwupv6azfxMUfUDUr2fhYw4zGAEPcg==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chownr": "^1.1.1",
|
"chownr": "^1.1.1",
|
||||||
"fs-minipass": "^1.2.5",
|
"fs-minipass": "^1.2.5",
|
||||||
|
@ -1270,9 +1269,10 @@
|
||||||
"rss-parser": "^3.11.0"
|
"rss-parser": "^3.11.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"listener-rss-agregator": {
|
"listener-rss-aggregator": {
|
||||||
"version": "git+https://zeteo.me/gitea/Outils-PeerTube/listener-rss-agregators#1b36afbb344112c3827b5bcea92e1cc60bd8cf6a",
|
"version": "0.0.4",
|
||||||
"from": "listener-rss-agregator@git+https://zeteo.me/gitea/Outils-PeerTube/listener-rss-agregators#1b36afbb34",
|
"resolved": "https://registry.npmjs.org/listener-rss-aggregator/-/listener-rss-aggregator-0.0.4.tgz",
|
||||||
|
"integrity": "sha512-8QdCfAb6x6gha6rEZGTwa+FN9eiqknlp6Yo3Oap66BdFnpnjDXUArGuM/bwvrreLr9+fBsmUVHpSWGUuCmm2bA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@databases/sqlite": "^3.0.0",
|
"@databases/sqlite": "^3.0.0",
|
||||||
"listener-rss": "^0.0.3"
|
"listener-rss": "^0.0.3"
|
||||||
|
@ -1604,9 +1604,9 @@
|
||||||
"integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo="
|
"integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo="
|
||||||
},
|
},
|
||||||
"tar": {
|
"tar": {
|
||||||
"version": "4.4.13",
|
"version": "4.4.14",
|
||||||
"resolved": "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz",
|
"resolved": "https://registry.npmjs.org/tar/-/tar-4.4.14.tgz",
|
||||||
"integrity": "sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==",
|
"integrity": "sha512-ouN3XcSWYOAHmXZ+P4NEFJvqXL50To9OZBSQNNP30vBUFJFZZ0PLX15fnwupv6azfxMUfUDUr2fhYw4zGAEPcg==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"chownr": "^1.1.1",
|
"chownr": "^1.1.1",
|
||||||
"fs-minipass": "^1.2.5",
|
"fs-minipass": "^1.2.5",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "peertube-plugin-auto-import-ytb",
|
"name": "peertube-plugin-auto-import-ytb",
|
||||||
"description": "PeerTube plugin quickstart",
|
"description": "PeerTube plugin quickstart",
|
||||||
"version": "0.0.2",
|
"version": "0.0.1",
|
||||||
"author": "AmauryJOLY",
|
"author": "AmauryJOLY",
|
||||||
"bugs": "https://framagit.org/framasoft/peertube/peertube-plugin-quickstart/issues",
|
"bugs": "https://framagit.org/framasoft/peertube/peertube-plugin-quickstart/issues",
|
||||||
"clientScripts": [],
|
"clientScripts": [],
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/node-fetch": "^2.5.11",
|
"@types/node-fetch": "^2.5.11",
|
||||||
"form-data": "^4.0.0",
|
"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"
|
"node-fetch": "^2.6.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { ListenerRssAggregator } from "listener-rss-agregator";
|
import { ListenerRssAggregator } from "listener-rss-aggregator";
|
||||||
import { ListenerRss } from "listener-rss";
|
import { ListenerRss } from "listener-rss";
|
||||||
import { PeerTubeRequester } from "../lib/peertubeRequester";
|
import { PeerTubeRequester } from "../lib/peertubeRequester";
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ async function register({
|
||||||
|
|
||||||
registerSetting({
|
registerSetting({
|
||||||
name: "ytb-urls",
|
name: "ytb-urls",
|
||||||
label: 'URL list of Youtube channel to synchronize',
|
label: "URL list of Youtube channel to synchronize",
|
||||||
type: "input-textarea",
|
type: "input-textarea",
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user