mirror of
https://github.com/rgl/nexus-vagrant.git
synced 2026-09-30 00:31:11 +02:00
modify the example node.js projects to use the es module type
This commit is contained in:
@@ -36,6 +36,7 @@ cat >package.json <<'EOF'
|
||||
"description": "the classic hello world",
|
||||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"main": "hello-world.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -79,6 +80,7 @@ cat >package.json <<'EOF'
|
||||
"description": "use the classic hello world",
|
||||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://git.example.com/use-hello-world.git"
|
||||
|
||||
@@ -58,6 +58,7 @@ Set-Content `
|
||||
"description": "the classic hello world",
|
||||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"main": "hello-world-win.js",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -109,6 +110,7 @@ Set-Content `
|
||||
"description": "use the classic hello world",
|
||||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://git.example.com/use-hello-world-win.git"
|
||||
|
||||
Reference in New Issue
Block a user