Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
Puts Debuggerer
Ruby library for improved puts debugging, automatically displaying bonus useful information such as source line number and source code.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
The documentation for the classes of the bundled project types is at https://github.com/projen/projen/. In this documentation, you can see that the property github includes a mergify entry, which will define if the Mergify configuration is used. The default if the github entry is not specified, is that it will be included. So in our test, we can check that this configuration is not in place, after creating a project with the mandatory parameters.
const { JsiiProject } = require('projen'); const project = new JsiiProject({ author: 'Adam Author', authorAddress: '[email protected]', defaultReleaseBranch: 'main', name: 'awesome-awscdk-project', repositoryUrl: 'https://github.com/adamauthor/awesome-awscdk-project.git', // deps: [], /* Runtime dependencies of this module. */ // description: undefined, /* The description is just a string that helps people understand the purpose of the package. */ // devDeps: [], /* Build dependencies for this module. */ // packageName: undefined, /* The "name" in package.json. */ // projectType: ProjectType.UNKNOWN, /* Which type of project this is (library/app). */ // release: undefined, /* Add release management to this project. */ }); project.synth();
In the test directory, we can remove the sample test file hello.test.ts and create our test file. Let us name that awscdk-app-closedsource-ts.test.ts. Our project set-up includes the installation of the Jest test framework by default, so we can define a test using that.
git client - Download from here: https://git-scm.com
const { JsiiProject } = require('projen'); const project = new JsiiProject({ author: 'Adam Author', authorAddress: '[email protected]', defaultReleaseBranch: 'main', name: 'awesome-awscdk-project', repositoryUrl: 'https://github.com/adamauthor/awesome-awscdk-project.git', // deps: [], /* Runtime dependencies of this module. */ // description: undefined, /* The description is just a string that helps people understand the purpose of the package. */ // devDeps: [], /* Build dependencies for this module. */ // packageName: undefined, /* The "name" in package.json. */ // projectType: ProjectType.UNKNOWN, /* Which type of project this is (library/app). */ // release: undefined, /* Add release management to this project. */ }); project.synth();