noshift.js 0.0.2 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { create } from "../commands/create.js";
3
+ import create from "../commands/create.js";
4
4
 
5
5
  const command = process.argv[2];
6
6
 
@@ -126,7 +126,7 @@ export default async function create(projectNameArg) {
126
126
  execSync("npm install noshift.js", { stdio: "inherit" });
127
127
 
128
128
  await fs.mkdir("src", { recursive: true });
129
- await fs.writeFile("src/hello.nsjs", "println(123);");
129
+ await fs.writeFile("src/index.nsjs", "console.log^8^2Hello World!^2^9;");
130
130
 
131
131
  // README.md
132
132
  const readme = lang === "ja"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "noshift.js",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "Joke language.",
5
5
  "bin": {
6
6
  "nsjs": "./bin/cli.js"