Skip to content

Commit

Permalink
feat(package): upgrade to angular 8
Browse files Browse the repository at this point in the history
BREAKING CHANGE: ng8
  • Loading branch information
fulls1z3 committed Nov 21, 2019
1 parent b7fb206 commit 5a973f6
Show file tree
Hide file tree
Showing 7 changed files with 1,507 additions and 775 deletions.
6 changes: 5 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ jobs:
JOBS: 1
steps:
- checkout
- run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}}" > ~/.npmrc
- run: git config --global user.email ${GH_USER_EMAIL}
- run: git config --global user.name ${GH_USER_NAME}
- run: sudo npm install -g yarn@0
- run: sudo yarn global add greenkeeper-lockfile@1
- run: sudo yarn global add lerna@3
Expand All @@ -22,7 +25,8 @@ jobs:
- run: yarn test:ci
- run: yarn build
- run: yarn ci:after
- run: lerna version --force-publish --create-release github --no-changelog --yes && lerna publish --contents dist
- run: lerna version --create-release github --yes
- run: lerna publish from-package --yes
- run: bash <(curl -s https://codecov.io/bash)
- store_artifacts:
path: coverage
Expand Down
3 changes: 0 additions & 3 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
"allowBranch": "master",
"conventionalCommits": true,
"message": "chore(release): release %s"
},
"version": {
"push": false
}
}
}
69 changes: 36 additions & 33 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,42 +31,42 @@
"release": "standard-version"
},
"devDependencies": {
"@angular/common": "~7.2.0-rc.0",
"@angular/compiler": "~7.2.0-rc.0",
"@angular/compiler-cli": "~7.2.0-rc.0",
"@angular/core": "~7.2.0-rc.0",
"@angular/platform-browser": "~7.2.0-rc.0",
"@angular/platform-browser-dynamic": "~7.2.0-rc.0",
"@angular/router": "~7.2.0-rc.0",
"@commitlint/cli": "~7.2.1",
"@commitlint/config-conventional": "~7.1.2",
"@types/auth0-js": "~8.11.8",
"@types/jest": "~23.3.10",
"@types/node": "~10.12.18",
"angular-tslint-rules": "~1.12.1",
"auth0-js": "~9.8.2",
"codelyzer": "~4.5.0",
"@angular/common": "^8.0.0",
"@angular/compiler": "^8.0.0",
"@angular/compiler-cli": "^8.0.0",
"@angular/core": "^8.0.0",
"@angular/platform-browser": "^8.0.0",
"@angular/platform-browser-dynamic": "^8.0.0",
"@angular/router": "^8.0.0",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@types/auth0-js": "^9.10.6",
"@types/jest": "^23.3.13",
"@types/node": "^12.12.11",
"angular-tslint-rules": "^1.20.1",
"auth0-js": "^9.11.3",
"codelyzer": "^5.2.0",
"cz-conventional-changelog": "^3.0.2",
"husky": "~1.3.0",
"jest": "~23.6.0",
"jest-junit-reporter": "~1.1.0",
"jest-preset-angular": "~6.0.2",
"husky": "^3.1.0",
"jest": "^23.6.0",
"jest-junit-reporter": "^1.1.0",
"jest-preset-angular": "^8.0.0",
"lerna": "^3.19.0",
"lint-staged": "~8.1.0",
"lint-staged": "^9.4.3",
"ng-packagr": "^5.7.1",
"prettier": "~1.15.3",
"prettier-tslint": "~0.4.1",
"reflect-metadata": "~0.1.12",
"request": "~2.88.0",
"rimraf": "~2.6.2",
"rxjs": "~6.3.3",
"ts-node": "~7.0.1",
"tsickle": "~0.34.0",
"tslib": "~1.9.3",
"tslint": "~5.12.0",
"tslint-config-prettier": "~1.17.0",
"typescript": "~3.2.2",
"zone.js": "~0.8.26"
"prettier": "^1.19.1",
"prettier-tslint": "^0.4.2",
"reflect-metadata": "^0.1.13",
"request": "^2.88.0",
"rimraf": "^3.0.0",
"rxjs": "^6.5.3",
"ts-node": "^8.5.2",
"tsickle": "^0.37.1",
"tslib": "^1.10.0",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"typescript": "~3.5.3",
"zone.js": "~0.9.1"
},
"husky": {
"hooks": {
Expand All @@ -78,6 +78,9 @@
"preset": "jest-preset-angular",
"setupTestFrameworkScriptFile": "./tools/test/jest.setup.ts",
"testResultsProcessor": "./node_modules/jest-junit-reporter",
"testMatch": [
"**/+(*.)+(spec|test).+(ts|js)?(x)"
],
"globals": {
"ts-jest": {
"tsConfigFile": "./tsconfig.json"
Expand Down
15 changes: 8 additions & 7 deletions packages/@ngx-auth/auth0/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,19 @@
},
"homepage": "https://github.com/fulls1z3/ngx-auth/tree/master/packages/@ngx-auth/auth0#readme",
"dependencies": {
"tslib": "~1.9.0"
"tslib": "~1.10.0"
},
"peerDependencies": {
"@angular/common": ">=7.0.0 <8.0.0",
"@angular/core": ">=7.0.0 <8.0.0",
"@angular/platform-browser-dynamic": ">=7.0.0 <8.0.0",
"@angular/router": ">=7.0.0 <8.0.0",
"@angular/common": ">=8.0.0 <9.0.0",
"@angular/core": ">=8.0.0 <9.0.0",
"@angular/platform-browser-dynamic": ">=8.0.0 <9.0.0",
"@angular/router": ">=8.0.0 <9.0.0",
"rxjs": ">=6.0.0",
"auth0-js": ">=9.0.0",
"@ngx-auth/core": ">=7.0.0 <8.0.0"
"@ngx-auth/core": ">=8.0.0 <9.0.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"directory": "../../../dist/@ngx-auth/core"
}
}
2 changes: 1 addition & 1 deletion packages/@ngx-auth/auth0/src/auth0.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export class Auth0Service {
});
});

return observableFrom<boolean>(res$);
return observableFrom(res$);
}

async invalidate(): Promise<boolean> {
Expand Down
13 changes: 7 additions & 6 deletions packages/@ngx-auth/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,17 @@
},
"homepage": "https://github.com/fulls1z3/ngx-auth/tree/master/packages/@ngx-auth/core#readme",
"dependencies": {
"tslib": "~1.9.0"
"tslib": "~1.10.0"
},
"peerDependencies": {
"@angular/common": ">=7.0.0 <8.0.0",
"@angular/core": ">=7.0.0 <8.0.0",
"@angular/platform-browser-dynamic": ">=7.0.0 <8.0.0",
"@angular/router": ">=7.0.0 <8.0.0",
"@angular/common": ">=8.0.0 <9.0.0",
"@angular/core": ">=8.0.0 <9.0.0",
"@angular/platform-browser-dynamic": ">=8.0.0 <9.0.0",
"@angular/router": ">=8.0.0 <9.0.0",
"rxjs": ">=6.0.0"
},
"publishConfig": {
"access": "public"
"access": "public",
"directory": "../../../dist/@ngx-auth/auth0"
}
}
Loading

0 comments on commit 5a973f6

Please sign in to comment.