Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R/fp ts #21

Merged
merged 120 commits into from
Jan 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
524c2cb
Prepare packages
patroza Dec 25, 2022
d418523
tsplus types?
patroza Dec 25, 2022
399aa67
fml
patroza Dec 25, 2022
b931db5
cleanup
patroza Dec 26, 2022
1fff504
Bump typescript
patroza Dec 27, 2022
e87e740
Progress?
patroza Dec 27, 2022
753da33
progress?
patroza Dec 27, 2022
44a85d1
cleanup
patroza Dec 27, 2022
ddeef71
Cleanup
patroza Dec 27, 2022
715fca6
Cleanup
patroza Dec 27, 2022
03d13a3
Cleanup
patroza Dec 27, 2022
c2f9b3b
Cleanup
patroza Dec 27, 2022
4603978
Cleanup
patroza Dec 27, 2022
593cb8e
fix patch
patroza Dec 27, 2022
64a6ee9
Update patch
patroza Dec 27, 2022
49598ec
Core converted?
patroza Dec 27, 2022
143113b
Cleanup
patroza Dec 27, 2022
ffc4632
Cleanup
patroza Dec 27, 2022
932f7c4
Cleanup
patroza Dec 27, 2022
9001782
Cleanup
patroza Dec 27, 2022
538ce2a
Progress
patroza Dec 27, 2022
30cf971
mm test, still need to apply to others
patroza Dec 27, 2022
585178f
Update to latest 0x706b fixes
patroza Dec 27, 2022
a0a083b
Prepare Cache fork
patroza Dec 28, 2022
1b67785
More cache prepare and cleanup
patroza Dec 28, 2022
cff1c91
Fix more prelude
patroza Dec 28, 2022
46c285d
Convert boilerplate
patroza Dec 28, 2022
3fa98d0
Merge branch 'main' into r/fp-ts
patroza Dec 28, 2022
b8e3d07
add to stm
patroza Dec 28, 2022
f3c3058
Switch to ReadonlyArray over ROArray.
patroza Dec 28, 2022
9fb3a46
Fix Opt.isSome/isNone
patroza Dec 28, 2022
19a1ee1
Add Unification of importand types
patroza Dec 28, 2022
21a3792
Merge branch 'main' into r/fp-ts
patroza Dec 28, 2022
f5d685e
Prepare STM
patroza Dec 29, 2022
f0adaf2
Cleanup
patroza Dec 29, 2022
61e5e9e
prepare more infra.
patroza Dec 29, 2022
84f912f
Cleanup scripts
patroza Dec 31, 2022
feee3b9
Update packages
patroza Dec 31, 2022
a6e7f28
Improve
patroza Dec 31, 2022
bd269ff
More infra
patroza Dec 31, 2022
38a92ec
Fix up infra
patroza Dec 31, 2022
4c2ab07
update fold for match
patroza Dec 31, 2022
195ec71
Fixup most of Cache
patroza Dec 31, 2022
d7f176d
More of boilerplate-infra
patroza Dec 31, 2022
b1d58a1
more infra
patroza Dec 31, 2022
851aba2
Cleanup
patroza Dec 31, 2022
2aefcb1
l'ord
patroza Jan 1, 2023
2d2b085
Fix boilerplate-infra
patroza Jan 1, 2023
cdb6ba6
fix scripts
patroza Jan 1, 2023
ff5197e
Fix up schema
patroza Jan 1, 2023
575967c
cleanup legacy Tuple.
patroza Jan 1, 2023
a8d8bc2
Fixup react/vue libs
patroza Jan 1, 2023
57365e1
Cleanup
patroza Jan 1, 2023
c090237
changeset
patroza Jan 1, 2023
9c42c69
chore: update versions
patroza Jan 1, 2023
22b88bb
update effect/iop
patroza Jan 1, 2023
fe29671
bump
patroza Jan 1, 2023
db9d6cb
Don't publish react legacy for now.
patroza Jan 1, 2023
20fdfb9
fix cli version
patroza Jan 1, 2023
145b5c8
cleanup
patroza Jan 1, 2023
9392192
chore: update versions
patroza Jan 1, 2023
30d1a78
Fix array extensions
patroza Jan 1, 2023
1dc418c
chore: update versions
patroza Jan 1, 2023
fe517f0
update non empty
patroza Jan 1, 2023
b0aa206
chore: update versions
patroza Jan 1, 2023
7538e0a
nuke legacy react for now
patroza Jan 1, 2023
a05b9ed
add Hub exp
patroza Jan 1, 2023
21ed348
changeset
patroza Jan 1, 2023
6f478ce
chore: update versions
patroza Jan 1, 2023
f5bb5b3
Cleanup Option ext.
patroza Jan 1, 2023
0f18481
cs
patroza Jan 1, 2023
3a6627d
chore: update versions
patroza Jan 1, 2023
43c108c
fixes
patroza Jan 1, 2023
10d7220
chore: update versions
patroza Jan 1, 2023
0792bc0
update packages
patroza Jan 1, 2023
cb023c4
m
patroza Jan 1, 2023
78af767
m
patroza Jan 1, 2023
3b86a87
embed vendor with core
patroza Jan 1, 2023
af52e05
cs
patroza Jan 1, 2023
7da0b65
chore: update versions
patroza Jan 1, 2023
29cf5c7
Fix Opt alias.
patroza Jan 1, 2023
4a101b5
chore: update versions
patroza Jan 1, 2023
e170505
Fix; remove Chunk.
patroza Jan 1, 2023
97bfbab
Fix fiber display in logger.
patroza Jan 1, 2023
cd814fd
fixes
patroza Jan 1, 2023
bf18a72
fixes
patroza Jan 2, 2023
e5b7b4f
update packages
patroza Jan 2, 2023
1501628
chore: update versions
patroza Jan 2, 2023
afe6aaa
Fixup
patroza Jan 2, 2023
8e4d88c
fix withPermitsDuration
patroza Jan 2, 2023
4d4b9be
bump
patroza Jan 2, 2023
a14e800
update FiberRef
patroza Jan 2, 2023
d0b9450
chore: update versions
patroza Jan 2, 2023
a2b61d2
bump
patroza Jan 2, 2023
c7f1cfd
update packages.
patroza Jan 2, 2023
4f62c11
chore: update versions
patroza Jan 2, 2023
6fe7444
cleanup
patroza Jan 2, 2023
bda14d8
Cleanup
patroza Jan 2, 2023
c4b3af9
chore: update versions
patroza Jan 2, 2023
cd1cac2
fix
patroza Jan 2, 2023
48cd186
cleanup
patroza Jan 2, 2023
7359df8
cleanup
patroza Jan 2, 2023
c430258
chore: update versions
patroza Jan 2, 2023
e81d3d1
Fix import
patroza Jan 2, 2023
58c30af
chore: update versions
patroza Jan 2, 2023
29facee
Fix arb
patroza Jan 2, 2023
1efe574
fix package refs
patroza Jan 2, 2023
11b2bbb
chore: update versions
patroza Jan 2, 2023
4f059ce
fix error handling
patroza Jan 2, 2023
bef6056
bump
patroza Jan 2, 2023
eb49b4b
Improve error logging
patroza Jan 3, 2023
1592fca
chore: update versions
patroza Jan 3, 2023
7ff38b3
Fix pretty
patroza Jan 3, 2023
83f66b1
chore: update versions
patroza Jan 3, 2023
a255c61
Update packages.
patroza Jan 3, 2023
c9102a7
chore: update versions
patroza Jan 3, 2023
cbab807
chore: update versions
patroza Jan 3, 2023
b0fe772
Update packages
patroza Jan 4, 2023
2d8c0e9
chore: update versions
patroza Jan 4, 2023
e97b7e9
Add some missing extensions
patroza Jan 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .pnpmfile.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ module.exports = {
"@effect/cache",
"@effect-ts/core",
"@effect-ts/system",
"@effect/io",
"@fp-ts/core",
"@fp-ts/codec",
"@fp-ts/data",
"@fp-ts/schema",
//"vue",
]})
}
Expand Down
2 changes: 1 addition & 1 deletion .vscode/model.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"",
"export const $1$2 = handle($2s.$1)((req) =>",
"Effect.gen(function* ($) {",
" yield* $(Effect(null))",
" yield* $(Effect.succeed(null))",
"}))"
]
}
Expand Down
41 changes: 20 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,19 @@
"@effect-ts/core@0.60.5": "patches/@effect-ts__core@0.60.5.patch",
"@effect-ts/monocle@0.43.0": "patches/@effect-ts__monocle@0.43.0.patch",
"@effect-ts/system@0.57.5": "patches/@effect-ts__system@0.57.5.patch",
"@effect/cache@0.0.4": "patches/@effect__cache@0.0.4.patch",
"@effect/core@0.0.16": "patches/@effect__core@0.0.16.patch",
"@tsplus/stdlib@0.2.8": "patches/@tsplus__stdlib@0.2.8.patch",
"@typescript-eslint/scope-manager@5.47.0": "patches/@typescript-eslint__scope-manager@5.47.0.patch",
"eslint-plugin-codegen@0.16.1": "patches/eslint-plugin-codegen@0.16.1.patch",
"@typescript-eslint/scope-manager@5.48.0": "patches/@typescript-eslint__scope-manager@5.48.0.patch",
"eslint-plugin-codegen@0.17.0": "patches/eslint-plugin-codegen@0.17.0.patch",
"eslint-plugin-unused-imports@2.0.0": "patches/eslint-plugin-unused-imports@2.0.0.patch",
"ts-pattern@4.0.6": "patches/ts-pattern@4.0.6.patch",
"typescript@5.0.0-tsplus.20221217": "patches/typescript@5.0.0-tsplus.20221217.patch"
"typescript@5.0.0-tsplus.20221227": "patches/typescript@5.0.0-tsplus.20221227.patch"
}
},
"scripts": {
"all": "pnpm -r --filter=!./play",
"all": "pnpm -r --filter=!./play --filter=!./packages/pnpm-singleton",
"ci:version": "pnpm changeset version",
"ci:publish": "pnpm all publish --access=public",
"preinstall": "npx only-allow pnpm",
"clean": "pnpm -r clean",
"clean": "pnpm all clean",
"clean-dist": "pnpm -r clean-dist",
"upgrade": "echo hi",
"autofix": "NODE_OPTIONS=--max-old-space-size=6144 pnpm -r autofix",
Expand All @@ -40,15 +37,17 @@
"test-packages": "pnpm packages test:run",
"testsuite-packages": "pnpm packages testsuite",
"watch-packages": "pnpm packages build && pnpm packages watch",
"build": "NODE_OPTIONS=--max-old-space-size=6144 tsc --build ./tsconfig.all.json",
"build:tsc": "tsc --build ./tsconfig.all.json",
"watch": "pnpm build:tsc --watch",
"build": "pnpm build:tsc",
"rebuild": "pnpm -r clean && pnpm -r build",
"nnm": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' + && pnpm i"
},
"resolutions": {
"@effect/core": "^0.0.16",
"@types/node": "~18.11.12",
"http-proxy": "npm:http-proxy-node16@1.0.0",
"typescript": "https://cdn.jsdelivr.net/npm/@tsplus/installer@0.0.161/compiler/typescript.tgz"
"typescript": "https://github.com/0x706b/typescript/raw/043313ca8f/typescript-5.0.0-tsplus.20221227.tgz"
},
"dependencies": {
"cross-env": "^7.0.3",
Expand All @@ -68,36 +67,36 @@
"@tsconfig/strictest": "^1.0.2",
"@tsplus/installer": "0.0.161",
"@types/lodash": "^4.14.191",
"@types/node": "~18.11.17",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"@typescript-eslint/scope-manager": "^5.47.0",
"@types/node": "~18.11.18",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"@typescript-eslint/scope-manager": "^5.48.0",
"babel-plugin-replace-import-extension": "^1.1.3",
"concurrently": "^7.6.0",
"dprint": "^0.34.1",
"enhanced-resolve": "^5.12.0",
"eslint": "^8.30.0",
"eslint": "^8.31.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-codegen": "^0.16.1",
"eslint-plugin-codegen": "^0.17.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier-vue": "^4.2.0",
"eslint-plugin-simple-import-sort": "^8.0.0",
"eslint-plugin-sort-destructure-keys": "^1.4.0",
"eslint-plugin-unused-imports": "^2.0.0",
"eslint-watch": "^8.0.0",
"history": "^5.3.0",
"json5": "^2.2.2",
"json5": "^2.2.3",
"madge": "^5.0.1",
"module-alias": "^2.2.2",
"nodemon": "^2.0.20",
"npm-check-updates": "^16.6.2",
"ts-transform-paths": "^3.0.0",
"tsc-watch": "^6.0.0",
"tsconfig-paths": "^4.1.1",
"typescript": "https://cdn.jsdelivr.net/npm/@tsplus/installer@0.0.161/compiler/typescript.tgz",
"tsconfig-paths": "^4.1.2",
"typescript": "https://github.com/0x706b/typescript/raw/043313ca8f/typescript-5.0.0-tsplus.20221227.tgz",
"typescript-transform-paths": "^3.4.4",
"vite": "^4.0.3",
"vitest": "^0.26.2"
"vite": "^4.0.4",
"vitest": "^0.26.3"
}
}
18 changes: 18 additions & 0 deletions packages/boilerplate-eslint/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @effect-ts-app/boilerplate-eslint

