@ugo-studio/jspp 0.1.0 → 0.1.1

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/README.md CHANGED
@@ -54,7 +54,7 @@ The transpilation process is a classic three-stage pipeline:
54
54
  To use JSPP as a command-line tool, install it globally via npm:
55
55
 
56
56
  ```sh
57
- npm install -g @ugo-studio/jspp
57
+ npm i @ugo-studio/jspp -g
58
58
  ```
59
59
 
60
60
  ## For Developers
package/dist/cli.js CHANGED
@@ -5,7 +5,7 @@ import { Interpreter } from "./index";
5
5
  async function main() {
6
6
  const args = process.argv.slice(2);
7
7
  if (args.length === 0) {
8
- console.error("Usage: jspp <path-to-js-file>");
8
+ console.log("Usage: jspp <path-to-js-file>");
9
9
  process.exit(1);
10
10
  }
11
11
  const jsFilePath = path.resolve(process.cwd(), args[0]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ugo-studio/jspp",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "A modern, experimental transpiler that converts JavaScript code into high-performance, standard C++23.",
5
5
  "main": "dist/index.js",
6
6
  "module": "src/index.ts",
@@ -10,8 +10,7 @@
10
10
  },
11
11
  "files": [
12
12
  "dist",
13
- "src/prelude",
14
- "prelude-build"
13
+ "src/prelude"
15
14
  ],
16
15
  "scripts": {
17
16
  "dev": "bun run src/cli.ts",