Comments (11)
✅ Unit tested with 100% coverage :] serverless-heaven/serverless-webpack#8
from plugins.
right, good examples/guides on how to write tests would also mean setting well behaved standards for composition and code style in general.
As for this plugin, it started more like a proof of concept and... all right who am I kidding, I didn't feel like doing unit test all right?! jeez :P
Tricky part like fiddling with service/artifact dirs would definitely need testing tho. Might as well do a bunch of them. I'll try to work on those next weekend following the serveress repo style.
from plugins.
@thenikso awesome work!
Just saw this and my first thought was: "Why would I want to use webpack on the server?" Makes total sense for serverside rendering with dynamic content or isomorphic applications using loaders (e.g. postcss + css modules).
I would recommend to explain such use-cases very early in the Readme. Maybe even explain when not to use it 😄
from plugins.
This plugin moved to https://github.com/serverless-heaven/serverless-webpack with all new documentation and community!
from plugins.
Nice @thenikso . @pmuens @eahefnawy @nikgraf can you guys take a look at this, you're the web pack specialists to give some feedback on the plugin?
from plugins.
Wow! Really impressed by this one @thenikso! Great Work! 🎉
Are there any plans for automated tests?
Would love to see this one in the repo.
+1 for standards like readme, test coverage etc.
from plugins.
Awesome @thenikso . We're also going to start including the same linting we're using in the main repo into this repository to make sure we follow the same standards (just fyi that you're not surprised at some point).
Let us know if you have any specific questions, happy to help as this will as it seems be our first plugin we're going to introduce into the community plugin repo and so it will help guide all the tooling we're putting in place :)
from plugins.
A changelog intended for plugin developers would definitely help in keeping plugins up to date, especially in this fast changing days!
from plugins.
Yup that makes sense. Especially once we move plugins into this repo we want to make sure there are integration tests in place as well so the plugins can actually run.
from plugins.
Awesome! Good job @thenikso 🎉 🎉 🎉
from plugins.
@thenikso I'm currently using this plugin for a project. Trying to find documents on the best way to write unit tests for this setup. Do you know where I can possibly find examples?
from plugins.
Related Issues (20)
- [help needed] Plugin for Serverless Framework - Hooks not working properly HOT 1
- [solved] [request] plugin for setting up CloudWatch alerts e.g. on errors HOT 1
- missing depencies of serverless@>=1.48.1 HOT 1
- Proposing Serverless function announcer plugin HOT 1
- step functions plugin - original lambda input lost after exception HOT 1
- A Auto-generate functions, Typescript, Decorator, DI Pattern wrapper for serverless HOT 1
- Better TypeScript plugin HOT 1
- An idea for a new plugin: A "webpack-like" plugin to compress Python source code to tackle FaaS cold start HOT 3
- serverless.yml package should allow to define codeUri HOT 1
- can't login
- Interoperate with Terraform DynamoDB locks HOT 1
- Serverless Offline Plugin No Longer Being Actively Maintained HOT 1
- serverless-slic-watch-plugin depends on serverless version conflicts with disable Logs: true HOT 1
- serverless-prune-plugin doesn't implement "type" property HOT 1
- Below listed plugins do not predefine type for introduced options: HOT 3
- Plugin Serverless-Http giving an error when sls offline is called HOT 1
- Add serverless-webhooks plugin HOT 1
- Serverless website Plugin page is outdated
- Serverless v4 CLI monetization and community support
- serverless-lift error since using serverless V4 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plugins.