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
5 changes: 1 addition & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn test:apps:clear; git add test/apps/**/package.json
git add test/apps/**/package.json
2 changes: 1 addition & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"builder": "@angular-builders/jest:run",
"options": {
"tsConfig": "tsconfig.spec.json",
"configPath": "./jest.config.cjs"
"config": "./jest.config.cjs"
}
},
"lint": {
Expand Down
1 change: 1 addition & 0 deletions lib/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"error",
{
"type": "attribute",
"prefix": "okta",
"style": "camelCase"
}
],
Expand Down
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"license": "Apache-2.0",
"type": "module",
"dependencies": {
"compare-versions": "^5.0.1",
"compare-versions": "^6.1.1",
"tslib": "^2.4.0"
},
"peerDependencies": {
Expand Down
66 changes: 33 additions & 33 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"lint": "ng lint",
"lint:report": "ng lint --output-file ./test-reports/lint/eslint-checkstyle-result.xml --format checkstyle",
"prebuild": "yarn build:package-info",
"prepare": "yarn build",
"prepare": "yarn build && husky",
"start": "yarn --cwd test/e2e/harness/ start",
"test": "yarn lint && yarn test:e2e && yarn test:unit",
"test:e2e": "yarn workspace @okta/test.e2e start",
Expand All @@ -21,7 +21,7 @@
"pretest:e2e": "sh ./scripts/build-test-apps.sh"
},
"engines": {
"node": ">=22.16.0",
"node": ">=22.18.0",
"yarn": "^1.7.0"
},
"repository": "https://github.com/okta/okta-angular",
Expand All @@ -36,49 +36,49 @@
],
"license": "Apache-2.0",
"devDependencies": {
"@angular-builders/jest": "^19.0.1",
"@angular-devkit/build-angular": "^19.2.19",
"@angular-eslint/builder": "19.8.0",
"@angular-eslint/eslint-plugin": "19.8.0",
"@angular-eslint/eslint-plugin-template": "19.8.0",
"@angular-eslint/schematics": "19.8.0",
"@angular-eslint/template-parser": "19.8.0",
"@angular/animations": "^19.2.0",
"@angular/cli": "^19.2.15",
"@angular/common": "^19.2.0",
"@angular/compiler": "^19.2.0",
"@angular/compiler-cli": "^19.2.0",
"@angular/core": "^19.2.0",
"@angular/platform-browser": "^19.2.0",
"@angular/platform-browser-dynamic": "^19.2.0",
"@angular/router": "^19.2.0",
"@angular-builders/jest": "^21.0.4",
"@angular-devkit/build-angular": "^21.2.20",
"@angular-eslint/builder": "21.4.0",
"@angular-eslint/eslint-plugin": "21.4.0",
"@angular-eslint/eslint-plugin-template": "21.4.0",
"@angular-eslint/schematics": "21.4.0",
"@angular-eslint/template-parser": "21.4.0",
"@angular/animations": "^21.2.19",
"@angular/cli": "^21.2.20",
"@angular/common": "^21.2.19",
"@angular/compiler": "^21.2.19",
"@angular/compiler-cli": "^21.2.19",
"@angular/core": "^21.2.19",
"@angular/platform-browser": "^21.2.19",
"@angular/platform-browser-dynamic": "^21.2.19",
"@angular/router": "^21.2.19",
"@okta/okta-auth-js": "^8.0.0",
"@types/jest": "^30.0.0",
"@typescript-eslint/eslint-plugin": "8.33.1",
"@typescript-eslint/parser": "8.33.1",
"dotenv": "^16.4.7",
"@typescript-eslint/eslint-plugin": "^8.66.0",
"@typescript-eslint/parser": "^8.66.0",
"dotenv": "^17.4.2",
"eslint": "9.28.0",
"eslint-formatter-checkstyle": "^9.0.1",
"eslint-plugin-jest": "^27.0.4",
"eslint-plugin-jest": "^29.16.0",
"eslint-plugin-node": "^11.1.0",
"globby": "^11.0.1",
"husky": "^7.0.4",
"jest": "^30.0.0",
"jest-junit": "^13.2.0",
"ng-packagr": "^19.2.0",
"rimraf": "^3.0.2",
"globby": "^16.2.2",
"husky": "^9.1.7",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"jest-junit": "^17.0.0",
"ng-packagr": "^21.2.7",
"rimraf": "^6.1.3",
"rxjs": "~7.8.0",
"tslib": "^2.3.0",
"typescript": "~5.7.2",
"typescript": "~5.9.2",
"zone.js": "~0.15.0"
},
"resolutions": {
"**/chokidar/glob-parent": "^6.0.2",
"**/@angular-devkit/build-angular/minimatch": "^3.1.2",
"**/@angular-devkit/build-angular/babel-loader": "^8.3.0",
"**/@angular-devkit/build-angular/loader-utils": "^2.0.4",
"**/@angular-devkit/build-angular/webpack-dev-server": "^4.15.2",
"**/@angular-devkit/build-angular/core-js": "^3.39.0",
"**/@angular-devkit/build-angular/babel-loader": "^10.0.0",
"**/@angular-devkit/build-angular/loader-utils": "^3.3.1",
"**/@angular-devkit/build-angular/webpack-dev-server": "^5.2.5",
"**/nx/minimatch": "^3.1.2",
"**/postcss-url/minimatch": "^3.1.2",
"**/globule/minimatch": "^3.1.2",
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ install_auth_js () {

# Install required node version
export NVM_DIR="/root/.nvm"
setup_service node v22.16.0
setup_service node v22.18.0
setup_service python 3.6

if ! npm install -g yarn@1.22.22; then
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ install_auth_js () {

# Install required node version
export NVM_DIR="/root/.nvm"
setup_service node v22.16.0
setup_service node v22.18.0

if ! npm install -g yarn@1.22.22; then
echo "Failed to install yarn"
Expand Down
10 changes: 5 additions & 5 deletions test/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
"version": "0.1.0",
"private": true,
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.3",
"@babel/preset-env": "^7.19.3",
"@babel/register": "^7.18.9",
"@babel/cli": "^8.0.4",
"@babel/core": "^8.0.1",
"@babel/preset-env": "^8.0.2",
"@babel/register": "^8.0.1",
"@wdio/cli": "^8.35.1",
"@wdio/jasmine-framework": "^8.35.1",
"@wdio/junit-reporter": "^8.32.4",
"@wdio/local-runner": "^8.35.1",
"@wdio/sauce-service": "^8.35.1",
"@wdio/spec-reporter": "^8.32.4",
"cross-spawn-with-kill": "^1.0.0",
"wait-on": "^8.0.1",
"wait-on": "^9.1.0",
"eslint-plugin-jasmine": "^4.1.2",
"eslint-plugin-webdriverio": "^1.0.1",
"babel-eslint": "^10.1.0"
Expand Down
4 changes: 2 additions & 2 deletions util/maintain-banners.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import fs from 'fs';
import globby from 'globby';
import { globbySync } from 'globby';
import path from 'path';
import { fileURLToPath } from 'url';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

const bannerSourcePath = path.join(__dirname, 'license-template.txt');
const files = globby.sync(path.join(__dirname, '..','lib/**/*.{js,ts},test/integration-test/*.{js,ts},test/e2e/**/*.{js,ts}}'));
const files = globbySync(path.join(__dirname, '..','lib/**/*.{js,ts},test/integration-test/*.{js,ts},test/e2e/**/*.{js,ts}}'));
// console.log(files);
const bannerSource = fs.readFileSync(bannerSourcePath).toString();
const copyrightRegex = /(Copyright \(c\) )([0-9]+)-?([0-9]+)?/;
Expand Down
Loading