1.5.3 • Published 3 years ago

@pumpn/template v1.5.3

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

stars contributors forks open-issues closed-issues open-prs closed-prs

license dependencies dev-dependencies peer-dependencies

downloads version node

reddit twitter discord

website

This is the main template repository for our projects and the origin of every other template, which is why it shouldn't be used directly for end products. It includes the basic structure and important, so-called dotfiles.

At the moment it includes more specific files (a rollup configuration for example), but those will be removed once we reach 2.0.0 and have a separate repository for them.


"Unordered" lists in this document are ordered by priority from top to bottom, but aren't markdown ordered lists because they don't signify fixed sequences of steps.

This document uses emoji suffixes in some cases to possibly speed up your setup process by highlighting options you may or may not want to take into consideration:

  • The suffix 💎 marks a recommended option or extra-step.
  • The suffix 🤡 marks a possible but not recommended option.
  • The suffixes 🍎 (macOS), 🪟 (Windows and WSL) and 🐧 (Linux) mark information or installation steps unique to specific platforms.

Getting Started

Prerequisites

If you're a developer, you'll presumably have those or working alternatives, feel free to skip to the Installation section. This guide expects you have Windows, or a Unix or Unix-like operating system (macOS for example) and a modern browser installed. This project should work on every imaginable modern system configuration, but your best bet would be to use a well established and popular one.

  • GitHub Account 💎
  • Homebrew 🍎

    	```bash
    	/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    	```
  • Git - macOS 🍎 - Homebrew 💎

    			```bash
    			brew install git
    			```
    
    		- [Binary Installer][45]
    		- [Through Xcode][46] 🤡
    			> Installing Git through Xcode, which was a dozen gigabytes large and took an hour to setup last time I checked, is a classic [Pyrrhic victory][47]. If you already have Xcode, I guess it's fine to use "their" Git though.
    	- [Windows][48] 🪟
    	- [Linux][49] 🐧
  • Node.js - Install through nvm 💎 - macOS, Linux & WSL 💎 1. Install nvm

    				```bash
    				curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
    				```
    
    			2. Install the latest Node.js
    
    				```bash
    				nvm install node
    				```
    
    		- Windows 🪟
    			1. Install [nvm-windows][52]
    			2. Install the latest Node.js
    
    				```bash
    				nvm install latest
    				```
    
    	- [Download and install directly][53]
  • A source-code editor

Installation

  1. Get the template

    • Create a new repository from template 💎 1. Click "Use this template" Screenshot of "Use this template" button 2. Fill in the details, check "Include all branches" and click "Create repository from template" Screenshot of Create a new repository from template screen 3. Clone your new repository

      		```bash
      		git clone https://github.com/username/my-new-repository.git
      		```
    • Create a new repository by cloning 🤡

      	> This completely defeats the purpose of the GitHub template feature, because normal clones (and forks) copy the whole commit history (and other things) but not all branches, which normally isn't what you want when creating a new project based on a boilerplate. Read more [here][57].
      	1. Clone this repository into a new folder
      
      		```bash
      		git clone https://github.com/pumpncode/template.git my-new-repository
      		```
  2. Set it up

    1. Go into your new repository folder

      cd my-new-repository
    2. Install the dependencies

      npm install

Usage

Because this is a template, the usage depends on what your new project will do. Once everything is installed, you can try running the scripts in the package.json, these make use of every other feature of this template.

helloWorld

This is a hello world function.

Examples

console.log(helloWorld()); // logs "Hello World!"

Returns string "Hello World!".

Roadmap

See the current projects and the open issues for a list of proposed features and known issues.

Contributing

Any contributions you make are greatly appreciated.

See contributing.md for ways to get started.

This project has a code of conduct. By interacting with this repository you agree to follow its terms.

Contact

Pumpn Code - office@pumpn.net

Nano Miratus - @nnmrts - nanomiratus@gmail.com

Project Link: https://github.com/pumpncode/template

Acknowledgments

Contributors

NameWebsiteGitHubTwitter
Nano Miratushttps://pumpn.net/@nnmrts@nnmrts

License

MIT © Pumpn Code

1.5.3

3 years ago

1.5.2

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.0

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.1.0

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.0

3 years ago