Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
generator-aurelia
Advanced tools
This is a Yeoman Generator for the Skeleton App of the Aurelia platform. It sets up a standard navigation-style app using gulp to build your ES6 code with Babel. Karma/Jasmine testing is configured as well.
For more info please visit the official site: http://www.aurelia.io/
Please note that there is an official Aurelia CLI, which performs all the tasks this generator does and much more. Head over to https://github.com/aurelia/cli in order to find out more.
This generator will use JSPM, Aurelias package manager of choice, which performs GitHub queries to install semver packages, but GitHub has a rate limit on anonymous API requests. It is advised that you configure jspm with your GitHub credentials in order to avoid problems. You can do this by executing jspm registry config github
and following the prompts. If you choose to authorize jspm by an access token instead of giving your password (see GitHub Settings > Personal Access Tokens), public_repo
access for the token is required.
The recent update will take care of running
npm install
andjspm install
after downloading the boilerplate app, so this shortens the process to get up and running.
npm install -g yo
npm install -g generator-aurelia
npm install -g gulp
npm install -g jspm
mkdir YOUR_PROJECT_NAME
cd YOUR_PROJECT_NAME
export GITHUB_TOKEN=YOUR_ACCESS_TOKEN
Windows users should set a user environment variable called GITHUB_TOKEN with the value being your actual token.
yo aurelia
gulp watch
src
and the browser should auto-refresh itself as you save files.If you're inside your skeleton folder you can run the following command to update your installation and get the latest versions of the dependencies used:
yo aurelia:update
yo aurelia --skip-install will skip the npm and jspm install.
yo aurelia --proxy=http://my.proxy:8080 will install the skeleton app resepecting the given proxy settings
In order to create a new Aurelia Page just enter the following command inside your project root:
yo aurelia:page YOURPAGENAME
If you get an error like
Error: spawn git ENOENT
when executing the yo command, you should check whether GIT is installed and accessible from the command line
This will create a View and ViewModel with the given name inside the ./src
folder
Thanks to Addy Osmani for his awesome generator-boilerplate repo.
FAQs
Yeoman generator for the JavaScript Framework Aurelia
The npm package generator-aurelia receives a total of 23 weekly downloads. As such, generator-aurelia popularity was classified as not popular.
We found that generator-aurelia demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.