Skip to content

Commit

Permalink
bump patch version to 0.2.1
Browse files Browse the repository at this point in the history
add vscode workspace setting config files
format all files and organize imports
ready for `v0.2.1` release
  • Loading branch information
omar-azmi committed Feb 17, 2024
1 parent 1e0c60a commit de0f8dd
Show file tree
Hide file tree
Showing 10 changed files with 40 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@

# automatic file clones
/.github/readme.md
/license.md
/license.md
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"denoland.vscode-deno"
]
}
26 changes: 26 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"editor.insertSpaces": false,
"editor.detectIndentation": false,
"editor.inlineSuggest.suppressSuggestions": true,
"files.insertFinalNewline": true,
"files.eol": "\r\n",
"telemetry.telemetryLevel": "off",
"html.format.wrapLineLength": 360,
"javascript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": true,
"javascript.format.semicolons": "remove",
"javascript.preferences.quoteStyle": "double",
"typescript.format.semicolons": "remove",
"typescript.preferences.quoteStyle": "double",
"typescript.inlayHints.parameterNames.enabled": "none",
"typescript.inlayHints.enumMemberValues.enabled": false,
"typescript.inlayHints.functionLikeReturnTypes.enabled": false,
"typescript.inlayHints.parameterTypes.enabled": false,
"typescript.inlayHints.propertyDeclarationTypes.enabled": false,
"typescript.inlayHints.variableTypes.enabled": false,
"typescript.inlayHints.variableTypes.suppressWhenTypeMatchesName": false,
"deno.unstable": true,
"deno.enable": true,
"deno.disablePaths": [
"**/package.json"
]
}
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tsignal_ts",
"version": "0.2.0",
"version": "0.2.1",
"description": "a topological order respecting signals library inspired by SolidJS",
"author": "Omar Azmi",
"license": "Lulz plz don't steal yet",
Expand Down
1 change: 1 addition & 0 deletions src/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ export { RecordMemoSignal_Factory, RecordSignal_Factory, RecordStateSignal_Facto
export type * from "./signal.ts"
export { EffectSignal_Factory, LazySignal_Factory, MemoSignal_Factory, SimpleSignal_Factory, StateSignal_Factory } from "./signal.ts"
export type * from "./typedefs.ts"

5 changes: 2 additions & 3 deletions test/async_signal.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { assert } from "https://deno.land/std/testing/asserts.ts"
import { DEBUG } from "../src/deps.ts"
import { assert } from "https://deno.land/std@0.204.0/testing/asserts.ts"
import { AsyncStateSignal_Factory } from "../src/async_signal.ts"
import { Context } from "../src/context.ts"
import { EffectSignal_Factory, LazySignal_Factory, MemoSignal_Factory, StateSignal_Factory } from "../src/signal.ts"
import { AsyncStateSignal_Factory } from "../src/async_signal.ts"

const wait = (time_ms: number) => {
return new Promise<void>((resolve, reject) => { setTimeout(resolve, time_ms) })
Expand Down
2 changes: 1 addition & 1 deletion test/legacy_signal.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assert } from "https://deno.land/std/testing/asserts.ts"
import { assert } from "https://deno.land/std@0.204.0/testing/asserts.ts"
import { Context } from "../src/context.ts"
import { EffectSignal_Factory, LazySignal_Factory, MemoSignal_Factory, StateSignal_Factory, } from "../src/signal.ts"

Expand Down
3 changes: 1 addition & 2 deletions test/rectangle_boundingbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// at the end of every reaction cycle, log the number of computations done in the console.

import { Context } from "../src/context.ts"
import { StateSignal_Factory, MemoSignal_Factory, EffectSignal_Factory } from "../src/signal.ts"
import { EffectSignal_Factory, MemoSignal_Factory, StateSignal_Factory } from "../src/signal.ts"
import type { Accessor, Setter } from "../src/typedefs.ts"

/** `x` and `y` are relative to the parent-rectangle's top-left corner (which is their (x, y) position). */
Expand Down Expand Up @@ -142,4 +142,3 @@ fireRedraw()

// unlike solidjs, you can define all derived signals, such as`MemoSignal`, before declaring the variables used in their computation function.
// this is because derived signals are deferred of their execution, until the first time someone actually uses them.

2 changes: 1 addition & 1 deletion test/simple_signal.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DEBUG } from "../src/deps.ts"
import { Context } from "../src/context.ts"
import { DEBUG } from "../src/deps.ts"
import { EffectSignal_Factory, LazySignal_Factory, MemoSignal_Factory, StateSignal_Factory } from "../src/signal.ts"

const
Expand Down
2 changes: 1 addition & 1 deletion test/simple_signal2.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DEBUG } from "../src/deps.ts"
import { Context } from "../src/context.ts"
import { DEBUG } from "../src/deps.ts"
import { EffectSignal_Factory, LazySignal_Factory, MemoSignal_Factory, StateSignal_Factory } from "../src/signal.ts"

const
Expand Down

0 comments on commit de0f8dd

Please sign in to comment.