@flexpa/link-pkg
v0.0.4
Published
A tiny public package that's responsible for launching `flexpa/app` within an iframe. The package is published on `npm` under `@flexpa/link` and as an `iife` (Immediately Invoked Function Expression) that can be included in a `<script src="...">` tag.
Downloads
3
Readme
@flexpa/link-pkg
A tiny public package that's responsible for launching flexpa/app
within an iframe. The package is published on npm
under @flexpa/link
and as an iife
(Immediately Invoked Function Expression) that can be included in a <script src="...">
tag.
Publishing to NPM
- Run
yarn version patch | minor | major
to update the package's version. Head to the git repo on Github and create a new release. - Add a tag to the release matching
link-v<major>.<minor>.<patch>
. Once a release has been created thePublish @flexpa/link
github action is triggered and handles publishing the new version tonpm
(See.github/workflows/npm-registry.yml
).
FAQ
| Topic | Answer | Comments |
| ------------- | ------------ | --------------------------------- |
| Runtime | Browser |
| Dev | Dev server | yarn dev
|
| Build | Through vite | yarn build
|
| Localhost | 8080 | Default is http://localhost:3000/ |