Skip to content

Commit

Permalink
v3.0.0
Browse files Browse the repository at this point in the history
__BREAKING CHANGES__

* Require gdbots/pbj and gdbots/schemas v3.x.
* Publish as type module in npm.
* Add throwEx option to Pbjx.trigger, default to true to match php implementation.
  • Loading branch information
gdbrown authored Dec 24, 2021
1 parent 90da80f commit ae417ca
Show file tree
Hide file tree
Showing 65 changed files with 5,328 additions and 2,861 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v12.13.1
v14.13.1
3 changes: 0 additions & 3 deletions .travis.yml

This file was deleted.

8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# CHANGELOG


## v3.0.0
__BREAKING CHANGES__

* Require gdbots/pbj and gdbots/schemas v3.x.
* Publish as type module in npm.
* Add throwEx option to Pbjx.trigger, default to true to match php implementation.


## v2.0.1
* Fix bug in `Pbjx.trigger` that used return instead of continue with frozen nested messages.

Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
pbjx-js
=============

[![Build Status](https://api.travis-ci.org/gdbots/pbjx-js.svg)](https://travis-ci.org/gdbots/pbjx-js)

Pbj messaging tools for es6.
23 changes: 1 addition & 22 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,6 @@ const presets = [];
const plugins = [];

switch (env) {
case 'cjs':
presets.push([
'@babel/preset-env',
{
targets: {
node: 'current',
},
modules: 'commonjs',
useBuiltIns: 'usage',
corejs: 3,
},
]);
break;

case 'build':
default:
presets.push([
Expand All @@ -27,17 +13,10 @@ switch (env) {
node: 'current',
},
modules: false,
useBuiltIns: 'usage',
corejs: 3,
},
]);

plugins.push('lodash');
plugins.push('./use-lodash-es');
break;
}

module.exports = {
presets,
plugins,
};
export default { presets, plugins };
Loading

0 comments on commit ae417ca

Please sign in to comment.