diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index a1b1067..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "typescript-template"] - path = typescript-template - url = https://github.com/bitburner-official/typescript-template diff --git a/setup.ps1 b/setup.ps1 deleted file mode 100644 index 3c46fe4..0000000 --- a/setup.ps1 +++ /dev/null @@ -1,38 +0,0 @@ -if (-Not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]'Administrator')) -{ - $CommandLine = "-c cd '$pwd'; & `"" + $MyInvocation.MyCommand.Path + "`"" - Start-Process powershell -Verb runas -ArgumentList $CommandLine - exit -} - -# Folder handle for the submodule src folder -$srcFolder = "typescript-template\src\" - -# Init git submodules -git submodule update --init --recursive -# Check if submodule src folder exists -if (!(Test-Path $srcFolder)) -{ - Write-Host "No submodule src folder found" - # Make a link from the src folder to the submodule src folder - New-Item -ItemType SymbolicLink -Path $srcFolder -Target src -} -elseif ((Get-Item $srcFolder).Attributes -match 'ReparsePoint') -{ - Write-Host "Submodule src folder is a soft link" - # Remove the soft link - Remove-Item $srcFolder -Recurse - - # Make a link from the src folder to the submodule src folder - New-Item -ItemType SymbolicLink -Path $srcFolder -Target src -} -else -{ - Write-Host "Submodule src folder is newly created" - # Remove the src folder - Remove-Item $srcFolder -Recurse - - # Make a link from the src folder to the submodule src folder - New-Item -ItemType SymbolicLink -Path $srcFolder -Target src -} -# Add Read-Host to see the output \ No newline at end of file diff --git a/src/lib/react.ts b/src/lib/react.ts deleted file mode 100644 index 2a721d1..0000000 --- a/src/lib/react.ts +++ /dev/null @@ -1,10 +0,0 @@ -import ReactNamespace from 'react/index'; -import ReactDomNamespace from 'react-dom'; - -const React = window.React as typeof ReactNamespace; -const ReactDOM = window.ReactDOM as typeof ReactDomNamespace; - -export default React; -export { - ReactDOM -} \ No newline at end of file diff --git a/typescript-template b/typescript-template deleted file mode 160000 index 4136ab7..0000000 --- a/typescript-template +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 4136ab7107b75cf381acb21d1da7aa9e5e5b80fa