Skip to content

Conversation

@matz3
Copy link
Member

@matz3 matz3 commented Aug 16, 2023

The UI5 data directory (previously called UI5 home directory) should
always be resolved relative to the project directory, which is where
the package.json file is located at.

This change also adds a list of options to the Configuration class to be
used by the CLI config command to allow all available config options to
be set or retrieved.

Follow-up of #635

JIRA: CPOUI5FOUNDATION-715
JIRA: CPOUI5FOUNDATION-716

The UI5 data directory (previously called UI5 home directory) should
always be resolved relative to the project directory, which is where
the package.json file is located at.

This change also adds a list of options to the Configuration class to be
used by the CLI config command to allow all available config options to
be set or retrieved.

Follow-up of #635
@coveralls
Copy link

coveralls commented Aug 16, 2023

Coverage Status

coverage: 95.868% (+0.04%) from 95.832% when pulling 0d65ecb on fix-data-dir-resolution into 23fd49d on main.

@matz3 matz3 marked this pull request as ready for review August 17, 2023 12:29
@matz3 matz3 requested a review from a team August 17, 2023 12:29
@matz3 matz3 added the bug label Aug 17, 2023
matz3 added a commit to SAP/ui5-cli that referenced this pull request Aug 18, 2023
Options are now properly read from the @ui5/project Configuration class
in order to be decoupled from future changes.

Some code could be removed as the checks are done via yargs.

See: SAP/ui5-project#642
Copy link
Member

@RandomByte RandomByte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a minor proposal

matz3 added a commit to UI5/cli that referenced this pull request Aug 18, 2023
Co-authored-by: Merlin Beutlberger <m.beutlberger@sap.com>
@matz3 matz3 merged commit 228b14c into main Aug 18, 2023
@matz3 matz3 deleted the fix-data-dir-resolution branch August 18, 2023 14:39
matz3 added a commit to SAP/ui5-cli that referenced this pull request Aug 18, 2023
Options are now properly read from the @ui5/project Configuration class
in order to be decoupled from future changes.

Some code could be removed as the checks are done via yargs.

See: SAP/ui5-project#642
matz3 added a commit to SAP/ui5-cli that referenced this pull request Aug 19, 2023
Options are now properly read from the @ui5/project Configuration class
in order to be decoupled from future changes.

Some code could be removed as the checks are done via yargs.

See: SAP/ui5-project#642

JIRA: CPOUI5FOUNDATION-716

---------

Co-authored-by: Merlin Beutlberger <m.beutlberger@sap.com>
matz3 added a commit to UI5/cli that referenced this pull request Aug 21, 2023
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 24, 2025
…645)

Options are now properly read from the @ui5/project Configuration class
in order to be decoupled from future changes.

Some code could be removed as the checks are done via yargs.

See: SAP/ui5-project#642

JIRA: CPOUI5FOUNDATION-716

---------

Co-authored-by: Merlin Beutlberger <m.beutlberger@sap.com>
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 25, 2025
…5-project#642)

The UI5 data directory (previously called UI5 home directory) should
always be resolved relative to the project directory, which is where
the package.json file is located at.

This change also adds a list of options to the Configuration class to be
used by the CLI config command to allow all available config options to
be set or retrieved.

Follow-up of SAP/ui5-project#635

JIRA: CPOUI5FOUNDATION-715
JIRA: CPOUI5FOUNDATION-716

---------

Co-authored-by: Merlin Beutlberger <m.beutlberger@sap.com>
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 25, 2025
…ui5-cli#645)

Options are now properly read from the @ui5/project Configuration class
in order to be decoupled from future changes.

Some code could be removed as the checks are done via yargs.

See: SAP/ui5-project#642

JIRA: CPOUI5FOUNDATION-716

---------

Co-authored-by: Merlin Beutlberger <m.beutlberger@sap.com>
d3xter666 pushed a commit to UI5/cli that referenced this pull request Sep 26, 2025
…ui5-cli#645)

Options are now properly read from the @ui5/project Configuration class
in order to be decoupled from future changes.

Some code could be removed as the checks are done via yargs.

See: SAP/ui5-project#642

JIRA: CPOUI5FOUNDATION-716

---------

Co-authored-by: Merlin Beutlberger <m.beutlberger@sap.com>
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.

4 participants