Skip to content

spike: node runner resolve hook (do not merge) - #6

Closed
armando-navarro wants to merge 1 commit into
mainfrom
a94-browser-or-server-app
Closed

armando-navarro wants to merge 1 commit into
mainfrom
a94-browser-or-server-app

Conversation

@armando-navarro

Copy link
Copy Markdown
Owner

CI rehearsal on the fork only. Lets the Node jasmine specs import the built @angular/fire through a resolve hook, with one throwaway spec that imports it. Checks the hook on all three operating systems. Not for merging.

The Node jasmine run loads every spec with import(), so an import of
@angular/fire looked for an installed package and found none. A resolve
hook, preloaded with --import, maps @angular/fire and its entries to the
files the built exports map names under dist/packages-dist. Nothing is
written into node_modules, and the library's own firebase/app import
resolves to the same copy the spec uses.
@armando-navarro

Copy link
Copy Markdown
Owner Author

CI rehearsal done: every job green on ubuntu, macOS and Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant