peteduncanson / aws-amplify-hooks Goto Github PK
View Code? Open in Web Editor NEWCollection of handy hooks I come up with for AWS Amplify CLI
License: GNU General Public License v3.0
Collection of handy hooks I come up with for AWS Amplify CLI
License: GNU General Public License v3.0
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...
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.