Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
cache: yarn
cache-dependency-path: "yarn.lock"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
cache: yarn
cache-dependency-path: "yarn.lock"

Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
cache: yarn
cache-dependency-path: "yarn.lock"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
cache: yarn
cache-dependency-path: "yarn.lock"

Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
cache: yarn
cache-dependency-path: "yarn.lock"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 18
cache: yarn
cache-dependency-path: "yarn.lock"

Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/pr-title-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: PR Title Lint
on:
pull_request:
# By default, a workflow only runs when a pull_request's activity type is opened, synchronize, or reopened. We
# explicity override here so that PR titles are re-linted when the PR text content is edited.
#
# Possible values: https://help.github.com/en/actions/reference/events-that-trigger-workflows#pull-request-event-pull_request
types: [opened, edited, reopened, synchronize]

jobs:
pr-title-lint:
uses: linuxfoundation/lfx-ui/.github/workflows/_pr-title-lint.yml@main
2 changes: 1 addition & 1 deletion .github/workflows/snyk-scan-edge-npm-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '18'
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- name: Yarn Version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snyk-scan-npm-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '18'
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- name: Yarn Version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/yarn-scan-cypress-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "16"
node-version: "18"
cache: "yarn"
cache-dependency-path: "test/functional/yarn.lock"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/yarn-scan-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '18'
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- name: Setup
Expand Down
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
yarn commitlint --edit $1
1 change: 1 addition & 0 deletions commitlint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default { extends: ['@commitlint/config-conventional'] };
18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"license": "MIT",
"scripts": {
"ng": "ng",
"serve": "ng serve",
"serve": "NODE_OPTIONS=--openssl-legacy-provider && ng serve",
"build": "ng build",
"serve:dev:local": "yarn prebuild:dev && ng serve --port 8100",
"build:dev": "yarn prebuild:dev && ng build --prod --configuration=dev",
"build:staging": "yarn prebuild:staging && ng build --prod --configuration=staging",
"build:prod": "yarn prebuild:prod && ng build --prod --configuration=production",
"serve:dev:local": "NODE_OPTIONS=--openssl-legacy-provider && yarn prebuild:dev && ng serve --port 8100",
"build:dev": "NODE_OPTIONS=--openssl-legacy-provider && yarn prebuild:dev && ng build --prod --configuration=dev",
"build:staging": "NODE_OPTIONS=--openssl-legacy-provider && yarn prebuild:staging && ng build --prod --configuration=staging",
"build:prod": "NODE_OPTIONS=--openssl-legacy-provider && yarn prebuild:prod && ng build --prod --configuration=production",
"serve-local": "ng serve --port 8100",
"test": "yarn test:unit",
"test:unit": "ng test --watch=false --progress=false --browsers=ChromeHeadless",
Expand Down Expand Up @@ -54,12 +54,12 @@
"@angular/router": "~11.2.14",
"@auth0/auth0-angular": "1.5.1",
"@fortawesome/fontawesome-free": "^6.4.0",
"@linuxfoundation/lfx-ui-core": "^0.0.12",
"@ng-bootstrap/ng-bootstrap": "^6.1.0",
"@silvermine/serverless-plugin-cloudfront-lambda-edge": "^2.1.1",
"@linuxfoundation/lfx-ui-core": "^0.0.12",
"aws-sdk": "2.1558.0",
"@types/node": "^18.16.0",
"auth0-spa-js": "^1.6.5",
"aws-sdk": "2.1558.0",
"bootstrap": "^4.4.0",
"file-saver": "^2.0.5",
"query-string": "^6.13.8",
Expand All @@ -73,6 +73,8 @@
"@angular/cli": "~11.2.19",
"@angular/compiler-cli": "~11.2.14",
"@angular/language-service": "~11.2.14",
"@commitlint/cli": "^19.8.0",
"@commitlint/config-conventional": "^19.8.0",
"@types/jasmine": "~4.3.1",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^18.16.0",
Expand All @@ -81,7 +83,7 @@
"@typescript-eslint/parser": "^2.25.0",
"codelyzer": "^6.0.2",
"eslint": "^7.0.0",
"husky": "^4.2.5",
"husky": "^9.1.7",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "^6.3.14",
Expand Down
Loading
Loading