Skip to content

Commit

Permalink
Release 5.0.17
Browse files Browse the repository at this point in the history
  • Loading branch information
Masquerade-Circus committed Dec 17, 2021
1 parent 5c97e8d commit ff7d5d7
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 7 deletions.
19 changes: 18 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
### [5.0.17](https://github.com/Masquerade-Circus/valyrian.js/compare/5.0.16...5.0.17) (2021-12-17)


### Performance Improvements

* **lib:** small performance improvements ([8f1ae1e](https://github.com/Masquerade-Circus/valyrian.js/commit/8f1ae1ed31d6fade49775f76180d4f480838e513))


### Tests

* update benchmarks ([eb403de](https://github.com/Masquerade-Circus/valyrian.js/commit/eb403de31678765d0b7d8dfce6add04a38ffd3dd))


### Build System

* update dependencies ([5c97e8d](https://github.com/Masquerade-Circus/valyrian.js/commit/5c97e8d83a73d1d864530e3357e7a4e6ca5c9212))

### [5.0.16](https://github.com/Masquerade-Circus/valyrian.js/compare/5.0.15...5.0.16) (2021-08-04)

### Bug Fixes
Expand All @@ -8,7 +25,7 @@

* **lib, register:** use esbuild for register. Implement fragments ([b220a8e](https://github.com/Masquerade-Circus/valyrian.js/commit/b220a8e05f7769a63a16a1ac4b06b39ddd1a1f4e))
* **register:** do not ignore node modules to import ([1660021](https://github.com/Masquerade-Circus/valyrian.js/commit/1660021f4199ee87cc7b247c422c905a40176225))
* **register:** only compile ts and tsx files from node_modules ([e1c3f01](https://github.com/Masquerade-Circus/valyrian.js/commit/e1c3f01095ac4967ff0e44605df6b2f5147859e1))
* **register:** only compile ts and tsx files from node\_modules ([e1c3f01](https://github.com/Masquerade-Circus/valyrian.js/commit/e1c3f01095ac4967ff0e44605df6b2f5147859e1))

### [5.0.15](https://github.com/Masquerade-Circus/valyrian.js/compare/5.0.14...5.0.15) (2021-07-30)

Expand Down
2 changes: 1 addition & 1 deletion dist/valyrian.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/valyrian.min.js.map

Large diffs are not rendered by default.

56 changes: 54 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "valyrian.js",
"version": "5.0.16",
"version": "5.0.17",
"description": "Lightweight steel to forge PWAs. (Minimal Frontend Framework with server side rendering and other capabilities)",
"source": "lib/index.ts",
"main": "dist/valyrian.min.js",
Expand Down Expand Up @@ -111,7 +111,59 @@
"plugins": {
"@release-it/conventional-changelog": {
"infile": "CHANGELOG.md",
"preset": "conventionalcommits"
"preset": {
"name": "conventionalcommits",
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "feature",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "perf",
"section": "Performance Improvements"
},
{
"type": "revert",
"section": "Reverts"
},
{
"type": "docs",
"section": "Documentation"
},
{
"type": "style",
"section": "Styles"
},
{
"type": "chore",
"section": "Miscellaneous Chores"
},
{
"type": "refactor",
"section": "Code Refactoring"
},
{
"type": "test",
"section": "Tests"
},
{
"type": "build",
"section": "Build System"
},
{
"type": "ci",
"section": "Continuous Integration"
}
]
}
}
},
"git": {
Expand Down
5 changes: 3 additions & 2 deletions source.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
require("./register");
let { inline } = require("./plugins/node");
let { writeFileSync } = require("fs");
const gzipSize = require("gzip-size");
const GzipSize = import("gzip-size");
let { files } = require("./package.json");

async function run() {
const gzipSizeSync = (await GzipSize).gzipSizeSync;
inline.extensions("ts");
await inline.ts("./lib/index.ts", {
compact: true,
Expand All @@ -18,7 +19,7 @@ async function run() {
writeFileSync("./dist/valyrian.min.js.map", inline.ts()[0].map);

console.log("Size:", contents.length);
console.log("Gzip:", gzipSize.sync(contents));
console.log("Gzip:", gzipSizeSync(contents));
}

run();

0 comments on commit ff7d5d7

Please sign in to comment.