Giter VIP home page Giter VIP logo

new-1's Introduction

Aurelia 2 scaffolding skeleton

CI E2E-Linux E2E-Windows E2E-macOS

The scaffolding repo for Aurelia 2 used by the makes tool to create new Aurelia 2 projects.

Create an Aurelia 2 project

First, ensure that you have Node.js v14 or above installed on your system. Next, using npx, a tool distributed as part of Node.js, we'll create a new Aurelia 2 app. At a command prompt, run the following command:

npx makes aurelia

This will cause npx to download the makes tool, along with the aurelia scaffold from this repo, which it will use to guide you through creating your project.

Status

  • Aurelia convention support (boilerplate free like Aurelia v1) at bundler level
  • Basic app with webpack
  • Basic app with dumber (successor of CLI built-in bundler. Doc WIP)
  • Basic app with parcel (On hold)
    • Parcel v2 is also very near. Might wait for the new version.
  • Basic app with FuseBox (On hold)
    • FuseBox v4 is coming, and it's a total rewrite. Wait for it before implement.
  • Basic less/scss setup.
  • Basic unit test setup for jest, jasmine, mocha, tape. (ava is on hold, pending implementing transformer.)
  • Basic e2e test setup for cypress

Development

This scaffolding skeleton is in the early stage, not quite ready for adding features. We want to keep feature set manageable as Aurelia 2 is constantly evolving.

There are some tests for this skeleton, setup in package.json. (totally not required by makes)

Unit tests

Unit tests for various "makes" files.

npm test

E2E Test

E2E tests for skeletons.

GitHub Actions runs a subset of them for every PR or push to master.

# Do not run following directly. There are too many skeletons.
npm run test:e2e

Always target a subset of skeletons, use env variable TARGET_FEATURES.

# only test skeletons using webpack and typescript features.
npx cross-env TARGET_FEATURES=webpack,typescript npm run test:e2e

Local development

If you forked this repo, you can try your skeleton with:

# Try your master branch if your forked name is "new"
npx makes your_GitHub_name
# Try some branch or commit or tag
npx makes your_GitHub_name/forked_repo_name#some-branch

License

MIT.

new-1's People

Contributors

3cp avatar bbosman avatar brandonseydel avatar dannybies avatar eisenbergeffect avatar erik-lieben avatar ivanbacher avatar jwx avatar praveengandhi avatar timfish avatar

Watchers

 avatar

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.