1.83.0 • Published 2 years ago

swissglider.th-builder v1.83.0

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

Swissglider TheHome Builder

The Swissglider TheHome Builder is building the whole framework with React, TypeScript, Rollup, Storybook, NPM Package, semantic-release, GitHub, TailwindCSS

creates:

  • new folder with the Project
  • creates a dummy reusable component

    not the whole react webapp

  • creates a dummy storybook story

  • creates a dummy liveStorybook to use with the final created npm package for this component
  • creates a new github repository
  • uploades the project to github
  • publish to npm (via github workflow)
  • publish liveStorybook to gh-pages (via github workflow)

    new commits needs to hav the ghp: flag

Requirement

Testes on Ubuntu with node 16.x. Githb Account NPMJS Account

Must be intalled locally:

  • Git
  • gh cli (Github CLI)
  • nodejs / npm
  • sed

    is it also available on MacOS ?

  • internet access

  • Github account

Howto Use it

Example

npx swissglider.th-builder --projectName testP --author_name swissglider --author_email npm@mailschweiz.com --description "Das ist ein TestP"

Post Activities

the following points are not done automatically:

  • NPM_TOKEN has to be set in the new generated github repository
  • Pages has to be activated on the new generated github account
  • change LICENSE file if not MIT

Parameters

Mandatory

If not set on input it will be asked on the beginning

  • projectName
  • author_name
  • author_email
  • description

optional

  • packageName

    if not set it will take the projectName lowercased

  • version

    start version for the package.json
    default: 1.0.0

  • license

    default: MIT
    if not MIT, you have to change also the LICENSE File in the end

  • branch

    default: main

What packages are used

  • React
  • react-dom
  • TypeScript
  • Rollup

    used to package the final npm

  • webpack

    only used for storybook

  • Storybook

  • semantic-release

    use to autocreate new version on the package.json

  • TailwindCSS

publish

TypeReleaseremark
docspatch
refactorpatch
stylepatch
featpatch
ghpfalsegithub Pages

ToDo

  • create Readme.md
  • create help menu
  • flag without publish to npm
  • flag without publish gh-pages
  • flag without liveStorybook
  • flag without Tailwind
  • refactor seed that is also running on macOS

Error-Handling

EGITNOPERMISSION - GITHUB_TOKEN

Change Workflow Permission on Repository Level

1.83.0

2 years ago

1.82.0

2 years ago

1.81.0

2 years ago

1.80.0

2 years ago

1.79.0

2 years ago

1.78.0

2 years ago

1.77.0

2 years ago

1.76.0

2 years ago

1.75.0

2 years ago

1.74.0

2 years ago

1.73.0

2 years ago

1.72.0

2 years ago

1.71.0

2 years ago

1.70.0

2 years ago

1.69.0

2 years ago

1.68.0

2 years ago

1.67.0

2 years ago

1.66.0

2 years ago

1.65.0

2 years ago

1.64.0

2 years ago

1.63.0

2 years ago

1.62.0

2 years ago

1.61.0

2 years ago

1.60.0

2 years ago

1.59.0

2 years ago

1.58.0

2 years ago

1.57.0

2 years ago

1.56.0

2 years ago

1.55.0

2 years ago

1.54.0

2 years ago

1.53.0

2 years ago

1.52.0

2 years ago

1.51.0

2 years ago

1.50.0

2 years ago

1.49.0

2 years ago

1.48.0

2 years ago

1.47.0

2 years ago

1.46.0

2 years ago

1.45.0

2 years ago

1.44.0

2 years ago

1.43.0

2 years ago

1.42.0

2 years ago

1.41.0

2 years ago

1.40.0

2 years ago

1.39.0

2 years ago

1.38.0

2 years ago

1.37.0

2 years ago

1.36.0

2 years ago

1.35.0

2 years ago

1.34.0

2 years ago

1.33.0

2 years ago

1.32.0

2 years ago

1.31.0

2 years ago

1.30.0

2 years ago

1.29.0

2 years ago

1.28.0

2 years ago

1.27.0

2 years ago

1.26.0

2 years ago

1.25.0

2 years ago

1.24.0

2 years ago

1.23.0

2 years ago

1.22.0

2 years ago

1.21.0

2 years ago

1.20.0

2 years ago

1.19.0

2 years ago

1.18.0

2 years ago

1.17.0

2 years ago

1.16.0

2 years ago

1.15.0

2 years ago

1.14.0

2 years ago

1.13.0

2 years ago

1.12.0

2 years ago

1.11.0

2 years ago

1.10.0

2 years ago

1.9.0

2 years ago

1.8.0

2 years ago

1.7.0

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago