Skip to content

Commit

Permalink
feat(react-windrose-chart): migrated
Browse files Browse the repository at this point in the history
  • Loading branch information
eunchurn committed Aug 31, 2024
1 parent 4d72854 commit 4187527
Show file tree
Hide file tree
Showing 30 changed files with 6,614 additions and 245 deletions.
212 changes: 212 additions & 0 deletions packages/react-windrose-chart/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,212 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# dist
# **/dist/*
# !**/dist/index.js
# !**/dist/*.js.flow

# flow-typed
flow-typed/npm

# Storybook
storybook-static

# only support Yarn
# package-lock.json

# Mac files
.DS_Store

# Cache files
.cache

# except security problem
# yarn.lock# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp
.cache

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

*storybook.log
21 changes: 21 additions & 0 deletions packages/react-windrose-chart/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
__mocks__
.storybook
.vscode
coverage
!/dist
flow-typed
packages
stories
storybook-static
.eslintignore
.eslintrc.json
.flowconfig
.stylelintrc
.travis.yml
babel.config.js
jsconfig.json
lerna.json
rollup.config.*.js
test-config.js
yarn.lock
*.log
26 changes: 26 additions & 0 deletions packages/react-windrose-chart/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import type { StorybookConfig } from "@storybook/react-vite";

import { join, dirname } from "path";

/**
* This function is used to resolve the absolute path of a package.
* It is needed in projects that use Yarn PnP or are set up within a monorepo.
*/
function getAbsolutePath(value: string): any {
return dirname(require.resolve(join(value, "package.json")));
}
const config: StorybookConfig = {
stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
addons: [
getAbsolutePath("@storybook/addon-onboarding"),
getAbsolutePath("@storybook/addon-links"),
getAbsolutePath("@storybook/addon-essentials"),
getAbsolutePath("@chromatic-com/storybook"),
getAbsolutePath("@storybook/addon-interactions"),
],
framework: {
name: getAbsolutePath("@storybook/react-vite"),
options: {},
},
};
export default config;
14 changes: 14 additions & 0 deletions packages/react-windrose-chart/.storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import type { Preview } from "@storybook/react";

const preview: Preview = {
parameters: {
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/i,
},
},
},
};

export default preview;
33 changes: 33 additions & 0 deletions packages/react-windrose-chart/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Changelog

## 1.0.0

### Major Changes

- feat(rebuild): chart

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [0.2.3](https://github.com/eunchurn/react-windrose-chart/compare/v0.2.2...v0.2.3) (2022-05-01)

### [0.2.2](https://github.com/eunchurn/react-windrose-chart/compare/v0.2.1...v0.2.2) (2022-04-30)

### Bug Fixes

- **ci:** npmpublish ([aa861f1](https://github.com/eunchurn/react-windrose-chart/commit/aa861f1a28df4d73cd47c95359978d2c13da877d))

### 0.2.1 (2022-04-30)

### Bug Fixes

- **docs:** update ([9722abf](https://github.com/eunchurn/react-windrose-chart/commit/9722abf9cf1fe9093bcf21f8795f3f6a01f4b051))
- **jest:** update ([4955f25](https://github.com/eunchurn/react-windrose-chart/commit/4955f25ab0aac8e411351fc151174422b5ecbd14))
- **vulnerabilities:** yarn.lock ([e0d2465](https://github.com/eunchurn/react-windrose-chart/commit/e0d24650ad82ac9a404941ac725f2cc3b7876067))

## 0.2.0 (2022-04-30)

### Bug Fixes

- **docs:** update ([9722abf](https://github.com/eunchurn/react-windrose-chart/commit/9722abf9cf1fe9093bcf21f8795f3f6a01f4b051))
- **jest:** update ([4955f25](https://github.com/eunchurn/react-windrose-chart/commit/4955f25ab0aac8e411351fc151174422b5ecbd14))
- **vulnerabilities:** yarn.lock ([e0d2465](https://github.com/eunchurn/react-windrose-chart/commit/e0d24650ad82ac9a404941ac725f2cc3b7876067))
21 changes: 21 additions & 0 deletions packages/react-windrose-chart/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 Eunchurn Park (eunchurn.park@gmail.com)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading

0 comments on commit 4187527

Please sign in to comment.