TeamTigers / Minisauras
Licence: mit
An open-source CI/CD automation tool based on GitHub Actions that pulls all the JavaScript and CSS files from your base branch, minify them and creates a pull-request with a new branch.
Stars: ✭ 40
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Minisauras
Lasso
Lasso is a Laravel package created to make your deployments blazing fast.
Stars: ✭ 217 (+442.5%)
Mutual labels: webpack, ci-cd
Nodeppt
This is probably the best web presentation tool so far!
Stars: ✭ 9,589 (+23872.5%)
Mutual labels: webpack, javascript-library
Tui
This is a high quanlity components library for VUE
Stars: ✭ 258 (+545%)
Mutual labels: webpack, javascript-library
Js Library Boilerplate
Javascript Starter Boilerplate - Webpack 4, Babel 7, UMD, Hot Reloading, and more
Stars: ✭ 202 (+405%)
Mutual labels: webpack, javascript-library
Webpack Library Example
An example of how to author libraries using webpack.
Stars: ✭ 251 (+527.5%)
Mutual labels: webpack, javascript-library
actions
Set of actions for implementing CI/CD with werf and GitHub Actions
Stars: ✭ 67 (+67.5%)
Mutual labels: ci-cd, action
Js Library Boilerplate Basic
Javascript Minimal Starter Boilerplate - Webpack 5 🚀, Babel 7, UMD, Unit Testing
Stars: ✭ 354 (+785%)
Mutual labels: webpack, javascript-library
Cyclone
Powerful workflow engine and end-to-end pipeline solutions implemented with native Kubernetes resources. https://cyclone.dev
Stars: ✭ 978 (+2345%)
Mutual labels: ci-cd
File Upload Component
React 16.0/Angular 1.6/Angular 5.0 components for file upload with multiple file selection, preview images, download, file thumbnail
Stars: ✭ 36 (-10%)
Mutual labels: webpack
Html Sass Babel Webpack Boilerplate
Webpack 4 + Babel + ES6 + SASS + HTML Modules + Livereload
Stars: ✭ 35 (-12.5%)
Mutual labels: webpack
Budgeting
Budgeting - React + Redux + Webpack (tree shaking) Sample App
Stars: ✭ 971 (+2327.5%)
Mutual labels: webpack
Muiscrr Boilerplate
Material-UI Styled Components React Redux boilerplate with offline mode support 🎬
Stars: ✭ 35 (-12.5%)
Mutual labels: webpack
Webpack React
📦 A sample project to demonstrate bundling ES6, React, SASS and Bootstrap with Webpack
Stars: ✭ 36 (-10%)
Mutual labels: webpack
Svg World Map
🗺 A JavaScript library to easily integrate one or more SVG world maps with all nations (countries) and second-level political subdivisions (countries, provinces, states).
Stars: ✭ 38 (-5%)
Mutual labels: javascript-library
React Pwa Webpack Starter
Boilerplate to build a React PWA with Webpack + Workbox
Stars: ✭ 38 (-5%)
Mutual labels: webpack
Drone Vault
Drone plugin for integrating with the Vault secrets manager
Stars: ✭ 36 (-10%)
Mutual labels: ci-cd
Webpack Aliyun Oss
一个webpack(version >= 4)插件,上传资源到阿里云oss。可以作为webpack插件使用,也可独立使用
Stars: ✭ 36 (-10%)
Mutual labels: webpack
Minisauras 🎉
Minisauras is an open-source CI/CD automation tool based on GitHub Actions that pulls all the JavaScript and CSS files from your base branch, minify them and creates a pull-request with a new branch.
How it works
- Traverse through a given directory (if not provided, traverse from root), finds all the JavaScript & CSS files within it and it's sub-directories.
- Afterwards, Minisauras minify all those files.
- Finally, it creates a new branch in your repository, push those changes and creates a pull request that can be merged in your base branch.
Usage
- Create a personal access token.
- Then setup a secret using that personal access token in your desired repository.
- Create a workflow. For example: main.yml under (.github/workflows) directory.
- In the workflow, provide following things:
- Personal access token. For example: ${{ secrets.TOKEN }} if you set your secret with a name 'TOKEN'.
- The desired directory in which you want to minify CSS and JS files. For example: './' for root and 'src/' for src directory.
Examples
If you want to minify all your JS and CSS files under root directory
name: minisauras
on: [push]
jobs:
read:
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/[email protected]
- name: minisauras
uses: TeamTigers/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
id: dir
with:
directory: './' ## minify all files from root directory
If you want to minify all your JS and CSS files under your custom directory ex. assets/js & assets/css
name: minisauras
on: [push]
jobs:
read:
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/[email protected]
- name: minisauras
uses: TeamTigers/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
id: dir
with:
directory: 'assets/' ## minify all files under assets directory
Example of usage
There you go !! We have created an example repository where you can see how minisauras has minified all the CSS and JavaScript files as well as created a new branch and sent a pull request.
📌 Visit the example repository at : https://github.com/TeamTigers/minisauras-example
License
This project is licensed under MIT
If you like our work please give it a ⭐️
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].