Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 934 Bytes

DOC_WORKSPACES.md

File metadata and controls

51 lines (35 loc) · 934 Bytes
id title sidebar_label
workspaces
Workspaces
Workspaces

Overview

Workspaces manage global scopes for ReNative projects. It allows to add private scoped templates and plugins to rnv commands This is useful for organisation split. ie:

Workspace myOrganisation

~/.myOrganisation

Workspace myOtherOrganisation

~/.myOtherOrganisation

run rnv run workspaces list to check your workspace list.

Custom Workspaces

NOTE: [WORKSPACE_PATH] folder path can be customised in ~/.rnv/renative.workspaces.json

{
    "workspaces": {
        "rnv": {
            "path": "~/.rnv"
        },
        "SOME_ANOTHER_WORKSPACE_ID": {
            "path": "<WORKSPACE_PATH>"
        }
    }
}

You can then switch to custom workspace per each project ./renative.json

{
  "workspaceID": "SOME_ANOTHER_WORKSPACE_ID"
}