Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 1, 2024
1 parent 0dc98eb commit 09b6628
Show file tree
Hide file tree
Showing 13 changed files with 66 additions and 93 deletions.
5 changes: 0 additions & 5 deletions .changeset/fresh-boats-yawn.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/funny-mugs-brake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/green-flies-draw.md

This file was deleted.

19 changes: 0 additions & 19 deletions .changeset/green-zebras-greet.md

This file was deleted.

15 changes: 0 additions & 15 deletions .changeset/hip-forks-drum.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/late-tigers-smash.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/orange-moles-yell.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/plenty-rings-wink.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/rude-bobcats-unite.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/smart-ghosts-complain.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/twelve-masks-turn.md

This file was deleted.

64 changes: 64 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,69 @@
# skuba

## 7.4.0

### Minor Changes

- **template:** Initialise new projects with [pnpm](https://pnpm.io/) ([#1289](https://github.com/seek-oss/skuba/pull/1289))

New projects based on built-in templates will now use pnpm as their package manager as per updated organisational guidance.

Custom templates will continue to default to Yarn 1.x until a future major version, though you can opt in to pnpm via `skuba.template.js`:

```diff
module.exports = {
+ packageManager: 'pnpm',
};
```

- **deps:** TypeScript 5.3 ([#1324](https://github.com/seek-oss/skuba/pull/1324))

This major release includes breaking changes. See the [TypeScript 5.3](https://devblogs.microsoft.com/typescript/announcing-typescript-5-3/) announcement for more information.

- **init:** Default to `arm64` platform and `main` branch ([#1343](https://github.com/seek-oss/skuba/pull/1343))

- **init:** Support `main` default branch ([#1335](https://github.com/seek-oss/skuba/pull/1335))

- **lint:** Introduce skuba patches ([#1274](https://github.com/seek-oss/skuba/pull/1274))

This feature adds patches which are run only once on the `lint` or `format` commands following a skuba update. If your build pipeline is utilising [autofixes](https://seek-oss.github.io/skuba/docs/deep-dives/github.html#github-autofixes), these changes will be pushed up automatically.

### Patch Changes

- **deps:** picomatch ^3.0.0 ([#1309](https://github.com/seek-oss/skuba/pull/1309))

- **Jest:** Export `Config` type ([#1360](https://github.com/seek-oss/skuba/pull/1360))

This resolves a TypeScript error that could present itself when using `Jest.mergePreset` with the [`declaration`](https://www.typescriptlang.org/tsconfig#declaration) compiler option:

> TS4082: Default export of the module has or is using private name `ConfigGlobals`.

- **template/lambda-sqs-worker:** Remove `@aws-sdk/util-utf8-node` library ([#1326](https://github.com/seek-oss/skuba/pull/1326))

- **build, build-package, test:** Remove empty export synthesis for Jest setup files ([#1274](https://github.com/seek-oss/skuba/pull/1274))

[`isolatedModules`](https://www.typescriptlang.org/tsconfig#isolatedModules) was enabled by default in [v5.0.0](https://github.com/seek-oss/skuba/releases/tag/v5.0.0). To ease this migration, the commands listed above were updated to dynamically synthesise an empty export for `jest.setup.ts` and `jest.setup.int.ts` files; this compatibility logic has now been removed.

Up-to-date projects are unlikely to be affected, but you can easily add an empty export statement to placate the TypeScript compiler:

```console
jest.setup.ts(1,1): error TS1208: 'jest.setup.ts' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module.
```

```diff
process.env.ENVIRONMENT = 'test';

+ export {};
```

- **init:** Run Prettier after templating ([#1337](https://github.com/seek-oss/skuba/pull/1337))

- **template/lambda-sqs-worker-cdk:** Introduce bundling with esbuild, `--hotswap` and `--watch` ([#1321](https://github.com/seek-oss/skuba/pull/1321))

This template now uses the `aws_lambda_nodejs.NodejsFunction` construct which uses esbuild to bundle the Lambda function. This [reduces cold start time](https://aws.amazon.com/blogs/developer/reduce-lambda-cold-start-times-migrate-to-aws-sdk-for-javascript-v3/) and time to build on CI.

The `--hotswap` and `--watch` options allow you to rapidly deploy your code changes to AWS, enhancing the developer feedback loop. This change introduces `deploy:hotswap` and `deploy:watch` scripts to the `package.json` manifest and a `Deploy Dev (Hotswap)` step to the Buildkite pipeline. Read more about watch and hotswap [on the AWS Developer Tools Blog](https://aws.amazon.com/blogs/developer/increasing-development-speed-with-cdk-watch/).

## 7.3.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "skuba",
"version": "7.3.1",
"version": "7.4.0",
"private": false,
"description": "SEEK development toolkit for backend applications and packages",
"homepage": "https://github.com/seek-oss/skuba#readme",
Expand Down Expand Up @@ -166,6 +166,6 @@
"entryPoint": "src/index.ts",
"template": null,
"type": "package",
"version": "7.3.1"
"version": "7.4.0"
}
}

0 comments on commit 09b6628

Please sign in to comment.