-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #283 from kit-data-manager/indexedDB-integration
Integration of Indexed DB
- Loading branch information
Showing
58 changed files
with
6,575 additions
and
4,396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,29 +6,28 @@ on: | |
|
||
jobs: | ||
build-component: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
|
||
- name: Build | ||
run: npm ci | ||
|
||
deploy-storybook: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
- name: npm ci | ||
run: npm ci | ||
- name: Build component | ||
run: npm run build | ||
- name: Build Storybook | ||
run: npm run build-storybook | ||
- name: Upload Storybook to GitHub Pages | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: "storybook-static" | ||
|
||
- name: Deploy Storybook to GitHub Pages | ||
uses: bitovi/github-actions-storybook-to-github-pages@v1.0.3 | ||
- name: Deploy to GitHub Pages | ||
uses: actions/deploy-pages@v4 | ||
with: | ||
path: storybook-static | ||
build_command: | | ||
npm run build | ||
npm run build-storybook | ||
token: ${{ github.token }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
# Ignore artifacts: | ||
.stencil | ||
.storybook | ||
dist | ||
loader | ||
node_modules | ||
www | ||
/src/index.html | ||
/www/ | ||
/node_modules/ | ||
/dist/ | ||
/loader/ | ||
/.storybook/ | ||
/.stencil/ | ||
/storybook-static/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
const config = { | ||
export default { | ||
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'], | ||
addons: ['@storybook/addon-links', '@storybook/addon-essentials'], | ||
staticDirs: [{from: '../dist', to: '/assets'}, {from: '../loader', to: '/assets'}], | ||
framework: { | ||
name: '@storybook/web-components-vite', | ||
options: {}, | ||
addons: [ | ||
'@storybook/addon-links', | ||
'@storybook/addon-essentials' | ||
], | ||
staticDirs: [{ from: '../dist', to: '/assets' }, { from: '../loader', to: '/assets' }], | ||
framework: '@storybook/web-components-vite', | ||
docs: { | ||
source: { | ||
type: 'code', | ||
} | ||
}, | ||
docs: {}, | ||
core: { | ||
disableTelemetry: true, | ||
} | ||
}, | ||
}; | ||
export default config; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import globals from 'globals'; | ||
import pluginJs from '@eslint/js'; | ||
import tseslint from 'typescript-eslint'; | ||
import eslintConfigPrettier from 'eslint-config-prettier'; | ||
import storybook from 'eslint-plugin-storybook'; | ||
|
||
export default [ | ||
{ files: ['**/*.{js,mjs,cjs,ts,jsx,tsx}'] }, | ||
{ files: ['**/*.js'], languageOptions: { sourceType: 'commonjs' } }, | ||
{ languageOptions: { globals: globals.browser } }, | ||
{ ignores: ['node_modules/', 'dist/', 'www/', 'loader/', '.stencil/', '.storybook/', 'storybook-static'] }, | ||
...storybook.configs['flat/recommended'], | ||
eslintConfigPrettier, | ||
pluginJs.configs.recommended, | ||
...tseslint.configs.recommended, | ||
]; |
Oops, something went wrong.