Skip to content

Commit

Permalink
Merge pull request #34 from au-re/33-upgrade-dependencies-and-project…
Browse files Browse the repository at this point in the history
…-setup

33 upgrade dependencies and project setup
  • Loading branch information
au-re authored Oct 14, 2024
2 parents b52eb1c + c8e0169 commit bfbbec4
Show file tree
Hide file tree
Showing 37 changed files with 7,258 additions and 27,416 deletions.
4 changes: 0 additions & 4 deletions .browserslistrc

This file was deleted.

1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

104 changes: 0 additions & 104 deletions .eslintrc.json

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/test-and-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Test and build when pushing to a branch
on: push
jobs:
build_and_deploy:
runs-on: ubuntu-latest
env:
NODE_OPTIONS: "--max_old_space_size=4096"
steps:
- uses: actions/checkout@v2
- name: install monorepo dependencies
run: npm ci
- name: build monorepo packages
run: npm run build
- name: test monorepo
run: npm run test
48 changes: 23 additions & 25 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,30 +1,28 @@
# dependencies
node_modules
.pnp
.pnp.js

# testing
coverage
dependency-map

# production
build
lib
storybook-static

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

# storybook
.awcache
*storybook.log

# dependency map
dependency-map.html
*.tsbuildinfo
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "printWidth": 120 }
21 changes: 0 additions & 21 deletions .storybook/main.js

This file was deleted.

17 changes: 17 additions & 0 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import type { StorybookConfig } from "@storybook/react-vite";

const config: StorybookConfig = {
stories: ["../docs/**/*.mdx", "../docs/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
addons: [
"@storybook/addon-onboarding",
"@storybook/addon-links",
"@storybook/addon-essentials",
"@chromatic-com/storybook",
"@storybook/addon-interactions",
],
framework: {
name: "@storybook/react-vite",
options: {},
},
};
export default config;
6 changes: 0 additions & 6 deletions .storybook/manager.js

This file was deleted.

14 changes: 14 additions & 0 deletions .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;
8 changes: 0 additions & 8 deletions .storybook/theme.js

This file was deleted.

Loading

0 comments on commit bfbbec4

Please sign in to comment.