Skip to content

Commit

Permalink
Update version & change log
Browse files Browse the repository at this point in the history
  • Loading branch information
gskinner committed Jun 1, 2020
1 parent 9202dcb commit c35dfb6
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ node_modules/
.DS_Store
.history
/build
.vscode
1 change: 1 addition & 0 deletions BUILDME.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
## Production builds
If you are creating production builds for publishing, there are a few other things to consider:
* before building, make sure to update the version everywhere (ex. version.js, manifest.json), and ensure the README and CHANGELOG are up to date (incl. version) and committed.
* set `debug` to false in version.js
* clear the `build` folder and use `yarn build --production` to minifiy and disable sourcemaps
* create the `xdx` file by zipping the _contents_ of the build folder, and renaming with a `.xdx` extension.
* once the plugin is submitted, tag the commit with it's version number (ex. `v1.0.0`)
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.1.3] - 2020-06-01
### Added
- n/a

### Changed
- fixed a RTE caused by empty Groups
- made image names a bit more resilient in cases where XD breaks our hashing
- only export a SingleChildScrollView for text fields with overflow in XD
- minor refactoring

### Removed
- n/a


## [0.1.2] - 2020-05-25
### Added
- added robust 'Combine Shapes' feature on Groups
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "6eaf77ea",
"name": "XD to Flutter",
"version": "0.1.2",
"version": "0.1.3",
"icons": [
{
"width": 24,
Expand Down
3 changes: 2 additions & 1 deletion src/utils/debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ written permission of Adobe.

const xd = require("scenegraph");
const { formatDart } = require("../lib/dart_style");
const version = require("../version");

function trace(...rest) {
false && console.log(...rest);
version.debug && console.log(...rest);
}
exports.trace = trace;

Expand Down
3 changes: 2 additions & 1 deletion src/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ then your use, modification, or distribution of it requires the prior
written permission of Adobe.
*/

exports.version = "0.1.2";
exports.debug = false;
exports.version = "0.1.3";

0 comments on commit c35dfb6

Please sign in to comment.