Skip to content

Commit

Permalink
chore: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbas21 committed Jan 29, 2025
1 parent 810eb2d commit 3fc4c5f
Show file tree
Hide file tree
Showing 15 changed files with 3,095 additions and 8,298 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,5 @@ e2e/**/.playwright/*


.nx/cache
.nx/workspace-data
.nx/workspace-data
vitest.config.*.timestamp*
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package-lock.json
*/*/package-lock.json
.husky/*
/.nx/workspace-data
pnpm-lock.yml
pnpm-lock.yaml
packages/*/dist
e2e/*/dist
*/dist
Expand Down
2 changes: 1 addition & 1 deletion e2e/davinci-app/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"files": [],
"compilerOptions": {
"target": "ESNext",
Expand Down
4 changes: 2 additions & 2 deletions e2e/davinci-suites/tsconfig.e2e.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"composite": true,
"sourceMap": false,
"outDir": "../../dist/out-tsc",
"allowJs": true,
"module": "Node16"
"module": "Node16",
"moduleResolution": "Node16"
},
"include": ["**/*.ts", "**/*.js"]
}
2 changes: 1 addition & 1 deletion e2e/davinci-suites/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"files": [],
"include": [],
"references": [
Expand Down
2 changes: 0 additions & 2 deletions e2e/mock-api-v2/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
"outDir": "./dist",
"module": "Node16",
"moduleResolution": "Node16",
"declaration": false,
"declarationMap": false,
"types": ["node"],
"exactOptionalPropertyTypes": true,
"strictNullChecks": true,
Expand Down
2 changes: 1 addition & 1 deletion e2e/mock-api-v2/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"files": [],
"include": [],
"references": [
Expand Down
2 changes: 1 addition & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"outputs": ["{projectRoot}/docs"]
},
"serve": {
"dependsOn": ["^serve"]
"dependsOn": ["^build"]
},
"e2e": {
"dependsOn": ["^e2e"],
Expand Down
40 changes: 16 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "ping-javascript-sdk",
"description": "ForgeRock JavaScript SDK",
"engines": {
"node": "^20 || ^18"
},
"engines": { "node": "^20 || ^18" },
"private": true,
"scripts": {
"build": "nx affected --target=build",
Expand Down Expand Up @@ -31,9 +29,7 @@
"url": "https://github.com/ForgeRock/ping-javascript-sdk.git"
},
"author": "ForgeRock",
"bugs": {
"url": "https://github.com/ForgeRock/ping-javascript-sdk/issues"
},
"bugs": { "url": "https://github.com/ForgeRock/ping-javascript-sdk/issues" },
"homepage": "https://github.com/ForgeRock/ping-javascript-sdk#readme",
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
Expand All @@ -47,16 +43,16 @@
"@effect/schema": "^0.68.23",
"@effect/vitest": "^0.6.7",
"@forgerock/create-package": "workspace:*",
"@nx/devkit": "20.2.2",
"@nx/eslint": "20.2.2",
"@nx/eslint-plugin": "20.2.2",
"@nx/jest": "20.2.2",
"@nx/js": "20.2.2",
"@nx/playwright": "20.2.2",
"@nx/plugin": "20.2.2",
"@nx/vite": "20.2.2",
"@nx/web": "20.2.2",
"@nx/workspace": "20.2.2",
"@nx/devkit": "20.4.0",
"@nx/eslint": "20.4.0",
"@nx/eslint-plugin": "20.4.0",
"@nx/jest": "20.4.0",
"@nx/js": "20.4.0",
"@nx/playwright": "20.4.0",
"@nx/plugin": "20.4.0",
"@nx/vite": "20.4.0",
"@nx/web": "20.4.0",
"@nx/workspace": "20.4.0",
"@playwright/test": "^1.47.2",
"@swc-node/register": "1.9.2",
"@swc/cli": "~0.3.12",
Expand Down Expand Up @@ -89,7 +85,7 @@
"jsonc-eslint-parser": "^2.1.0",
"lint-staged": "^13.2.2",
"npm-cli-login": "^1.0.0",
"nx": "20.2.2",
"nx": "20.4.0",
"playwright": "^1.47.2",
"prettier": "^3.2.5",
"pretty-quick": "^4.0.0",
Expand All @@ -100,7 +96,7 @@
"typedoc": "^0.27.4",
"typedoc-github-theme": "0.2.0",
"typedoc-plugin-rename-defaults": "^0.7.2",
"typescript": "5.6.3",
"typescript": "5.7.3",
"verdaccio": "^5.29.2",
"vite": "^5.4.8",
"vite-plugin-dts": "^4.2.2",
Expand All @@ -111,13 +107,9 @@
"vitest-canvas-mock": "^0.3.3"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"nx": {
"includedScripts": []
"commitizen": { "path": "./node_modules/cz-conventional-changelog" }
},
"nx": { "includedScripts": [] },
"packageManager": "pnpm@9.15.0+sha256.09a8fe31a34fda706354680619f4002f4ccef6dadff93240d24ef6c831f0fd28",
"pnpm": {
"overrides": {
Expand Down
2 changes: 1 addition & 1 deletion packages/davinci-client/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"forceConsistentCasingInFileNames": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/device-client/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"module": "ES2020",
"moduleResolution": "Bundler",
Expand Down
11,319 changes: 3,063 additions & 8,256 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tools/create-package/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.base.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"skipLibCheck": true
Expand Down
4 changes: 1 addition & 3 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": ".",
"rootDir": "."
},
"exclude": ["node_modules", "tmp"]
}
}
5 changes: 3 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": ["./tsconfig.base.json"],
"files": [],
"compileOnSave": false,
"compilerOptions": {
"composite": true
},
"references": [
{
"path": "./packages/davinci-client"
Expand Down

0 comments on commit 3fc4c5f

Please sign in to comment.