Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Next version update (March 2020) #218

Draft
wants to merge 40 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
2e14217
Remove bower.json and component.json
rstacruz Apr 4, 2020
2dd2c29
Convert to esm
rstacruz Apr 4, 2020
305f1a3
Remove jspm support
rstacruz Apr 4, 2020
6f5cf05
Replace test suite with Jest
rstacruz Apr 4, 2020
31a68e9
Use babel
rstacruz Apr 4, 2020
ce2d756
Configure microbundle; put css in css/
rstacruz Apr 4, 2020
672bc8e
Add GitHub actions support, remove Travis
rstacruz Apr 4, 2020
5511949
Add some jsdoc annotations
rstacruz Apr 4, 2020
47de5b3
:star: add(css_varriables): Add variables for bar height and color
anselal Apr 4, 2020
14eb534
Change notes to CONTRIBUTING.md
rstacruz Apr 18, 2020
e52dc56
Remove the website from the repo
rstacruz Apr 18, 2020
248e11a
Rename Markdown files
rstacruz Apr 18, 2020
92babfd
Refactor CSS
rstacruz Apr 19, 2020
4ad4a82
Add support for --nprogress-height variables
rstacruz Apr 19, 2020
57df114
Update CHANGELOG
rstacruz Apr 19, 2020
90c4468
Merge branch 'rstacruz-2020-04-04' into rstacruz-2020-04-04
rstacruz Apr 19, 2020
1f72872
Merge branch 'rstacruz-2020-04-04' into rstacruz-2020-04-04
rstacruz Apr 19, 2020
7b3d99a
Merge pull request #219 from anselal/rstacruz-2020-04-04
rstacruz Apr 19, 2020
5f32cb4
Merge remote-tracking branch 'origin/master' into rstacruz-2020-04-04
rstacruz Apr 19, 2020
ef5707b
Add Sass support
rstacruz Apr 19, 2020
95ba021
Add prettier formatting
rstacruz Apr 19, 2020
5074737
Add package.json keywords
rstacruz Apr 19, 2020
7d75e10
Update changelog
rstacruz Apr 19, 2020
7d46b33
v1.0.0-0
rstacruz Apr 19, 2020
db9416e
Set registry for pushing
rstacruz Apr 19, 2020
50c9f8d
v1.0.0-1
rstacruz Apr 19, 2020
5f3f253
Remove CHANGELOG.md
rstacruz Apr 19, 2020
e6f80cf
Remove NProrgress.promise()
rstacruz Apr 19, 2020
d95aa8a
Add more type annotations
rstacruz Apr 19, 2020
15cd1c5
Upgrade jest
rstacruz Apr 19, 2020
a6f6dbc
Refactor much of the README
rstacruz Apr 21, 2020
747e1dd
Update tests and refactor DOM utilities to dom.js
rstacruz Apr 21, 2020
d203c24
Extract CSS helper to css.js
rstacruz Apr 21, 2020
da824fd
Move more utilities to utilities.js
rstacruz Apr 21, 2020
cf83fd2
Refactor queue, this, and others
rstacruz Apr 21, 2020
2eddc79
Deprecate .status in favor of .getPercent()
rstacruz Apr 21, 2020
cae6291
Use fallback CSS variable values
rstacruz Apr 23, 2020
f9eeeec
Add demo, update documentation
rstacruz Apr 23, 2020
0c88038
Update defaults to be a bit more reasonable
rstacruz Apr 23, 2020
ce644ae
Begin rewriting the README
rstacruz Apr 23, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Node.js CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- run: yarn --frozen-lockfile
- run: yarn prettier:check
- run: yarn build
- run: yarn test
env:
CI: true
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
node_modules
build
components
yarn-error.log
dist
/coverage
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
2 changes: 0 additions & 2 deletions .travis.yml

This file was deleted.

24 changes: 24 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## Testing

```sh
npm install
npm test
```

## Website

The website is on the [gh-pages](https://github.com/rstacruz/nprogress/tree/gh-pages) branch.

````sh
git clone https://github.com/rstacruz/nprogress.git nprogress-pages -b gh-pages
```

## Releasing

```sh
$ npm test
$ bump *.json nprogress.js # bump version numbers
$ git release 0.1.1 # release to bower/github
$ npm publish # release to npm
$ git push origin master:gh-pages # update the site
````
114 changes: 0 additions & 114 deletions History.md

This file was deleted.

File renamed without changes.
25 changes: 0 additions & 25 deletions Notes.md

This file was deleted.

Loading