Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .luau-analyze.json

This file was deleted.

6 changes: 1 addition & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
{
"luau-lsp.require.directoryAliases": {
"@pkg": "node_modules/.luau-aliases"
},
"luau-lsp.require.mode": "relativeToFile",
"luau-lsp.completion.imports.requireStyle": "alwaysRelative",
"luau-lsp.types.roblox": true,
"luau-lsp.platform.type": "roblox",
"luau-lsp.sourcemap.rojoProjectFile": "model.project.json",
}
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Added usePlugin hook
- Added RectSize, RectOffset, and ResampleMode to icon props available in Button, MainButton, and Dropdown
- Fixed NumberSequencePicker error when adding 21st keypoint ([#48](https://github.com/sircfenner/StudioComponents/issues/48))
- Bumped package and tool versions

## 1.1.0

Expand Down
8 changes: 4 additions & 4 deletions foreman.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tools]
darklua = { github = "seaofvoices/darklua", version = "=0.13.0"}
luau-lsp = { github = "JohnnyMorganz/luau-lsp", version = "=1.28.1"}
rojo = { github = "rojo-rbx/rojo", version = "=7.4.1"}
darklua = { github = "seaofvoices/darklua", version = "=0.15.0"}
luau-lsp = { github = "JohnnyMorganz/luau-lsp", version = "=1.38.0"}
rojo = { github = "rojo-rbx/rojo", version = "=7.4.4"}
selene = { github = "Kampfkarren/selene", version = "=0.27.1"}
stylua = { github = "JohnnyMorganz/StyLua", version = "=0.20.0"}
stylua = { github = "JohnnyMorganz/StyLua", version = "=2.0.2"}
wally = { github = "UpliftGames/wally", version = "=0.3.2" }
50 changes: 28 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"verify-pack": "npm pack --dry-run"
},
"dependencies": {
"@jsdotlua/react": "^17.1.0",
"@jsdotlua/react-roblox": "^17.1.0"
"@jsdotlua/react": "^17.2.1",
"@jsdotlua/react-roblox": "^17.2.1"
},
"devDependencies": {
"npmluau": "^0.1.1"
Expand Down
4 changes: 1 addition & 3 deletions scripts/analyze.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,4 @@ if [ ! -f "$TYPES_FILE" ]; then
curl https://raw.githubusercontent.com/JohnnyMorganz/luau-lsp/main/scripts/globalTypes.d.lua > $TYPES_FILE
fi

luau-lsp analyze --base-luaurc=.luaurc --settings=.luau-analyze.json \
--definitions=$TYPES_FILE \
src
luau-lsp analyze --base-luaurc=.luaurc --definitions=$TYPES_FILE src
4 changes: 2 additions & 2 deletions src/Components/NumberSequencePicker/SequenceNode.luau
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ local function EnvelopeHandle(props: {
})
local theme = useTheme()

local dragStart = React.useRef(0)
local dragStart = React.useRef(0 :: number?)
local dragOffset = React.useRef(0)

local function onDragBegin(rbx: GuiObject, input: InputObject)
Expand Down Expand Up @@ -123,7 +123,7 @@ local function SequenceNode(props: {
local theme = useTheme()
local mouseIcon = useMouseIcon()

local nodeDragStart = React.useRef(Vector2.zero)
local nodeDragStart = React.useRef(Vector2.zero :: Vector2?)
local nodeDragOffset = React.useRef(Vector2.zero)
local function onNodeDragBegin(rbx: GuiObject, input: InputObject)
local pos = Vector2.new(input.Position.X, input.Position.Y)
Expand Down
Loading