New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

dogfood

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dogfood

a scaffolder that feeds the dog(stack)

latest
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

#dogfood a scaffolder that feeds the dog(stack)

PRIOR ART

PURPOSE

  • cli tool for scaffolding out a dogstack app
  • cli tool for generating new 'concepts' for a dogstack app (concept == folder structure for each 'piece' of the app)

for now, pretty much a rip of initialize-project but to use dogstack, i'll play around with it over time

NOTES

  • to clarify: a 'concept' is a opinionated folder structure for collecting related files together
    • but not in a rails way (where all controllers are grouped, all models are grouped etc): instead, all the files related to expressing a concept within your app are gathered under a named folder
    • i.e. a 'profiles' concept, which houses the UI (containers / components), the reducer, the actions etc that are needed to implement profiles
    • (nb. this doesn't mean that some concepts don't rely on files from other concepts)
  • at the moment, doesn't wire up any of the concepts to the top-level app
  • includes the core libs that dogstack itself uses, as part of the package.json (unsure if that's good... could expose them instead through dogstack)
  • doesn't wire up any HTML for a new app: this is deliberate for now, as i expect i'll create a module dogfood that will do server spinning up (and will make static HTML generation unnecessary)
    • for now just create an index.html at the top-level with a main element and a script tag with src="bundle.js"
  • doesn't do any git user stuff that initialize-project does, as of yet

API

install globally to use: npm install -g dogfood

  • generate a new dogstack app: dogfood -a -n NAME -d DIRECTORY
  • generate a new dogstack concept: dogfood -n NAME -d DIRECTORY

IDEAS

  • in the future, this will probably need to be able to spin up dogstack and doghouse apps (client and server)
  • fork of copy-template-dir so that it can generate filenames named after the name arg?
  • what about easy deployment handling? is that a different module? (dogrocket? dogwheels?)

FAQs

Package last updated on 25 Jul 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts