0.1.0-20180705153912 • Published 6 years ago

@atomist/sdm-pack-seed v0.1.0-20180705153912

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
6 years ago

@atomist/sdm-pack-seed

npm version

A starting point for an extension pack for an Atomist software delivery machine (SDM).

See the Atomist documentation for more information on what SDMs are and what they can do for you using the Atomist API for software.

Usage

Install the dependency in your SDM project.

$ npm install @atomist/sdm-pack-seed

Then use its exported method to add the functionality to your SDM in your machine definition.

import {
    SoftwareDeliveryMachine,
    SoftwareDeliveryMachineConfiguration,
} from "@atomist/sdm";
import {
    createSoftwareDeliveryMachine,
} from "@atomist/sdm-core";
import { SeedSupport } from "@atomist/sdm-pack-seed";

export function machine(configuration: SoftwareDeliveryMachineConfiguration): SoftwareDeliveryMachine {
    const sdm = createSoftwareDeliveryMachine({
        name: "My Software Delivery Machine",
        configuration,
    });
    sdm.addExtensionPacks(SeedSupport);
    return sdm;
};

Support

General support questions should be discussed in the #support channel in the Atomist community Slack workspace.

If you find a problem, please create an issue.

Development

You will need to install node to build and test this project.

Build and test

Use the following package scripts to build, test, and perform other development tasks.

CommandReason
npm installinstall project dependencies
npm run buildcompile, test, lint, and generate docs
npm run lintrun TSLint against the TypeScript
npm run compilegenerate types from GraphQL and compile TypeScript
npm testrun tests
npm run autotestrun tests every time a file changes
npm run cleanremove files generated during build

Release

Releases are handled via the Atomist SDM. Just press the release button in the Atomist dashboard or Slack.


Created by Atomist. Need Help? Join our Slack workspace.