Skip to content

Commit

Permalink
fix(package): add repository directory into package.json for all @cas…
Browse files Browse the repository at this point in the history
…l/* packages (#560)

> If the package.json for your package is not in the root directory (for example if it is part of a monorepo), you can specify the directory in which it lives:
> ```json
> "repository": {
>   "type" : "git",
>   "url" : "https://github.com/facebook/react.git",
>   "directory": "packages/react-dom"
> }
> ```
> — https://docs.npmjs.com/cli/v6/configuring-npm/package-json#repository
  • Loading branch information
iamandrewluca committed Oct 14, 2021
1 parent 74fc248 commit 0ef534c
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion packages/casl-ability/package.json
Expand Up @@ -21,7 +21,8 @@
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/stalniy/casl.git"
"url": "https://github.com/stalniy/casl.git",
"directory": "packages/casl-ability"
},
"homepage": "https://casl.js.org",
"publishConfig": {
Expand Down
3 changes: 2 additions & 1 deletion packages/casl-angular/package.json
Expand Up @@ -14,7 +14,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/stalniy/casl.git"
"url": "https://github.com/stalniy/casl.git",
"directory": "packages/casl-angular"
},
"homepage": "https://casl.js.org",
"publishConfig": {
Expand Down
3 changes: 2 additions & 1 deletion packages/casl-aurelia/package.json
Expand Up @@ -14,7 +14,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/stalniy/casl.git"
"url": "https://github.com/stalniy/casl.git",
"directory": "packages/casl-aurelia"
},
"homepage": "https://casl.js.org",
"publishConfig": {
Expand Down
3 changes: 2 additions & 1 deletion packages/casl-mongoose/package.json
Expand Up @@ -13,7 +13,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/stalniy/casl.git"
"url": "https://github.com/stalniy/casl.git",
"directory": "packages/casl-mongoose"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion packages/casl-prisma/package.json
Expand Up @@ -13,7 +13,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/stalniy/casl.git"
"url": "https://github.com/stalniy/casl.git",
"directory": "packages/casl-prisma"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion packages/casl-react/package.json
Expand Up @@ -14,7 +14,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/stalniy/casl.git"
"url": "https://github.com/stalniy/casl.git",
"directory": "packages/casl-react"
},
"homepage": "https://casl.js.org",
"publishConfig": {
Expand Down
3 changes: 2 additions & 1 deletion packages/casl-vue/package.json
Expand Up @@ -14,7 +14,8 @@
},
"repository": {
"type": "git",
"url": "https://github.com/stalniy/casl.git"
"url": "https://github.com/stalniy/casl.git",
"directory": "packages/casl-vue"
},
"homepage": "https://casl.js.org",
"publishConfig": {
Expand Down

0 comments on commit 0ef534c

Please sign in to comment.