We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 29261f5 + 0a9a5e4 commit a7a58b9Copy full SHA for a7a58b9
3 files changed
.changeset/big-birds-read.md
@@ -0,0 +1,5 @@
1
+---
2
+"@softnetics/rbac": patch
3
4
+
5
+Fix library entrypoint
.github/workflows/release.yaml
@@ -4,6 +4,7 @@ on:
push:
branches:
6
- main
7
+ - v1
8
9
permissions:
10
actions: read
package.json
@@ -3,10 +3,16 @@
"version": "1.1.0",
"description": "O(1) type safe role based access control",
"packageManager": "yarn@1.22.19",
- "main": "./dist/index.cjs",
+ "main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
+ "exports": {
11
+ ".": {
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
+ }
15
+ },
16
"homepage": "https://github.com/softnetics/rbac",
17
"bugs": {
18
"url": "https://github.com/softnetics/rbac/issues",
0 commit comments