Doc of astro-swiper: astro-dev
This astro-swiper is a monorepo made of
- packages/astro-swiper: the source of the astro-swiper npm package
- demo: used to run tests
Note that the doc is not part of this monorepo (yet?), but is part of astro-dev and github of astro-dev.
pnpm install installs all repo in this monorepo.
In order to develop and publish the astro-swiper npm package, please
cd packages/astro-swiperThen commands are:
npm run lintnpm run format
To publish a new version on npm,
# build and test the demo
pnpm run build
pnpm run test
# update package.json and pnpm-lock.yaml, commit and create a tag
pnpm version <patch | minor | major>
git push && git push --tags
npm login
npm publish
# And then create a release in githubDemo website using astro-swiper can be found in demo.
It is used for testing. In order to see it, and test it:
cd demo
pnpm run dev
pnpm run test
