mirror of
https://github.com/iptv-org/iptv-org.github.io.git
synced 2025-05-11 17:40:05 -04:00
commit
e775b8aa9f
11 changed files with 2390 additions and 1078 deletions
15
.github/workflows/update.yml
vendored
15
.github/workflows/update.yml
vendored
|
@ -17,16 +17,19 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
if: ${{ !env.ACT }}
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: npm
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v3
|
||||
if: ${{ !env.ACT }}
|
||||
uses: actions/configure-pages@v5
|
||||
- name: Restore cache
|
||||
uses: actions/cache@v3
|
||||
if: ${{ !env.ACT }}
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
docs
|
||||
|
@ -36,11 +39,10 @@ jobs:
|
|||
${{ runner.os }}-svelte-build-
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
- name: Download data from API
|
||||
run: ./src/load.sh
|
||||
- name: Build /docs
|
||||
run: npm run build
|
||||
- name: Upload artifact
|
||||
if: ${{ !env.ACT }}
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: ./docs
|
||||
|
@ -52,5 +54,6 @@ jobs:
|
|||
needs: build
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
if: ${{ !env.ACT }}
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
2686
package-lock.json
generated
2686
package-lock.json
generated
File diff suppressed because it is too large
Load diff
24
package.json
24
package.json
|
@ -3,6 +3,7 @@
|
|||
"type": "module",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"act:update": "act workflow_dispatch -W .github/workflows/update.yml",
|
||||
"dev": "vite dev",
|
||||
"build": "NODE_OPTIONS=--max_old_space_size=4096 vite build",
|
||||
"preview": "vite preview",
|
||||
|
@ -10,31 +11,28 @@
|
|||
"postinstall": "node ./src/load.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@freearhey/core": "^0.5.1",
|
||||
"@freearhey/search-js": "^0.1.1",
|
||||
"@sveltejs/adapter-static": "^2.0.1",
|
||||
"@sveltejs/kit": "^1.7.1",
|
||||
"@sveltejs/adapter-static": "^3.0.8",
|
||||
"@sveltejs/kit": "^2.17.1",
|
||||
"@tailwindcss/line-clamp": "^0.4.2",
|
||||
"@zerodevx/svelte-json-view": "^1.0.2",
|
||||
"@zerodevx/svelte-json-view": "^1.0.11",
|
||||
"autoprefixer": "^10.4.2",
|
||||
"axios": "^1.7.9",
|
||||
"cli-progress": "^3.12.0",
|
||||
"dayjs": "^1.11.1",
|
||||
"iptv-playlist-generator": "^0.1.5",
|
||||
"lodash": "^4.17.21",
|
||||
"postcss": "^8.4.19",
|
||||
"prettier-plugin-svelte": "^2.6.0",
|
||||
"numeral": "^2.0.6",
|
||||
"postcss": "^8.5.1",
|
||||
"prettier-plugin-svelte": "^3.3.3",
|
||||
"qs": "^6.11.2",
|
||||
"svelte": "^3.44.0",
|
||||
"svelte-simple-modal": "^1.3.1",
|
||||
"svelte-simple-modal": "^2.0.0",
|
||||
"svelte-sitemap": "^2.6.0",
|
||||
"sveltejs-tippy": "^3.0.0",
|
||||
"tailwind-scrollbar-hide": "^1.1.7",
|
||||
"tailwindcss": "^3.2.7",
|
||||
"transliteration": "^2.2.0",
|
||||
"validator": "^13.11.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@freearhey/core": "^0.5.1",
|
||||
"axios": "^1.7.9",
|
||||
"cli-progress": "^3.12.0",
|
||||
"numeral": "^2.0.6"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<div class="min-w-full divide-y divide-gray-200 dark:divide-gray-700">
|
||||
<div class="bg-gray-50 dark:bg-gray-700">
|
||||
<div class="flex">
|
||||
<div class="w-36 sm:w-52 shrink-0" />
|
||||
<div class="w-36 sm:w-52 shrink-0"></div>
|
||||
<div
|
||||
class="py-3 px-2 text-xs font-semibold tracking-wider text-left text-gray-400 uppercase dark:text-gray-400 w-52 sm:w-80 shrink-0"
|
||||
>
|
||||
|
|
|
@ -18,7 +18,12 @@
|
|||
}
|
||||
</script>
|
||||
|
||||
<div class="relative px-2 py-24 flex justify-center" on:keypress on:click|self={close}>
|
||||
<div
|
||||
class="relative px-2 py-24 flex justify-center"
|
||||
role="presentation"
|
||||
on:keypress
|
||||
on:click|self={close}
|
||||
>
|
||||
<div class="relative bg-white rounded-md shadow dark:bg-gray-800 w-full max-w-[820px]">
|
||||
<div
|
||||
class="flex justify-between items-center py-3 pl-5 pr-3 md:pr-4 rounded-t border-b dark:border-gray-700"
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
</script>
|
||||
|
||||
<slot {copy} />
|
||||
<textarea bind:this={textarea} value={text} aria-hidden="true" tabindex="-1" />
|
||||
<textarea bind:this={textarea} value={text} aria-hidden="true" tabindex="-1"></textarea>
|
||||
|
||||
<style>
|
||||
textarea {
|
||||
|
|
|
@ -6,7 +6,12 @@
|
|||
export let guides = []
|
||||
</script>
|
||||
|
||||
<div class="relative px-2 py-32 flex justify-center" on:keypress on:click|self={close}>
|
||||
<div
|
||||
class="relative px-2 py-32 flex justify-center"
|
||||
role="presentation"
|
||||
on:keypress
|
||||
on:click|self={close}
|
||||
>
|
||||
<div class="relative bg-white rounded-md shadow dark:bg-gray-800 w-full max-w-2xl">
|
||||
<div
|
||||
class="flex justify-between items-center py-4 pl-5 pr-4 rounded-t border-b dark:border-gray-700"
|
||||
|
@ -34,6 +39,7 @@
|
|||
</h3>
|
||||
<button
|
||||
on:click={close}
|
||||
aria-label="Close"
|
||||
type="button"
|
||||
class="text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-full text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-600 dark:hover:text-white"
|
||||
>
|
||||
|
|
|
@ -47,7 +47,12 @@
|
|||
]
|
||||
</script>
|
||||
|
||||
<div class="relative px-2 py-20 flex justify-center" on:keypress on:click|self={close}>
|
||||
<div
|
||||
class="relative px-2 py-20 flex justify-center"
|
||||
role="presentation"
|
||||
on:keypress
|
||||
on:click|self={close}
|
||||
>
|
||||
<div class="relative bg-white rounded-md shadow dark:bg-gray-800 w-full max-w-2xl">
|
||||
<div
|
||||
class="flex justify-between items-center py-3 pl-5 pr-4 rounded-t border-b dark:border-gray-700"
|
||||
|
|
|
@ -9,7 +9,12 @@
|
|||
const { close } = getContext('simple-modal')
|
||||
</script>
|
||||
|
||||
<div class="relative px-2 py-32 flex justify-center" on:keypress on:click|self={close}>
|
||||
<div
|
||||
class="relative px-2 py-32 flex justify-center"
|
||||
role="presentation"
|
||||
on:keypress
|
||||
on:click|self={close}
|
||||
>
|
||||
<div class="relative bg-white rounded-md shadow dark:bg-gray-800 w-full max-w-2xl">
|
||||
<div
|
||||
class="flex justify-between items-center py-3 pl-5 pr-4 rounded-t border-b dark:border-gray-700"
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import adapter from '@sveltejs/adapter-static'
|
||||
import { vitePreprocess } from '@sveltejs/kit/vite'
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
|
@ -16,8 +15,7 @@ const config = {
|
|||
precompress: false,
|
||||
strict: true
|
||||
})
|
||||
},
|
||||
preprocess: vitePreprocess()
|
||||
}
|
||||
}
|
||||
|
||||
export default config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue