Skip to content

Commit

Permalink
chore: initialize turbo monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
tuler committed Aug 16, 2023
1 parent d4881b2 commit 348c47d
Show file tree
Hide file tree
Showing 5 changed files with 2,731 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
.turbo
3 changes: 3 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"tabWidth": 4
}
27 changes: 27 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "rollups-deploy",
"version": "0.0.0",
"private": true,
"license": "Apache-2.0",
"workspaces": [
"packages/*"
],
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev --parallel",
"lint": "turbo run lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"version-packages": "yarn changeset version && turbo run version",
"publish-packages": "yarn changeset tag && git push --follow-tags"
},
"devDependencies": {
"@changesets/cli": "^2",
"eslint-config-custom": "*",
"prettier": "^3",
"turbo": "^1"
},
"engines": {
"node": ">=18.0.0"
},
"packageManager": "yarn@1.22.19"
}
23 changes: 23 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$schema": "https://turbo.build/schema.json",
"globalEnv": ["NODE_ENV"],
"pipeline": {
"build": {
"dependsOn": ["^build"],
"outputs": ["build/**", "dist/**"]
},
"start": {
"dependsOn": ["^build"]
},
"lint": {
"outputs": []
},
"dev": {
"cache": false,
"dependsOn": ["^build"]
},
"version": {
"dependsOn": ["^build"]
}
}
}
Loading

0 comments on commit 348c47d

Please sign in to comment.