1.22.1 • Published 2 months ago

@tangelo/tangelo-configuration-toolkit v1.22.1

Weekly downloads
49
License
SEE LICENSE IN LI...
Repository
bitbucket
Last release
2 months ago

tangelo-configuration-toolkit

Tangelo Configuration Toolkit is a command-line toolkit which offers support for developing a Tangelo configuration.

Installation

The toolkit requires NPM on Node.js® (at least version 18.x). An active or maintenance LTS release is recommended. After installing Node.js, you can install the latest version of the Tangelo Configuration Toolkit globally on your system using the following command:

npm i -g @tangelo/tangelo-configuration-toolkit

Usage

Get help for the available commands and see version:

tangelo-configuration-toolkit

Get help for a specific command, detailing all its arguments:

tangelo-configuration-toolkit <command>

Use the tct shorthand instead of tangelo-configuration-toolkit:

tct <command>

Config

Global

TCT requires a config file to work: ${userhome}/.tct/appconfig.json\ Several commands, like the deploy command, require server connection information, which can be stored in here.

The contents looks like this (all properties are optional):

{
  "sharedConfigPath": "absolute/or/relative/path/to/folder/containing/shared/config",
  "servers": [{
    "config": {
      "port": 22,
      "parallel": 4,
      "username": "username",
      "remotedir": "/absolute/path/to/tangelo/config/folder/on/server"
    },
    "domains": ["domain.name.com"],
    "name": "name-for-local-deploy"
  }],
  "serverDefaults": {
    "config": {
      ...
    }
  }
  "defaultServer": "can be set to the name of e.g. your favorite dev server",
  "defaultDatabase": "can be set to the tnsname of e.g. your favorite dev server"
}

When passing a server name, tct will look for a full match with a name or a partial match (the start) with a domain.

oXygen

The build -x commands set projects transformation scenarios and masterfiles in the oXygen project file with the following functionality:

  • Will try to preserve manually added entries in the transformation scenarios and masterfiles
  • Will remove non existing masterfiles or masterfiles that start with a '_'
  • No masterfiles / scenarios will be added if their path match with oXygens hidden directory patterns

Debug

Save this in the root of your local clone as tct-dev.cmd:

@ECHO off
SETLOCAL
CALL :find_dp0

IF EXIST "%dp0%\node.exe" (
  SET "_prog=%dp0%\node.exe"
) ELSE (
  SET "_prog=node"
  SET PATHEXT=%PATHEXT:;.JS;=;%
)

"%_prog%"  "%dp0%\index.js" %*
ENDLOCAL
EXIT /b %errorlevel%
:find_dp0
SET dp0=%~dp0
EXIT /b

Then:

  • open a 'Javascript Debug Terminal' in VSCode
  • jump to a customer folder ( you can use tan-cust for this)
  • set a breakpoint
  • type (for instance): tct-dev d -c
1.22.0

2 months ago

1.22.1

2 months ago

1.21.0

4 months ago

1.20.1

5 months ago

1.20.2

5 months ago

1.20.0

5 months ago

1.19.0

8 months ago

1.18.0

10 months ago

1.14.4

1 year ago

1.16.0

1 year ago

1.15.0

1 year ago

1.17.1

1 year ago

1.17.0

1 year ago

1.15.1

1 year ago

1.14.3

1 year ago

1.14.2

1 year ago

1.14.1

2 years ago

1.14.0

2 years ago

1.13.0

2 years ago

1.12.1

2 years ago

1.12.0

2 years ago

1.11.0

2 years ago

1.11.2

2 years ago

1.11.1

2 years ago

1.10.4

2 years ago

1.10.3

3 years ago

1.10.2

3 years ago

1.10.1

3 years ago

1.9.3

3 years ago

1.9.2

3 years ago

1.10.0

3 years ago

1.9.1

3 years ago

1.9.0

3 years ago

1.8.2

3 years ago

1.8.1

3 years ago

1.8.0

3 years ago

1.6.1

3 years ago

1.6.0

3 years ago

1.8.0-beta.1

3 years ago

1.8.0-beta.0

3 years ago

1.8.0-beta.3

3 years ago

1.8.0-beta.2

3 years ago

1.8.0-beta.4

3 years ago

1.7.0

3 years ago

1.8.3

3 years ago

1.5.5

3 years ago

1.5.4

3 years ago

1.5.3

3 years ago

1.5.2

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.6

3 years ago

1.4.5

3 years ago

1.4.4

4 years ago

1.4.3

4 years ago

1.4.2

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.7.2

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.4

4 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.2

4 years ago

0.3.3

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago