-
Notifications
You must be signed in to change notification settings - Fork 7
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 #361 from visdesignlab/react-component
React component
- Loading branch information
Showing
45 changed files
with
104,643 additions
and
5,557 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Publish Package to npmjs | ||
on: | ||
release: | ||
types: [released] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 'lts/*' | ||
registry-url: 'https://registry.npmjs.org' | ||
- name: Install dependencies | ||
run: yarn install --immutable | ||
- name: Copy README | ||
run: cp README.md packages/upset/README.md | ||
- name: Extract tag name | ||
id: get_tag | ||
run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT | ||
- name: Change directory and publish | ||
run: cd packages/upset && npm publish --tag ${{ steps.get_tag.outputs.TAG }} | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
|
@@ -38,13 +38,13 @@ | |
"singleQuote": true, | ||
"trailingComma": "all" | ||
}, | ||
"packageManager": "[email protected].17", | ||
"packageManager": "[email protected].19", | ||
"dependencies": { | ||
"@playwright/test": "^1.15.0", | ||
"@vitejs/plugin-react": "^4.0.4", | ||
"eslint-config-react-app": "^7.0.1", | ||
"vite": "^4.4.9", | ||
"vite-plugin-dts": "^3.5.1", | ||
"vite-tsconfig-paths": "^4.2.0", | ||
"@playwright/test": "^1.15.0" | ||
"vite-tsconfig-paths": "^4.2.0" | ||
} | ||
} |
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import type { StorybookConfig } from '@storybook/react-vite'; | ||
|
||
const config: StorybookConfig = { | ||
stories: ['../stories/**/*.stories.@(ts|tsx|js|jsx)'], | ||
framework: { | ||
name: '@storybook/react-vite', | ||
options: { | ||
// ... | ||
}, | ||
}, | ||
typescript: { | ||
check: false, | ||
reactDocgen: 'react-docgen-typescript', | ||
reactDocgenTypescriptOptions: {}, // Available only when reactDocgen is set to 'react-docgen-typescript' | ||
skipCompiler: true, | ||
}, | ||
}; | ||
|
||
export default config; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.