Skip to content

sbegaudeau/yalc-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Yalc Sample

Very simple project used to test Yalc

Build the library

In the folder packages/lib:

  • cd packages/lib

  • npm install

  • npm run build

  • npm run type-declaration

You can check that the result is in the repositry packages/lib/dist with the following files:

  • index.d.ts

  • lib.es.js

  • lib.umd.js

Publish the library locally using Yalc

In the folder packages/lib:

  • yalc publish

Build the application using Yalc

In the folder packages/app:

  • yalc add lib

  • npm install

  • npm start

And you can now see your library in action!

About

Git repository to show how to use Yalc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published