Skip to content

Commit

Permalink
1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
noahwillcrow committed Apr 5, 2022
1 parent 6b26d83 commit 9e80be7
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ jobs:
- name: install foreman packages (rojo, run-in-roblox)
run: foreman install
- name: run rojo build
run: rojo build -o .\\unit_tests.rbxlx
run: rojo build -o .\\unit_tests.rbxlx .\\unit-testing.project.json
- name: run tests
run: run-in-roblox --place .\\unit_tests.rbxlx --script .\\spec.server.lua
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ npm i @rbxts/lazy
### Wally
[Wally](https://github.com/UpliftGames/wally/) users can install this package by adding the following line to their `Wally.toml` under `[dependencies]`:
```
Lazy = "bytebit/[email protected].0"
Lazy = "bytebit/[email protected].1"
```

Then just run `wally install`.
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.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@rbxts/lazy",
"version": "1.0.0",
"version": "1.0.1",
"description": "A simple implementation of a lazy loading wrapper for any type of value.",
"main": "out/init.lua",
"scripts": {
"eslint": "npx eslint \"src/**/*.ts\" --max-warnings 0",
"prepublishOnly": "rm -rf ./out; rbxtsc --type=package",
"test": "rbxtsc --type=game && rojo build -o ./unit_tests.rbxlx && run-in-roblox ./unit_tests.rbxlx -s ./spec.server.lua",
"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"
"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",
"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"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/classes/Lazy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ILazy } from "interfaces/ILazy";
import { ILazy } from "../interfaces/ILazy";

/**
* An implementation of ILazy<T> that takes a callback function in
Expand Down
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from "classes/Lazy";
export * from "./classes/Lazy";

export { ILazy } from "interfaces/ILazy";
export { IReadonlyLazy } from "interfaces/IReadonlyLazy";
export { ILazy } from "./interfaces/ILazy";
export { IReadonlyLazy } from "./interfaces/IReadonlyLazy";
2 changes: 1 addition & 1 deletion src/interfaces/ILazy.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { IReadonlyLazy } from "interfaces/IReadonlyLazy";
import { IReadonlyLazy } from "./IReadonlyLazy";

/**
* Defines the complete interface for a lazy value holder
Expand Down
8 changes: 4 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
"forceConsistentCasingInFileNames": true,
"strict": true,
"target": "ESNext",
"typeRoots": ["node_modules/@rbxts"],

"typeRoots": [
"node_modules/@rbxts"
],
// configurable
"rootDir": "src",
"outDir": "out",
"baseUrl": "src",
"incremental": true,
"tsBuildInfoFile": "out/tsconfig.tsbuildinfo",
"declaration": true
}
}
}
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 = "bytebit/lazy"
version = "1.0.0"
version = "1.0.1"
dependencies = []
2 changes: 1 addition & 1 deletion wally.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "bytebit/lazy"
description = "A simple implementation of a lazy loading wrapper for any type of value."
version = "1.0.0"
version = "1.0.1"
license = "MIT"
registry = "https://github.com/UpliftGames/wally-index"
realm = "shared"
Expand Down

0 comments on commit 9e80be7

Please sign in to comment.