question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Priority in secondary packages

See original GitHub issue

Type of Issue

[ ] Bug Report
[x] Feature Request

Description

I have multiple secondary packages for my library my-lib as follows:

  • my-lib/defaults
  • my-lib/testing

However, my-lib/testing depends on my-lib/defaults and therefore my-lib/defaults needs to make sure it is built before my-lib/testing. Is there a way to ensure that the defaults package is built before the testing package?

Version Information

ng-packagr: 3.0.2
@angular/*: 6.0.4
@angular-devkit/build-ng-packagr: 0.6.8
@angular-devkit/build-angular: 0.6.8
typescript: 2.7.2
rxjs: 6.0.0
node: 8.11.2
yarn: 1.7.0

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
alan-agius4commented, Jun 20, 2018

This is done automatically. As ng-packagr analysis the dependencies and builds a dependency graph used to build the entry points in order

1reaction
Hobart2967commented, Jul 3, 2018

This is anyhow not working.

using a class exported from

module/entryPointA/src/class1.ts => import {class2} from ‘module/entryPointB’;

while entryPointB exports class2 it shows:

Cannot find module ‘module/entryPointB’.

As it’s not built yet…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Primary, Secondary, and Tertiary Packaging
The demand for unique secondary packaging is a marketing priority for all major consumers.
Read more >
Quick Facts About Secondary Packaging | EDL
Here are 12 quick facts that you need to know about secondary packaging! ... which is why using biodegradable secondary packaging is often...
Read more >
Primary, Secondary and Tertiary Packaging: Your Guide to the ...
Secondary packaging includes boxes or containers containing specific quantities of primary packages. Tertiary packaging includes pallets and ...
Read more >
Set Up Secondary Routing Priority - Salesforce Help
Edit an existing service channel or add a new one. In the Secondary Routing Priority section, select a priority field. Then map field...
Read more >
Primary, secondary and tertiary packaging - AR Racking
The purpose of secondary packaging is to create unit loads grouping various types of primary packaging, to make storage, transport and handling ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found