Skip to content

Commit

Permalink
Sync with latest effect (#9)
Browse files Browse the repository at this point in the history
* WIP

* Updated to latest effect impl

* Fixed all tests

* Fixed issue, forgot to invert Either generic params

* Fixed circular build step using effect-ts as example

* Removed unused scripts, fixed docgen, remove generated docs

* Updated effect, changed imports for better tree shaking

* Fixed lint issue

* Updated effect peer dependency

* Fixed build (looked at effect-ts repo packages

* Fix issue with incorrect internal reference

* Forgot .js in local import statement

* Fixed doc generation in github workflow

---------

Co-authored-by: Joep Joosten <[email protected]>
  • Loading branch information
joepjoosten and Joep Joosten authored Dec 4, 2024
1 parent c980719 commit 72ae8a1
Show file tree
Hide file tree
Showing 47 changed files with 7,002 additions and 10,247 deletions.
5 changes: 2 additions & 3 deletions .devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"image": "mcr.microsoft.com/vscode/devcontainers/typescript-node:16",
"image": "mcr.microsoft.com/vscode/devcontainers/typescript-node:22",
"customizations": {
"vscode": {
"extensions": [
"dbaeumer.vscode-eslint"
]
}
},
"initializeCommand": "npm install -g pnpm && pnpm install && pnpm run build"
}
}
92 changes: 0 additions & 92 deletions .eslintrc.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- run: pnpm run circular
- run: pnpm run test --coverage
- run: pnpm run lint
- run: pnpm run docs
- run: pnpm run docgen
# Disabling until out of active development
# - name: Create Release Pull Request or Publish
# id: changesets
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ jobs:
- run: pnpm run circular
- run: pnpm run test --coverage
- run: pnpm run lint
- run: pnpm run docs
- run: pnpm run docgen
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ yarn-error.log
tmp/
build/
dist/
docs/
.cache/
.direnv/
.idea/
.pnpm-store/
15 changes: 0 additions & 15 deletions .vscode/launch.json

This file was deleted.

10 changes: 7 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,13 @@
"[typescriptreact]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"eslint.validate": ["markdown", "javascript", "typescript"],
"eslint.validate": [
"markdown",
"javascript",
"typescript"
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"editor.quickSuggestions": {
"other": true,
Expand All @@ -38,7 +42,7 @@
"editor.tabCompletion": "off",
"editor.suggest.localityBonus": true,
"editor.suggestSelection": "recentlyUsed",
"editor.wordBasedSuggestions": true,
"editor.wordBasedSuggestions": "matchingDocuments",
"editor.parameterHints.enabled": true,
"files.watcherExclude": {
"**/target": true
Expand Down
31 changes: 11 additions & 20 deletions docgen.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,19 @@
{
"$schema": "node_modules/@effect/docgen/schema.json",
"exclude": ["src/internal_effect_untraced/**/*.ts"],
"theme": "mikearnaldi/just-the-docs",
"parseCompilerOptions": {
"strict": true,
"noEmit": true,
"target": "ES2021",
"lib": ["ES2021"],
"paths": {
"@effect/parser": ["./src/index.ts"],
"@effect/parser/test/*": ["./test/*"],
"@effect/parser/examples/*": ["./examples/*"],
"@effect/parser/*": ["./src/*"]
}
},
"examplesCompilerOptions": {
"strict": true,
"noEmit": true,
"target": "ES2021",
"lib": ["ES2021"],
"strict": true,
"skipLibCheck": true,
"moduleResolution": "Bundler",
"module": "ES2022",
"target": "ES2022",
"lib": ["ES2022", "DOM"],
"paths": {
"@effect/parser": ["../../src/index.ts"],
"@effect/parser/test/*": ["../../test/*"],
"@effect/parser/examples/*": ["../../examples/*"],
"@effect/parser/*": ["../../src/*"]
"@effect/parser": ["../../src/index.js"],
"@effect/parser/test/*": ["../../test/*.js"],
"@effect/parser/examples/*": ["../../examples/*.js"],
"@effect/parser/*": ["../../src/*.js"]
}
}
}
66 changes: 0 additions & 66 deletions docs/modules/BitSet.ts.md

This file was deleted.

Loading

0 comments on commit 72ae8a1

Please sign in to comment.