azul-sync 1.3.0 → 1.3.2
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/LICENSE +674 -0
- package/README.md +139 -142
- package/dist/cli.js +43 -43
- package/dist/ipc/messages.d.ts +1 -0
- package/dist/ipc/messages.d.ts.map +1 -1
- package/dist/pack.d.ts.map +1 -1
- package/dist/pack.js +8 -1
- package/dist/pack.js.map +1 -1
- package/dist/push.d.ts +2 -0
- package/dist/push.d.ts.map +1 -1
- package/dist/push.js +46 -1
- package/dist/push.js.map +1 -1
- package/dist/sourcemap/propertyLoader.d.ts +1 -0
- package/dist/sourcemap/propertyLoader.d.ts.map +1 -1
- package/dist/sourcemap/propertyLoader.js +7 -1
- package/dist/sourcemap/propertyLoader.js.map +1 -1
- package/package.json +45 -41
- package/.gitattributes +0 -1
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -31
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
- package/dist/rojo.d.ts +0 -9
- package/dist/rojo.d.ts.map +0 -1
- package/dist/rojo.js +0 -114
- package/dist/rojo.js.map +0 -1
- package/docs/assets/azul-logo.pdn +0 -0
- package/docs/assets/logo-200px.png +0 -0
- package/docs/assets/logo.png +0 -0
- package/docs/assets/plugin/toolbox.png +0 -0
- package/docs/assets/synced.png +0 -0
- package/plugin/README.md +0 -54
- package/plugin/sourcemap.json +0 -264
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/Actor/AzulSync.server.luau +0 -905
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/AzulService.luau +0 -1010
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/Config.luau +0 -29
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/Enums.luau +0 -11
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/StudioWidgets/Components/CollapsibleTitledSection.luau +0 -214
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/StudioWidgets/Components/ColorPicker.luau +0 -360
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/StudioWidgets/Components/CustomTextButton.luau +0 -170
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/StudioWidgets/Components/DropdownMenu.luau +0 -363
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/StudioWidgets/Components/HorizontalLine.luau +0 -43
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/StudioWidgets/Components/ImageButtonWithText.luau +0 -181
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/StudioWidgets/Components/LabeledCheckbox.luau +0 -295
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/StudioWidgets/Components/LabeledColorInputPicker.luau +0 -294
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/StudioWidgets/Components/LabeledMultiChoice.luau +0 -163
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/StudioWidgets/Components/LabeledNumberInput.luau +0 -312
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/StudioWidgets/Components/LabeledRadioButton.luau +0 -55
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/StudioWidgets/Components/LabeledSlider.luau +0 -151
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/StudioWidgets/Components/LabeledTextInput.luau +0 -222
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/StudioWidgets/Components/LabeledToggleButton.luau +0 -73
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/StudioWidgets/Components/StatefulImageButton.luau +0 -125
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/StudioWidgets/Components/VerticalScrollingFrame.luau +0 -100
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/StudioWidgets/Components/VerticalSpacer.luau +0 -35
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/StudioWidgets/Components/VerticallyScalingListFrame.luau +0 -107
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/StudioWidgets/GuiUtilities.luau +0 -429
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/StudioWidgets/RbxGui.luau +0 -4363
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/UI.luau +0 -425
- package/plugin/sync/ReplicatedFirst/AzulCompanionPlugin/WebSocketClient.luau +0 -161
- package/src/build.ts +0 -120
- package/src/cli.ts +0 -496
- package/src/config.ts +0 -170
- package/src/fs/fileWriter.ts +0 -414
- package/src/fs/treeManager.ts +0 -458
- package/src/fs/watcher.ts +0 -142
- package/src/index.ts +0 -450
- package/src/ipc/httpPolling.ts +0 -214
- package/src/ipc/messages.ts +0 -159
- package/src/ipc/server.ts +0 -196
- package/src/pack.ts +0 -309
- package/src/push.ts +0 -726
- package/src/snapshot/rojo.ts +0 -467
- package/src/snapshot.ts +0 -161
- package/src/sourcemap/generator.ts +0 -504
- package/src/sourcemap/propertyLoader.ts +0 -195
- package/src/util/id.ts +0 -15
- package/src/util/log.ts +0 -94
- package/tsconfig.json +0 -24
package/src/util/log.ts
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Simple logging utility with color support
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import { config } from "../config.js";
|
|
6
|
-
|
|
7
|
-
const colors = {
|
|
8
|
-
reset: "\x1b[0m",
|
|
9
|
-
bright: "\x1b[1m",
|
|
10
|
-
dim: "\x1b[2m",
|
|
11
|
-
|
|
12
|
-
red: "\x1b[31m",
|
|
13
|
-
green: "\x1b[32m",
|
|
14
|
-
yellow: "\x1b[33m",
|
|
15
|
-
blue: "\x1b[34m",
|
|
16
|
-
magenta: "\x1b[35m",
|
|
17
|
-
cyan: "\x1b[36m",
|
|
18
|
-
white: "\x1b[37m",
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
function timestamp(): string {
|
|
22
|
-
return new Date().toISOString().slice(11, 23);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export const log = {
|
|
26
|
-
info(message: string, ...args: any[]): void {
|
|
27
|
-
console.log(
|
|
28
|
-
`${colors.dim}[${timestamp()}]${colors.reset} ${colors.blue}ℹ${
|
|
29
|
-
colors.reset
|
|
30
|
-
} ${message}`,
|
|
31
|
-
...args,
|
|
32
|
-
);
|
|
33
|
-
},
|
|
34
|
-
|
|
35
|
-
success(message: string, ...args: any[]): void {
|
|
36
|
-
console.log(
|
|
37
|
-
`${colors.dim}[${timestamp()}]${colors.reset} ${colors.green}✓${
|
|
38
|
-
colors.reset
|
|
39
|
-
} ${message}`,
|
|
40
|
-
...args,
|
|
41
|
-
);
|
|
42
|
-
},
|
|
43
|
-
|
|
44
|
-
warn(message: string, ...args: any[]): void {
|
|
45
|
-
console.log(
|
|
46
|
-
`${colors.dim}[${timestamp()}]${colors.reset} ${colors.yellow}⚠${
|
|
47
|
-
colors.reset
|
|
48
|
-
} ${message}`,
|
|
49
|
-
...args,
|
|
50
|
-
);
|
|
51
|
-
},
|
|
52
|
-
|
|
53
|
-
error(message: string, ...args: any[]): void {
|
|
54
|
-
console.error(
|
|
55
|
-
`${colors.dim}[${timestamp()}]${colors.reset} ${colors.red}✗${
|
|
56
|
-
colors.reset
|
|
57
|
-
} ${message}`,
|
|
58
|
-
...args,
|
|
59
|
-
);
|
|
60
|
-
},
|
|
61
|
-
|
|
62
|
-
debug(message: string, ...args: any[]): void {
|
|
63
|
-
if (config.debugMode) {
|
|
64
|
-
console.log(
|
|
65
|
-
`${colors.dim}[${timestamp()}] 🔍 ${message}${colors.reset}`,
|
|
66
|
-
...args,
|
|
67
|
-
);
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
|
|
71
|
-
userInput(message: string, ...args: any[]): void {
|
|
72
|
-
console.log(
|
|
73
|
-
`${colors.dim}[${timestamp()}]${colors.reset} ${colors.cyan}?${
|
|
74
|
-
colors.reset
|
|
75
|
-
} ${message}`,
|
|
76
|
-
...args,
|
|
77
|
-
);
|
|
78
|
-
},
|
|
79
|
-
|
|
80
|
-
script(path: string, action: "created" | "updated" | "deleted"): void {
|
|
81
|
-
const emoji = action === "created" ? "+" : action === "updated" ? "~" : "−";
|
|
82
|
-
const color =
|
|
83
|
-
action === "created"
|
|
84
|
-
? colors.green
|
|
85
|
-
: action === "updated"
|
|
86
|
-
? colors.yellow
|
|
87
|
-
: colors.red;
|
|
88
|
-
console.log(
|
|
89
|
-
`${colors.dim}[${timestamp()}]${colors.reset} ${color}${emoji}${
|
|
90
|
-
colors.reset
|
|
91
|
-
} ${path}`,
|
|
92
|
-
);
|
|
93
|
-
},
|
|
94
|
-
};
|
package/tsconfig.json
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2022",
|
|
4
|
-
"module": "ESNext",
|
|
5
|
-
"lib": ["ES2022"],
|
|
6
|
-
"moduleResolution": "node",
|
|
7
|
-
"rootDir": "./src",
|
|
8
|
-
"outDir": "./dist",
|
|
9
|
-
"strict": true,
|
|
10
|
-
"esModuleInterop": true,
|
|
11
|
-
"skipLibCheck": true,
|
|
12
|
-
"forceConsistentCasingInFileNames": true,
|
|
13
|
-
"resolveJsonModule": true,
|
|
14
|
-
"declaration": true,
|
|
15
|
-
"declarationMap": true,
|
|
16
|
-
"sourceMap": true,
|
|
17
|
-
"noUnusedLocals": true,
|
|
18
|
-
"noUnusedParameters": true,
|
|
19
|
-
"noImplicitReturns": true,
|
|
20
|
-
"noFallthroughCasesInSwitch": true
|
|
21
|
-
},
|
|
22
|
-
"include": ["src/**/*"],
|
|
23
|
-
"exclude": ["node_modules", "dist"]
|
|
24
|
-
}
|