Skip to content

v3.7.0

Compare
Choose a tag to compare
@72636c 72636c released this 24 Jun 05:11
dd8120c

This release focuses on enabling @seek/seek-module-toolkit and @seek/skuba users to migrate to the new skuba package and toolkit.

Minor Changes

  • 7a967cd: configure: Support migration from seek-module-toolkit

    seek-module-toolkit users can now install skuba and run skuba configure to migrate their configuration.

    Care should be taken around the change in build directories.

  • f2f3925: eslint: skuba is now usable as a shareable config

    // .eslintrc.js
    
    module.exports = {
      // This can be used in place of require.resolve('skuba/config/eslint')
      extends: ['skuba'],
    };
  • 03a7ac2: build, start: Support experimental Babel toolchain

    You can now build your project with Babel instead of tsc. Experimentally.

    See docs/babel.md for details.

  • b23bd23: jest: skuba is now usable as a preset

    // jest.config.js
    
    const { testPathIgnorePatterns } = require('skuba/config/jest');
    
    module.exports = {
      // This can be used in place of ...require('skuba/config/jest')
      preset: 'skuba',
    
      // This is still necessary as Jest doesn't deep-merge presets
      testPathIgnorePatterns: [...testPathIgnorePatterns, '/test\\.ts'],
    };
  • 5c138fb: configure: Replace relocated dependencies

    skuba configure now replaces the following dependencies and updates their import paths via naive find-and-replace:

    • @seek/koala → seek-koala
    • @seek/node-datadog-custom-metrics → seek-datadog-custom-metrics
    • @seek/skuba → skuba
    • @seek/skuba-dive → skuba-dive
  • b85b4b3: init: Commit initial template files and configure default remote

  • cbce20b: format, lint: Enforce TSDoc syntax

  • f39abdc: template/oss-npm-package: Add new template

    This is intended for seek-oss projects.

Patch Changes

  • 205f27d: configure: Delete test:build and test:jest scripts
  • 0cbe50e: configure: List skuba upgrade upfront
  • 5ec72d5: configure, init: Avoid unnecessary file writes during templating
  • 5753b38: template/lambda-sqs-worker: Drop hot-shots dependency
  • 0c1e129: configure, init: Sort dependencies
  • 93cdf6c: template: Redact Authorization headers in logs
  • 1b9b9c4: template/package: Make prompt unskippable
  • 5283618: configure, init: Exclude lib- directories from compilation
  • 676030a: template/private-npm-package: Fix ReferenceError on init
  • f36b136: help: Show build-package correctly
  • 1b7641f: configure: Migrate collectCoverageFrom Jest option
  • 967603c: configure: Tame newlines in ignore files
  • 9edfd74: configure: List filtered devDependencies upfront
  • 8f862f5: configure, init: .dockerignore the .gantry folder. This should decrease build times.
  • 14e7b92: template/koa-rest-api: Ensure lint passes on init
  • 35b4b2e: configure: Sort more package.json props
  • 23d4e09: init: Install matching skuba version
  • bac749a: init: Extend validation on initial GitHub fields
  • cbce20b: template/package: Drop module aliasing from tsconfig.json
  • b480dac: template: Redact err.config.sockets from logs
  • a52b995: template/koa-rest-api: Support improved Runtypes error messaging
  • 1fbb097: configure: Handle skuba-dive dependency upfront
  • fe86bdf: configure: Migrate select Jest options
  • 72c2e2c: configure: Reserve skuba-managed sections in ignore files
  • 77744b7: configure, init: .gitignore archives created by npm pack
  • bea10c7: template/private-npm-package: Include a half-decent README
  • 1b960a8: configure, init: Make mentioned commands actually runnable
  • 573ea6e: configure: Clean up ignore files during migration
  • eac8ae5: configure, init: .dockerignore the .git folder. This should decrease build times.
  • 63d9f01: configure: Add notice for smt migrations
  • b6296ac: cli: Suppress dependency deprecation warnings
  • fe3a1a2: configure: Delete .npmignore
  • 56cc9ef: template: Drop duplicate team name prompt
  • 2169513: template/koa-rest-api: Use Koala's error handler
  • aa6e1e8: configure, init: Reduce unintended stripping of _ filename prefix