Skip to content

Commit

Permalink
chore: update scripts with angular-cli-ghpages
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyZeroZx committed Sep 10, 2023
1 parent 414d7d7 commit d8ae6d2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
25 changes: 19 additions & 6 deletions apps/demo-ngx-facebook-messenger/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,25 @@
"targets": {
"build": {
"executor": "@angular-devkit/build-angular:browser",
"outputs": ["{options.outputPath}"],
"outputs": [
"{options.outputPath}"
],
"options": {
"outputPath": "dist/apps/demo-ngx-facebook-messenger",
"index": "apps/demo-ngx-facebook-messenger/src/index.html",
"main": "apps/demo-ngx-facebook-messenger/src/main.ts",
"polyfills": ["zone.js"],
"polyfills": [
"zone.js"
],
"tsConfig": "apps/demo-ngx-facebook-messenger/tsconfig.app.json",
"assets": [
"apps/demo-ngx-facebook-messenger/src/favicon.ico",
"apps/demo-ngx-facebook-messenger/src/assets",
"apps/demo-ngx-facebook-messenger/src/robots.txt"
],
"styles": ["apps/demo-ngx-facebook-messenger/src/styles.scss"],
"styles": [
"apps/demo-ngx-facebook-messenger/src/styles.scss"
],
"scripts": []
},
"configurations": {
Expand Down Expand Up @@ -70,7 +76,9 @@
},
"lint": {
"executor": "@nx/linter:eslint",
"outputs": ["{options.outputFile}"],
"outputs": [
"{options.outputFile}"
],
"options": {
"lintFilePatterns": [
"apps/demo-ngx-facebook-messenger/**/*.ts",
Expand All @@ -80,7 +88,9 @@
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"outputs": [
"{workspaceRoot}/coverage/{projectRoot}"
],
"options": {
"jestConfig": "apps/demo-ngx-facebook-messenger/jest.config.ts",
"passWithNoTests": true
Expand All @@ -97,6 +107,9 @@
"options": {
"buildTarget": "demo-ngx-facebook-messenger:build"
}
},
"deploy": {
"executor": "angular-cli-ghpages:deploy"
}
}
}
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"build:affected": "nx affected -t build",
"build": "nx run-many -t build",
"lint": "nx run-many -t lint",
"deploy:demo": "nx deploy --project=demo-ngx-facebook-messenger --target=prod --base-href=https://skyzerozx.github.io/ngx-facebook-messenger/",
"release": "VERSION=$VERSION npm run update-versions && npm run build && nx run-many -t publish",
"bump-version:root": "rjp package.json version $VERSION"
},
Expand Down Expand Up @@ -93,4 +94,4 @@
"ts-node": "10.9.1",
"typescript": "~5.1.3"
}
}
}

0 comments on commit d8ae6d2

Please sign in to comment.