{"id":31970629,"url":"https://github.com/hubspot/cms-webpack-serverless-boilerplate","last_synced_at":"2025-10-14T19:17:09.733Z","repository":{"id":42263797,"uuid":"271372274","full_name":"HubSpot/cms-webpack-serverless-boilerplate","owner":"HubSpot","description":"Boilerplate for bundling serverless functions with webpack locally, prior to uploading to the CMS.","archived":false,"fork":false,"pushed_at":"2023-03-04T23:38:32.000Z","size":364,"stargazers_count":13,"open_issues_count":15,"forks_count":3,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-04-14T05:24:06.324Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HubSpot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-10T19:56:20.000Z","updated_at":"2023-08-23T16:49:06.000Z","dependencies_parsed_at":"2023-02-05T17:30:52.820Z","dependency_job_id":null,"html_url":"https://github.com/HubSpot/cms-webpack-serverless-boilerplate","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/HubSpot/cms-webpack-serverless-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubSpot%2Fcms-webpack-serverless-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubSpot%2Fcms-webpack-serverless-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubSpot%2Fcms-webpack-serverless-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubSpot%2Fcms-webpack-serverless-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HubSpot","download_url":"https://codeload.github.com/HubSpot/cms-webpack-serverless-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HubSpot%2Fcms-webpack-serverless-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020651,"owners_count":26086895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-14T19:17:08.635Z","updated_at":"2025-10-14T19:17:09.721Z","avatar_url":"https://github.com/HubSpot.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NOTE: There is a new beta which supports dependency management via a package.json file. See https://docs.google.com/document/d/e/2PACX-1vRGX60V2wQ2Co9X1NO73hkLObcQdNWp2i49XE-pY_DRS6UjZnv4UuODz4nsI_g1gUIXFC1MhN4AFsnZ/pub for more information\n\n## CMS webpack-bundled serverless functions boilerplate [beta]\nSimple boilerplate for using webpack to bundle serverless function with third-party deps\n\n### Installation\n1. `git clone` this repo\n2. `yarn install`\n3. If you're not yet set up with the [CMS CLI](https://designers.hubspot.com/tutorials/getting-started#quick_start) and have a specified `defaultPortal`, use `yarn hs init` to generate a CMS Personal Access Key.\n4. `yarn build` to build with webpack into `/dist`\n5. `yarn deploy` to build and deploy to `defaultPortal`\n6. `yarn start` to build, deploy, and watch/auto-upload to `defaultPortal`]\n\n### Additional setup for `/top-landing-pages` endpoint\n1. Via Settings \u003e Integrations \u003e API Key, copy your API key.\n2. Use `hs secrets add APIKEY \u003c your api key here\u003e` to give access to this key in your serverless functions via `process.env`. [Read more about this feature here](https://designers.hubspot.com/docs/developer-reference/local-development-cms-cli#serverless-commands).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubspot%2Fcms-webpack-serverless-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhubspot%2Fcms-webpack-serverless-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhubspot%2Fcms-webpack-serverless-boilerplate/lists"}