1.0.2 • Published 12 months ago
@flexpa/link v1.0.2
@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 | majorto 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/linkgithub 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 | 3007 | Default is http://localhost:3007/ |