Skip to content

Commit

Permalink
Merge pull request #130 from nextui-org/feat/turborepo
Browse files Browse the repository at this point in the history
Feat/turborepo
  • Loading branch information
jrgarciadev committed Jan 2, 2022
2 parents 4f4fb7f + 162a37b commit b3ecba6
Show file tree
Hide file tree
Showing 648 changed files with 1,736 additions and 1,930 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ jobs:
node-version: '12'
- name: Install dependencies
run: yarn install --frozen-lockfile
- uses: actions/cache@v2
with:
path: ${{ github.workspace }}/.next/cache
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-
- name: Build
run: yarn build

Expand Down
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
node_modules
/.pnp
.pnp.js

# testing
/coverage
coverage
types

# next.js
/.next/
.next/
/out/

# production
/build
dist/

# misc
.DS_Store
Expand All @@ -41,3 +45,6 @@ examples/**/.next

# ignore sitemap
packages/**/sitemap.xml

# turbo
.turbo
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"eslint.workingDirectories": ["./packages/docs","./packages/nextui"],
"eslint.workingDirectories": ["./apps/docs", "./packages/react", "./packages/storybook"],
"editor.tabSize": 2,
"editor.insertSpaces": true
}
2 changes: 1 addition & 1 deletion README.md
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
34 changes: 34 additions & 0 deletions apps/docs/public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://nextui.org</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.009Z</lastmod></url>
<url><loc>https://nextui.org/docs</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/guide/getting-started</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/guide/nextui-plus-nextjs</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/theme/default-theme</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/theme/customize-theme</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/theme/dark-mode</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/theme/override-styles</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/theme/typescript</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/theme/utilities</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/theme/media</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/layout/container</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/layout/grid</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/layout/spacer</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/components/avatar</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/components/button</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/components/button-group</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/components/card</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/components/pagination</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/components/collapse</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/components/input</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/components/textarea</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/components/checkbox</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/components/radio</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/components/progress</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/components/tooltip</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/components/modal</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/components/loading</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/components/switch</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/components/text</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
<url><loc>https://nextui.org/docs/components/link</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-01-02T02:31:41.010Z</lastmod></url>
</urlset>
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const Hero: React.FC = () => {
fs: '3.7rem'
},
'@xsMax': {
fontSize: '2.2rem'
fontSize: '2.5rem'
}
}}
>
Expand All @@ -128,7 +128,7 @@ const Hero: React.FC = () => {
fontSize: '3.7rem'
},
'@xsMax': {
fontSize: '2.2rem'
fontSize: '2.5rem'
}
}}
className="hero__title hero__title-smooth"
Expand Down Expand Up @@ -162,8 +162,8 @@ const Hero: React.FC = () => {
b
size="1.1rem"
css={{
ml: '$4',
'@xsMax': {
ml: '$4',
fontSize: '$base'
}
}}
Expand All @@ -190,8 +190,8 @@ const Hero: React.FC = () => {
b
size="1.1rem"
css={{
ml: '$4',
'@xsMax': {
ml: '$4',
fontSize: '$base'
}
}}
Expand All @@ -216,8 +216,8 @@ const Hero: React.FC = () => {
b
size="1.1rem"
css={{
ml: '$4',
'@xsMax': {
ml: '$4',
fontSize: '$base'
}
}}
Expand All @@ -241,8 +241,8 @@ const Hero: React.FC = () => {
b
size="1.1rem"
css={{
ml: '$4',
'@xsMax': {
ml: '$4',
fontSize: '$base'
}
}}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
71 changes: 71 additions & 0 deletions apps/docs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@components": [
"./src/components/index.ts"
],
"@components/": [
"./src/components/*"
],
"@content/*": [
"./content/*"
],
"@layouts/*": [
"./src/layouts/*"
],
"@hooks/*": [
"./src/hooks/*"
],
"@utils/*": [
"./src/utils/*"
],
"@theme/*": [
"./src/theme/*"
],
"@lib/*": [
"./src/lib/*"
]
},
"lib": [
"dom",
"es2015",
"ESNext.String"
],
"target": "esnext",
"jsx": "preserve",
"allowJs": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"types": [
"node"
],
"strict": false,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"resolveJsonModule": true,
"isolatedModules": true,
"strictNullChecks": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"noUnusedParameters": true,
"noUnusedLocals": true,
"noImplicitAny": true,
"skipLibCheck": true,
"module": "esnext",
"typeRoots": [
"../../node_modules/@types",
"./typings"
]
},
"include": [
"**/*.ts",
"**/*.tsx",
"**/*.js",
"**/*.jsx",
"next-env.d.ts"
],
"exclude": [
"node_modules"
]
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion examples/create-next-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"@nextui-org/react": "^1.0.1-alpha.45",
"@nextui-org/react": "^1.0.2-alpha.1",
"next": "11.0.0",
"react": "17.0.2",
"react-dom": "17.0.2"
Expand Down
2 changes: 1 addition & 1 deletion examples/create-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@nextui-org/react": "^1.0.1-alpha.32",
"@nextui-org/react": "^1.0.2-alpha.1",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
Expand Down
Loading

0 comments on commit b3ecba6

Please sign in to comment.