Skip to content

Commit

Permalink
chore: update pillarbox-web to 1.12.2
Browse files Browse the repository at this point in the history
Update pillarbox to version 1.12.2. This version is now available on the
public npm registry, replacing the previous version sourced from GitHub.
  • Loading branch information
jboix committed Jul 3, 2024
1 parent 527ff81 commit 98c6e37
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 36 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/github-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
18 changes: 4 additions & 14 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,35 +25,25 @@ Ensure your system is equipped with:

To get started with the Theme Editor on your local machine, follow these steps:

1. Configure the `@srgssr` registry in your `.npmrc` file:

```text
//npm.pkg.github.com/:_authToken=TOKEN
@srgssr:registry=https://npm.pkg.github.com
```
Generate an authentication token by following this
guide: [Authenticating with a personal access token][git-auth-token].
2. Clone the repository:
1. Clone the repository:

```shell
git clone https://github.com/SRGSSR/pillarbox-web-theme-editor.git
```

3. Install dependencies:
2. Install dependencies:

```shell
npm install
```

4. Launch the development server:
3. Launch the development server:

```shell
npm run start
```

5. Navigate to `http://localhost:9696` in your browser.
4. Navigate to `http://localhost:9696` in your browser.

You'll be greeted by an intuitive interface featuring a CSS editor on the left and a live preview
pane with a video player on the right, allowing for real-time theme customization.
Expand Down
9 changes: 4 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"eslint": "eslint {src,test}/**/*.js",
"eslint:fix": "eslint {src,test}/**/*.js --fix",
"outdated": "npm outdated",
"start": "npm run prebuild && vite --port 9696",
"start": "npm run prebuild && vite --port 9696 --host --open",
"stylelint": "stylelint {src,scss}/**/*.{css,scss,js}",
"stylelint:fix": "stylelint {src,scss}/**/*.{css,scss,js} --fix",
"prepare": "husky",
"preview": "vite preview --port 9696"
},
"dependencies": {
"@srgssr/pillarbox-web": "^1.12.0",
"@srgssr/pillarbox-web": "^1.12.2",
"jszip": "^3.10.1",
"lit": "^3.1.2",
"monaco-editor": "^0.47.0",
Expand Down

0 comments on commit 98c6e37

Please sign in to comment.