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

chore: format with prettier defaults #33

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
cache: "yarn"
- name: Install
run: yarn install --frozen-lockfile
- name: Auth
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@

node_modules
dist

coverage
14 changes: 12 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,22 @@
"test:file": "yarn --cwd packages/file test",
"test:form-data": "yarn --cwd packages/form-data test",
"test:fetch": "yarn --cwd packages/fetch test",
"test:stream": "yarn --cwd packages/stream test"
"test:stream": "yarn --cwd packages/stream test",
"precommit": "lint-staged",
"format": "prettier --write --ignore-path .gitignore --ignore-unknown ./"
},
"dependencies": {
"@changesets/changelog-github": "0.4.4",
"@changesets/cli": "^2.22.0",
"@manypkg/cli": "0.19.1",
"@manypkg/get-packages": "^1.1.3"
"@manypkg/get-packages": "^1.1.3",
"@types/prettier": "2.7.2",
"prettier": "^2.3.0"
},
"lint-staged": {
"*.js": [
"prettier --write",
"git add"
]
}
}
18 changes: 6 additions & 12 deletions packages/blob/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,34 @@

### [3.0.4](https://www.github.com/web-std/io/compare/blob-v3.0.3...blob-v3.0.4) (2022-02-24)


### Changes

* disable node native blob ([#49](https://www.github.com/web-std/io/issues/49)) ([18e426e](https://www.github.com/web-std/io/commit/18e426e0552eb855275faadceab35c41335582f2))
- disable node native blob ([#49](https://www.github.com/web-std/io/issues/49)) ([18e426e](https://www.github.com/web-std/io/commit/18e426e0552eb855275faadceab35c41335582f2))

### [3.0.3](https://www.github.com/web-std/io/compare/blob-v3.0.2...blob-v3.0.3) (2022-01-21)


### Changes

* bump version ([91420e2](https://www.github.com/web-std/io/commit/91420e294b4188a6da9c961ce4ef4eeac93595a1))
- bump version ([91420e2](https://www.github.com/web-std/io/commit/91420e294b4188a6da9c961ce4ef4eeac93595a1))

### [3.0.2](https://www.github.com/web-std/io/compare/blob-v3.0.1...blob-v3.0.2) (2022-01-19)


### Bug Fixes

* ship less files to address TSC issues ([#35](https://www.github.com/web-std/io/issues/35)) ([0651e62](https://www.github.com/web-std/io/commit/0651e62ae42d17eae2db89858c9e44f3342c304c))
- ship less files to address TSC issues ([#35](https://www.github.com/web-std/io/issues/35)) ([0651e62](https://www.github.com/web-std/io/commit/0651e62ae42d17eae2db89858c9e44f3342c304c))

### [3.0.1](https://www.github.com/web-std/io/compare/blob-v3.0.0...blob-v3.0.1) (2021-11-08)


### Changes

* align package versions ([09c8676](https://www.github.com/web-std/io/commit/09c8676348619313d9df24d9597cea0eb82704d2))
- align package versions ([09c8676](https://www.github.com/web-std/io/commit/09c8676348619313d9df24d9597cea0eb82704d2))

## 3.0.0 (2021-11-05)


### Features

* Refactor streams into own subpackage ([#19](https://www.github.com/web-std/io/issues/19)) ([90624cf](https://www.github.com/web-std/io/commit/90624cfd2d4253c2cbc316d092f26e77b5169f47))

- Refactor streams into own subpackage ([#19](https://www.github.com/web-std/io/issues/19)) ([90624cf](https://www.github.com/web-std/io/commit/90624cfd2d4253c2cbc316d092f26e77b5169f47))

### Changes

* bump versions ([#27](https://www.github.com/web-std/io/issues/27)) ([0fe5224](https://www.github.com/web-std/io/commit/0fe5224124e318f560dcfbd8a234d05367c9fbcb))
- bump versions ([#27](https://www.github.com/web-std/io/issues/27)) ([0fe5224](https://www.github.com/web-std/io/commit/0fe5224124e318f560dcfbd8a234d05367c9fbcb))
6 changes: 3 additions & 3 deletions packages/blob/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ to do with [node-fetch][].
### Usage

```js
import { Blob } from "@remix-run/web-blob"
const blob = new Blob(["hello", new TextEncoder().encode("world")])
import { Blob } from "@remix-run/web-blob";
const blob = new Blob(["hello", new TextEncoder().encode("world")]);
for await (const chunk of blob.stream()) {
console.log(chunk)
console.log(chunk);
}
```

Expand Down
10 changes: 1 addition & 9 deletions packages/blob/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"playwright-test": "^7.2.0",
"prettier": "^2.3.0",
"rimraf": "3.0.2",
"rollup": "2.47.0",
"rollup-plugin-multi-input": "1.2.0",
Expand All @@ -54,13 +53,6 @@
"test:es": "uvu test all.spec.js",
"test:web": "playwright-test -r uvu test/web.spec.js",
"test:cjs": "rimraf dist && npm run build && node dist/test/all.spec.cjs",
"test": "npm run test:es && npm run test:web && npm run test:cjs",
"precommit": "lint-staged"
},
"lint-staged": {
"*.js": [
"prettier --no-semi --write",
"git add"
]
"test": "npm run test:es && npm run test:web && npm run test:cjs"
}
}
6 changes: 3 additions & 3 deletions packages/blob/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import multiInput from "rollup-plugin-multi-input"
import multiInput from "rollup-plugin-multi-input";

const config = [
["test", "dist/test"],
Expand All @@ -13,5 +13,5 @@ const config = [
entryFileNames: "[name].cjs",
},
plugins: [multiInput({ relative: base })],
}))
export default config
}));
export default config;
Loading