1.4.77 • Published 19 days ago

repox v1.4.77

Weekly downloads
-
License
ISC
Repository
-
Last release
19 days ago

Repox

Repox is a full integrated TypeScript monorepo system. It provides full support for multiple typescript projects.

Contents

1) Commands - Check version - Create workspace - Create project - Build project - Publish npm - Lint project

2) Configurations - repox.json file

3) Other - List of programs - List of commands

Commands

Check version

To check the current version use the command below.

repox --version

You can use alias instead of argument.

repox -v

Create workspace

To create workspace use the command below.

repox generate workspace --name="example-workspace"

Arguments of generate workspace

ArgumentAliasDescriptionRequired
--name-nSpecify a workspace nameTrue

Create project

To create project use the command below.

repox generate project --name="example-project" --type="app" --scheme="@app/ts"

Arguments of generate project

ArgumentAliasDescriptionRequired
--name-nSpecify a project nameTrue
--type-tSpecify a project typeTrue
--scheme-sSpecify a project schemeTrue
--path-pSpecify a project pathFalse

Project type (--type argument) values

Type valueDescription
appApplication project
libLibrary project
toolTool project

Project scheme (--scheme argument) values

Project schemeDescription
@blankBlank project
@htmlproHTMLPRO project
@app/tsTypeScript application
@lib/tsTypeScript library
@tool/tsTypeScript tool

Build project

To build project use the command below.

repox build project --name="example-project"

Arguments of build project

ArgumentAliasDescriptionRequired
--name-nSpecify a project nameTrue
--watch-wBuild the project as soon as something changesFalse
--production-PTurn on production build modeFalse

Publish npm

To publish npm use the command below.

repox publish npm --name="example-project"

Arguments of publish npm

ArgumentAliasDescriptionRequired
--name-nSpecify a project nameTrue

Lint project

To lint project use the command below.

repox lint project

Arguments of generate project

ArgumentAliasDescriptionRequired
--fix-fFix issues during lintingFalse

Configurations

repox.json file

{
  // All projects in the monorepo workspace
  "projects": {
    // Application TypeScript project
    "example-project-app": {
      // Project name
      "name": "example-project-app",
      // Project type
      "type": "app",
      // Project path
      "path": "projects/apps/example-project-app",
       // Project src path
       "src": "projects/apps/example-project-app/src",
      // Project scheme
      "scheme": "@app/ts",
      // Build settings for project
      "build": {
        // The compilation output path
        "output": "dist/example-project-app",
        // The main typescript file
        "main": "projects/apps/example-project-app/src/main.ts",
        // Additional resources that will be copied after compilation
        "assets": [
          {
            // The path to the copied item
            "input": "projects/apps/example-project-app/package.json",
            // The path where the file should be copied
            "output": "dist/example-project-app"
          }
        ]
      }
    },
    // Library TypeScript project
    "example-project-lib": {
      // Project name
      "name": "example-project-lib",
      // Project type
      "type": "lib",
      // Project path
      "path": "projects/libs/example-project-lib",
       // Project src path
      "src": "projects/libs/example-project-lib/src",
      // Project scheme
      "scheme": "@lib/ts"
    },
    // Tool TypeScript project
    "example-project-tool": {
      // Project name
      "name": "example-project-tool",
      // Project type
      "type": "tool",
      // Project path
      "path": "projects/tool/example-project-tool",
      // Project path
      "src": "projects/tool/example-project-tool/src",
      // Project scheme
      "scheme": "@tool/ts"
    }
  }
}

List of programs

ProgramProgram alias
generateg
buildb
publishp

List of commands

CommandCommand alias
workspacew
projectp
npmn
1.4.77

19 days ago

1.4.76

21 days ago

1.4.75

25 days ago

1.4.74

25 days ago

1.4.69

28 days ago

1.4.71

28 days ago

1.4.70

28 days ago

1.4.73

28 days ago

1.4.72

28 days ago

1.4.68

1 month ago

1.4.66

1 month ago

1.4.67

1 month ago

1.4.65

1 month ago

1.4.60

1 month ago

1.4.62

1 month ago

1.4.61

1 month ago

1.4.64

1 month ago

1.4.63

1 month ago

1.4.59

1 month ago

1.4.55

2 months ago

1.4.54

2 months ago

1.4.57

2 months ago

1.4.56

2 months ago

1.4.58

2 months ago

1.4.49

2 months ago

1.4.51

2 months ago

1.4.50

2 months ago

1.4.53

2 months ago

1.4.52

2 months ago

1.4.46

2 months ago

1.4.48

2 months ago

1.4.47

2 months ago

1.4.45

2 months ago

1.4.44

2 months ago

1.4.43

2 months ago

1.4.42

2 months ago

1.4.41

2 months ago

1.4.40

2 months ago

1.4.31

2 months ago

1.4.33

2 months ago

1.4.32

2 months ago

1.4.35

2 months ago

1.4.34

2 months ago

1.4.37

2 months ago

1.4.36

2 months ago

1.4.24

3 months ago

1.4.26

3 months ago

1.4.25

3 months ago

1.4.28

3 months ago

1.4.27

3 months ago

1.4.29

3 months ago

1.4.30

3 months ago

1.4.22

5 months ago

1.4.21

5 months ago

1.4.23

5 months ago

1.4.20

6 months ago

1.4.17

6 months ago

1.4.16

6 months ago

1.4.19

6 months ago

1.4.18

6 months ago

1.4.13

8 months ago

1.4.15

8 months ago

1.4.14

8 months ago

1.2.0

11 months ago

1.4.6

9 months ago

1.2.8

11 months ago

1.4.5

9 months ago

1.2.7

11 months ago

1.4.4

9 months ago

1.2.6

11 months ago

1.4.3

9 months ago

1.4.2

9 months ago

1.2.4

11 months ago

1.4.1

9 months ago

1.2.3

11 months ago

1.4.0

10 months ago

1.2.2

11 months ago

1.2.1

11 months ago

1.3.10

10 months ago

1.3.9

10 months ago

1.3.8

10 months ago

1.2.12

11 months ago

1.2.13

11 months ago

1.2.10

11 months ago

1.2.11

11 months ago

1.2.16

11 months ago

1.2.17

11 months ago

1.2.14

11 months ago

1.2.15

11 months ago

1.1.0

12 months ago

1.2.18

11 months ago

1.2.19

11 months ago

1.3.7

10 months ago

1.3.6

10 months ago

1.3.5

10 months ago

1.3.4

10 months ago

1.3.3

10 months ago

1.3.2

10 months ago

1.3.1

10 months ago

1.3.0

10 months ago

1.2.20

11 months ago

1.2.23

11 months ago

1.2.24

11 months ago

1.2.21

11 months ago

1.2.22

11 months ago

1.2.27

11 months ago

1.2.28

11 months ago

1.2.25

11 months ago

1.2.26

11 months ago

1.2.29

11 months ago

1.2.30

11 months ago

1.4.9

9 months ago

1.2.31

11 months ago

1.4.11

9 months ago

1.4.8

9 months ago

1.4.10

9 months ago

1.4.7

9 months ago

1.2.9

11 months ago

1.4.12

9 months ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago