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

Feat/unified schema 2 #1743

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

Feat/unified schema 2 #1743

wants to merge 10 commits into from

Conversation

ElenaDiachenko
Copy link
Contributor

@ElenaDiachenko ElenaDiachenko commented Oct 3, 2024

Description

  • Small description

Related issues

Npm releases

n/a

if (confirm) {
const relativeShemePath = generateNewSchemaPath(configPath || '');
if (misNamespace) {
delete updatedConfigFile[misNamespace].$schema;

Check warning

Code scanning / CodeQL

Prototype-polluting assignment Medium

This assignment may alter Object.prototype if a malicious '__proto__' string is injected from
library input
.
This assignment may alter Object.prototype if a malicious '__proto__' string is injected from
library input
.
This assignment may alter Object.prototype if a malicious '__proto__' string is injected from
library input
.
This assignment may alter Object.prototype if a malicious '__proto__' string is injected from
library input
.
@ElenaDiachenko ElenaDiachenko changed the title Feat/unified schema Feat/unified schema 2 Oct 3, 2024
@Marius456 Marius456 added this to the 1.5 milestone Oct 9, 2024
@locksten locksten self-requested a review October 11, 2024 07:02
Copy link
Collaborator

@locksten locksten left a comment

Choose a reason for hiding this comment

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

Lightning and windows engines have missing renative.engine.json properties.

After migrating, my renative.local.json has double local, which is probably incorrect:

{
    "local": {
        "_meta": {
            "currentAppConfigId": "harness"
        }
    },
    "project": {},
    "_meta": {
        "currentAppConfigId": "harness"
    }
}

{
    "local": {
        "local": {
            "_meta": {
                "currentAppConfigId": "harness"
            }
        },
        "project": {},
        "_meta": {
            "currentAppConfigId": "harness"
        }
    },
    "$schema": ".rnv/schema/renative-1.0.schema.json"
}

@@ -79,7 +81,7 @@ describe('taskCryptoEncrypt tests', () => {
//GIVEN
const ctx = getContext();
ctx.files.project.config = {
projectName: '@rnv/testProject',
project: { projectName: '@rnv/testProject' },
Copy link
Collaborator

Choose a reason for hiding this comment

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

There seem to be missing properties here

@Marius456 Marius456 modified the milestones: 1.5, 1.6 Oct 22, 2024
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.

3 participants