Skip to content

Commit

Permalink
ACS-4534 Removed redundant build-libs script
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksanderSklorz committed Apr 24, 2023
1 parent 4e29538 commit 0cab288
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/publish-libs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ runs:

- name: Build Libraries
shell: bash
run: npm ci && npm run build-libs
run: npm ci && npm run build

- uses: actions/setup-node@v3
name: setup GH registry
Expand Down
4 changes: 2 additions & 2 deletions docs/extending/publish-to-npm.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ ng generate @schematics/angular:library aca-new-lib

### Build library

In order to publish new library, we need to build it first. You need to add build of your library to `build-libs` command in `package.json`
In order to publish new library, we need to build it first. Building is done by following command from `package.json`

```sh
"build-libs": "ng build aca-shared && ng build aca-new-lib",
"build": "nx build content-ce"
```

### Update publish script
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"prebuild": "mkdir -p ./app/.tmp && cp ./app/src/app.config.json.tpl ./app/.tmp/app.config.json",
"build": "nx build content-ce",
"build.release": "npm run build -- --configuration=production,release",
"build-libs": "nx build aca-shared && nx build adf-office-services-ext && nx build aca-about && nx build aca-viewer && nx build aca-preview && nx build aca-folder-rules && nx build aca-content",
"test": "nx test",
"lint": "NODE_OPTIONS=--max_old_space_size=4096 nx run-many --all --target=lint",
"update-webdriver": "./scripts/update-webdriver.sh",
Expand Down

0 comments on commit 0cab288

Please sign in to comment.