j-d-carmichael / boats

Beautiful Open Api Template System
MIT License
57 stars 8 forks source link

Feature: using "paths" config in boatsrc to define absolute paths #54

Closed TomFreeman closed 3 years ago

TomFreeman commented 3 years ago

Re-created from https://github.com/liffery-com/boats/pull/51

Please ensure your pull request:

TomFreeman commented 3 years ago

Ticking the final box on the basis that the previous PR had enough discussion already.

Plus there's a documentation update in here.

j-d-carmichael commented 3 years ago

@TomFreeman looks great! Thanks for the massive commitment :+1:

j-d-carmichael commented 3 years ago

@TomFreeman as this is a pretty big change I would like to just play it safe and run this from develop on a few projects for a few days:

{
  "name": "ms_someapi_d",
  "version": "1.0.0",
  "description": "",
  "scripts": {
    "build:json": "boats -i ./src/index.yml -o ./build/${npm_package_name}.json",
    "build:yaml": "boats -i ./src/index.yml -o ./build/${npm_package_name}.yml",
    "build": "npm run build:json && npm run build:yaml"
  },
  "private": true,
  "dependencies": {},
  "devDependencies": {
    "boats": "liffery-com/boats#develop"
  }
}

FYI: @p-mcgowan and @zewish

j-d-carmichael commented 3 years ago

Release to master PR: https://github.com/liffery-com/boats/pull/55