diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..9f69ee5 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,21 @@ +# Changelog + +## [v3.0.1](https://github.com/uqbar-project/njsx/releases/v3.0.1) +- Full Typescript support! Exporting type definitions. +- Removed Rule mechanics in favor of simpler configuration. +- Argument transformations. +- Full SVG elements support. +- Separate projects for `react` and `react-native` setups. +- Adding support for previous versions of `react` and `react-native`. + +## [v2.1.5](https://github.com/uqbar-project/njsx/releases/v2.1.5) +- Support for React-Native styles as builder arguments. +- React-Native components will not be evaluated until used. + +## [v.2.0.0](https://github.com/uqbar-project/njsx/releases/v2.0.0) +- Builders can now be refined by attribute access (ES6+). +- Rules are now defined with objects instead of arrays. + +## [v1.0.1](https://github.com/uqbar-project/njsx/releases/v1.0.1) +- Configurable rules for handling builder arguments. +- React and React-Native builders. \ No newline at end of file diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..fa7c830 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,16 @@ +Internet Systems Consortium license +=================================== + +Copyright (c) 2017, Uqbar Foundation + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md index c75d4ef..4ff478a 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,6 @@ const myView () => - [Dynamic Selectors](#dynamic-selectors) - [Argument Transformation](#argument-transformation) - [Working with older versions](#working-with-older-versions) -- [Changelog](#changelog) - [Contributions](#contributions) - [License](#license) @@ -307,27 +306,6 @@ If you rather all your arguments to just be interpreted as they are, you can dis If you are working with an older release this documentation might not be of any use to you. We follow the [semantic versioning standard](https://semver.org/) so any difference on the Major version will probably imply some incompatibilities. Please refer to [your version's branch](https://github.com/uqbar-project/njsx/releases) README file. -## Changelog - -### v3.0.1 -- Full Typescript support! Exporting type definitions. -- Removed Rule mechanics in favor of simpler configuration. -- Argument transformations. -- Full SVG elements support. - -### v2.1.5 -- Support for React-Native styles as builder arguments. -- React-Native components will not be evaluated until used. - -### v.2.0.0 -- Builders can now be refined by attribute access (ES6+). -- Rules are now defined with objects instead of arrays. - -### v1.0.1 -- React and React-Native builders. -- Configurable rules for handling builder arguments. - - ## Contributions Please report any bugs, requests or ideas on [the issues section of this repository](https://github.com/uqbar-project/njsx/issues) and we will try to see to it as soon as possible. diff --git a/package.json b/package.json index c6a6dfb..1bb6c07 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "njsx", - "version": "3.0.1-SNAPSHOT", + "version": "3.0.1", "description": "No-JSX: A customizable interface for creating React and React-Native components without JSX syntax. For more information visit https://github.com/uqbar-project/njsx.", "repository": "https://github.com/uqbar-project/njsx", "author": "Nicolás Scarcella", @@ -12,8 +12,9 @@ ], "scripts": { "build": "rm -rf dist && tsc", + "lint": "tslint src/index.ts", "test": "mocha --recursive --require ts-node/register src/**/*.test.tsx", - "prepublishOnly": "yarn test && yarn build" + "prepublishOnly": "yarn install && yarn lint && yarn test && yarn build" }, "peerDependencies": { "react": ">=15.0.0"