1.0.12 • Published 2 years ago

@cseitz/exports v1.0.12

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Exports

Requires yarn workspaces

  • Only valid yarn workspaces are checked for exports

Searches for /** @export 'import-name' */ in all files in the project.

Automatically populates package.json exports with what it finds.

This allows one to easily define exports for other portions of this project to utilize.

Example

The API has the Authentication service. It defines its own client logic.

One can do /** @export 'auth' */ inside api/src/services/authentication/client.ts.

Then, the app project can import it via api/auth.

1.0.11

2 years ago

1.0.12

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago