diff --git a/.github/workflows/github-page.yml b/.github/workflows/github-page.yml index 7193d52..b98d130 100644 --- a/.github/workflows/github-page.yml +++ b/.github/workflows/github-page.yml @@ -17,11 +17,6 @@ jobs: uses: actions/setup-node@v3 with: node-version: 20 - always-auth: true - registry-url: https://npm.pkg.github.com/ - scope: '@srgssr' - env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Install dependencies env: diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 35228ad..df83bd1 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -21,11 +21,6 @@ jobs: uses: actions/setup-node@v3 with: node-version: 20 - always-auth: true - registry-url: https://npm.pkg.github.com/ - scope: '@srgssr' - env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Install dependencies if: github.event.action != 'closed' diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml index c096c87..130c509 100644 --- a/.github/workflows/quality.yml +++ b/.github/workflows/quality.yml @@ -18,11 +18,6 @@ jobs: uses: actions/setup-node@v3 with: node-version: 20 - always-auth: true - registry-url: https://npm.pkg.github.com/ - scope: '@srgssr' - env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Install dependencies env : diff --git a/docs/README.md b/docs/README.md index 97f9d75..4b5f053 100644 --- a/docs/README.md +++ b/docs/README.md @@ -16,29 +16,20 @@ To run this demo, you need to have the following installed on your system: ## Quick start -To run this demo locally, follow these steps: +To run this demo locally, clone this repository: -Add the `@srgssr` registry in your `.npmrc` file: - -```text -//npm.pkg.github.com/:_authToken=TOKEN -@srgssr:registry=https://npm.pkg.github.com -``` - -To generate an authentication token follow this -guide: [Authenticating with a personal access token](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#authenticating-with-a-personal-access-token) - -Clone this repository: ```shell git clone https://github.com/SRGSSR/pillarbox-web-demo.git ``` Install the dependencies: + ```shell npm install ``` Start the development server: + ```shell npm run start ``` diff --git a/package-lock.json b/package-lock.json index c27aaf0..708cbca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "@srgssr/pillarbox-playlist": "^1.0.0", - "@srgssr/pillarbox-web": "^1.12.1", + "@srgssr/pillarbox-web": "^1.12.2", "@srgssr/skip-button": "^1.0.0", "highlight.js": "^11.9.0", "lit": "^3.1.3", @@ -1710,10 +1710,9 @@ } }, "node_modules/@srgssr/pillarbox-web": { - "version": "1.12.1", - "resolved": "https://npm.pkg.github.com/download/@srgssr/pillarbox-web/1.12.1/3f44c09ac56e6356c98ef3a9b583bcc4b5108e1c", - "integrity": "sha512-B2XJziRMJvlzXiPO2frNLl0SzEFQ8+1URzEbh9itd8dpABrtg5XGDA7rl2j7ZPpfTselGC7VCNaiQd28KGMKAQ==", - "license": "MIT", + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@srgssr/pillarbox-web/-/pillarbox-web-1.12.2.tgz", + "integrity": "sha512-DetyxIVre5RaSnWNsJRjir5qzur5tZ83NCkOB2bQ3qVr7PfL66vRDnke1ApueuPXtLfyUWSOBKVBZM1NUW6ZMA==", "dependencies": { "video.js": "^8.11.8", "videojs-contrib-eme": "^3.11.2" diff --git a/package.json b/package.json index 9024a68..37865ef 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ }, "dependencies": { "@srgssr/pillarbox-playlist": "^1.0.0", - "@srgssr/pillarbox-web": "^1.12.1", + "@srgssr/pillarbox-web": "^1.12.2", "@srgssr/skip-button": "^1.0.0", "highlight.js": "^11.9.0", "lit": "^3.1.3", diff --git a/samples/angular/package-lock.json b/samples/angular/package-lock.json index 09beb9b..47bebd3 100644 --- a/samples/angular/package-lock.json +++ b/samples/angular/package-lock.json @@ -16,7 +16,7 @@ "@angular/platform-browser": "^17.3.0", "@angular/platform-browser-dynamic": "^17.3.0", "@angular/router": "^17.3.0", - "@srgssr/pillarbox-web": "^1.12.1", + "@srgssr/pillarbox-web": "^1.12.2", "open-props": "^1.7.4", "rxjs": "~7.8.0", "tslib": "^2.3.0", @@ -3304,10 +3304,9 @@ } }, "node_modules/@srgssr/pillarbox-web": { - "version": "1.12.1", - "resolved": "https://npm.pkg.github.com/download/@srgssr/pillarbox-web/1.12.1/3f44c09ac56e6356c98ef3a9b583bcc4b5108e1c", - "integrity": "sha512-B2XJziRMJvlzXiPO2frNLl0SzEFQ8+1URzEbh9itd8dpABrtg5XGDA7rl2j7ZPpfTselGC7VCNaiQd28KGMKAQ==", - "license": "MIT", + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@srgssr/pillarbox-web/-/pillarbox-web-1.12.2.tgz", + "integrity": "sha512-DetyxIVre5RaSnWNsJRjir5qzur5tZ83NCkOB2bQ3qVr7PfL66vRDnke1ApueuPXtLfyUWSOBKVBZM1NUW6ZMA==", "dependencies": { "video.js": "^8.11.8", "videojs-contrib-eme": "^3.11.2" diff --git a/samples/angular/package.json b/samples/angular/package.json index a8fa16a..d10c9df 100644 --- a/samples/angular/package.json +++ b/samples/angular/package.json @@ -15,7 +15,7 @@ "@angular/platform-browser": "^17.3.0", "@angular/platform-browser-dynamic": "^17.3.0", "@angular/router": "^17.3.0", - "@srgssr/pillarbox-web": "^1.12.1", + "@srgssr/pillarbox-web": "^1.12.2", "open-props": "^1.7.4", "rxjs": "~7.8.0", "tslib": "^2.3.0", diff --git a/samples/react/package-lock.json b/samples/react/package-lock.json index 21824f6..67840f4 100644 --- a/samples/react/package-lock.json +++ b/samples/react/package-lock.json @@ -8,7 +8,7 @@ "name": "react", "version": "0.0.0", "dependencies": { - "@srgssr/pillarbox-web": "^1.12.1", + "@srgssr/pillarbox-web": "^1.12.2", "open-props": "^1.7.4", "react": "^18.3.1", "react-dom": "^18.3.1" @@ -1136,10 +1136,9 @@ ] }, "node_modules/@srgssr/pillarbox-web": { - "version": "1.12.1", - "resolved": "https://npm.pkg.github.com/download/@srgssr/pillarbox-web/1.12.1/3f44c09ac56e6356c98ef3a9b583bcc4b5108e1c", - "integrity": "sha512-B2XJziRMJvlzXiPO2frNLl0SzEFQ8+1URzEbh9itd8dpABrtg5XGDA7rl2j7ZPpfTselGC7VCNaiQd28KGMKAQ==", - "license": "MIT", + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@srgssr/pillarbox-web/-/pillarbox-web-1.12.2.tgz", + "integrity": "sha512-DetyxIVre5RaSnWNsJRjir5qzur5tZ83NCkOB2bQ3qVr7PfL66vRDnke1ApueuPXtLfyUWSOBKVBZM1NUW6ZMA==", "dependencies": { "video.js": "^8.11.8", "videojs-contrib-eme": "^3.11.2" diff --git a/samples/react/package.json b/samples/react/package.json index 38cac97..796985a 100644 --- a/samples/react/package.json +++ b/samples/react/package.json @@ -10,7 +10,7 @@ "preview": "vite preview" }, "dependencies": { - "@srgssr/pillarbox-web": "^1.12.1", + "@srgssr/pillarbox-web": "^1.12.2", "open-props": "^1.7.4", "react": "^18.3.1", "react-dom": "^18.3.1" diff --git a/samples/vanilla-ts/package-lock.json b/samples/vanilla-ts/package-lock.json index b345d92..34a8ac5 100644 --- a/samples/vanilla-ts/package-lock.json +++ b/samples/vanilla-ts/package-lock.json @@ -8,7 +8,7 @@ "name": "vanilla-ts", "version": "0.0.0", "dependencies": { - "@srgssr/pillarbox-web": "^1.12.1", + "@srgssr/pillarbox-web": "^1.12.2", "open-props": "^1.7.4" }, "devDependencies": { @@ -591,10 +591,9 @@ ] }, "node_modules/@srgssr/pillarbox-web": { - "version": "1.12.1", - "resolved": "https://npm.pkg.github.com/download/@srgssr/pillarbox-web/1.12.1/3f44c09ac56e6356c98ef3a9b583bcc4b5108e1c", - "integrity": "sha512-B2XJziRMJvlzXiPO2frNLl0SzEFQ8+1URzEbh9itd8dpABrtg5XGDA7rl2j7ZPpfTselGC7VCNaiQd28KGMKAQ==", - "license": "MIT", + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@srgssr/pillarbox-web/-/pillarbox-web-1.12.2.tgz", + "integrity": "sha512-DetyxIVre5RaSnWNsJRjir5qzur5tZ83NCkOB2bQ3qVr7PfL66vRDnke1ApueuPXtLfyUWSOBKVBZM1NUW6ZMA==", "dependencies": { "video.js": "^8.11.8", "videojs-contrib-eme": "^3.11.2" diff --git a/samples/vanilla-ts/package.json b/samples/vanilla-ts/package.json index 3615001..f43606d 100644 --- a/samples/vanilla-ts/package.json +++ b/samples/vanilla-ts/package.json @@ -13,7 +13,7 @@ "vite": "^5.2.11" }, "dependencies": { - "@srgssr/pillarbox-web": "^1.12.1", + "@srgssr/pillarbox-web": "^1.12.2", "open-props": "^1.7.4" } } diff --git a/samples/vue/package-lock.json b/samples/vue/package-lock.json index 071bdab..7ca981b 100644 --- a/samples/vue/package-lock.json +++ b/samples/vue/package-lock.json @@ -11,7 +11,7 @@ "vue": "^3.4.21" }, "devDependencies": { - "@srgssr/pillarbox-web": "^1.12.1", + "@srgssr/pillarbox-web": "^1.12.2", "@vitejs/plugin-vue": "^5.0.4", "open-props": "^1.7.4", "vite": "^5.2.11" @@ -622,11 +622,10 @@ ] }, "node_modules/@srgssr/pillarbox-web": { - "version": "1.12.1", - "resolved": "https://npm.pkg.github.com/download/@srgssr/pillarbox-web/1.12.1/3f44c09ac56e6356c98ef3a9b583bcc4b5108e1c", - "integrity": "sha512-B2XJziRMJvlzXiPO2frNLl0SzEFQ8+1URzEbh9itd8dpABrtg5XGDA7rl2j7ZPpfTselGC7VCNaiQd28KGMKAQ==", + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@srgssr/pillarbox-web/-/pillarbox-web-1.12.2.tgz", + "integrity": "sha512-DetyxIVre5RaSnWNsJRjir5qzur5tZ83NCkOB2bQ3qVr7PfL66vRDnke1ApueuPXtLfyUWSOBKVBZM1NUW6ZMA==", "dev": true, - "license": "MIT", "dependencies": { "video.js": "^8.11.8", "videojs-contrib-eme": "^3.11.2" diff --git a/samples/vue/package.json b/samples/vue/package.json index 6907e2e..1a4cd7c 100644 --- a/samples/vue/package.json +++ b/samples/vue/package.json @@ -14,7 +14,7 @@ "devDependencies": { "@vitejs/plugin-vue": "^5.0.4", "vite": "^5.2.11", - "@srgssr/pillarbox-web": "^1.12.1", + "@srgssr/pillarbox-web": "^1.12.2", "open-props": "^1.7.4" } }