Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 6, 2024
0 parents commit 531185a
Show file tree
Hide file tree
Showing 2,419 changed files with 319,602 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apps
demo
libs
node_modules
ssr
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
84 changes: 84 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nx", "no-only-tests"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"@nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
"allow": [],
"depConstraints": [
{
"sourceTag": "type:feature",
"onlyDependOnLibsWithTags": [
"type:feature",
"type:data-access",
"type:ui",
"type:util",
"type:api"
],
"bannedExternalImports": ["*app-config"]
},
// data-access libs should only depend on data-access libs
{
"sourceTag": "type:data-access",
"onlyDependOnLibsWithTags": ["type:data-access"]
},
// ui libs should only depend on ui libs and shared & i18n utils
{
"sourceTag": "type:ui",
"onlyDependOnLibsWithTags": [
"type:ui",
"scope:i18n",
"scope:shared"
]
},
// util libs should only depend on util libs
{
"sourceTag": "type:util",
"onlyDependOnLibsWithTags": ["type:util"]
},
// apps should depend on all kind of libs
{
"sourceTag": "type:app",
"onlyDependOnLibsWithTags": [
"type:feature",
"type:data-access",
"type:ui",
"type:util",
"type:api"
]
},
// api libs should only depend on api libs
{
"sourceTag": "type:api",
"onlyDependOnLibsWithTags": ["type:api", "scope:shared"],
"bannedExternalImports": ["*app-config"]
}
]
}
]
}
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nx/typescript"],
"rules": {}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nx/javascript"],
"rules": {}
},
{
"files": ["*.spec.ts", "*.cy.ts"],
"rules": {
"no-only-tests/no-only-tests": "error"
}
}
]
}
49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
name: Bug report
about: Create a report to help us improve GeoNetwork-UI
title: ''
labels: 'bug'
assignees: ''
---

### Describe the bug

When opening the application [...]

<!--
Please provide an in-depth description of the problem witnessed and in which context it happens, as well as the expected result.
-->

- GeoNetwork-UI version used: [`X.X.X` or `main`]

- Application: [...]

<!--
Ideally, these steps should be reproducible with the local docker composition in `support-services`. If not, please provide a link to an online platform from which the problem can be investigated.
-->

### Expected behaviour

The application should [...]

<!--
Please describe here the expected behavior of the application
-->

### Steps To Reproduce

- Run [...]
- Open [...]
- Click on [...]

<!--
Ideally, these steps should be reproducible with the local docker composition in `support-services`. If not, please provide a link to an online platform from which the problem can be investigated.
-->

### Screenshots

[...]

<!--
Please add screenshots showing the unexpected visual result, or even better an animated screen capture.
-->
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Feature request
about: Suggest an idea or request a feature for this project
title: ''
labels: 'feature request'
assignees:
---

### Description

I would like to request adding [...]

<!--
Please describe here what you think constitute a valuable improvement to the project.
-->

### Motivation

This request stems from the fact that [...]

<!--
Please describe here the underlying motivation from this request/suggestion: a recurring complaint from users, a technical limitation, bad performance, etc.
Also please keep in mind that writing a request does _not_ mean it will get implemented automatically! The best way to see an improvement happen is to secure funding for it, or to contribute it directly.
-->

### Inspiration and context

This request takes inspiration from [...]

<!--
Share here any link/image that might help other people understand the intended outcome, as well as more information about the context this request might have emerged from.
-->
57 changes: 57 additions & 0 deletions .github/ISSUE_TEMPLATE/proposal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
---
name: Proposal
about: Describe a feature or tech task that you intend to push forward
title: ''
labels: 'enhancement'
assignees: ''
---

### Description of the proposal

This proposal aims at adding [...]

The final outcome will be [...]

<!--
Proposals can either be of technical or functional nature. Please describe the intended outcome clearly as to better communicate your intention.
-->

### Motivation

This proposal stems from the fact that [...]

<!--
Optionally, please describe here the underlying motivation from this proposal: a recurring complaint from users, a technical limitation, bad performance, etc.
-->

### Scope

This proposal affects [...]

<!--
A proposal scope can either be an application, a specific page or component, a module, a dependency...
-->

### Possible alternatives

Another way of achieving this could be to [...]

<!--
It is always good to provide alternatives in case the main proposal does not gather a high enough approval
-->

### Inspiration and context

This proposal takes inspiration from [...]

<!--
Share here any link/image that might help other people understand the intended outcome, as well as more information about the context this proposal might have emerged from.
-->

---

<!--
Please give credit to the sponsor of this work if possible. If this work is not funded yet, please let it be known clearly!!
-->

**This work is sponsored by [Organization ABC](xx)**.
45 changes: 45 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
### Description

This PR introduces [...]

<!--
Describe here the changes brought by this PR. Do not forget to link any relevant issue or discussion to help people review your work!
-->

### Architectural changes

The following library now depends on [...]

<!--
Describe here any changes to the project architecture: adding/removing modules or libraries, changing dependencies between libraries and apps, changes to external NPM dependencies...
-->

### Screenshots

[...]

<!--
If the changes incur visual changes, please include screenshots or an animated screen capture.
-->

### Quality Assurance Checklist

- [ ] Commit history is devoid of any _merge commits_ and readable to facilitate reviews
- [ ] If **new logic** ⚙️ is introduced: unit tests were added
- [ ] If **new user stories** 🤏 are introduced: E2E tests were added
- [ ] If **new UI components** 🕹️ are introduced: corresponding stories in Storybook were created
- [ ] If **breaking changes** 🪚 are introduced: add the `breaking change` label
- [ ] If **bugs** 🐞 are fixed: add the `backport <release branch>` label
- [ ] The [documentation website](docs) 📚 has received the love it deserves

<!--
Please only check items relevant to your contribution. Thank you very much for your time and efforts!
-->

---

<!--
Please give credit to the sponsor of this work if possible.
-->

<!-- **This work is sponsored by [Organization ABC](xx)**. -->
Loading

0 comments on commit 531185a

Please sign in to comment.