-
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.
refactor: use a monorepo to split component styles and react implemen…
…tation
- Loading branch information
1 parent
74f5767
commit 76b43b0
Showing
60 changed files
with
4,846 additions
and
3,390 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
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 @@ | ||
auto-install-peers = true |
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 |
---|---|---|
|
@@ -2,58 +2,26 @@ | |
"name": "@giantnodes/design-system", | ||
"version": "0.0.0", | ||
"description": "", | ||
"author": "Jordan Phillips <[email protected]>", | ||
"license": "AGPL-3.0", | ||
"type": "module", | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"packageManager": "[email protected]", | ||
"author": { | ||
"name": "Jordan Phillips", | ||
"email": "[email protected]" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "ssh://[email protected]/giantnodes/design-system.git" | ||
}, | ||
"engines": { | ||
"node": ">=16" | ||
}, | ||
"scripts": { | ||
"build": "tsup src", | ||
"---": "", | ||
"lint:eslint": "eslint src --ext cjs,js,jsx,mjs,ts,tsx --max-warnings=0", | ||
"lint:prettier": "pretty-quick 'src/**/*.{cjs,js,jsx,mjs,ts,tsx,json,md,mdx,css,html,yml,yaml,scss}'", | ||
"lint:fix": "pnpm run lint:eslint --fix && pnpm run lint:prettier --write", | ||
"lint": "pnpm run lint:prettier && pnpm run lint:eslint", | ||
"--": "", | ||
"storybook": "concurrently 'pnpm:sb:watch:*'", | ||
"sb:watch:sb": "storybook dev -p 6006", | ||
"sb:watch:css": "npx tailwindcss -i ./.storybook/style.css -o ./.storybook/tailwind.css --watch", | ||
"sb:build:css": "npx tailwindcss -i ./.storybook/style.css -o ./.storybook/tailwind.css", | ||
"sb:build": "pnpm run sb:build:css && storybook build", | ||
"-": "", | ||
"test": "jest --passWithNoTests", | ||
"typecheck": "tsc --noEmit" | ||
}, | ||
"dependencies": { | ||
"clsx": "^1.2.1", | ||
"tailwind-variants": "^0.1.5" | ||
"build": "turbo run build", | ||
"lint": "turbo run lint", | ||
"typecheck": "turbo run typecheck", | ||
"test": "turbo run test" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^17.6.3", | ||
"@commitlint/config-conventional": "^17.6.3", | ||
"@jest/types": "^29.5.0", | ||
"@storybook/addon-essentials": "7.0.18", | ||
"@storybook/addon-interactions": "7.0.18", | ||
"@storybook/addon-links": "7.0.12", | ||
"@storybook/addon-styling": "^1.0.8", | ||
"@storybook/blocks": "7.0.12", | ||
"@storybook/react": "^7.0.12", | ||
"@storybook/react-vite": "7.0.12", | ||
"@types/react": "^18.0.25", | ||
"@types/react-dom": "^18.0.9", | ||
"@typescript-eslint/eslint-plugin": "^5.53.0", | ||
"@typescript-eslint/parser": "^5.53.0", | ||
"autoprefixer": "^10.4.14", | ||
"concurrently": "^8.1.0", | ||
"eslint": "^8.28.0", | ||
"eslint-config-airbnb": "19.0.4", | ||
"eslint-config-airbnb-typescript": "17.0.0", | ||
|
@@ -64,23 +32,13 @@ | |
"eslint-plugin-react-hooks": "^4.6.0", | ||
"eslint-plugin-storybook": "^0.6.12", | ||
"husky": "^8.0.3", | ||
"jest": "^29.5.0", | ||
"postcss": "^8.4.24", | ||
"prettier": "^2.8.3", | ||
"pretty-quick": "^3.1.3", | ||
"prop-types": "15.8.1", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"storybook": "7.0.18", | ||
"tailwindcss": "^3.3.2", | ||
"ts-jest": "^29.1.0", | ||
"tsup": "^6.7.0", | ||
"typescript": "^5.0.4", | ||
"vite": "^4.3.8" | ||
"turbo": "latest", | ||
"typescript": "^5.0.4" | ||
}, | ||
"peerDependencies": { | ||
"react": ">=18", | ||
"react-dom": ">=18", | ||
"tailwindcss": ">=3" | ||
"engines": { | ||
"node": ">=16.x" | ||
} | ||
} |
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,38 @@ | ||
{ | ||
"name": "@giantnodes/design-system", | ||
"version": "0.0.0", | ||
"description": "", | ||
"license": "AGPL-3.0", | ||
"type": "module", | ||
"main": "./dist/index.js", | ||
"files": [ | ||
"dist" | ||
], | ||
"author": { | ||
"name": "Jordan Phillips", | ||
"email": "[email protected]" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "ssh://[email protected]/giantnodes/design-system.git" | ||
}, | ||
"scripts": { | ||
"build": "tsup src", | ||
"--": "", | ||
"lint:eslint": "eslint src --ext cjs,js,jsx,mjs,ts,tsx --max-warnings=0", | ||
"lint:prettier": "pretty-quick 'src/**/*.{cjs,js,jsx,mjs,ts,tsx,json,md,mdx,css,html,yml,yaml,scss}'", | ||
"lint:fix": "pnpm run lint:eslint --fix && pnpm run lint:prettier --write", | ||
"lint": "pnpm run lint:prettier && pnpm run lint:eslint", | ||
"-": "", | ||
"typecheck": "tsc --noEmit" | ||
}, | ||
"dependencies": { | ||
"tailwind-variants": "^0.1.8" | ||
}, | ||
"peerDependencies": { | ||
"tailwindcss": ">=3" | ||
}, | ||
"engines": { | ||
"node": ">=16.x" | ||
} | ||
} |
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,4 @@ | ||
export * from '@/theme/avatar' | ||
export * from '@/theme/badge' | ||
export * from '@/theme/navbar' | ||
export * from '@/theme/sidebar' |
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,13 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/tsconfig", | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"isolatedModules": false, | ||
"baseUrl": "./", | ||
"paths": { | ||
"@/*": ["./src/*"] | ||
} | ||
}, | ||
"include": ["src/**/*.ts"], | ||
"exclude": ["node_modules"] | ||
} |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.