Skip to content
This repository was archived by the owner on Jun 29, 2022. It is now read-only.

Commit b5f2c89

Browse files
committed
chore: update deps
1 parent f01b6d8 commit b5f2c89

File tree

13 files changed

+7121
-10621
lines changed

13 files changed

+7121
-10621
lines changed
File renamed without changes.

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
node: ['16.x', '14.x', '12.x']
16+
node: ['16.0.0', '14.17.0']
1717

1818
steps:
1919
- name: Checkout source code
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v3
2121
- name: Cache node modules
22-
uses: actions/cache@v2
22+
uses: actions/cache@v3
2323
with:
2424
path: ~/.npm
2525
key: ${{ runner.os }}-node-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
2626
restore-keys: |
2727
${{ runner.os }}-node-${{ matrix.node }}
2828
- name: Use Node.js
29-
uses: actions/setup-node@v2
29+
uses: actions/setup-node@v3
3030
with:
3131
node-version: ${{ matrix.node }}
3232
- name: Install dependencies

.github/workflows/storybook.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,19 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout source code
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v3
1515
- name: Use Node.js LTS
16-
uses: actions/setup-node@v2
16+
uses: actions/setup-node@v3
1717
with:
18-
node-version: 'lts/*'
18+
node-version: '16.15.1'
1919
cache: 'npm'
2020
- name: Install dependencies
2121
run: npm ci
2222
- name: Build Storybook files
2323
run: npm run build-storybook
2424
- name: Deploy to GitHub Pages
25-
uses: JamesIves/github-pages-deploy-action@v4.2.5
25+
uses: JamesIves/github-pages-deploy-action@v4.3.4
2626
with:
27-
branch: main
2827
folder: storybook-static
2928
clean: true
3029
target-folder: docs

.lintstagedrc

Lines changed: 0 additions & 4 deletions
This file was deleted.

.lintstagedrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"./**/*.{svelte,ts}": ["eslint --fix"],
3+
"./**/*.{ts,js,css,scss,html,json,*rc,svelte}": ["prettier --write"]
4+
}
File renamed without changes.

.storybook/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const WindiCSS = require('windicss-webpack-plugin').default;
1+
const WindiCSSWebpackPlugin = require('windicss-webpack-plugin');
22

33
module.exports = {
44
features: {
@@ -10,7 +10,7 @@ module.exports = {
1010
preprocess: require('svelte-preprocess')(),
1111
},
1212
webpackFinal: config => {
13-
config.plugins.push(new WindiCSS());
13+
config.plugins.push(new WindiCSSWebpackPlugin());
1414
return config;
1515
},
1616
};

0 commit comments

Comments
 (0)