AIRSHIP V0.2.0 RELEASE NOTES

Braden Steffaniak - Aug 25, 2022

DOWNLOAD v0.2.0

NOTABLE CHANGES

tl;dr:

Add init command [Issue #1] permalink

You can now run ./airship init and it will guide you through the process of creating a new Flat project.

$ node ./airship.js init
Package name (default: home): NewProject
Initialize package in current folder: "C:/Users/home"? (Y/n): n
Folder name (default: NewProject): NewProject
Package version (default: 0.1.0): 0.1.0
Package description: my fancy description
Package author: Bob
Package license (default: ISC): ISC
Default compilation target (default: es6): es6
Main class (e.g.: example/ClassName) [optional - press enter to skip]: bob/NewProject
Create a testing pipeline? (Y/n): y
Pipeline file (default: .github/workflows/test.yml):
Pipeline file created at "C:/Users/home/NewProject/.github/workflows/test.yml"

Add create command [Issue #7] permalink

You can now run ./airship create {thing} and it will guide you through the process of creating a new component.

$ node ./airship.js create pipeline
Pipeline file (default: .github/workflows/test.yml):
Pipeline file created at "C:/Users/home/NewProject/.github/workflows/test.yml"

Add support for default exports [Issue #6]permalink

Default exports can now be defined in the flat.json file as such:

{
  "name": "IO",
  "version": "0.1.0",

  ...

  "main": {
    ...

    "defaultExports": [
      "flat/io/Console"
    ]
  }
}

This allows any package that imports this package as a dependency to automatically have flat/io/Console imported in all files.

General bug fixespermalink

  • Fix duplicate sources being added in some circumstances
  • Only include current package test source files when doing a test build
POSTS DOCUMENTATION