Skip to content
This repository was archived by the owner on Mar 26, 2022. It is now read-only.
/ js-playground Public archive

a `git update-index --assume-unchanged` frontend dev playground for testing node modules, and random ideas

License

Notifications You must be signed in to change notification settings

torch2424/js-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-playground

Gif of live editing a js playground

a gitignored javascript (react/ES6) playground for testing node modules, and random ideas. Also has support for sass

The Docs / README containing awesome project tips can be found at the create-react-app README

Getting Started

Simply clone the project:

git clone https://github.com/torch2424/js-playground.git

To stop all changes from being detected in the project, run the assume unchanged script:

npm run assume-unchanged

# Will runL # ./assume-unchanged.sh true

For developing on the project itself, changes can be detected again using:

npm run assume-changed

# Will run: ./assume-unchanged.sh false

To reset the project back to master after testing something, run the followoing:

npm run reset

# Will run: npm run assume-changed && git reset --hard origin/master && npm run assume-unchanged

Example Usage

Stop all changes from being detected:

# ./assume-unchanged.sh true
npm run assume-unchanged

Simply add a random node module to the project

npm install --save pretty-bytes

And notice how it will not detect any changes!

LICENSE

LICENSE under Apache 2.0

About

a `git update-index --assume-unchanged` frontend dev playground for testing node modules, and random ideas

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published