## 2.0.2

### Patch Changes

- Fix Opt alias

## 2.0.1

### Patch Changes

- af52e05: vendor

## 2.0.0

### Major Changes

- c090237: Convert to fp-ts and effect-ts/io

## 1.2.2

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/boilerplate-eslint/dist/compiler.js

Large diffs are not rendered by default.

8 changes: 5 additions & 3 deletions packages/boilerplate-eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
"name": "@effect-ts-app/boilerplate-eslint",
"description": "Contains eslint helpers",
"sideEffects": false,
"version": "1.2.2",
"version": "2.0.2",
"scripts": {
"watch": "pnpm build:tsc -w",
"build:tsc": "pnpm clean-dist && node ../../scripts/package.js && NODE_OPTIONS=--max-old-space-size=6144 tsc --build",
"build": "tsc",
"circular": "madge --circular --ts-config ./tsconfig.json --extensions ts ./src",
"ncu": "ncu",
Expand All @@ -14,7 +16,7 @@
"dependencies": {
"@babel/generator": "7.20.7",
"@babel/parser": "7.20.7",
"eslint-plugin-codegen": "0.16.1",
"eslint-plugin-codegen": "0.17.0",
"glob": "8.0.3",
"io-ts": "2.2.20",
"io-ts-extra": "0.11.6",
Expand All @@ -29,7 +31,7 @@
"@types/lodash": "4.14.191",
"madge": "5.0.1",
"ts-node": "10.9.1",
"typescript": "https://cdn.jsdelivr.net/npm/@tsplus/installer@0.0.161/compiler/typescript.tgz"
"typescript": "https://github.com/0x706b/typescript/raw/043313ca8f/typescript-5.0.0-tsplus.20221227.tgz"
},
"main": "index.js",
"author": "Wessel van der Veen & Scott vanBommel",
Expand Down
6 changes: 3 additions & 3 deletions packages/boilerplate-eslint/src/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,13 @@ export function processNode(tc: ts.TypeChecker, root: ts.Node) {
const sub = unions[rpl]
return (sub ? sub : rpl)
})
.replaceAll(" Array<", " ROArray<") // .replaceAll(/(Array|Set|Map)\</", "ROArray<") //
.replaceAll(" Array<", " ReadonlyArray<") // .replaceAll(/(Array|Set|Map)\</", "ReadonlyArray<") //
.replaceAll(" Set<", " ROSet<")
.replaceAll(" Map<", " ROMap<")
.replaceAll("(Array<", "(ROArray<") // .replaceAll(/(Array|Set|Map)\</", "ROArray<") //
.replaceAll("(Array<", "(ReadonlyArray<") // .replaceAll(/(Array|Set|Map)\</", "ReadonlyArray<") //
.replaceAll("(Set<", "(ROSet<")
.replaceAll("(Map<", "(ROMap<")
.replaceAll(" Array.Array<", " ROArray<") // .replaceAll(/(Array|Set|Map)\</", "ROArray<") //
.replaceAll(" Array.Array<", " ReadonlyArray<") // .replaceAll(/(Array|Set|Map)\</", "ReadonlyArray<") //
.replaceAll(" Set.Set<", " ROSet<")
.replaceAll(" Map.Map<", " ROMap<")
)
Expand Down
Loading