npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

create-some-app

v1.1.5

Published

A configurable CLI-based scaffolder that creates some app

Downloads

1

Readme

create-some-app

👩‍💻🚀👨‍💻 A configurable CLI-based scaffolder that creates some app!

MIT Licence GitHub release Node Version Maintenance GitHub contributors Buy us a tree

👉 The project is in ALPHA (work in progress).

Installation & Usage

Choose one of these methods:

  1. npm init some-app
  2. npm init create-some-app
  3. npx create-some-app
  4. npm install -g create-some-app

...and then you'll be able to use the create-some-app command.

Using the CLI

create-some-app

By default, when running create-some-app without any option or flag, you'll be presented with prompts, so you can tailor the application to your needs without being familiar with available options or flags.

But for those interested in automation or simply in saving time, there are some pre-defined CLI commandos at your disposal:

1. The first config option is the template/project type

Currently fullstack-gatsby-sanity or fullstack-next-sanity.

create-some-app fullstack-next-sanity

2. --yes or -y

When passed, prompts will be skipped. Useful when passing both choices and chosen flags, making the prompt unnecessary.

👉 Without defining the first config option (template choice), it will default to Fullstack Gatsby Sanity.

create-some-app --yes
create-some-app fullstack-gatsby-sanity -y

3. --git or -g

When passed, git init will be run, initialising a git repo with all files unstaged.

create-some-app fullstack-next-sanity --yes --git
create-some-app fullstack-next-sanity -y -g

4. --install or -i

When passed, npm install will be run, initialising all dependencies specified in package.json file for the chosen template/scaffold.

create-some-app fullstack-next-sanity --yes --git --install
create-some-app fullstack-next-sanity -y -g -i

5. --setup or -s

When passed, npm run setup will be run. This command will:

  • Install all dependencies, including those within frontend and backend folders
  • Create production branch
  • Set remote repo
  • Add files
  • Create the first commit and push to production
  • Create develop branch and push to develop
  • Create the first tag and push it

👉 It must be used combined with --git flag.

create-some-app fullstack-next-sanity --git --install --setup
create-some-app fullstack-next-sanity -g -i -s

6. --gatsbyDefaultEnvironment

create-some-app --gatsbyDefaultEnvironment production

👉 This will be added to .envExample files, that should be renamed to .env and not committed/tracked by git.

7. --nodeVersion

create-some-app --nodeVersion 12.18.0

This is meant as a way to both document and require the node version used at the time of the install, so that contributors know which version they should use.

8. --ownersName

create-some-app --ownersName 'Owner Inc.'

Used at LICENSE and package.json level, for copyright purposes.

9. --projectName

create-some-app --projectName 'Nice Project Name'

This name will be injected in several places of the application, so it's important to get it right. It will be injected as/at:

  • Repository's name
  • package.json files
  • README files
  • Configuration files
  • Github repo urls
  • Travis build status urls
  • Netlify urls
  • Badges urls

If you pass La la la or LaLaLa, the project name will become la-la-la (because of the conversion to kebak-case), which is OK if that's what you want. If you use Lalala or lalala you'll get lalala. Keep it in mind when naming your project.

10. --projectDescription

create-some-app --projectDescription 'Such Wow Description'

11. --repoOwner

create-some-app --repoOwner dreamyguy

This name will be injected in several places of the application, so it's important to get it right. It will be injected at

  • Github repo urls
  • Travis build status urls
  • Badges urls

If you pass La la la or LaLaLa, the repo owner's name will become la-la-la (because of the conversion to kebak-case), which is OK if that's what you want. Keep it in mind when naming the repo owner.

12. --sanityAuthToken

create-some-app --sanityAuthToken lkasjflkjasldfjlkajsdkfjlkajsdfkljsalkjdfsomethingsomething

👉 This will be added to .envExample files, that should be renamed to .env and not committed/tracked by git.

13. --sanityProjectId

create-some-app --sanityProjectId 701kayak107

👉 This will be added to .envExample files, that should be renamed to .env and not committed/tracked by git.

14. --sanityDataset

create-some-app --sanityDataset production

This will be added to the local Netlify's config, which overrides their remote UI settings.

👉 This will also be added to .envExample files, that should be renamed to .env and not committed/tracked by git.

15. --siteUrl

create-some-app --siteUrl http://thisistheurl.io

Using the full potential of the CLI, with all options, without even installing it first (using npx):

npx create-some-app fullstack-gatsby-sanity --gatsbyDefaultEnvironment envelope --nodeVersion 12.18.0 --ownersName 'Owner Inc.' --projectName 'Naming Names in the Name' --projectDescription 'Such Wow Description' --repoOwner 'Dreamyguy' --sanityAuthToken lkasjflkjasldfjlkajsdkfjlkajsdfkljsalkjdfsomethingsomething --sanityDataset produccione --sanityProjectId 701kayak107 --siteUrl http://thisistheurl.io --yes --git --install --setup

What kind of apps are available?

👉 None of them are fully functional at the moment. The project is in ALPHA (work in progress).

Watch this space for highly configurable starters with React, Sanity, Gatsby, NextJs, Bit integration, extensive testing and many other goodies, all bundlet as options within create-some-app.

Extended DOCS

License

MIT

This package is Treeware. If you use it in production, then we ask that you buy the world a tree to thank us for our work. By contributing to the Treeware forest you'll be creating employment for local families and restoring wildlife habitats.

Credits

create-some-app is heavily based on / inspired by the awesome work of:

About

Create Some App was put together by Wallace Sidhrée. 👨‍💻🇳🇴