Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export Bit components to turborepo packages #428

Merged
merged 44 commits into from
May 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
a0e5122
feat: created ui package
nichnarmada Apr 29, 2023
6fae573
feat: added tailwind and prettier
nichnarmada Apr 29, 2023
77078c9
chore: file linting
nichnarmada Apr 29, 2023
f9723a6
refactor: removed unnecessary files
nichnarmada Apr 29, 2023
6dd98ab
refactor: configured build
nichnarmada Apr 29, 2023
d281c17
feature: add storybook
nichnarmada Apr 29, 2023
d79936d
feat: import all bit components
nichnarmada Apr 30, 2023
c36aa48
refactor: remove unused stories
nichnarmada May 3, 2023
1d3e26d
refactor: updated language menu to newest mui
nichnarmada May 3, 2023
ae0cd26
refactor: refactored media func
nichnarmada May 3, 2023
d3a19e0
refactor: use headlessui for modal
nichnarmada May 3, 2023
24973e5
refactor: refactor imports and exports
nichnarmada May 3, 2023
64363a7
chore: pnpm build script
nichnarmada May 3, 2023
4896a7b
chore: added packages
nichnarmada May 3, 2023
6a87f64
chore: update package json and lock files
nichnarmada May 3, 2023
108245b
refactor: re-added Modal component
nichnarmada May 3, 2023
842bebe
refactor: changed import paths internal ui package
nichnarmada May 3, 2023
01ef3dd
refactor: added colors.json to be importable
nichnarmada May 3, 2023
5b836e6
refactor: changed import path
nichnarmada May 3, 2023
864fa1d
refactor: updated shared eslint and prettier
nichnarmada May 4, 2023
ca23085
chore: reformatted files
nichnarmada May 4, 2023
4927e61
refactor: changed type of media func
nichnarmada May 4, 2023
218f3fc
refactor: removed unused assets
nichnarmada May 4, 2023
28629ac
refactor: refactored media functions
nichnarmada May 4, 2023
7572cde
refactor: fixed import path
nichnarmada May 4, 2023
3bda2ba
chore: updated vite to latest
nichnarmada May 5, 2023
451849c
chore: updated single-spa and removed unused vite plugin
nichnarmada May 5, 2023
6bbec5f
fix: fixed pnpm lock
nichnarmada May 5, 2023
ff33f60
fix: removed react-refresh
nichnarmada May 5, 2023
d745875
fix: overrided esbuild version
YHhaoareyou May 5, 2023
02fe068
fix: fixed pnpm lock
nichnarmada May 5, 2023
60c203b
refactor: changed loading spinner to func
nichnarmada May 5, 2023
03b4e3e
refactor: changed prettier to cjs file
nichnarmada May 5, 2023
be06f8e
refactor: updated mui
nichnarmada May 5, 2023
4970a7f
fix: fixed packages
nichnarmada May 13, 2023
96489e6
fix: test version down jpg loader
nichnarmada May 13, 2023
9c4efa3
fix: fixed window and document in theme context
nichnarmada May 18, 2023
fd8b16b
fix: test remove theme context file
nichnarmada May 18, 2023
58a2985
fix: fix error document
nichnarmada May 18, 2023
53e0413
test commit
nichnarmada May 20, 2023
1723e92
fix: use client in component
nichnarmada May 20, 2023
35550f4
fix: under reconstruction feeds
nichnarmada May 23, 2023
4e5b83f
Merge branch 'test-next-contentlayer' into feature/bit-export
nichnarmada May 23, 2023
fa61fc6
fix: next output export
nichnarmada May 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions apps/campus/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
env: {
browser: true,
es2021: true,
es6: true,
},
extends: ["custom"],
};
163 changes: 0 additions & 163 deletions apps/campus/.eslintrc.json

This file was deleted.

18 changes: 4 additions & 14 deletions apps/campus/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
module.exports = {
printWidth: 80,
plugins: [require("prettier-plugin-tailwindcss")],
trailingComma: "es5",
tabWidth: 2,
useTabs: false,
semi: true,
htmlWhitespaceSensitivity: "css",
endOfLine: "lf",

overrides: [
{
files: ["*.html", "*ejs"],
options: {
printWidth: 200,
},
},
],
semi: false,
singleQuote: false,
};
37 changes: 10 additions & 27 deletions apps/campus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"preview-dev": "vite preview --port 8081",
"tsc": "tsc",
"local": "concurrently --kill-others \"pnpm start\" \"cd ../root && pnpm start\"",
"lint": "eslint --fix \"src/**/*.{js,jsx,ts,tsx}\" && prettier --write \"src/**/*.{js,jsx,ts,tsx}\""
"lint": "eslint --fix \"src/**/*.{js,jsx,ts,tsx}\"",
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\""
},
"devDependencies": {
"@babel/core": "7.17.5",
Expand All @@ -24,48 +25,33 @@
"@fortawesome/fontawesome-svg-core": "1.3.0",
"@popperjs/core": "^2.11.6",
"@types/node": "17.0.21",
"@typescript-eslint/eslint-plugin": "5.14.0",
"@typescript-eslint/parser": "5.14.0",
"@vitejs/plugin-react": "1.3.2",
"autoprefixer": "10.4.2",
"babel-plugin-styled-components": "2.0.6",
"concurrently": "7.0.0",
"cssnano": "5.1.0",
"dotenv": "^16.0.3",
"eslint": "8.10.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "8.5.0",
"eslint-config-react-app": "7.0.0",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-prettier": "4.0.0",
"eslint-plugin-react": "7.29.4",
"eslint-plugin-react-hooks": "4.3.0",
"eslint-config-custom": "workspace:*",
"postcss": "8.4.8",
"prettier": "2.5.1",
"prettier-eslint": "13.0.0",
"prettier-plugin-tailwindcss": "^0.2.8",
"prop-types": "^15.8.1",
"react-is": "^18.2.0",
"react-native": "^0.68.5",
"sass": "1.49.9",
"tailwindcss": "3.0.23",
"ts-config-single-spa": "2.0.1",
"typescript": "4.6.2"
"typescript": "4.6.2",
"vite": "^4.3.5"
},
"dependencies": {
"@aws-amplify/auth": "4.4.4",
"@bit/wasedatime.core.theme.colors": "0.0.4",
"@bit/wasedatime.core.ts.constants.langs": "0.0.5",
"@bit/wasedatime.core.ts.ui.header": "0.2.21",
"@bit/wasedatime.core.ts.ui.loading-spinner": "0.1.5",
"@bit/wasedatime.core.ts.utils.i18n": "0.0.4",
"@bit/wasedatime.core.ts.utils.responsive-utils": "0.0.1",
"@fortawesome/free-solid-svg-icons": "6.0.0",
"@fortawesome/react-fontawesome": "0.1.17",
"@types/react": "17.0.39",
"@types/react-dom": "17.0.13",
"@types/styled-components": "5.1.24",
"@vitejs/plugin-react-refresh": "^1.3.6",
"bootstrap": "5.1.3",
"i18next": "19.9.2",
"react": "17.0.2",
Expand All @@ -76,13 +62,10 @@
"react-helmet": "6.1.0",
"react-i18next": "11.15.6",
"react-router-dom": "^6.7.0",
"single-spa-react": "3.2.0",
"single-spa-react": "4.6.1",
"styled-components": "5.3.3",
"vite": "^2.9.15",
"vite-plugin-dynamic-import": "^0.7.1"
},
"resolutions": {
"esbuild": "0.14.43"
"vite-plugin-dynamic-import": "^0.7.1",
"wasedatime-ui": "*"
},
"peerDependencies": {
"@babel/plugin-syntax-flow": "^7.16.7",
Expand Down
Loading