Skip to content

Commit 9d3914a

Browse files
authored
Merge pull request #66 from thefrontside/tm/change-namespace
Change all packages to effectionx namespace
2 parents df93180 + 19a46e1 commit 9d3914a

File tree

27 files changed

+45
-45
lines changed

27 files changed

+45
-45
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# effection-contrib
1+
# effectionx
22

33
This repository contains a collection of contributions by the community. This
44
repository automatically publishes to JSR and NPM. All packages that were used
@@ -8,7 +8,7 @@ more than a few times are welcome.
88

99
1. Create a directory
1010
2. Add a deno.json file with
11-
`{ "name": "@effection-contrib/<you_package_name>", version: "0.1.0", "exports": "./mod.ts", "license": "MIT" }`
11+
`{ "name": "@effectionx/<you_package_name>", version: "0.1.0", "exports": "./mod.ts", "license": "MIT" }`
1212
3. Add a README.md (text before `---` will be used as a description for the
1313
package)
1414
4. Add your source code and export it from `mod.ts`
@@ -17,6 +17,6 @@ more than a few times are welcome.
1717

1818
## To publish a new project
1919

20-
1. Member of [jsr.io/@effection-contrib](https://jsr.io/@effection-contrib) has
21-
too add that project to the scope
20+
1. Member of [jsr.io/@effectionx](https://jsr.io/@effectionx) has to add that
21+
project to the scope
2222
2. It should be publish on next merge to main

deno-deploy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ can be useful when testing an application that's deployed to Deno Deploy.
66

77
```ts
88
import { main } from "effection";
9-
import { useDenoDeploy } from "@effection-contrib/deno-deploy";
9+
import { useDenoDeploy } from "@effectionx/deno-deploy";
1010

1111
await main(function* () {
1212
const {

deno-deploy/deno-deploy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const DenoDeployContext: Context<DenoDeploy> = createContext<DenoDeploy>(
4848
* Use to read the values of Deno Deploy Context.
4949
*
5050
* ```ts
51-
* import { useDenoDeploy } from "@effection-contrib/deno-deploy";
51+
* import { useDenoDeploy } from "@effectionx/deno-deploy";
5252
*
5353
* function* () {
5454
* const { isDenoDeploy } = yield* useDenoDeploy();
@@ -64,7 +64,7 @@ export function* useDenoDeploy(): Operation<DenoDeploy> {
6464
*
6565
* ```ts
6666
* import { main } from "effection";
67-
* import { initDenoDeploy } from "@effection-contrib/deno-deploy";
67+
* import { initDenoDeploy } from "@effectionx/deno-deploy";
6868
*
6969
* await main(function*() {
7070
* yield* initDenoDeploy();

deno-deploy/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@effection-contrib/deno-deploy",
2+
"name": "@effectionx/deno-deploy",
33
"version": "0.1.0",
44
"exports": "./mod.ts",
55
"license": "MIT"

fx/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@effection-contrib/fx",
2+
"name": "@effectionx/fx",
33
"version": "0.1.0",
44
"exports": "./mod.ts",
55
"license": "MIT"

jsonl-store/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ You can use the default store client which will write store to
1515

1616
```ts
1717
import { run } from "npm:effection@4.0.0-alpha.3";
18-
import { useStore } from "jsr:@effection-contrib/jsonl-store";
18+
import { useStore } from "jsr:@effectionx/jsonl-store";
1919

2020
await run(function* () {
2121
const store = yield* useStore();
@@ -35,7 +35,7 @@ import {
3535
JSONLStore,
3636
StoreContext,
3737
useStore,
38-
} from "jsr:@effection-contrib/jsonl-store";
38+
} from "jsr:@effectionx/jsonl-store";
3939

4040
await run(function* () {
4141
const store = JSONLStore.from({
@@ -51,7 +51,7 @@ You can write to the store at a given key and append to the same key.
5151

5252
```ts
5353
import { run } from "npm:effection@4.0.0-alpha.3";
54-
import { useStore } from "jsr:@effection-contrib/jsonl-store";
54+
import { useStore } from "jsr:@effectionx/jsonl-store";
5555

5656
await run(function* () {
5757
const store = yield* useStore();
@@ -72,7 +72,7 @@ Reading values from a key produces a stream of all values from the given key.
7272

7373
```ts
7474
import { run } from "npm:effection@4.0.0-alpha.3";
75-
import { useStore } from "jsr:@effection-contrib/jsonl-store";
75+
import { useStore } from "jsr:@effectionx/jsonl-store";
7676

7777
await run(function* () {
7878
const store = yield* useStore();

jsonl-store/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@effection-contrib/jsonl-store",
2+
"name": "@effectionx/jsonl-store",
33
"version": "0.1.0",
44
"exports": "./mod.ts",
55
"license": "MIT"

jsonl-store/jsonl.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export class JSONLStore implements Store {
6767
/**
6868
* Returns true when key is present
6969
* ```ts
70-
* import { useStore } from "jsr:@effection-contrib/jsonl-store";
70+
* import { useStore } from "jsr:@effectionx/jsonl-store";
7171
*
7272
* const store = yield* useStore();
7373
*
@@ -96,7 +96,7 @@ export class JSONLStore implements Store {
9696
*
9797
* ```ts
9898
* import { each } from "npm:effection@4.0.0-alpha.3";
99-
* import { useStore } from "jsr:@effection-contrib/jsonl-store";
99+
* import { useStore } from "jsr:@effectionx/jsonl-store";
100100
*
101101
* const store = yield* useStore();
102102
*
@@ -145,7 +145,7 @@ export class JSONLStore implements Store {
145145
* Write data to a file, creates the file and necessary directory structure as it goes along.
146146
*
147147
* ```ts
148-
* import { useStore } from "jsr:@effection-contrib/jsonl-store";
148+
* import { useStore } from "jsr:@effectionx/jsonl-store";
149149
*
150150
* const store = yield* useStore();
151151
* yield* store.write("hello", "world");
@@ -178,7 +178,7 @@ export class JSONLStore implements Store {
178178
* Add data to an existing file.
179179
*
180180
* ```ts
181-
* import { useStore } from "jsr:@effection-contrib/jsonl-store";
181+
* import { useStore } from "jsr:@effectionx/jsonl-store";
182182
*
183183
* const store = yield* useStore();
184184
* yield* store.write("hello", "world");
@@ -210,7 +210,7 @@ export class JSONLStore implements Store {
210210
*
211211
* ```ts
212212
* import { each } from "npm:effection@4.0.0-alpha.3";
213-
* import { useStore } from "jsr:@effection-contrib/jsonl-store";
213+
* import { useStore } from "jsr:@effectionx/jsonl-store";
214214
*
215215
* const store = yield* useStore();
216216
*

task-buffer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ prevents resource overload while ensuring all tasks are eventually executed.
1111

1212
```ts
1313
import { run, sleep } from "effection";
14-
import { useTaskBuffer } from "@effection-contrib/task-buffer";
14+
import { useTaskBuffer } from "@effectionx/task-buffer";
1515

1616
await run(function* () {
1717
// Create a task buffer with a maximum of 2 concurrent tasks

task-buffer/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@effection-contrib/task-buffer",
2+
"name": "@effectionx/task-buffer",
33
"version": "1.0.1",
44
"exports": "./mod.ts",
55
"license": "MIT"

0 commit comments

Comments
 (0)