leecade / leecade/fe

thoughts on boilerplate & generate design

Open
#5 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

thought
Dominant language
JavaScript
Stars
15
Forks
4
PR merge metrics
No merged PRs in 30d

Description

currently download from github export master zip

Planning to switch to npm pkg because:

  1. version control
  2. generate tasks integration

but npm download slowly, try to direct download the tar pkg

common generate tasks (add mock) provided by fe module and others within boilerplates:

  • boilerplate directory structure:
package.json
meta.js
index.js
boilerplate/
generate/
  • index.js includes tasks scripts:
export default {
    'generate:component': env => {
       copy('folder', 'project/src')
    },
    'build:XXX': () => {
    }
};
  • export tasks in packge.json way
{
  "main": "index.js"
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the proposed package.json, meta.js, index.js, boilerplate/, and generate/ layout, starting with the current GitHub master-zip download flow. Compare the npm package and direct tar download options, then define how tasks such as generate:component and build:XXX should be exported; done requires an agreed design and implementation scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
build-system, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.