roport 1.4.0 → 2.0.0

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/package.json CHANGED
@@ -1,44 +1,37 @@
1
1
  {
2
2
  "name": "roport",
3
- "version": "1.4.0",
4
- "description": "A sync server for Roblox development. Works with the Roport Roblox Plugin. Features AI integration and full project sync.",
5
- "main": "src/server.js",
3
+ "version": "2.0.0",
4
+ "private": false,
6
5
  "bin": {
7
- "roport": "./bin/roport.js"
6
+ "roport": "./dist/index.js"
8
7
  },
9
- "scripts": {
10
- "start": "node bin/roport.js serve",
11
- "test": "jest"
12
- },
13
- "repository": {
14
- "type": "git",
15
- "url": "https://github.com/Rydaguy101/RojoExportPlugin.git"
16
- },
17
- "keywords": [
18
- "roblox",
19
- "rojo",
20
- "sync",
21
- "plugin",
22
- "development"
23
- ],
24
- "author": "Rydaguy101",
25
- "license": "MIT",
26
8
  "files": [
27
- "bin",
28
- "src",
29
- "templates",
30
- "assets",
31
- "README.md"
9
+ "dist"
32
10
  ],
11
+ "main": "./dist/index.js",
12
+ "scripts": {
13
+ "build": "tsup src/cli/index.ts --format cjs --clean",
14
+ "prepublishOnly": "npm run build",
15
+ "start": "ts-node src/cli/index.ts serve",
16
+ "watch": "tsup src/cli/index.ts --format cjs --watch --onSuccess \"node dist/index.js serve\"",
17
+ "roport": "ts-node src/cli/index.ts"
18
+ },
33
19
  "dependencies": {
34
- "body-parser": "^1.20.2",
35
- "chalk": "^4.1.2",
36
- "commander": "^11.0.0",
20
+ "axios": "^1.4.0",
21
+ "chokidar": "^3.5.3",
22
+ "commander": "^14.0.2",
23
+ "cors": "^2.8.5",
37
24
  "express": "^4.18.2",
38
- "fs-extra": "^11.1.1"
25
+ "ws": "^8.13.0"
39
26
  },
40
27
  "devDependencies": {
41
- "jest": "^30.2.0",
42
- "supertest": "^7.1.4"
28
+ "@roport/common": "^0.1.0",
29
+ "@types/cors": "^2.8.13",
30
+ "@types/express": "^4.17.17",
31
+ "@types/node": "^20.0.0",
32
+ "@types/ws": "^8.5.4",
33
+ "ts-node": "^10.9.2",
34
+ "tsup": "^8.5.1",
35
+ "typescript": "^5.0.0"
43
36
  }
44
37
  }
package/README.md DELETED
@@ -1,52 +0,0 @@
1
- # Roport CLI
2
-
3
- Roport is a next-generation sync tool for Roblox, designed to be AI-friendly and feature-rich. It allows you to sync scripts, models, and assets between your local file system and Roblox Studio.
4
-
5
- ## Features
6
-
7
- * **Full Two-Way Sync**: Edit in VS Code, see changes in Studio. Rename in Studio, see changes in VS Code.
8
- * **AI-Optimized**:
9
- * `roport context`: Generates a token-efficient summary of your project for AI context.
10
- * `.model.json`: Define complex Roblox instances (Parts, UIs, Constraints) using simple JSON.
11
- * **Scalable**: Handles large projects with batching and streaming.
12
- * **Robust**: Safe renaming, binary file support, and ignore file support (`.gitignore`, `.rojoignore`).
13
-
14
- ## Installation
15
-
16
- ```bash
17
- npm install -g roport
18
- ```
19
-
20
- ## Usage
21
-
22
- ### 1. Initialize a Project
23
- ```bash
24
- mkdir MyGame
25
- cd MyGame
26
- roport init
27
- ```
28
-
29
- ### 2. Install the Plugin
30
- ```bash
31
- roport plugin install
32
- ```
33
- *Restart Roblox Studio after installing.*
34
-
35
- ### 3. Start the Server
36
- ```bash
37
- roport serve
38
- ```
39
-
40
- ### 4. Connect in Studio
41
- Open the **Roport** plugin in Roblox Studio and click **Connect**.
42
-
43
- ## Commands
44
-
45
- * `roport serve`: Start the sync server.
46
- * `roport build -o <file.rbxmx>`: Build the project into a model file.
47
- * `roport context`: Generate a project summary for AI.
48
- * `roport sourcemap`: Generate a sourcemap.
49
- * `roport plugin install`: Install the Studio plugin.
50
-
51
- ## AI Generation Guide
52
- See `AI_GUIDE.md` in your project root (created by `roport init`) for instructions on how to generate Roblox content using AI.