Schmavery / drizzle-postgis

A Drizzle extension/plugin to help work with PostGIS and GeoJSON
https://schmavery.github.io/drizzle-postgis/
MIT License
12 stars 3 forks source link

chore(package.json): :technologist: Added more export endpoints to make importing cleaner. #11

Closed nrdobie closed 2 months ago

nrdobie commented 2 months ago

Updated the build tools to bundle functions, models, and operations as seperate exports to make importing and using easier. Developers will now be able to do import { point } from 'drizzle-postgis/models rather than having to do import { models } from 'drizzle-postgis' and then calling models.point. Also turned of IIFE builds as they weren't exposed.

InteliSense and other autocompletes will now be able to detect the outputs directly, e.g. "point(...)" can show import point from drizzle-postgis/models as a suggested import action.

Schmavery commented 2 months ago

This looks good, thanks! If you want to increment the package version number to 1.1.1, it should automatically build and release an update.

edit: actually I can just do it.

Schmavery commented 2 months ago

Thanks so much!

github-actions[bot] commented 2 months ago

:tada: This PR is included in version 1.1.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: