Git Product home page Git Product logo

serverless-starter's People

Contributors

dependabot-preview[bot] avatar jamesallardice avatar mobdevross avatar rdamico avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

serverless-starter's Issues

Is it worth including webpack-bundle-analyzer?

I recently got this working with webpack-bundle-analyzer for a demo. Unsure if it's worth including the plugin by default because for Lambda functions it doesn't add as much benefit as it does for e.g. a front-end app. However, it can be useful to validate bundling/tree-shaking is working as expected.

How can we make more effective use of Dependabot?

Currently, Dependabot opens PRs, we ignore them and then do periodic sweeping dependency upgrades which covers all (or most) of Dependabot's suggestions and the PRs get automatically closed. If we had some form of automated testing to verify the PRs that Dependabot raises, we could keep on top of them with more confidence.

We should also ensure that the serverless package is excluded from the Dependabot process because an upgrade to it requires additional changes (e.g. updating the pinned version in serverless.yml).

Investigate impact of upcoming change to API Gateway naming convention

In Serverless v3.0.0 the naming convention of API Gateway will switch from ${stage}-${service} to ${service}-${stage}. We should investigate this to determine if it will have any impact. If not, we can update the starter kit to opt-in to the new naming convention ahead of time as follows:

provider:
  name: aws
  # ...

  apiGateway:
    shouldStartNameWithService: true

Should we include a default stack policy?

The Serverless Framework has native support for CloudFormation stack policies which allow you to prevent the accidental removal or replacement of stack resources. We should consider adding a default policy that covers typically critical resources such as database tables or Cognito user pools.

Can we opt-in to shipped ES proposals via Webpack babel-loader?

Currently Webpack fails to compile the code if you use e.g. a static class property (which is an ECMAScript feature supported natively by Node 14). The @babel/preset-env transform also supports the parsing of static class properties if we opt-in with the shippedProposals option.

However, adding shippedProposals doesn't fix the Webpack compilation error. This may be because Webpack is using a different Babel config (inside the Webpack config) but I haven't had a chance to look into it any further yet.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.