Skip to content

Commit c38ac9e

Browse files
deps: skuba 16.1.0 (#384)
1 parent 496deea commit c38ac9e

21 files changed

Lines changed: 2036 additions & 1017 deletions

.changeset/changelog.js

Lines changed: 0 additions & 177 deletions
This file was deleted.

.changeset/chilly-plums-like.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'seek-datadog-custom-metrics': major
3+
---
4+
5+
Migrate to ESM
6+
7+
This package is now authored as an ESM package. It is still published as a dual CJS/ESM package.
8+
9+
There are no intentional breaking changes in this release. While it has been tested on an internal Koa server, CDK Lambda function, and Serverless Lambda function, the change in underlying build tool may cause issues for bespoke application configurations. Exercise caution when upgrading and test that your application deploys successfully in a pre-production environment.

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json",
33
"changelog": [
4-
"./changelog.js",
4+
"@skuba-lib/changesets-changelog",
55
{ "repo": "seek-oss/datadog-custom-metrics" }
66
],
77
"commit": false,

.changeset/inject.js

Lines changed: 0 additions & 17 deletions
This file was deleted.

.prettierrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require('skuba/config/prettier');
1+
export { default } from 'skuba/config/prettier.js';

eslint.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
const { defineConfig } = require('eslint/config');
2-
const skuba = require('eslint-config-skuba');
1+
import { defineConfig } from 'eslint/config';
2+
import skuba from 'eslint-config-skuba';
33

4-
module.exports = defineConfig([
4+
export default defineConfig([
55
{
66
extends: skuba,
77
},

jest.config.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
},
1414
"license": "MIT",
1515
"sideEffects": false,
16+
"type": "module",
1617
"exports": {
1718
".": {
1819
"@seek/datadog-custom-metrics/source": "./src/index.ts",
@@ -47,12 +48,12 @@
4748
},
4849
"devDependencies": {
4950
"@changesets/cli": "2.31.0",
50-
"@changesets/get-github-info": "0.8.0",
51+
"@skuba-lib/changesets-changelog": "1.0.1",
5152
"@types/node": "24.12.4",
5253
"datadog-lambda-js": "12.137.0",
5354
"dd-trace": "5.97.0",
5455
"hot-shots": "14.3.1",
55-
"skuba": "15.3.0"
56+
"skuba": "16.1.0"
5657
},
5758
"peerDependencies": {
5859
"datadog-lambda-js": "6.x || 7.x || 8.x || 9.x || 10.x || 11.x || 12.x",
@@ -87,6 +88,6 @@
8788
"entryPoint": "src/index.ts",
8889
"template": null,
8990
"type": "package",
90-
"version": "15.3.0"
91+
"version": "16.1.0"
9192
}
9293
}

0 commit comments

Comments
 (0)