-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(inao): move applications into inao folder #15967
Conversation
WalkthroughThis pull request introduces several changes across various files related to the Applications for the Icelandic National Audit Office (Ríkisendurskoðun). Key modifications include the addition of a README file, updates to ESLint and TypeScript configuration paths, and adjustments to project structure to reflect a new directory organization. These changes aim to enhance clarity and maintainability within the project. Changes
Possibly related PRs
Recent review detailsConfiguration used: .coderabbit.yaml Files selected for processing (3)
Files skipped from review as they are similar to previous changes (3)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Datadog ReportAll test runs ✅ 101 Total Test Services: 0 Failed, 99 Passed Test ServicesThis report shows up to 10 services
🔻 Code Coverage Decreases vs Default Branch (2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Core file LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to update any references directly to these projects? The sourceRoot in project.json for example?
Also this:
libs/application/templates/financial-statements-inao/codegen.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (9)
- libs/application/templates/inao/README.md (1 hunks)
- libs/application/templates/inao/financial-statement-cemetery/.eslintrc.json (1 hunks)
- libs/application/templates/inao/financial-statement-cemetery/project.json (2 hunks)
- libs/application/templates/inao/financial-statement-cemetery/tsconfig.lib.json (1 hunks)
- libs/application/templates/inao/financial-statement-individual-election/.eslintrc.json (1 hunks)
- libs/application/templates/inao/financial-statement-individual-election/project.json (2 hunks)
- libs/application/templates/inao/financial-statement-individual-election/tsconfig.json (1 hunks)
- libs/application/templates/inao/financial-statement-individual-election/tsconfig.lib.json (1 hunks)
- libs/application/templates/inao/financial-statement-individual-election/tsconfig.spec.json (1 hunks)
Files skipped from review due to trivial changes (3)
- libs/application/templates/inao/README.md
- libs/application/templates/inao/financial-statement-cemetery/tsconfig.lib.json
- libs/application/templates/inao/financial-statement-individual-election/tsconfig.lib.json
Additional context used
Path-based instructions (4)
libs/application/templates/inao/financial-statement-individual-election/tsconfig.spec.json (1)
Pattern
libs/**/*
: "Confirm that the code adheres to the following:
- Reusability of components and hooks across different NextJS apps.
- TypeScript usage for defining props and exporting types.
- Effective tree-shaking and bundling practices."
libs/application/templates/inao/financial-statement-individual-election/tsconfig.json (1)
Pattern
libs/**/*
: "Confirm that the code adheres to the following:
- Reusability of components and hooks across different NextJS apps.
- TypeScript usage for defining props and exporting types.
- Effective tree-shaking and bundling practices."
libs/application/templates/inao/financial-statement-individual-election/project.json (1)
Pattern
libs/**/*
: "Confirm that the code adheres to the following:
- Reusability of components and hooks across different NextJS apps.
- TypeScript usage for defining props and exporting types.
- Effective tree-shaking and bundling practices."
libs/application/templates/inao/financial-statement-cemetery/project.json (1)
Pattern
libs/**/*
: "Confirm that the code adheres to the following:
- Reusability of components and hooks across different NextJS apps.
- TypeScript usage for defining props and exporting types.
- Effective tree-shaking and bundling practices."
Additional comments not posted (9)
libs/application/templates/inao/financial-statement-individual-election/tsconfig.spec.json (1)
4-4
: LGTM!The change in the
outDir
compiler option is minor and does not affect the functionality. It reflects the new directory structure for the output files generated during the TypeScript compilation process for tests.The change adheres to the additional instructions for files matching the
libs/**/*
pattern:
- The configuration file is specific to the
financial-statement-individual-election
application and is not reusable across different NextJS apps.- The file does not contain any TypeScript code for defining props or exporting types.
- The change does not impact the tree-shaking or bundling practices.
libs/application/templates/inao/financial-statement-cemetery/.eslintrc.json (1)
2-2
: LGTM! The change in the relative path is valid.The modification to the relative path in the "extends" array suggests a change in the directory structure or the location of the base ESLint configuration file. This adjustment can impact how ESLint rules are applied to the project, potentially influencing the linting behavior based on the new configuration hierarchy.
Ensure that the updated relative path correctly points to the intended base ESLint configuration file and that the linting rules are being applied as expected after this change.
libs/application/templates/inao/financial-statement-individual-election/.eslintrc.json (1)
2-2
: LGTM!The change in the relative path for the base ESLint configuration is consistent with the PR objective of moving applications into the "inao" folder. The functionality of the ESLint configuration remains unaffected.
libs/application/templates/inao/financial-statement-individual-election/tsconfig.json (1)
19-19
: LGTM!The change in the
extends
property correctly updates the path to the base TypeScript configuration file, reflecting the new directory structure. This adjustment ensures that the appropriate compiler options and settings are applied to this project.libs/application/templates/inao/financial-statement-individual-election/project.json (2)
3-4
: LGTM!The changes to the
$schema
path andsourceRoot
align with the PR objective of moving applications into theinao
folder. The new directory structure reflects the reorganization of the project within the application templates.
14-14
: LGTM!Updating the command for the
extract-strings
target to align with the new source root is necessary to ensure that the localization extraction process continues to function correctly after the project reorganization.libs/application/templates/inao/financial-statement-cemetery/project.json (3)
4-4
: Verify the correctness of the newsourceRoot
path.Please ensure that the updated
sourceRoot
path"libs/application/templates/inao/financial-statement-cemetery/src"
is correct and aligns with the new project directory structure.Verification successful
The
sourceRoot
path is correct.The directory
libs/application/templates/inao/financial-statement-cemetery/src
exists, confirming that thesourceRoot
path in theproject.json
file is correct and aligns with the project's directory structure.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the correctness of the new `sourceRoot` path. # Test: Check if the directory exists at the specified path. Expect: Directory exists. if [ -d "libs/application/templates/inao/financial-statement-cemetery/src" ]; then echo "The source root directory exists at the specified path." else echo "The source root directory does not exist at the specified path." fiLength of output: 198
22-22
: Verify the correctness of the updated Jest configuration path.Please ensure that the updated Jest configuration path
"libs/application/templates/inao/financial-statement-cemetery/jest.config.ts"
is correct and accessible within the new project structure.Verification successful
Jest Configuration Path Verified
The updated Jest configuration path
"libs/application/templates/inao/financial-statement-cemetery/jest.config.ts"
is correct and accessible within the new project structure. No further action is required.Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the correctness of the updated Jest configuration path. # Test: Check if the `jest.config.ts` file exists at the specified path. Expect: File exists. if [ -f "libs/application/templates/inao/financial-statement-cemetery/jest.config.ts" ]; then echo "The jest.config.ts file exists at the specified path." else echo "The jest.config.ts file does not exist at the specified path." fiLength of output: 205
3-3
: Verify the correctness of the new$schema
path.Please ensure that the updated
$schema
path"../../../../../node_modules/nx/schemas/project-schema.json"
is correct and accessible within the new project structure.
libs/application/templates/inao/financial-statement-cemetery/project.json
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What
Make inao folder and move applications into it
Why
Encapsulate applications for an organization
Checklist:
Summary by CodeRabbit
New Features
Chores