Skip to content

Commit 9e80be7

Browse files
committed
1.0.1
1 parent 6b26d83 commit 9e80be7

File tree

10 files changed

+18
-18
lines changed

10 files changed

+18
-18
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ jobs:
3636
- name: install foreman packages (rojo, run-in-roblox)
3737
run: foreman install
3838
- name: run rojo build
39-
run: rojo build -o .\\unit_tests.rbxlx
39+
run: rojo build -o .\\unit_tests.rbxlx .\\unit-testing.project.json
4040
- name: run tests
4141
run: run-in-roblox --place .\\unit_tests.rbxlx --script .\\spec.server.lua

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ npm i @rbxts/lazy
2626
### Wally
2727
[Wally](https://github.com/UpliftGames/wally/) users can install this package by adding the following line to their `Wally.toml` under `[dependencies]`:
2828
```
29-
Lazy = "bytebit/lazy@1.0.0"
29+
Lazy = "bytebit/lazy@1.0.1"
3030
```
3131

3232
Then just run `wally install`.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "@rbxts/lazy",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "A simple implementation of a lazy loading wrapper for any type of value.",
55
"main": "out/init.lua",
66
"scripts": {
77
"eslint": "npx eslint \"src/**/*.ts\" --max-warnings 0",
88
"prepublishOnly": "rm -rf ./out; rbxtsc --type=package",
9-
"test": "rbxtsc --type=game && rojo build -o ./unit_tests.rbxlx && run-in-roblox ./unit_tests.rbxlx -s ./spec.server.lua",
10-
"wsl-start-unit-tests": "set -e; rm -rf ./out; rbxtsc --type=game && rojo build -o unit_tests.rbxlx; ./scripts/open-in-windows ./unit_tests.rbxlx"
9+
"test": "rbxtsc --type=game --rojo=./unit-testing.project.json && rojo build -o ./unit_tests.rbxlx && run-in-roblox --place ./unit_tests.rbxlx --script ./spec.server.lua",
10+
"wsl-start-unit-tests": "set -e; rm -rf ./out; rbxtsc --type=game --rojo=./unit-testing.project.json && rojo build -o unit_tests.rbxlx ./unit-testing.project.json; ./scripts/open-in-windows ./unit_tests.rbxlx"
1111
},
1212
"repository": {
1313
"type": "git",

src/classes/Lazy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ILazy } from "interfaces/ILazy";
1+
import { ILazy } from "../interfaces/ILazy";
22

33
/**
44
* An implementation of ILazy<T> that takes a callback function in

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export * from "classes/Lazy";
1+
export * from "./classes/Lazy";
22

3-
export { ILazy } from "interfaces/ILazy";
4-
export { IReadonlyLazy } from "interfaces/IReadonlyLazy";
3+
export { ILazy } from "./interfaces/ILazy";
4+
export { IReadonlyLazy } from "./interfaces/IReadonlyLazy";

src/interfaces/ILazy.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { IReadonlyLazy } from "interfaces/IReadonlyLazy";
1+
import { IReadonlyLazy } from "./IReadonlyLazy";
22

33
/**
44
* Defines the complete interface for a lazy value holder

tsconfig.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
"forceConsistentCasingInFileNames": true,
1414
"strict": true,
1515
"target": "ESNext",
16-
"typeRoots": ["node_modules/@rbxts"],
17-
16+
"typeRoots": [
17+
"node_modules/@rbxts"
18+
],
1819
// configurable
1920
"rootDir": "src",
2021
"outDir": "out",
21-
"baseUrl": "src",
2222
"incremental": true,
2323
"tsBuildInfoFile": "out/tsconfig.tsbuildinfo",
2424
"declaration": true
2525
}
26-
}
26+
}

wally.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ registry = "test"
44

55
[[package]]
66
name = "bytebit/lazy"
7-
version = "1.0.0"
7+
version = "1.0.1"
88
dependencies = []

wally.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "bytebit/lazy"
33
description = "A simple implementation of a lazy loading wrapper for any type of value."
4-
version = "1.0.0"
4+
version = "1.0.1"
55
license = "MIT"
66
registry = "https://github.com/UpliftGames/wally-index"
77
realm = "shared"

0 commit comments

Comments
 (0)