Skip to content

Commit e1df791

Browse files
committed
ci: set public package.json
1 parent 3e2f6af commit e1df791

File tree

6 files changed

+18
-3
lines changed

6 files changed

+18
-3
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: ./.github/actions
2929

3030
- name: Build
31-
run: npx nx run-many -t build --parallel=3 --exclude='*,!tag:type:publish'
31+
run: npx nx affected -t build --parallel=3 --exclude='*,!tag:type:publish'
3232

3333
- name: Publish packages
3434
run: npx nx release publish

libs/json-api/json-api-nestjs-microorm/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@
1818
"tslib": ">2.3.0",
1919
"reflect-metadata": "^0.1.12 || ^0.2.0",
2020
"rxjs": "^7.1.0"
21+
},
22+
"publishConfig": {
23+
"access": "public"
2124
}
2225
}

libs/json-api/json-api-nestjs-sdk/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,8 @@
4242
"./mjs/src/ngModule.d.ts"
4343
]
4444
}
45+
},
46+
"publishConfig": {
47+
"access": "public"
4548
}
4649
}

libs/json-api/json-api-nestjs-shared/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,8 @@
1919
"type": "commonjs",
2020
"main": "./cjs/src/index.js",
2121
"types": "./cjs/src/index.d.ts",
22-
"module": "./mjs/src/index.js"
22+
"module": "./mjs/src/index.js",
23+
"publishConfig": {
24+
"access": "public"
25+
}
2326
}

libs/json-api/json-api-nestjs-typeorm/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,8 @@
1818
"typeorm",
1919
"microorm",
2020
"CRUD"
21-
]
21+
],
22+
"publishConfig": {
23+
"access": "public"
24+
}
2225
}

libs/json-api/json-api-nestjs/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@
1616
"tslib": ">2.3.0",
1717
"reflect-metadata": "^0.1.12 || ^0.2.0",
1818
"rxjs": "^7.1.0"
19+
},
20+
"publishConfig": {
21+
"access": "public"
1922
}
2023
}

0 commit comments

Comments
 (0)