Skip to content
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

Implement the UI for create files using code #25676

Conversation

rjvelazco
Copy link
Contributor

@rjvelazco rjvelazco commented Aug 1, 2023

Proposed Changes

  • Implement the UI for create files using code

Checklist

  • Tests
  • Translations
  • Security Implications Contemplated (add notes if applicable)

Description

🤖 Generated by Copilot at 8c7cfb7

This pull request adds a new library called dotcms-fields to the core-web workspace. The library contains some common components and directives for dotCMS fields. It has its own ESLint, Jest, and TypeScript configurations and a README file.

Related Issue

Fixes #24362

Explanation of Changes

🤖 Generated by Copilot at 8c7cfb7

  • Add a new dotcms-fields library to the core-web workspace (link, link, link, link, link, link, link, link, link, link)
  • Create a new ESLint configuration file for the library, extending the base configuration and setting some specific rules for the selectors (link)
  • Create a new Jest configuration file for the library, setting the display name, the preset, the setup files, the globals, the coverage directory, the transform, the transform ignore patterns, and the snapshot serializers (link)
  • Create a new project configuration file for the library, defining the name, the schema, the project type, the source root, the prefix, the targets, and the tags (link)
    • Define test and lint targets, each with their own executor, outputs, options, and configurations (link)
  • Create a new README file for the library, providing some basic information and instructions for running the unit tests using Nx (link)
  • Create a new index file for the library, exporting the module (link)
  • Create a new module file for the library, declaring the DotcmsFieldsModule and importing the CommonModule (link)
  • Create a new test setup file for the library, importing the jest-preset-angular/setup-jest module (link)
  • Create a new TypeScript configuration file for the library, setting the compiler options, the files, the include, the references, and the angular compiler options (link)
    • Extend the base configuration from the workspace root (link)
  • Create a new TypeScript configuration file for the library code, setting the compiler options, the exclude, and the include (link)
    • Extend the base configuration from the library root (link)
  • Create a new TypeScript configuration file for the test code, setting the compiler options, the files, and the include (link)
    • Extend the base configuration from the library root (link)
  • Add a new path mapping for the library in the base TypeScript configuration file of the workspace, allowing importing the library using the @dotcms/dotcms-fields alias (link)

@rjvelazco rjvelazco changed the title Template Builder: Improving UX for Drag Row Implement the UI for create files using code Aug 1, 2023
@dotcms-sonarqube
Copy link

SonarQube Quality Gate

Quality Gate failed

Failed condition 0.0% 0.0% Coverage on New Code (is less than 80%)

See analysis details on SonarQube

@rjvelazco rjvelazco closed this Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement the UI for create files using code
1 participant