GithubHelp home page GithubHelp logo

abelljs / create-abell-app Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 6.0 330 KB

npx create-abell-app my-blog. Creates boilerplate for abelljs/abell

Home Page: https://github.com/abelljs/abell

License: MIT License

JavaScript 96.58% CSS 3.42%
abell hacktoberfest

create-abell-app's People

Contributors

judicaelandria avatar piyushsuthar avatar prafulla-codes avatar pranjalagni avatar saurabhdaware avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

create-abell-app's Issues

In local templates, always install latest minor version of abell.

Currently, there are 2 local templates, default and minimal. After npm install or yarn, the version of the abell mentioned in their package.json is installed.

But, with this, we have to update this repository on every Abell release. So we need a way to always install the latest minor version (As per the SemVer)

This is a little tricky since there isn't a straightforward command for this.

These are the steps we will have to follow:

  1. Read the current version from package.json (Let's say It is 2.5.66)
  2. Extract the major version (2 in our case)
  3. Plus 1 the value
  4. Run npm install abell@"<3.0.0" (which installs the latest version before 3.0.0)

If there is any better way, do comment here.

Ask for preferred package installer (npm or yarn)

Currently after running npx create-abell-blog my-blog it will by default execute npm install. Since some people may prefer yarn, we can prompt user which package installer they want to use and execute command depending on that.

If we could do that without additional dependency (or dependency which is not further dependent on other dependencies) that would be great since I guess npx will slow down if we have to install multiple dependencies (correct me if I'm wrong)

Issue with Yarn and Package-lock.json

Hi, I had recently switched over to yarn from npm and I'm facing some issues here.

1

Whenever I choose Yarn as the Installer, I get this error.
image

It is to be noted that this happens on with the repo without a package-lock.json.
This is the repo which I used https://github.com/saurabhdaware/tailwind-with-abell.

I tried and choose NPM as the installer and It was working fine...

2

Whenever I try with a repo/template without a yarn.lock, it gets stuck over here...
image

If I'm not wrong then, it's because whenever there's no yarn.lock in a project, yarn warns us and asks us to confirm... And in this case there are no logs .So it's not asking anything and not going further...


Device Info:-

OS:- Windows 10 (64 Bit)
Node Version:- v14.15.0
yarn version:- 1.22.5

Show error, when a project as the same name already exit

issue
when creating a project, the same name as the project that already exists, it just overwrites the existing project

what you need to do
show an error if a project already exists and don't execute the command that creates the project(exit)

create-abell-app not working in windows

Issue

I have been trying to create an Abell project. But after running

npx create-abell-app my-app --template abelljs/abell-starter-portfolio

It gets stuck there. I've been waiting for about 10 minutes, still nothing shows up.

image

For a moment I thought that it might be an internet issue, so I connected to another WIFI network. But still the same issue...

Machine

OS: Windows 10

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.