-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: removes installation with npm and upgrades dependencies
* fix: removes installation with npm and upgrades dependencies * docs: updated readme * docs: improved contributing information and scripts
- Loading branch information
1 parent
8caa239
commit b410ffa
Showing
9 changed files
with
166 additions
and
1,721 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Contributing to Poetic | ||
|
||
Thank you for your interest in this project! | ||
|
||
## Core Concepts of Poetic | ||
|
||
- As automatic as possible: Poetic is not meant to solve all the needs out there, it's is meant to solve the most popular ones in a very simple way. When possible, prefer automatic and opinionated installations over complex options. | ||
- Customizable: For those with special needs, every configuration should be customizable. Ideally, with the same type of configuration files. Poetic should not have yet another configuration file. That's what we are trying to avoid. | ||
- Self-Contained Single Dependency: Poetic should provide all the functionality as a single dependency. Users should not have to install or maintain extra dependencies or configurations. | ||
|
||
## Developing Locally | ||
|
||
To test out Poetic you will need a test project of your choosing (or use the simple [Poetic Sandbox](https://github.com/arianacosta/poetic-sandbox)). | ||
|
||
``` | ||
directory/ | ||
├── poetic/ | ||
└── package.json | ||
└── your_test_project/ | ||
└── package.json | ||
└── src/ | ||
└── [your test files] | ||
``` | ||
|
||
1. Clone the Poetic repository next to your test project | ||
2. Go to poetic `cd poetic` | ||
3. Run `yarn develop` to configure the boilerplate to local development | ||
4. Go to the test project `cd ../your_test_project` | ||
5. Install the local Poetic `npx ../poetic` | ||
|
||
### Streamline Installation/Uninstallation | ||
|
||
In your test project you may add the following scripts to simplify the iterative process of installing/uninstalling: | ||
|
||
``` | ||
"scripts": { | ||
"poetic:add": "npx ../poetic", | ||
"poetic:reset": "git reset --hard && git clean -fd", | ||
}, | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.