Skip to content

Commit 984c0f8

Browse files
committed
wip
1 parent 48f22d1 commit 984c0f8

File tree

5 files changed

+33
-31
lines changed

5 files changed

+33
-31
lines changed

.vscode/settings.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2-
"editor.defaultFormatter": "esbenp.prettier-vscode",
3-
"editor.formatOnSave": true
2+
"editor.codeActionsOnSave": {
3+
"source.fixAll.eslint": true
4+
},
5+
"editor.defaultFormatter": "esbenp.prettier-vscode",
6+
"editor.formatOnSave": true
47
}

.vscode/tasks.json

+4-12
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,14 @@
1414
},
1515
{
1616
"type": "npm",
17-
"script": "watch",
18-
"group": "build",
17+
"script": "test:mocha",
1918
"problemMatcher": [],
20-
"label": "npm: watch",
21-
"detail": "run-p 'watch:*'"
22-
},
23-
{
24-
"type": "npm",
25-
"script": "test",
19+
"label": "npm: test:mocha",
20+
"detail": "mocha",
2621
"group": {
2722
"kind": "test",
2823
"isDefault": true
29-
},
30-
"problemMatcher": [],
31-
"label": "npm: test",
32-
"detail": "mocha"
24+
}
3325
}
3426
]
3527
}

History.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@
22

33
## v1.0.0
44

5-
- Breaking Change: Dropping support for Node 10 and below
6-
- Breaking Change: Dropping support for Flow
7-
- Bug: Resolves #5. Event handlers are cleaned up after each iteration, fixing some memory leak issues.
8-
- Feature: Added support for TypeScript
9-
- Feature: Support for Node.js versions 12, 14, and 16
10-
- Info: Resolves #7. Code now internally depends on `@babel/runtime`. This fixes issue where a global
11-
`regeneratorRuntime` was required.
12-
- Info: General overhaul of project setup (should not impact what is published)
5+
- Breaking Change: Dropping support for Node 10 and below
6+
- Breaking Change: Dropping support for Flow
7+
- Bug: Resolves #5. Event handlers are cleaned up after each iteration, fixing some memory leak issues.
8+
- Feature: Added support for TypeScript
9+
- Feature: Support for Node.js versions 12, 14, and 16
10+
- Info: Resolves #7. Code now internally depends on `@babel/runtime`. This fixes issue where a global
11+
`regeneratorRuntime` was required.
12+
- Info: General overhaul of project setup (should not impact what is published)
1313

1414
## v0.2.1
1515

16-
- Info: Added npm/travis badges to README.md
16+
- Info: Added npm/travis badges to README.md
1717

1818
## v0.2.0
1919

20-
- Breaking Change: Renamed package from `stream-async-to-iterator` to `stream-to-async-iterator`
21-
- Info: deprecated incorrectly named `stream-async-to-iterator` npm package, message indicates to install new package
22-
name
20+
- Breaking Change: Renamed package from `stream-async-to-iterator` to `stream-to-async-iterator`
21+
- Info: deprecated incorrectly named `stream-async-to-iterator` npm package, message indicates to install new package
22+
name
2323

2424
## v0.1.0 (Deprecated)
2525

26-
- Info: Initial Release
26+
- Info: Initial Release

package-lock.json

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+10-4
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,16 @@
2424
"build": "run-p 'build:*'",
2525
"build:babel": "babel src --out-dir lib --source-maps --copy-files --extensions '.ts,.tsx,.js,.mjs'",
2626
"build:tsc": "tsc --emitDeclarationOnly",
27-
"clean": "rm -rf coverage lib .nyc_output *.tsbuildinfo",
27+
"clean": "rimraf coverage lib .nyc_output *.tsbuildinfo",
2828
"cover": "BABEL_ENV=cover nyc mocha --config ./.mocharc.cover.json",
29-
"lint": "eslint . --ext .ts,.tsx,.js,.mjs",
30-
"test": "mocha",
31-
"typecheck": "tsc --noEmit",
29+
"format": "run-s format:eslint format:prettier",
30+
"format:eslint": "npm run test:eslint -- --fix",
31+
"format:prettier": "prettier --write .",
32+
"test": "run-p 'test:*'",
33+
"test:eslint": "eslint . --ext '.ts,.tsx,.js,.mjs'",
34+
"test:mocha": "mocha",
35+
"test:prettier": "prettier --check .",
36+
"test:tsc": "tsc --noEmit",
3237
"watch": "run-p 'watch:*'",
3338
"watch:babel": "npm run build:babel -- --watch",
3439
"watch:tsc": "npm run build:tsc -- --watch --preserveWatchOutput"
@@ -59,6 +64,7 @@
5964
"npm-run-all": "^4.1.5",
6065
"nyc": "^15.1.0",
6166
"prettier": "^2.5.1",
67+
"rimraf": "^3.0.2",
6268
"source-map-support": "^0.5.21",
6369
"typescript": "^4.6.2"
6470
},

0 commit comments

Comments
 (0)