Skip to content

Commit 7864272

Browse files
committed
feat(tree): 📦 Adicionado TurboRepo
Adicionado e configurado turborepo
1 parent bb7b200 commit 7864272

File tree

10 files changed

+133
-8
lines changed

10 files changed

+133
-8
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,4 +151,7 @@ dist
151151

152152
# dist ignore
153153
**/*.dist
154-
**/dist/
154+
**/dist/
155+
156+
# Turbo ignore
157+
.turbo

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"conventionalCommits.scopes": ["tree"]
3+
}

documentations/angular/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
storybook-static
2+
cache

documentations/angular/documentation.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@
527527
"deprecated": false,
528528
"deprecationMessage": "",
529529
"type": "Preview",
530-
"defaultValue": "{\n parameters: {\n actions: { argTypesRegex: \"^on[A-Z].*\" },\n controls: {\n matchers: {\n color: /(background|color)$/i,\n date: /Date$/,\n },\n },\n },\n}"
530+
"defaultValue": "{\n parameters: {\n controls: {\n matchers: {\n color: /(background|color)$/i,\n date: /Date$/i,\n },\n },\n backgrounds: {\n default: 'dark',\n },\n docs: {\n theme: themes.dark,\n },\n },\n}"
531531
},
532532
{
533533
"name": "Primary",
@@ -747,7 +747,7 @@
747747
"deprecated": false,
748748
"deprecationMessage": "",
749749
"type": "Preview",
750-
"defaultValue": "{\n parameters: {\n actions: { argTypesRegex: \"^on[A-Z].*\" },\n controls: {\n matchers: {\n color: /(background|color)$/i,\n date: /Date$/,\n },\n },\n },\n}"
750+
"defaultValue": "{\n parameters: {\n controls: {\n matchers: {\n color: /(background|color)$/i,\n date: /Date$/i,\n },\n },\n backgrounds: {\n default: 'dark',\n },\n docs: {\n theme: themes.dark,\n },\n },\n}"
751751
}
752752
]
753753
},

documentations/angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"build": "ng build",
1818
"watch": "ng build --watch --configuration development",
1919
"test": "jest --no-cache",
20-
"storybook:dev": "ng run angular:storybook",
20+
"dev": "ng run angular:storybook",
2121
"build-storybook": "ng run angular:build-storybook",
2222
"init-msw": "msw init src/"
2323
},

documentations/react/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
storybook-static

documentations/react/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
"version": "0.0.0",
55
"type": "module",
66
"scripts": {
7-
"dev": "vite",
87
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
98
"preview": "vite preview",
10-
"storybook:dev": "storybook dev -p 6007",
9+
"dev": "storybook dev -p 7006",
1110
"build": "storybook build"
1211
},
1312
"dependencies": {

package-lock.json

Lines changed: 99 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,12 @@
44
"applications/*",
55
"documentations/*",
66
"packages/*"
7-
]
7+
],
8+
"scripts": {
9+
"dev": "turbo run dev --parallel",
10+
"build": "turbo run build"
11+
},
12+
"devDependencies": {
13+
"turbo": "^1.13.3"
14+
}
815
}

turbo.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "https://turborepo.org/schema.json",
3+
"pipeline": {
4+
"dev": {
5+
"cache": false
6+
},
7+
"build": {
8+
"outputs": ["dist/**", "storybook-static/**"],
9+
"dependsOn": ["^build"]
10+
}
11+
}
12+
}

0 commit comments

Comments
 (0)