We welcome contributions in several forms, e.g.
- Sponsoring
- Documenting
- Testing
- Coding
- etc.
Please check for the issues in the project and look for unassigned ones or create a new one. The good issues for newcomers are marked with good-first-issue.
Working together in an open and welcoming environment is the foundation of our success, so please respect our Code of Conduct.
We use the Feature Branch Workflow and review all changes we merge to master.
The code is required to pass the automated build, all unit-tests must be green and the configured security- (snyk) and code quality (lgtm) checks must be OK before the pull request can be merged.
Commit messages shall follow the conventions defined by conventional-changelog.
Please follow the typescript code style which is established in tslint.json. (Works out of the box in many editors, e.g. Visual Studio Code)
You will need to have administrative access to an Alteryx Server to setup the development environment. If you don't have a local server installed, you can register here for a trial license. (that is free as in a beer :)
The npm run dev
command will start the typescript transpiler and mocha unit testing in a watch mode so that you can add new features to the library.
Don't forget to start another shell with npm run ts:watch
which runs the typescript transpiler.
Deletes dist/
directory.
Deletes dist/
directory.
Prepares the library for installation. It is called by npm pack
and npm install
commands.
The script executes following steps:
- cleans the
dist/
directory (npm run clean
) - transpiles the typescript code to
dist/
directory (npm run ts:build
)
Transpiles the typescript and runs the full mocha unit test suite. (this only works on normal developer tenants)
Transpiles the typescript and runs the mocha unit tests marked with @sanity (this only works on normal developer tenants)
Transpiles the typescript and runs the mocha unit test suite with NODE_TLS_REJECT_UNAUTHORIZED=0 so that you can inspect the HTTP traffic e.g. by using Telerik Fiddler as a proxy server.
Called by jenkins to create test resports in CI/CD pipeline.
Run the typescript transpiler.
Run the typescript transpiler and save results in dist/
folder. (used by prepare
script)
Run typescript transpiler in watch mode (used for development)
Start typescript linter
Local development for new features. Runs concurrently typescript transpiler in watch mode (npm run ts:watch
) and mocha in watch mode (npm run test:watch
)
Generates the documentation.
Creates a private RSA_3072 key with help of openssl library (which must be available in your PATH)
Checks if all depenedent libraries are in a set of allowed libraries. Used by jenkins CI/CD pipeline.
Prints out a license summary for the whole dependency tree.
Creates the binary files with the CLI for Windows, Linux and MacOS.