Skip to content

Commit

Permalink
fix: broken types
Browse files Browse the repository at this point in the history
  • Loading branch information
nandorojo committed Mar 2, 2021
1 parent e980e23 commit 320f66f
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 17 deletions.
14 changes: 7 additions & 7 deletions lerna-debug.log
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
95 error Error: A GH_TOKEN environment variable is required.
95 error at createGitHubClient (/Users/fernandorojo/Developer/madison-green/moti/node_modules/@lerna/github-client/lib/github-client.js:17:11)
95 error at createClient (/Users/fernandorojo/Developer/madison-green/moti/node_modules/@lerna/version/lib/create-release.js:16:14)
95 error at createRelease (/Users/fernandorojo/Developer/madison-green/moti/node_modules/@lerna/version/lib/create-release.js:25:18)
95 error at /Users/fernandorojo/Developer/madison-green/moti/node_modules/@lerna/version/index.js:282:9
95 error at /Users/fernandorojo/Developer/madison-green/moti/node_modules/p-waterfall/index.js:4:73
95 error at /Users/fernandorojo/Developer/madison-green/moti/node_modules/p-reduce/index.js:16:10
96 error Error: A GH_TOKEN environment variable is required.
96 error at createGitHubClient (/Users/fernandorojo/Developer/madison-green/moti/node_modules/@lerna/github-client/lib/github-client.js:17:11)
96 error at createClient (/Users/fernandorojo/Developer/madison-green/moti/node_modules/@lerna/version/lib/create-release.js:16:14)
96 error at createRelease (/Users/fernandorojo/Developer/madison-green/moti/node_modules/@lerna/version/lib/create-release.js:25:18)
96 error at /Users/fernandorojo/Developer/madison-green/moti/node_modules/@lerna/version/index.js:282:9
96 error at /Users/fernandorojo/Developer/madison-green/moti/node_modules/p-waterfall/index.js:4:73
96 error at /Users/fernandorojo/Developer/madison-green/moti/node_modules/p-reduce/index.js:16:10
8 changes: 6 additions & 2 deletions packages/core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"extends": "../../tsconfig",
"compilerOptions": {
"outDir": "./lib/typescript"
"outDir": "./lib/typescript",
"paths": {
"@motify/*": ["../*/src"],
"moti": ["../moti/src"]
}
}
}
}
3 changes: 2 additions & 1 deletion packages/moti/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "../../tsconfig",
"compilerOptions": {
"outDir": "./lib/typescript"
"outDir": "./lib/typescript",
"rootDir": "../.."
}
}
4 changes: 2 additions & 2 deletions packages/skeleton/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
"repository": {
"type": "git",
"url": "https://github.com/nandorojo/moti.git",
"directory": "packages/components"
"directory": "packages/skeleton"
},
"bugs": {
"url": "https://github.com/nandorojo/moti/issues"
},
"homepage": "https://github.com/nandorojo/moti.git#readme",
"homepage": "https://moti.fyi",
"main": "lib/commonjs/index.js",
"react-native": "src/index.ts",
"source": "src/index.ts",
Expand Down
6 changes: 5 additions & 1 deletion packages/skeleton/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"extends": "../../tsconfig",
"compilerOptions": {
"outDir": "./lib/typescript"
"outDir": "./lib/typescript",
"paths": {
"@motify/*": ["../*/src"],
"moti": ["../moti/src"]
}
}
}
7 changes: 3 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
"skipLibCheck": true,
"strict": true,
"target": "esnext",
"noImplicitAny": false,
"rootDir": "."
},
"include": ["packages"]
"noImplicitAny": false
// "rootDir": "."
}
}

0 comments on commit 320f66f

Please sign in to comment.