Try yarn workspaces

This commit is contained in:
James Grugett 2022-02-01 15:15:52 -06:00
parent 0a091831de
commit 0283da7ed9
4 changed files with 16 additions and 2 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
.DS_Store
.vercel
node_modules
yarn.lock

View File

@ -1,5 +1,5 @@
{
"name": "mantic-common",
"name": "common",
"private": true,
"scripts": {},
"dependencies": {

12
package.json Normal file
View File

@ -0,0 +1,12 @@
{
"name": "mantic",
"private": true,
"workspaces": [
"common",
"functions",
"web"
],
"scripts": {},
"dependencies": {},
"devDependencies": {}
}

View File

@ -1,5 +1,5 @@
{
"name": "mantic",
"name": "web",
"private": true,
"scripts": {
"dev": "concurrently -n NEXT,TS -c magenta,cyan \"next dev -p 3000\" \"yarn ts --watch\"",