Skip to content

Commit 5d5b889

Browse files
committed
chore: update-nx.json
1 parent e80f0c0 commit 5d5b889

File tree

8 files changed

+37
-53
lines changed

8 files changed

+37
-53
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
env:
55
NX_CLOUD_ENCRYPTION_KEY: ${{ secrets.NX_CLOUD_ENCRYPTION_KEY }}
66
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
7-
NX_CLOUD_DISTRIBUTED_EXECUTION: true
87
jobs:
98
pr:
109
if: ${{github.event.pull_request.head.repo.full_name == github.repository}}
@@ -26,7 +25,7 @@ jobs:
2625

2726
# This line enables distribution
2827
# The "--stop-agents-after" is optional, but allows idle agents to shut down once the "e2e-ci" targets have been requested
29-
- run: pnpm dlx nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="e2e-ci" --verbose
28+
- run: pnpm dlx nx-cloud start-ci-run --distribute-on="5 linux-medium-js" --stop-agents-after="e2e-ci"
3029

3130
- run: pnpm exec playwright install
3231

@@ -35,7 +34,7 @@ jobs:
3534
- run: git branch --track develop origin/develop
3635

3736
- run: pnpm exec nx-cloud record -- nx format:check --verbose
38-
- run: pnpm exec nx affected -t build lint test docs e2e-ci --verbose
37+
- run: pnpm exec nx affected -t build lint test docs e2e-ci
3938

4039
- uses: codecov/codecov-action@v5
4140
with:

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ env:
3131
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
3232
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
3333
SLACK_WEBHOOK_URL_BETA: ${{ secrets.SLACK_WEBHOOK_URL_BETA }}
34+
NX_CLOUD_DISTRIBUTED_EXECUTION: true
3435
HUSKY: 0
3536
CI: true
3637

@@ -147,7 +148,7 @@ jobs:
147148

148149
- name: Publish packages snapshot with npm_tag
149150
id: npmpublish
150-
run: pnpm publish -r --tag ${{ inputs.npm_tag }} --no-git-checks --access ${{ inputs.npm_access }}
151+
run: pnpm publish -r --tag ${{ inputs.npm_tag }} --no-git-checks --access ${{ inputs.npm_access }} --dry-run
151152

152153
- name: Send GitHub Action data to a Slack workflow
153154
if: steps.npmpublish.outcome == 'success'

nx.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
]
1212
},
1313
"targetDefaults": {
14+
"e2e-ci": {
15+
"dependsOn": ["^build"]
16+
},
1417
"nx-release-publish": {
1518
"options": {
1619
"packageRoot": "packages/{projectName}"
@@ -27,7 +30,6 @@
2730
},
2831
"e2e": {
2932
"dependsOn": ["^build"],
30-
"inputs": ["noMarkdown", "^noMarkdown"],
3133
"cache": true
3234
},
3335
"build": {
@@ -38,17 +40,16 @@
3840
},
3941
"@nx/vite:test": {
4042
"dependsOn": ["^test"],
41-
"inputs": ["noMarkdown", "^noMarkdown"],
4243
"outputs": ["{projectRoot}/coverage"],
4344
"cache": true
4445
},
4546
"@nx/eslint:lint": {
4647
"dependsOn": ["^build", "^lint"],
47-
"inputs": ["noMarkdown", "^noMarkdown"],
4848
"cache": true
4949
},
5050
"@nx/vite:build": {
5151
"dependsOn": ["^build"],
52+
"inputs": ["production", "^production"],
5253
"cache": true,
5354
"outputs": ["{projectRoot}/dist"]
5455
},
@@ -57,10 +58,12 @@
5758
"cache": true
5859
},
5960
"@nx/esbuild:esbuild": {
61+
"inputs": ["production", "^production"],
6062
"dependsOn": ["^build"],
6163
"cache": true
6264
},
6365
"e2e-ci--**/*": {
66+
"inputs": ["default", "^default"],
6467
"dependsOn": ["^build"],
6568
"cache": true
6669
},
@@ -103,7 +106,8 @@
103106
"options": {
104107
"ciTargetName": "e2e-ci",
105108
"targetName": "e2e"
106-
}
109+
},
110+
"include": ["e2e/**/**/*"]
107111
},
108112
{
109113
"plugin": "@nx/eslint/plugin",
@@ -144,7 +148,8 @@
144148
"previewTargetName": "vite:preview",
145149
"serveStaticTargetName": "vite:serve-static",
146150
"typecheckTargetName": "vite:typecheck"
147-
}
151+
},
152+
"include": ["packages/**/*", "e2e/**/*"]
148153
}
149154
],
150155
"defaultProject": "javascript-sdk",

packages/javascript-sdk/project.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,6 @@
88
"docs": {
99
"command": "pnpm typedoc --options {projectRoot}/typedoc.json"
1010
},
11-
"build": {
12-
"inputs": [
13-
"default",
14-
"^default",
15-
{
16-
"externalDependencies": ["vite"]
17-
}
18-
],
19-
"outputs": ["{projectRoot}/dist"]
20-
},
2111
"lint": {
2212
"options": {
2313
"fix": true,

packages/ping-protect/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019-2025 Ping Identity Corporation
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

packages/ping-protect/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ npm install @forgerock/javascript-sdk @forgerock/ping-protect
2121
```
2222

2323
```sh
24-
pnpm install @forgerock/javascript-sdk @forgerock/ping-protect
24+
pnpm add @forgerock/javascript-sdk @forgerock/ping-protect
2525
```
2626

2727
The two main responsibilities of the Ping Protect module is the initialization of the profiling and data collection and the completion and preparation of the collected data for the server. You can find the two methods on the `PIProtect` module found within the `@forgerock/ping-protect` module.

packages/ping-protect/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "4.6.0",
44
"private": false,
55
"type": "module",
6-
"files": ["dist"],
6+
"files": ["./dist/*"],
77
"module": "./dist/index.js",
88
"main": "./dist/index.js",
99
"repository": {

packages/ping-protect/project.json

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -7,38 +7,6 @@
77
"targets": {
88
"docs": {
99
"command": "pnpm typedoc --options {projectRoot}/typedoc.json"
10-
},
11-
"build": {
12-
"inputs": [
13-
"default",
14-
"^default",
15-
{
16-
"externalDependencies": ["vite"]
17-
}
18-
],
19-
"outputs": ["{projectRoot}/dist"]
20-
},
21-
"lint": {
22-
"options": {
23-
"args": ["**/*.ts"]
24-
}
25-
},
26-
"test": {
27-
"inputs": [
28-
"default",
29-
"^default",
30-
{
31-
"externalDependencies": ["vitest"]
32-
}
33-
],
34-
"options": {
35-
"config": "./vite.config.ts"
36-
},
37-
"configurations": {
38-
"watch": {
39-
"watch": true
40-
}
41-
}
4210
}
4311
}
4412
}

0 commit comments

Comments
 (0)