Git Komut Rehberi & Terminal Asistanı
Sıfırdan Yeni Bir Depo Başlatın:
Mevcut Bir Git Deposu veya Klasörü Gönderin:
Hataları Geri Alma, İptal & Temizlik:
Son commit'i geri al (yapılan değişiklikleri korur):
git reset --soft HEAD~1
Yapılan yerel değişiklikleri iptal et (çalışma ağacını temizler):
git restore .
Takip edilmeyen gereksiz dosyaları sil:
git clean -fd
Değişiklikleri geçici sakla ve geri getir (stash):
git stash git stash pop
Dal (Branch) ve Sürüm Etiketleri:
Yeni dal aç ve geçiş yap:
git checkout -b yeni-ozellik git push -u origin yeni-ozellik
Sürüm etiketi (tag) oluştur ve gönder:
git tag -a v1.0.0 -m "Sürüm 1.0.0" git push origin --tags
Compare commits
12
Commits
main
..
88cdc34fa3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
88cdc34fa3 | ||
|
|
0e10fae230 | ||
|
|
29a9fc6e75 | ||
|
|
07719f889f | ||
|
|
5566a43492 | ||
|
|
ab8ffa80ec | ||
|
|
8c19d9f954 | ||
|
|
9151f8445a | ||
|
|
7ad7fb6056 | ||
|
|
c1b69cd0d2 | ||
|
|
7f77281e8a | ||
|
|
c667bf2f28 |
@@ -1,55 +0,0 @@
|
|||||||
name: Publish PeerTube Plugin to npm
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
- master
|
|
||||||
tags:
|
|
||||||
- 'v*'
|
|
||||||
release:
|
|
||||||
types:
|
|
||||||
- published
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
publish:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
id-token: write
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Set up Node.js
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: '24'
|
|
||||||
|
|
||||||
- name: Syntax check main plugin entrypoint
|
|
||||||
run: node --check main.js
|
|
||||||
|
|
||||||
- name: Check npm version and publish if new
|
|
||||||
shell: bash
|
|
||||||
env:
|
|
||||||
NPM_TOKEN_SECRET: ${{ secrets.NPM_TOKEN }}
|
|
||||||
run: |
|
|
||||||
PKG_NAME=$(node -p "require('./package.json').name")
|
|
||||||
PKG_VER=$(node -p "require('./package.json').version")
|
|
||||||
PUBLISHED=$(npm view "${PKG_NAME}@${PKG_VER}" version 2>/dev/null || true)
|
|
||||||
|
|
||||||
if [ "$PUBLISHED" = "$PKG_VER" ]; then
|
|
||||||
echo "Version ${PKG_VER} of ${PKG_NAME} is already on npm. Skipping publish."
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -n "$NPM_TOKEN_SECRET" ]; then
|
|
||||||
printf "//registry.npmjs.org/:_authToken=%s\n" "$NPM_TOKEN_SECRET" > ~/.npmrc
|
|
||||||
npm publish --access public
|
|
||||||
else
|
|
||||||
npm install -g npm@latest
|
|
||||||
npm -v
|
|
||||||
npm publish --provenance --access public
|
|
||||||
fi
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
node_modules/
|
|
||||||
dist/
|
|
||||||
package-lock.json
|
|
||||||
pnpm-lock.yaml
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"semi": true,
|
|
||||||
"singleQuote": true,
|
|
||||||
"tabWidth": 2,
|
|
||||||
"trailingComma": "none",
|
|
||||||
"printWidth": 120,
|
|
||||||
"arrowParens": "avoid",
|
|
||||||
"endOfLine": "auto"
|
|
||||||
}
|
|
||||||
@@ -15,8 +15,7 @@
|
|||||||
- **⚡ Live Web & YouTube On-Demand Search:** Seamlessly search YouTube directly within your instance search bar. If the video is already on your instance, it plays immediately; otherwise, users can import it in 1 click.
|
- **⚡ Live Web & YouTube On-Demand Search:** Seamlessly search YouTube directly within your instance search bar. If the video is already on your instance, it plays immediately; otherwise, users can import it in 1 click.
|
||||||
- **🔥 Hybrid Smart Recommendations:** Intelligently discovers related content across local federated videos first, supplemented with relevant live discoveries.
|
- **🔥 Hybrid Smart Recommendations:** Intelligently discovers related content across local federated videos first, supplemented with relevant live discoveries.
|
||||||
- **♿ Full Screen Reader Accessibility (A11y):**
|
- **♿ Full Screen Reader Accessibility (A11y):**
|
||||||
- Dynamic result counters with live polite and assertive announcements (`aria-live`).
|
- Dynamic result counters with live polite announcements (`aria-live`).
|
||||||
- Auto-clearing live regions after speech lifecycle (WCAG 2.2 AAA compliant, prevents persistent DOM clutter for virtual cursors).
|
|
||||||
- Accessible keyboard navigation modal (`?` shortcut).
|
- Accessible keyboard navigation modal (`?` shortcut).
|
||||||
- Auto-labeled player controls, buttons, and thumbnails.
|
- Auto-labeled player controls, buttons, and thumbnails.
|
||||||
- **💬 Dynamic Live YouTube Comments:** View original YouTube community comments under imported videos on demand.
|
- **💬 Dynamic Live YouTube Comments:** View original YouTube community comments under imported videos on demand.
|
||||||
|
|||||||
+3
-7
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "peertube-plugin-yaktube-ondemand",
|
"name": "peertube-plugin-yaktube-ondemand",
|
||||||
"version": "1.8.0",
|
"version": "1.4.8",
|
||||||
"description": "Accessible On-Demand YouTube Import, Live Streams, Smart Recommendations, Sleep Timer, Touch Gestures, Voice Assistant & A11y Engine for PeerTube",
|
"description": "Accessible On-Demand YouTube Import, Live Streams, Smart Recommendations and A11y Engine for PeerTube",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"library": "./main.js",
|
"library": "./main.js",
|
||||||
"staticDirs": {},
|
"staticDirs": {},
|
||||||
@@ -30,10 +30,6 @@
|
|||||||
"accessibility",
|
"accessibility",
|
||||||
"a11y",
|
"a11y",
|
||||||
"screen-reader",
|
"screen-reader",
|
||||||
"sleep-timer",
|
|
||||||
"touch-gestures",
|
|
||||||
"voice-assistant",
|
|
||||||
"qr-transfer",
|
|
||||||
"fediverse",
|
"fediverse",
|
||||||
"voice-search",
|
"voice-search",
|
||||||
"speech-recognition",
|
"speech-recognition",
|
||||||
@@ -43,7 +39,7 @@
|
|||||||
"author": "Enes Yakıştır <[email protected]>",
|
"author": "Enes Yakıştır <[email protected]>",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/yakistir98/peertube-plugin-yaktube-ondemand.git"
|
"url": "https://github.com/yakistir98/peertube-plugin-yaktube-ondemand.git"
|
||||||
},
|
},
|
||||||
"homepage": "https://yaktube.yakhub.com.tr",
|
"homepage": "https://yaktube.yakhub.com.tr",
|
||||||
"bugs": "https://github.com/yakistir98/peertube-plugin-yaktube-ondemand/issues",
|
"bugs": "https://github.com/yakistir98/peertube-plugin-yaktube-ondemand/issues",
|
||||||
|
|||||||
Reference in New Issue
Block a user