Skip to content

Commit

Permalink
update solution to Angular v16
Browse files Browse the repository at this point in the history
  • Loading branch information
changhuixu committed Jul 28, 2023
1 parent 7533032 commit 9077806
Show file tree
Hide file tree
Showing 13 changed files with 2,446 additions and 2,118 deletions.
5 changes: 0 additions & 5 deletions .firebaserc

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build and Deploy

on:
push:
branches: [main]

jobs:
build-and-deploy:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

steps:
- name: Checkout 🛎️
uses: actions/checkout@v3

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

- name: Install dependencies and build 🔧
run: |
npm ci
npm run build:lib
npm run build:gh-pages
- name: Run e2e tests 🧪
run: |
npm run cypress:verify
npm run cypress:run
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist/date-range-picker-demo
29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ Since **v4.0.0**, this library is only compatible with Angular >=10 and ng-boots

Since **v3.0.0**, this library requires @angular/localize, due to updates in Angular 9 and ng-bootstrap 6.

[![Build Status](https://img.shields.io/travis/changhuixu/date-range-picker/master.svg?label=Travis%20CI&style=flat-square)](https://app.travis-ci.com/changhuixu/date-range-picker)
[![Build Status](https://github.com/changhuixu/date-range-picker/actions/workflows/main.yml/badge.svg)](https://github.com/changhuixu/date-range-picker/actions)
[![npm](https://img.shields.io/npm/v/@uiowa/date-range-picker.svg?style=flat-square)](https://www.npmjs.com/package/@uiowa/date-range-picker)

```bash
npm i @uiowa/date-range-picker
```

## [Demo](https://date-range-picker.firebaseapp.com)
## [Demo](https://changhuixu.github.io/date-range-picker/)

![date range picker demo](./date-range-picker-demo.gif)

Expand Down
1 change: 0 additions & 1 deletion _config.yml

This file was deleted.

8 changes: 1 addition & 7 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumWarning": "600kb",
"maximumError": "1mb"
},
{
Expand All @@ -64,12 +64,6 @@
"maximumError": "4kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"outputHashing": "all"
},
"development": {
Expand Down
16 changes: 0 additions & 16 deletions firebase.json

This file was deleted.

Loading

0 comments on commit 9077806

Please sign in to comment.