Skip to content

Commit

Permalink
Merge pull request #4 from Rimuy/fix-wally
Browse files Browse the repository at this point in the history
Fix wally build excluding some directories
  • Loading branch information
rimuy authored Jan 27, 2022
2 parents ba4601c + eef0c0b commit b059474
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 22 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.1.4]
### Fixed
* Fixed wally build

## [1.1.1]
### Added
* Added `BaseAction.IsBound()` method.

### Fixed
* Fixed actions calling `OnConnected` more than once.

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ npm i @rbxts/gamejoy
For [wally](https://wally.run/) users, the package can be installed by adding the following line into their `wally.toml`.
```cs
[dependencies]
GameJoy = "rimuy/[email protected].1"
GameJoy = "rimuy/[email protected].4"
```

After that, just run `wally install`.
Expand Down Expand Up @@ -214,7 +214,7 @@ context.Bind(new Sequence(["LeftAlt", "E"]), () => {
});
```

`Sequence` is cancellable. When one of the keys is released, it'll trigger the `Cancelled` event. If there is already an action being executed and the composite was already queued, it'll remove the composite from the queue, preventing it to be triggered. This doesn't apply if `RunSynchronously` is set to true.
`Sequence` is cancellable. When one of the keys is released, it'll trigger the `Cancelled` event. If there is already an action being executed and the composite was already queued, it'll remove the composite from the queue, preventing it from being triggered. This doesn't apply if `RunSynchronously` is set to true.

```js
context.BindEvent("onCancel", sequence.Cancelled, () => {
Expand Down Expand Up @@ -330,7 +330,7 @@ Just like the above, `Sync` also aims to apply a configuration trait to a specif

```js
context
.Bind("A", () => task.wait(5))
.Bind("A", () => { task.wait(5); })
.Bind("B", () => print("Needs to wait till A is done..."))
.Bind(new Sync("C"), () => {
print("Will be executed even if there is already a pending action!");
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

14 changes: 9 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rbxts/gamejoy",
"version": "1.1.1",
"version": "1.1.4",
"description": "A simple class-based input library",
"main": "out/init.lua",
"types": "out/index.d.ts",
Expand All @@ -16,13 +16,15 @@
"test:rojo": "rojo build tests -o ./tests/test.rbxlx",
"test:run": "run-in-roblox --place ./tests/test.rbxlx --script ./tests/out/testBootstrap.server.lua",
"test:update-package": "cd tests && npm i @rbxts/gamejoy@latest",
"publish:wally": "npm run build:model && wally publish",
"publish:wally": "npm run build:model && wally install && wally publish",
"prepublishOnly": "npm run build",
"postpublish": "npm run test:update-package"
},
"keywords": [
"Roblox",
"Input"
"roblox",
"roblox-ts",
"user-input",
"typescript"
],
"publishConfig": {
"access": "public"
Expand All @@ -37,7 +39,9 @@
"url": "https://github.com/Rimuy/GameJoy/issues"
},
"files": [
"out"
"out",
"LICENSE",
"README.md"
],
"devDependencies": {
"@rbxts/compiler-types": "^1.2.9-types.0",
Expand Down
14 changes: 7 additions & 7 deletions tests/package-lock.json

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

2 changes: 1 addition & 1 deletion tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@rbxts/types": "^1.0.550"
},
"dependencies": {
"@rbxts/gamejoy": "^1.1.0",
"@rbxts/gamejoy": "^1.1.4",
"@rbxts/services": "^1.2.0",
"@rbxts/testez": "^0.3.1-ts.7"
}
Expand Down
2 changes: 1 addition & 1 deletion wally.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ registry = "test"

[[package]]
name = "rimuy/gamejoy"
version = "1.1.1"
version = "1.1.4"
dependencies = []
19 changes: 16 additions & 3 deletions wally.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
[package]
name = "rimuy/gamejoy"
description = "A simple class-based input library"
version = "1.1.1"
description = "Simple class-based input library"
version = "1.1.4"
license = "MIT"
authors = ["Rimuy"]
realm = "shared"
registry = "https://github.com/upliftgames/wally-index"
exclude = ["*.d.ts"]
exclude = ["*"]
include = [
"include",
"include/**/*",
"out",
"out/**/*",
"LICENSE",
"README.md",
"default.project.json",
"node_modules",
"node_modules/@rbxts",
"node_modules/@rbxts/**/*",
"wally.toml",
]

[dependencies]

0 comments on commit b059474

Please sign in to comment.