Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/olaoluwam/optins
A collection of shell scripts that help automate the adding of certain tools and dependencies to my projects
https://github.com/olaoluwam/optins
automation bash-script shell-script
Last synced: 13 days ago
JSON representation
A collection of shell scripts that help automate the adding of certain tools and dependencies to my projects
- Host: GitHub
- URL: https://github.com/olaoluwam/optins
- Owner: OlaoluwaM
- Created: 2021-03-02T09:48:48.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-06T08:09:02.000Z (over 3 years ago)
- Last Synced: 2024-10-04T21:16:26.222Z (about 1 month ago)
- Topics: automation, bash-script, shell-script
- Language: Shell
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A collection of optIn scripts
These scripts allow you to optIn for certain tools/dependencies for your project
In order to use this tool you will need to install the following
- jq: for working with json files in the command-line
- curl: for making http requests from the command-line to download files## Currently Supported Dependencies
- ESLint
- Tailwind CSS
- Tailwind CSS with CRA## How it works
- Each script will `npm install` all the required packages for the specified tool.
- After, it will grab a config from my configs repo for that specified dependency and copy it to the root of the project directory
- Then it will perform any custom commands afterwards
- Additionally, if the dependency is already installed in the project running the script will remove it
- You can have your own custom `optIn.config.json` file at the root directory of your project for the scripts to use in both opt-in and opt-out. Check out the example `optIn.config.json` file in the src for how to structure your own- You can add custom commands for the scripts to run at the end for each dependency/tool in the `optIn.config.json` file
## TODOS
- [] Rewrite in Nodejs