Yarn workspaces (#42)
* Try yarn workspaces * Add versions to sub package.json files
This commit is contained in:
parent
0a091831de
commit
0eac8d9c5c
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,5 @@
|
|||
.DS_Store
|
||||
|
||||
.vercel
|
||||
node_modules
|
||||
yarn.lock
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"name": "mantic-common",
|
||||
"name": "common",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"scripts": {},
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"name": "functions",
|
||||
"version": "1.0.0",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"watch": "tsc -w",
|
||||
|
|
12
package.json
Normal file
12
package.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"name": "mantic",
|
||||
"private": true,
|
||||
"workspaces": [
|
||||
"common",
|
||||
"functions",
|
||||
"web"
|
||||
],
|
||||
"scripts": {},
|
||||
"dependencies": {},
|
||||
"devDependencies": {}
|
||||
}
|
|
@ -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\"",
|
||||
|
|
Loading…
Reference in New Issue
Block a user