Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: major release v1.0.0 (bump versions, drop node <18 support) #10

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
## [1.0.0](https://github.com/exadel-inc/esl/compare/v0.6.0...v1.0.0) (2025-02-21)

Bump inner dependency versions and resolve npm vulnerability issues.

Minimum required Node.js version is 20.0.0.

### ⚠ BREAKING CHANGES
* Drop support for Node <=18
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,12 @@ Easy way to quickly [setup](#configuration) and [start server](#how-to-use) for
## How to use
### Install
1) Install **[NodeJs](https://nodejs.org/en/)** (This will also install **npm**)
Note minimum required version: **NodeJs 20.x** for server-sketch v1
2) Create simple *package.json* (`` npm init ``)
3) Install [@exadel/server-sketch](https://www.npmjs.com/package/@exadel/server-sketch) as dependency for your project (👍):
```shell script
npm i @exadel/server-sketch --save-dev
```
4) And CLI [@exadel/server-sketch-cli](https://www.npmjs.com/package/@exadel/server-sketch-cli) (it helps to create demo project) _[optional]_:
```shell script
npm i @exadel/server-sketch-cli
```


### Quick Start
Expand Down
2 changes: 1 addition & 1 deletion controllers/InnerPages.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = function (folderPath) {
return glob.sync('*', {
cwd: `${config.serverViews}/pages/${folderPath}`, // Get all sub folders and HTML pages
mark: true
}).map((file) => {
}).sort().map((file) => {
if (file.startsWith('_')) {
return null; // Ignore files, started with "_" (but they are available directly)
}
Expand Down
2 changes: 1 addition & 1 deletion localdev.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exports.start = (serverConfig = {}) => {
// Open page. (if enabled browserSync integration, then browserSync will open page)
if (config.openAfterStart && (!config.browserSync || config.browserSync.open === false)) {
setTimeout(() => {
require('opn')(config.openAfterStart);
require('better-opn')(config.openAfterStart);
}, 500);
}

Expand Down
Loading