Skip to content

Commit

Permalink
migrate @fp-ts/data to @effect/data
Browse files Browse the repository at this point in the history
  • Loading branch information
IMax153 committed Feb 6, 2023
1 parent ea70c80 commit e013658
Show file tree
Hide file tree
Showing 104 changed files with 937 additions and 2,557 deletions.
6 changes: 5 additions & 1 deletion .babel.cjs.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{
"plugins": [["@babel/transform-modules-commonjs"], ["annotate-pure-calls"]]
"plugins": [
["@effect/babel-plugin"],
["@babel/transform-modules-commonjs"],
["annotate-pure-calls"]
]
}
2 changes: 1 addition & 1 deletion .babel.mjs.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"plugins": [["annotate-pure-calls"]]
"plugins": [["@effect/babel-plugin"], ["annotate-pure-calls"]]
}
4 changes: 2 additions & 2 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://unpkg.com/@changesets/config@1.6.4/schema.json",
"changelog": ["@changesets/changelog-github", { "repo": "fp-ts/data" }],
"$schema": "https://unpkg.com/@changesets/config@2.3.0/schema.json",
"changelog": ["@changesets/changelog-github", { "repo": "Effect-TS/data" }],
"commit": false,
"linked": [],
"access": "restricted",
Expand Down
5 changes: 5 additions & 0 deletions .changeset/great-windows-sing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@effect/io": patch
---

migrate @fp-ts/data to @effect/data
5 changes: 0 additions & 5 deletions .changeset/purple-kiwis-own.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/spicy-kiwis-do.md

This file was deleted.

11 changes: 11 additions & 0 deletions .devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"image": "mcr.microsoft.com/vscode/devcontainers/typescript-node:16",
"customizations": {
"vscode": {
"extensions": [
"dbaeumer.vscode-eslint"
]
}
},
"initializeCommand": "npm install -g pnpm && pnpm install && pnpm run build"
}
6 changes: 2 additions & 4 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ module.exports = {
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 2018,
sourceType: "module",
project: "./tsconfig.eslint.json"
sourceType: "module"
},
settings: {
"import/parsers": {
Expand Down Expand Up @@ -44,7 +43,6 @@ module.exports = {
"sort-destructure-keys/sort-destructure-keys": "error",
"deprecation/deprecation": "off",
"@typescript-eslint/array-type": ["warn", { "default": "generic", "readonly": "generic" }],
"@typescript-eslint/prefer-readonly": "warn",
"@typescript-eslint/member-delimiter-style": 0,
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/ban-types": "off",
Expand All @@ -68,7 +66,7 @@ module.exports = {
{
config: {
"indentWidth": 2,
"lineWidth": 100,
"lineWidth": 120,
"semiColons": "asi",
"quoteStyle": "alwaysDouble",
"trailingCommas": "never",
Expand Down
4 changes: 3 additions & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
github: [gcanti]
# These are supported funding model platforms

github: [mikearnaldi]
35 changes: 0 additions & 35 deletions .github/ISSUE_TEMPLATE/Bug_report.md

This file was deleted.

6 changes: 0 additions & 6 deletions .github/ISSUE_TEMPLATE/Documentation.md

This file was deleted.

41 changes: 0 additions & 41 deletions .github/ISSUE_TEMPLATE/Feature_request.md

This file was deleted.

15 changes: 0 additions & 15 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- run: pnpm install
- run: pnpm build
- run: pnpm test
- run: pnpm lint
- run: pnpm run build
- run: pnpm run circular
- run: pnpm run test
- run: pnpm run lint
- run: pnpm run docs
- name: Create Release Pull Request or Publish
id: changesets
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: self-hosted

strategy:
matrix:
Expand Down Expand Up @@ -42,7 +42,8 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- run: pnpm install
- run: pnpm build
- run: pnpm test
- run: pnpm lint
- run: pnpm run build
- run: pnpm run circular
- run: pnpm run test --coverage
- run: pnpm run lint
- run: pnpm run docs
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ yarn-error.log
tmp/
build/
dist/
.cache/
1 change: 1 addition & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ github:
vscode:
extensions:
- dbaeumer.vscode-eslint
- effect.effect-debugger
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
Expand Down
8 changes: 4 additions & 4 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
{
"label": "clean",
"type": "shell",
"command": "yarn clean",
"command": "pnpm run clean",
"isBackground": false,
"problemMatcher": []
},
{
"label": "build-watch",
"type": "shell",
"command": "yarn build-watch",
"command": "pnpm run build-watch",
"problemMatcher": ["$tsc-watch"],
"isBackground": true,
"presentation": {
Expand All @@ -25,15 +25,15 @@
{
"label": "build",
"type": "shell",
"command": "yarn build",
"command": "pnpm run build",
"problemMatcher": [],
"isBackground": false
},
{
"label": "test-watch",
"dependsOn": ["build-watch"],
"type": "shell",
"command": "yarn test",
"command": "pnpm run test",
"problemMatcher": []
}
]
Expand Down
Loading

0 comments on commit e013658

Please sign in to comment.