0.11.0 • Published 2 years ago

starters v0.11.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Starters

Wouldn't it be nice if we didn't have to mess around with tooling to try ideas out?

A node package that gives you the start of a new project with unit tests in many different languages.

Currently we support:

  • clojure
  • cplusplus (c++)
  • csharp
  • go
  • java
  • kotlin
  • javascript (node / js)
  • php
  • python
  • ruby
  • rust
  • scala
  • typescript (ts)

Install

$ npm install --global starters

or without installation

$ npx starters

Example

$ npx starters python
 STARTERS  Copied new python project to /private/tmp/python_project

$ cd python_project

$ tree
.
├── runTests.sh
└── starter.py

0 directories, 2 files

$ ./runTests.sh
.
----------------------------------------------------------------------
Ran 1 test in 0.000s

OK

CLI

$ starters <language>

  Usage
    $ starters

  Examples
    $ starters ts
     Copied new ts project to /tmp/ts_project

How to add a new language

We'd appreciate any new language that you can provide. To do this:

  • Create a new folder under available and add your source tree.
  • Make sure a runTests.sh exists in your new folder
    • Assume the standard tools are already installed for the language
    • The programme shouldn't watch, it should run and exist cleanly
    • The user shouldn't have to do anything else to make the script pass
  • Add the language in source/supported.ts

And to test it...

  • Add the language to supported in endToEndTest.sh
  • Add any required tooling to the e2e/Dockerfile. The tests run inside this Docker container
  • Run the endToEndTest.sh and make sure it finishes
0.11.0

2 years ago

0.10.0

2 years ago

0.9.0

3 years ago

0.8.0

3 years ago

0.7.0

3 years ago

0.6.0

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago

0.3.0

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago