Skip to content

Commit 9d76bfa

Browse files
committed
1.0.2
1 parent fc4b9b8 commit 9d76bfa

File tree

9 files changed

+13
-14
lines changed

9 files changed

+13
-14
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/strict-map
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-
StrictMap = "bytebit/strict-map@1.0.1"
29+
StrictMap = "bytebit/strict-map@1.0.2"
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/strict-map",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "A simple class that looks like a regular map but that throws if indexed by a missing key.",
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/StrictMap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { HttpService } from "@rbxts/services";
2-
import { IReadonlyStrictMap } from "interfaces/IReadonlyStrictMap";
2+
import { IReadonlyStrictMap } from "../interfaces/IReadonlyStrictMap";
33

44
export class StrictMap<K extends defined, V extends defined> implements IReadonlyStrictMap<K, V> {
55
private map: Map<K, V>;

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/StrictMap";
1+
export * from "./classes/StrictMap";
22

3-
export { IReadonlyStrictMap } from "interfaces/IReadonlyStrictMap";
4-
export { IStrictMap } from "interfaces/IStrictMap";
3+
export { IReadonlyStrictMap } from "./interfaces/IReadonlyStrictMap";
4+
export { IStrictMap } from "./interfaces/IStrictMap";

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
// configurable
2020
"rootDir": "src",
2121
"outDir": "out",
22-
"baseUrl": "src",
2322
"incremental": true,
2423
"tsBuildInfoFile": "out/tsconfig.tsbuildinfo",
2524
"declaration": true,

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/strict-map"
7-
version = "1.0.1"
7+
version = "1.0.2"
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/strict-map"
33
description = "A simple class that looks like a regular map but that throws if indexed by a missing key."
4-
version = "1.0.1"
4+
version = "1.0.2"
55
license = "MIT"
66
registry = "https://github.com/UpliftGames/wally-index"
77
realm = "shared"

0 commit comments

Comments
 (0)