Skip to content

Commit

Permalink
Merge pull request #105 from hearchco/as/chore/jsr-types
Browse files Browse the repository at this point in the history
chore(jsr): types
  • Loading branch information
aleksasiriski authored Jul 8, 2024
2 parents 5e22420 + 2e61202 commit a1004fd
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 4 deletions.
2 changes: 2 additions & 0 deletions cloudfront/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @ts-self-types="./index.d.ts"

/* eslint-disable no-unused-vars */

/**
Expand Down
2 changes: 2 additions & 0 deletions handler/binary.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @ts-self-types="./binary.d.ts"

/**
* A set containing common binary MIME types.
* @type {Set<string>}
Expand Down
2 changes: 2 additions & 0 deletions handler/event-mapper.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @ts-self-types="./event-mapper.d.ts"

/**
* @typedef {import("aws-lambda").APIGatewayProxyEventV2} APIGatewayProxyEventV2
* @typedef {import("aws-lambda").APIGatewayProxyResultV2} APIGatewayProxyResultV2
Expand Down
2 changes: 2 additions & 0 deletions handler/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @ts-self-types="./index.d.ts"

import fs from 'node:fs';
import path from 'node:path';
import { installPolyfills } from '@sveltejs/kit/node/polyfills';
Expand Down
2 changes: 2 additions & 0 deletions handler/logger.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @ts-self-types="./logger.d.ts"

/**
* Logs debug information to the console if the DEBUG environment variable is set.
* @param {...any} args - Arguments to be logged.
Expand Down
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @ts-self-types="./index.d.ts"

import fs from 'node:fs';
import path from 'node:path';
import { build, transform } from 'esbuild';
Expand Down
7 changes: 5 additions & 2 deletions jsr.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"name": "@hearchco/sveltekit-adapter-aws",
"version": "0.1.6",
"exports": "./index.js"
"version": "0.1.7",
"exports": {
".": "./index.js",
"./package.json": "./package.json"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hearchco/sveltekit-adapter-aws",
"version": "0.1.6",
"version": "0.1.7",
"description": "SvelteKit AWS universal adapter for creating necessary assets and code which can later be deployed using a custom IaC pipeline",
"repository": {
"type": "git",
Expand Down
1 change: 0 additions & 1 deletion todo.md

This file was deleted.

0 comments on commit a1004fd

Please sign in to comment.