Yarn workspaces (#42)

* Try yarn workspaces

* Add versions to sub package.json files
This commit is contained in:
James Grugett 2022-02-01 15:25:51 -06:00 committed by GitHub
parent 0a091831de
commit 0eac8d9c5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 19 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,6 @@
{
"name": "mantic-common",
"name": "common",
"version": "1.0.0",
"private": true,
"scripts": {},
"dependencies": {

View File

@ -1,5 +1,6 @@
{
"name": "functions",
"version": "1.0.0",
"scripts": {
"build": "tsc",
"watch": "tsc -w",

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,6 @@
{
"name": "mantic",
"name": "web",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "concurrently -n NEXT,TS -c magenta,cyan \"next dev -p 3000\" \"yarn ts --watch\"",