Skip to content

Commit

Permalink
changelog, touch up types
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Buldauskas committed Nov 29, 2023
1 parent fa08239 commit dae1d9d
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 13 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- run: yarn
- run: yarn build
- run: yarn tsc
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 0.2.0 - JSDoc type coverage, docs site

- chore: cover codebase with JSDoc types
- chore: add typecheck CI step
- feat: support ESM/CommonJS `jambox.config.js` in config files
- feat: build & publish TS types

## 0.1.2 - Fix config api route

- fix: wait on `reset` event during config api calls
Expand Down
6 changes: 1 addition & 5 deletions ext/Api.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,11 @@
import Observable from 'zen-observable';
import { debounce } from './nodash.js';

/**
* @typedef {import('./types').Subscribtion} Subscribtion
*/

const WEBSOCKET_RETRY_TIMER = 3000;

export default class API {
/**
* @type {?Subscribtion}
* @type {?ZenObservable.Subscription}
* */
#sub;
/**
Expand Down
2 changes: 1 addition & 1 deletion ext/panel.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import App from './App.svelte';
import API from './Api';
import API from './Api.js';

const boot = async () => {
const api = await API.create();
Expand Down
1 change: 0 additions & 1 deletion ext/types.d.ts

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jambox",
"version": "0.1.2",
"version": "0.2.0",
"description": "Tool for recording and playing back HTTP requests.",
"bin": {
"jam": "./jam.mjs",
Expand All @@ -11,6 +11,7 @@
"engines": {
"node": ">= 16.20.2"
},
"types": "./dist/index.d.ts",
"author": "Arthur Buldauskas <[email protected]>",
"license": "MIT",
"repository": {
Expand Down
7 changes: 2 additions & 5 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,14 @@ export default {
module: {
rules: [
{
test: /\.js$/,
test: /\.(js)$/,
resolve: {
fullySpecified: false,
},
},
{
test: /.(js)$/,
test: /\.(js)$/,
loader: 'babel-loader',
resolve: {
fullySpecified: false,
},
},
{
test: /\.(svelte)$/,
Expand Down

0 comments on commit dae1d9d

Please sign in to comment.