Skip to content

Commit ef799f5

Browse files
authored
fix(cubejs-client-ngx): Configure package-level Lerna publish directory for Angular (#9189)
* chore(cubejs-client-ngx): update npm version badge in README * chore(cubejs-client-ngx): update .gitignore to include .angular directory * fix(cubejs-client-ngx): update package.json to include publishConfig and lerna command settings
1 parent 669a23b commit ef799f5

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
dist/
22
.yalc/
3-
yalc.lock
3+
yalc.lock
4+
.angular/

packages/cubejs-client-ngx/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[Website](https://cube.dev)[Docs](https://cube.dev/docs)[Blog](https://cube.dev/blog)[Slack](https://slack.cube.dev)[Twitter](https://twitter.com/the_cube_dev)
44

5-
[![npm version](https://badge.fury.io/js/%40cubejs-backend%2Fserver.svg)](https://badge.fury.io/js/%40cubejs-backend%2Fserver)
5+
[![npm version](https://badge.fury.io/js/%40cubejs-client%2Fngx.svg)](https://badge.fury.io/js/%40cubejs-client%2Fngx)
66
[![GitHub Actions](https://github.com/cube-js/cube.js/workflows/Build/badge.svg)](https://github.com/cube-js/cube.js/actions?query=workflow%3ABuild+branch%3Amaster)
77

88
# Cube.js Angular Client

packages/cubejs-client-ngx/package.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,16 @@
99
"directory": "packages/cubejs-client-ngx"
1010
},
1111
"description": "Cube.js client for Angular",
12-
"files": [
13-
"dist"
14-
],
12+
"publishConfig": {
13+
"access": "public"
14+
},
15+
"lerna": {
16+
"command": {
17+
"publish": {
18+
"directory": "dist"
19+
}
20+
}
21+
},
1522
"license": "MIT",
1623
"scripts": {
1724
"build": "ng build",

0 commit comments

Comments
 (0)