Skip to content

Commit

Permalink
npm: v0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
clshortfuse committed Jul 2, 2020
1 parent e3f091f commit 1c174c4
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
"import/no-useless-path-segments": ["error", {
"noUselessIndex": false
}],
"import/prefer-default-export": "off",
"import/no-anonymous-default-export": ["error"],
"prefer-destructuring": ["error", {
"VariableDeclarator": {
"array": false,
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules/*
certificates/*
*/*.cjs
*.cjs
**/.DS_Store
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
## 0.0.3
## v0.0.4
* Add CommonJS support
* Add HttpListner helper
* Add SocketIO errata

## v0.0.3
* Rename RequestHandler to HttpHandler
1 change: 1 addition & 0 deletions errata/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * as socketio from './socketio.js';
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export * as lib from './lib/index.js';
export * as helpers from './helpers/index.js';
export * as middleware from './middleware/index.js';
export * as errata from './errata/index.js';
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,15 @@
"cors",
"gzip"
],
"version": "0.0.3",
"version": "0.0.4",
"description": "An opt-in, stream-based approach to Web Hosting with NodeJS",
"author": "[email protected]",
"homepage": "https://github.com/clshortfuse/webhoster",
"repository": "github:clshortfuse/webhoster",
"license": "MIT",
"main": "index.cjs",
"exports": {
"require": "./index.cjs",
"import": "./index.js"
"./": "./"
},
"type": "module",
"engines": {
Expand Down
7 changes: 1 addition & 6 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
/* eslint-disable node/no-missing-import */
import resolve from '@rollup/plugin-node-resolve';

/* eslint-disable import/no-anonymous-default-export */
/** @typedef {import('rollup')} */
export default {
input: 'index.js',
output: {
file: 'index.cjs',
format: 'cjs',
},
plugins: [
resolve(),
],
};

0 comments on commit 1c174c4

Please sign in to comment.