Skip to content

Commit d8e442f

Browse files
committed
Update wasmoon and minor tweaks
1 parent 9615e8b commit d8e442f

File tree

6 files changed

+24
-22
lines changed

6 files changed

+24
-22
lines changed

.github/workflows/publish.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@ jobs:
1010

1111
steps:
1212
- uses: actions/checkout@v2
13-
- name: Use Node.js 14.x
14-
uses: actions/setup-node@v1
13+
- name: Use Node.js 16.x
14+
uses: actions/setup-node@v2
1515
with:
16-
node-version: 14.x
17-
- uses: mymindstorm/setup-emsdk@v7
16+
node-version: 16.x
1817
- run: npm ci
1918
- uses: JS-DevTools/npm-publish@v1
2019
with:

.npmignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
example/
2-
.vscode/
2+
.vscode/
3+
.github/
4+
package-lock.json

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ http.createServer(async(function (req, res)
4343
-- you can await inside async bounded functions
4444
sleep(1000):await()
4545

46-
res:write('Hello World!');
47-
res['end']();
48-
end)):listen(port);
46+
res:write('Hello World!')
47+
res['end']()
48+
end)):listen(port)
4949

5050
print('Your server is running on port ' .. port .. '!')
5151
```

example/main.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ http.createServer(async(function (req, res)
1515
-- you can await inside async bounded functions
1616
jssleep(1000):await()
1717

18-
res:write('Hello World!');
19-
res['end']();
20-
end)):listen(port);
18+
res:write('Hello World!')
19+
res['end']()
20+
end)):listen(port)
2121

2222
print('Your server is running on port ' .. port .. '!')

package-lock.json

+10-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "demoon",
3-
"version": "0.0.7",
3+
"version": "0.0.8",
44
"description": "Lua + Node",
55
"main": "src/index.js",
66
"bin": {
@@ -13,6 +13,6 @@
1313
"lua"
1414
],
1515
"dependencies": {
16-
"wasmoon": "1.11.0"
16+
"wasmoon": "1.12.1"
1717
}
1818
}

0 commit comments

Comments
 (0)