Skip to content

Commit

Permalink
Merge pull request #35 from brianneisler/release/v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
brianneisler authored Apr 13, 2021
2 parents 2efcb05 + cecd34f commit ee65511
Show file tree
Hide file tree
Showing 5 changed files with 245 additions and 197 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
# CHANGELOG

## Release v0.2.2

- Update API docs
- Break AST parser out into separate module called firetree
- Bump node-notifier from 8.0.0 to 8.0.1
- Add .opensource. Install firetree.
- Bump node-fetch from 2.6.0 to 2.6.1

## Release v0.3.0

- Try switching to child_process fork to fix windows script test
- only wrap quotes around script path
- Try adding quotes to fix windows
- Another attempt at fixing windows script test
- Try again to fix windows
- Attempt to fix windows again
- Fix binary test on windows
- prettify md, yml and json files. Add nvm-guard. Fix error in integration test. Pretty docs.md after generating it.
- Add collapsing of small functions to help eliminate operation overhead and slight reduction in code size.
- Update docs
- Re-add setupContext method for programmatic usage. Upgrade firetree. Add export folders to allow for importing of subfolders. Add stdout support as a method of returning minified code.
14 changes: 12 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,27 @@ npm run test
npm run docs:generate
```

- Commit files changes with new version numbers. Replace Xs with new version number.

```sh
git add -A
git commit -m"Release vX.X.X"
git push origin release/vX.X.X
```

- generate the change log

```sh
git log --pretty="- %s" --no-merges origin/release/vX.X.X..release/vX.X.X >> CHANGELOG.md
```

- Commit files changes with new version numbers. Replace Xs with new version number.
git log --pretty="- %s" --no-merges origin/release/v0.2.2..release/v0.3.0 >> CHANGELOG.md

- Commit the changelog. Replace Xs with new version number.

```sh
git add -A
git commit -m"Release vX.X.X"
git commit -m"update changelog"
git push origin release/vX.X.X
```

Expand Down
6 changes: 3 additions & 3 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

### function minimize()

[source](https://github.com/brianneisler/firemin.git/tree/v0.2.2/src/minimizer/minimize.js#L8)      since v0.1.0
[source](https://github.com/brianneisler/firemin.git/tree/v0.3.0/src/minimizer/minimize.js#L8)      since v0.1.0

<p>Minimizes the rules contained at the given filePath.<br />
If given an output this method will output the result to the given<br />
Expand Down Expand Up @@ -55,7 +55,7 @@ await minimize(context, {

### **private** function cacheChain()

[source](https://github.com/brianneisler/firemin.git/tree/v0.2.2/src/utils/cacheChain.js#L42)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; since v0.1.0
[source](https://github.com/brianneisler/firemin.git/tree/v0.3.0/src/utils/cacheChain.js#L42)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; since v0.1.0

<p>This method generates a specific object instance for use in a WeakMap cache.<br />
The object instance is unique based upon the parameters that are passed to<br />
Expand Down Expand Up @@ -83,7 +83,7 @@ cache chains connected to the object will automatically be removed from the cach

### **private** function functionDefineLength()

[source](https://github.com/brianneisler/firemin.git/tree/v0.2.2/src/utils/functionDefineLength.js#L55)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; since v0.1.0
[source](https://github.com/brianneisler/firemin.git/tree/v0.3.0/src/utils/functionDefineLength.js#L55)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; since v0.1.0

<p>Defines <code>length</code> for the given <code>func</code></p>
<p>Note: This mutates <code>func</code></p>
Expand Down
Loading

0 comments on commit ee65511

Please sign in to comment.