Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Lonli-Lokli committed Nov 1, 2022
1 parent 4672dda commit ea2adad
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: npm run test:headless

- name: Build
run: npm run build:prod
run: npm run build:gh

- name: Deploy
if: success()
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"build:copy-assets": "",
"build:sources": "ng build --configuration production --base-href https://lonli-lokli.github.io/ng-result/",
"build:prod": "run-s build:sources build:copy-assets",
"build": "ng build",
"build:gh": "ng build --configuration production --base-href https://lonli-lokli.github.io/ng-result/",
"build:library": "ng build --configuration production ng-result",
"build:copy-assets": "shx cp README.md dist/ng-result",
"build:package": "run-s build:library build:copy-assets",
"watch": "ng build --watch --configuration development",
"test": "jest",
"test:headless": "jest --watch=false --browsers=ChromeHeadless"
Expand Down
5 changes: 4 additions & 1 deletion projects/ng-result/ng-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
"dest": "../../dist/ng-result",
"lib": {
"entryFile": "src/public-api.ts"
}
},
"allowedNonPeerDependencies": [
"@lonli-lokli/ts-result"
]
}
27 changes: 20 additions & 7 deletions projects/ng-result/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
{
"name": "ng-result",
"version": "1.0.0",
"name": "@lonli-lokli/ng-result",
"version": "1.0.2",
"private": false,
"peerDependencies": {
"@angular/common": "^12.2.0",
"@angular/core": "^12.2.0",
"@lonli-lokli/ts-result": "^1.0.0",
"@sweet-monads/maybe": "^3.1.0",
"@sweet-monads/either": "^3.1.0"
"tslib": "^2.3.0"
},
"dependencies": {
"tslib": "^2.3.0"
}
"@lonli-lokli/ts-result": "^1.0.1"
},
"description": " Angular Library with set of components/directives/pipes for easier work with Result union from https://github.com/Lonli-Lokli/ts-result",
"repository": {
"type": "git",
"url": "https://github.com/Lonli-Lokli/ng-result.git",
"directory": "projects/ng-result"
},
"keywords": [
"Typescript",
"Result",
"Monad",
"Angular"
],
"author": "Lonli-Lokli",
"license": "MIT"
}

0 comments on commit ea2adad

Please sign in to comment.