Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
AureliaEffect committed Apr 20, 2019
2 parents ae4a63a + 904bb50 commit ee8d7fa
Show file tree
Hide file tree
Showing 33 changed files with 4,900 additions and 8,727 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ orbs:
workflows:
main:
jobs:
- v1/build_test
- v1/build_test:
use_jspm: false
- v1/build_merge:
<<: *filter_only_develop
use_jspm: false
requires:
- v1/build_test
- v1/npm_publish:
Expand All @@ -42,4 +44,3 @@ workflows:
<<: *filter_only_tag
requires:
- npm_publish

6 changes: 0 additions & 6 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ jspm_packages
bower_components
.idea
.DS_STORE
.rollupcache
build/reports
dist
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"typescript.tsdk": "node_modules/typescript/lib",
"tslint.autoFixOnSave": true
}
34 changes: 11 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
# aurelia-history-browser

[![npm Version](https://img.shields.io/npm/v/aurelia-history-browser.svg)](https://www.npmjs.com/package/aurelia-history-browser)
[![ZenHub](https://raw.githubusercontent.com/ZenHubIO/support/master/zenhub-badge.png)](https://zenhub.io)
[![Join the chat at https://gitter.im/aurelia/discuss](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/aurelia/discuss?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![CircleCI](https://circleci.com/gh/aurelia/history-browser.svg?style=shield)](https://circleci.com/gh/aurelia/history-browser)

This library is part of the [Aurelia](http://www.aurelia.io/) platform and contains an implementation of the Aurelia history interface based on standard browser hash change and push state mechanisms.

> To keep up to date on [Aurelia](http://www.aurelia.io/), please visit and subscribe to [the official blog](http://blog.aurelia.io/) and [our email list](http://eepurl.com/ces50j). We also invite you to [follow us on twitter](https://twitter.com/aureliaeffect). If you have questions look around our [Discourse forums](https://discourse.aurelia.io/), chat in our [community on Gitter](https://gitter.im/aurelia/discuss) or use [stack overflow](http://stackoverflow.com/search?q=aurelia). Documentation can be found [in our developer hub](http://aurelia.io/docs). If you would like to have deeper insight into our development process, please install the [ZenHub](https://zenhub.io) Chrome or Firefox Extension and visit any of our repository's boards.
> To keep up to date on [Aurelia](http://www.aurelia.io/), please visit and subscribe to [the official blog](http://blog.aurelia.io/) and [our email list](http://eepurl.com/ces50j). We also invite you to [follow us on twitter](https://twitter.com/aureliaeffect). If you have questions look around our [Discourse forums](https://discourse.aurelia.io/), chat in our [community on Gitter](https://gitter.im/aurelia/discuss) or use [stack overflow](http://stackoverflow.com/search?q=aurelia). Documentation can be found [in our developer hub](http://aurelia.io/docs).
## Platform Support

Expand All @@ -23,42 +22,31 @@ To build the code, follow these steps.
```shell
npm install
```
3. Ensure that [Gulp](http://gulpjs.com/) is installed. If you need to install it, use the following command:
3. To build the code, you can now run:

```shell
npm install -g gulp
npm run build
```
4. To build the code, you can now run:

```shell
gulp build
```
5. You will find the compiled code in the `dist` folder, available in three module formats: AMD, CommonJS and ES6.

6. See `gulpfile.js` for other tasks related to generating the docs and linting.
4. You will find the compiled code in the `dist` folder, available in three module formats: AMD, CommonJS and ES6.

## Running The Tests

To run the unit tests, first ensure that you have followed the steps above in order to install all dependencies and successfully build the library. Once you have done that, proceed with these additional steps:

1. Ensure that the [Karma](http://karma-runner.github.io/) CLI is installed. If you need to install it, use the following command:
1. You can now run the tests with this command:

```shell
npm install -g karma-cli
npm run test
```
2. Ensure that [jspm](http://jspm.io/) is installed. If you need to install it, use the following commnand:

```shell
npm install -g jspm
```
3. Install the client-side dependencies with jspm:
2. You can run the tests in watch mode (headless Chrome):

```shell
jspm install
npm run test:watch
```

4. You can now run the tests with this command:
3. You can run the tests in watch mode (with Chrome for debugging):

```shell
karma start
npm run test:debugger
```
13 changes: 0 additions & 13 deletions build/args.js

This file was deleted.

65 changes: 0 additions & 65 deletions build/babel-options.js

This file was deleted.

16 changes: 16 additions & 0 deletions build/changelog.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const fs = require('fs');
const paths = require('./paths');
const path = require('path');
const conventionalChangelog = require('conventional-changelog');
const dest = path.resolve(process.cwd(), paths.doc, 'CHANGELOG.md');

let changelogChunk = '';
const changelogStream = conventionalChangelog({ preset: 'angular' })
.on('data', chunk => changelogChunk += chunk.toString('utf8'))
.on('end', () => {
changelogStream.removeAllListeners();
const data = fs.readFileSync(dest, 'utf-8');
const fd = fs.openSync(dest, 'w+');
fs.writeSync(fd, Buffer.from(changelogChunk, 'utf8'), 0, changelogChunk.length, 0);
fs.writeSync(fd, Buffer.from(data, 'utf8'), 0, data.length, changelogChunk.length);
});
130 changes: 0 additions & 130 deletions build/tasks/build.js

This file was deleted.

3 changes: 0 additions & 3 deletions build/tasks/ci.js

This file was deleted.

9 changes: 0 additions & 9 deletions build/tasks/clean.js

This file was deleted.

12 changes: 0 additions & 12 deletions build/tasks/default.js

This file was deleted.

Loading

0 comments on commit ee8d7fa

Please sign in to comment.