1.7.6 • Published 1 year ago

cdm.objectmodel v1.7.6

Weekly downloads
56
License
MIT
Repository
-
Last release
1 year ago

Introduction

Typescript SDK for Common Data Model.

Setup Instructions

  1. The build process requires PowerShell. Make sure to add Powershell to your PATH - C:\Windows\System32\WindowsPowerShell\v1.0

  2. Install Node.js.

  3. To set up debugging in Visual Studio Code, create launch.json configuration with following:

    {
        "version": "0.2.0",
        "configurations": [
            {
                "name": "Debug Jest Tests",
                "type": "node",
                "request": "launch",
                "runtimeArgs": [
                "--inspect-brk",
                "--trace-uncaught",
                "${workspaceRoot}/node_modules/jest/bin/jest.js",
                "--runInBand"
                ],
                "console": "integratedTerminal",
                "internalConsoleOptions": "neverOpen",
                "port": 9229
            }
        ]
    }

    You can optionally install Jest Test Explorer to run the tests using an extensible user interface - Test Explorer UI.

Build

  1. To download packages and their dependencies type npm ci.

    Note: Use npm ci instead of npm install. One of the biggest downside of the npm install command is its unexpected behavior that it may mutate the package-lock.json, whereas npm ci only uses the version in the lockfile and produces an error if the package-lock.json and package.json are out of sync.

  2. To build the project type npm run build

Unit tests

  1. To run the unit tests type npm run test
  2. A set of Azure Data Lake Storage Gen2 tests are included but disabled by default. To enable them follow the instructions here
1.7.6

1 year ago

1.7.5

2 years ago

1.7.4

2 years ago

1.7.3

2 years ago

1.7.2

2 years ago

1.7.1

2 years ago

1.6.5

2 years ago

1.6.4

3 years ago

1.6.3

3 years ago

1.6.1

3 years ago

1.6.0

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.4

3 years ago

1.4.2

4 years ago

1.4.2-preview1

3 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.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.15

4 years ago