Skip to content

Commit

Permalink
upgrade deps, dates, CI..
Browse files Browse the repository at this point in the history
project is now an ES6 module.. rename all .mjs files to .js
  • Loading branch information
75lb committed Jul 20, 2024
1 parent f74ea01 commit a1c0ff1
Show file tree
Hide file tree
Showing 12 changed files with 783 additions and 377 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:

strategy:
matrix:
node-version: [12, 14, 16, 18, 19]
node-version: [12, 14, 16, 18, 20, 22]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
[![Gihub repo dependents](https://badgen.net/github/dependents-repo/lwsjs/local-web-server)](https://github.com/lwsjs/local-web-server/network/dependents?dependent_type=REPOSITORY)
[![Gihub package dependents](https://badgen.net/github/dependents-pkg/lwsjs/local-web-server)](https://github.com/lwsjs/local-web-server/network/dependents?dependent_type=PACKAGE)
[![Node.js CI](https://github.com/lwsjs/local-web-server/actions/workflows/node.js.yml/badge.svg)](https://github.com/lwsjs/local-web-server/actions/workflows/node.js.yml)
[![Coverage Status](https://coveralls.io/repos/github/lwsjs/local-web-server/badge.svg)](https://coveralls.io/github/lwsjs/local-web-server)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)

*Upgraders, please read the [release notes](https://github.com/lwsjs/local-web-server/releases). For feedback, discussion and support see [here](https://github.com/lwsjs/local-web-server/discussions).*
Expand Down
2 changes: 1 addition & 1 deletion bin/cli.mjs → bin/cli.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env node
import WsCli from '../lib/cli-app.mjs'
import WsCli from '../lib/cli-app.js'
const cli = new WsCli()
cli.start()
2 changes: 1 addition & 1 deletion index.mjs → index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Lws from 'lws'
import defaultStack from './lib/default-stack.mjs'
import defaultStack from './lib/default-stack.js'
import currentModulePaths from 'current-module-paths'
const { __dirname } = currentModulePaths(import.meta.url)

Expand Down
2 changes: 1 addition & 1 deletion lib/cli-app.mjs → lib/cli-app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import LwsCli from 'lws/lib/cli-app.mjs'
import path from 'path'
import defaultStack from './default-stack.mjs'
import defaultStack from './default-stack.js'
import { promises as fs } from 'fs'

import getModulePaths from 'current-module-paths'
Expand Down
File renamed without changes.
Loading

0 comments on commit a1c0ff1

Please sign in to comment.