Skip to content

Commit

Permalink
Fix package.jsons
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanCavanaugh committed Jun 27, 2018
1 parent 7adf9aa commit 3b81865
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/pkg2/package.json
Expand Up @@ -2,7 +2,8 @@
"name": "@ryancavanaugh/pkg2",
"version": "3.0.2",
"description": "",
"main": "index.js",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prepublishOnly": "tsc -b ."
Expand Down
3 changes: 2 additions & 1 deletion packages/pkg2/src/index.ts
@@ -1,5 +1,6 @@
import * as p1 from '@ryancavanaugh/pkg1';

export function fn3() {
export function fn4() {
p1.fn();
}

3 changes: 2 additions & 1 deletion packages/pkg3/package.json
Expand Up @@ -2,7 +2,8 @@
"name": "@ryancavanaugh/pkg3",
"version": "3.0.2",
"description": "",
"main": "index.js",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prepublishOnly": "tsc -b ."
Expand Down
5 changes: 5 additions & 0 deletions packages/pkg3/src/index.ts
@@ -0,0 +1,5 @@
import * as p1 from "@ryancavanaugh/pkg1";
import * as p2 from "@ryancavanaugh/pkg2";

p1.fn();
p2.fn4();

0 comments on commit 3b81865

Please sign in to comment.