Giter Club home page Giter Club logo

aws-amplify-hooks's People

Watchers

 avatar  avatar

aws-amplify-hooks's Issues

Add a gitignore line for compiled js files

Want to ignore the generated compiled output js files when we build our TS files.

Will need this line adding to the .gitignore file (assuming one is present):

amplify/backend/function/<funcitonName>/src/*.js

Thinking of adding this in between a name spaced area using comments so I can easily group them together and document what they are for:

### AWS-AMPLIFY-HOOKS - ignore compiled js output files from our TS files
amplify/backend/function/myTestFunction/src/*.js
...other functions will be added here as we go
### /AWS-AMPLIFY-HOOKS

If that namespace isn't present then we will add it, if it is then we will add to it.

Only issue with this is it will also ignore any JS file so if you include a standard js file then this won't get saved in your repos/commit which could cause some head scratching...

Make a NPM package

Don't like the cut and paste angle of this so far but can't think of a nice way to get those files in there. Best I can think of is have the code I currently have in each script as a callable method from a hooks object that folks can import but can you import into amplify folder I wonder? Would mean then that user could have their own code within the various hooks (as I think you can only have one hook file for each hook event) and just call my stuff when they need it. A little manual config but then updates would work at least.

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.