Skip to content

Commit

Permalink
Update package.json files with exports.types and repository entries (#75
Browse files Browse the repository at this point in the history
)

* Add types to exports

* Add repository information

* Change files
  • Loading branch information
MLoughry authored Mar 30, 2023
1 parent 7030761 commit 500c3d8
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 3 deletions.
7 changes: 7 additions & 0 deletions change/@nova-react-2f32fdc6-3d91-4ef6-a1cc-c230cf674e55.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Add types entry to exports map",
"packageName": "@nova/react",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Add types entry to exports map",
"packageName": "@nova/react-test-utils",
"email": "[email protected]",
"dependentChangeType": "patch"
}
7 changes: 7 additions & 0 deletions change/@nova-types-fac25c58-df02-45ee-9ba9-8463b9694634.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Add types entry to exports map",
"packageName": "@nova/types",
"email": "[email protected]",
"dependentChangeType": "patch"
}
8 changes: 7 additions & 1 deletion packages/nova-react-test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
"react": "^17.0.2",
"react-test-renderer": "^17.0.2"
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/nova-facade.git",
"directory": "packages/nova-test-utils"
},
"sideEffects": false,
"access": "public",
"publishConfig": {
Expand All @@ -44,9 +49,10 @@
"module": "./lib/index.mjs",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.mjs",
"require": "./lib/index.js"
}
}
}
}
}
8 changes: 7 additions & 1 deletion packages/nova-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/nova-facade.git",
"directory": "packages/nova-react"
},
"sideEffects": false,
"access": "public",
"publishConfig": {
Expand All @@ -45,9 +50,10 @@
"module": "./lib/index.mjs",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.mjs",
"require": "./lib/index.js"
}
}
}
}
}
8 changes: 7 additions & 1 deletion packages/nova-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
"@types/jest": "^26.0.22",
"monorepo-scripts": "*"
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/nova-facade.git",
"directory": "packages/nova-types"
},
"sideEffects": false,
"access": "public",
"publishConfig": {
Expand All @@ -21,9 +26,10 @@
"module": "./lib/index.mjs",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.mjs",
"require": "./lib/index.js"
}
}
}
}
}

0 comments on commit 500c3d8

Please sign in to comment.