A helpful toolkit to simplify building NodeJS applications on the cloud. The most mature set of libraries is currently focussed on Google Cloud Platform (GCP).
Built for ESM only.
These libraries have most recently evolved from GAE JS, authored by the same team. They have been re-branded, given they are not just useful for Google App Engine, updated for ESM, and cleaned up with deprecations removed.
This is a mono-repo using npm workspaces. Publishing is done using Atlassian Changesets (https://github.com/changesets/changesets). This helps be consistent with versioning and auto-generates changelogs.
Here's the basic flow:
npx changeset
npx changeset version
Would be nice if this was done from CI but for now we do this locally.
npm run publish-libs
There's nothing automated to do this. Essentially you just need to add a new package to /packages
folder but
these steps should save some time:
/packages
. e.g. /packages/gcp-new-thing
, /packages/aws-new-thing
, /packages/azure-new-thing
package.json
, tsconfig.json
, tsconfig.prod.json
, jest.config.json
from one of the existing packagespackage.json
to match desired name, version, dependencies, etctsconfig.json
to match desired project references.src/index.ts
and export some constantnpm install
from root foldernpm run build
from project folderFeel free to change:
gae-js
in the last stepgit checkout -b feature/gae-js-merge
git remote add gae-js https://github.com/mondo-mob/gae-js.git
git remote update
git merge gae-js/main