Skip to content

Commit

Permalink
Init
Browse files Browse the repository at this point in the history
  • Loading branch information
Vorlias committed Oct 22, 2020
0 parents commit 81ada03
Show file tree
Hide file tree
Showing 30 changed files with 2,048 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"jsx": true,
"useJSXTextNode": true,
"ecmaVersion": 2018,
"sourceType": "module",
"project": "*/tsconfig.json"
},
"plugins": [
"@typescript-eslint",
"roblox-ts",
"prettier"
],
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:roblox-ts/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"rules": {
"prettier/prettier": [
"warn",
{
"semi": true,
"trailingComma": "all",
"singleQuote": false,
"printWidth": 120,
"tabWidth": 4,
"useTabs": true
}
]
}
}
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/node_modules
/out
/include
*.tsbuildinfo
/example/build
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"dbaeumer.vscode-eslint"
]
}
13 changes: 13 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"[typescript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.formatOnSave": true
},
"[typescriptreact]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.formatOnSave": true
},
"eslint.run": "onType",
"eslint.format.enable": true,
"typescript.tsdk": "node_modules/typescript/lib"
}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Zircon Alpha
Zircon is a command interface for Roblox
3 changes: 3 additions & 0 deletions example/client/index.client.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import ZirconClient from "./Client";

ZirconClient.bindConsole();
33 changes: 33 additions & 0 deletions example/default.project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "zirconium-test",
"tree": {
"$className": "DataModel",
"ServerScriptService": {
"$className": "ServerScriptService",
"Server": {
"$path": "build/example/server"
}
},
"ReplicatedStorage": {
"$className": "ReplicatedStorage",
"TS": {
"$path": "../include",
"node_modules": {
"$path": "../node_modules/@rbxts",
"zircon": {
"$path": "build/src"
}
}
}
},
"StarterPlayer": {
"$className": "StarterPlayer",
"StarterPlayerScripts": {
"$className": "StarterPlayerScripts",
"Client": {
"$path": "build/example/client"
}
}
}
}
}
1 change: 1 addition & 0 deletions example/server/index.server.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
36 changes: 36 additions & 0 deletions example/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"compilerOptions": {
// required
"allowSyntheticDefaultImports": true,
"downlevelIteration": true,
"noLib": true,
"strict": true,
"module": "CommonJS",
"target": "ESNext",
"moduleResolution": "Node",
"typeRoots": [
"../node_modules/@rbxts"
],
"removeComments": true,

"rootDirs": [
"server",
"client",
"../src",
],

"outDir": "build",
"baseUrl": ".",

"paths": {
"@zircon": ["../src"],
"@zircon/*": ["../src/*"]
},
"jsx": "react",
"jsxFactory": "Roact.createElement"
},
"include": [
"**/*",
"../src/**/*"
]
}
Loading

0 comments on commit 81ada03

Please sign in to comment.