Skip to content

Commit

Permalink
adding debugger attach fix and remove unwanted idea config files (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuwan-samarasinghe authored Jan 28, 2025
1 parent 472a205 commit 4c52c85
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 180 deletions.
6 changes: 4 additions & 2 deletions .run/DESIGNER No AUTH.run.xml → .run/DESIGNER.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<env name="ACCESSIBILITY_STATEMENT_URL" value="http://localhost:3008/accessibility_statement" />
<env name="ALLOW_USER_TEMPLATES" value="true" />
<env name="AUTH_COOKIE_NAME" value="fsd_user_token" />
<env name="AUTH_ENABLED" value="false" />
<env name="AUTH_ENABLED" value="true" />
<env name="AWS_ACCESS_KEY_ID" value="FSDIOSFODNN7EXAMPLE" />
<env name="AWS_BUCKET_NAME" value="fsd-bucket" />
<env name="AWS_DEFAULT_REGION" value="eu-west-2" />
Expand All @@ -30,6 +30,8 @@
<env name="REDIRECT_TO_AUTHENTICATION_URL" value="http://localhost:3004/sessions/sign-out" />
<env name="RSA256_PUBLIC_KEY_BASE64" value="&quot;LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlHZU1BMEdDU3FHU0liM0RRRUJBUVVBQTRHTUFEQ0JpQUtCZ0hHYnRGMXlWR1crckNBRk9JZGFrVVZ3Q2Z1dgp4SEUzOGxFL2kwS1dwTXdkU0haRkZMWW5IakJWT09oMTVFaWl6WXphNEZUSlRNdkwyRTRRckxwcVlqNktFNnR2CkhyaHlQL041ZnlwU3p0OHZDajlzcFo4KzBrRnVjVzl6eU1rUHVEaXNZdG1rV0dkeEJta2QzZ3RZcDNtT0k1M1YKVkRnS2J0b0lGVTNzSWs1TkFnTUJBQUU9Ci0tLS0tRU5EIFBVQkxJQyBLRVktLS0tLQ\=\=&quot;" />
<env name="SERVICE_START_PAGE" value="http://localhost:3008/account" />
<env name="SSL_CERT" value="$PROJECT_DIR$/../../certs/cert.pem"/>
<env name="SSL_KEY" value="$PROJECT_DIR$/../../certs/key.pem"/>
</envs>
<method v="2">
<option name="NpmBeforeRunTask" enabled="true">
Expand All @@ -44,4 +46,4 @@
</option>
</method>
</configuration>
</component>
</component>
24 changes: 0 additions & 24 deletions .run/RUNNER TEST.run.xml

This file was deleted.

49 changes: 0 additions & 49 deletions .run/RUNNER No AUTH NO REDIS.run.xml

This file was deleted.

51 changes: 0 additions & 51 deletions .run/RUNNER No AUTH.run.xml

This file was deleted.

52 changes: 0 additions & 52 deletions .run/RUNNER-prod mode.run.xml

This file was deleted.

2 changes: 2 additions & 0 deletions .run/RUNNER.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
<env name="RSA256_PUBLIC_KEY_BASE64" value="TUlHZk1BMEdDU3FHU0liM0RRRUJBUVVBQTRHTkFEQ0JpUUtCZ1FDdUZBL2xrczcwM2JEeDZYN0duUVIwVlVSOAp6eW8yUEJ6L2E2MVd0TjJCUitYWlV5cjlGaHc4K3E4YVRsbzZ0K2VJa3hENjE4eWpaQkx0cGhZVjUwcTAvOW1OCkk0QStPSURhQ1J0aWd0NDJ4ZUlrbmpydWZ5a280Q0xjV3BFc1dzSkZWSnJnR2xQTHZrMzJHMVJ5WFErOGY1dWsKVmlKbjBKbGlzbWo4bGtzc2pRSURBUUFC" />
<env name="SERVICE_START_PAGE" value="https://frontend.levellingup.gov.localhost:3008/account" />
<env name="SINGLE_REDIS" value="true" />
<env name="SSL_CERT" value="$PROJECT_DIR$/../../certs/cert.pem"/>
<env name="SSL_KEY" value="$PROJECT_DIR$/../../certs/key.pem"/>
</envs>
<method v="2">
<option name="NpmBeforeRunTask" enabled="true">
Expand Down
4 changes: 2 additions & 2 deletions runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"scss:build": "node compile-scss.js",
"copy-forms": "node copy-form-json.js",
"clean:build": "rm -rf dist",
"dev": "NODE_ENV=development nodemon --inspect=0.0.0.0:9228 --watch src --ext js,json,ts,html,scss --exec 'yarn build && yarn start:server'",
"dev": "yarn build && yarn start:local",
"start:local": "NODE_ENV=development nodemon --inspect=0.0.0.0:9228 --watch src --ext js,json,ts,html,scss dist/digital-form-builder-adapter/runner/index.js",
"start:server": "node dist/digital-form-builder-adapter/runner/index.js",
"production": "NODE_ENV=production npm run start:server",
"start:test": "NODE_ENV=development npm run start:server",
Expand Down Expand Up @@ -50,7 +51,6 @@
"@types/hoek": "^4.1.4",
"babel-eslint": "^10.1.0",
"babel-plugin-module-name-mapper": "^1.2.0",
"concurrently": "^7.0.0",
"hapi-auth-jwt2": "10.2.0",
"prisma": "^5.1.1",
"sass": "^1.49.9",
Expand Down

0 comments on commit 4c52c85

Please sign in to comment.