Skip to content

Commit 811f8f5

Browse files
committed
chore: Upgrade development environment
* Migrate from npm to pnpm * Migrate from Travis to GitHub Actions
1 parent ab46531 commit 811f8f5

File tree

11 files changed

+1445
-987
lines changed

11 files changed

+1445
-987
lines changed

.editorconfig

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true

.github/workflows/ci.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Test or Release
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
test-or-release:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout Sources
12+
uses: actions/checkout@v2
13+
- name: Install Node
14+
uses: actions/setup-node@v2
15+
with:
16+
node-version: 'lts/*'
17+
registry-url: 'https://registry.npmjs.org'
18+
- name: Install PNPM
19+
uses: pnpm/action-setup@v2
20+
with:
21+
version: '>=6'
22+
run_install: |
23+
- args: [--frozen-lockfile, --no-verify-store-integrity, --no-optional]
24+
- name: Test
25+
run: npm test
26+
- name: Publish
27+
uses: cycjimmy/semantic-release-action@v2
28+
with:
29+
semantic_version: 18
30+
branches: master
31+
env:
32+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
.DS_Store
12
node_modules

.npmignore

-7
This file was deleted.

.travis.yml

-12
This file was deleted.

.vscode/launch.json

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
// Pro informace o možných atributech použijte technologii IntelliSense.
3+
// Umístěním ukazatele myši zobrazíte popisy existujících atributů.
4+
// Další informace najdete tady: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "test/node",
9+
"type": "pwa-node",
10+
"request": "launch",
11+
"program": "${workspaceFolder}/test/node.js",
12+
"skipFiles": [
13+
"<node_internals>/**"
14+
]
15+
},
16+
{
17+
"name": "test/iife",
18+
"type": "pwa-node",
19+
"request": "launch",
20+
"program": "${workspaceFolder}/test/launch.mjs",
21+
"args": ["file://${workspaceFolder}/test/iife.html"],
22+
"skipFiles": [
23+
"<node_internals>/**"
24+
]
25+
},
26+
{
27+
"name": "test/amd",
28+
"type": "pwa-node",
29+
"request": "launch",
30+
"program": "${workspaceFolder}/test/launch.mjs",
31+
"args": ["file://${workspaceFolder}/test/amd.html"],
32+
"skipFiles": [
33+
"<node_internals>/**"
34+
]
35+
}
36+
]
37+
}

CHANGELOG.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
## [2.0.3](https://github.com/prantlf/asynctaskqueue.js/compare/v2.0.2...v2.0.3) (2019-09-22)
2+
3+
### Bug Fixes
4+
5+
* Update output files built using the newest tools ([9c2e8c0](https://github.com/prantlf/asynctaskqueue.js/commit/9c2e8c0))
6+
7+
## [2.0.2](https://github.com/prantlf/asynctaskqueue.js/compare/v2.0.1...v2.0.2) (2019-06-07)
8+
9+
### Bug Fixes
10+
11+
* Upgrade module dependencies ([d67df94](https://github.com/prantlf/asynctaskqueue.js/commit/d67df94))
12+
13+
## [2.0.1](https://github.com/prantlf/asynctaskqueue.js/compare/v2.0.0...v2.0.1) (2019-01-06)
14+
15+
### Bug Fixes
16+
17+
* Correct typo in the dependency on Underscore.js for AMD module loader ([d5b36d8](https://github.com/prantlf/asynctaskqueue.js/commit/d5b36d8))
18+
* Update module dependencies to their current versions ([b45b738](https://github.com/prantlf/asynctaskqueue.js/commit/b45b738))
19+
* Update pre-build scripts and documentation ([a57664c](https://github.com/prantlf/asynctaskqueue.js/commit/a57664c))
20+
21+
# [2.0.0](https://github.com/prantlf/asynctaskqueue.js/compare/v1.0.0...v2.0.0) (2018-04-27)
22+
23+
### chore
24+
25+
* Dropped support of Node.js 4 ([95ab01e](https://github.com/prantlf/asynctaskqueue.js/commit/95ab01e))
26+
27+
### BREAKING CHANGES
28+
29+
* Dropped support of Node.js 4
30+
31+
# 1.0.0 (2017-12-21)
32+
33+
### Bug Fixes
34+
35+
* Upgrade semantic release and other dependencies ([5ee505c](https://github.com/prantlf/asynctaskqueue.js/commit/5ee505c))

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -1 +1,19 @@
1+
# asynctaskqueue.js
2+
3+
[![Latest version](https://img.shields.io/npm/v/asynctaskqueue.js)
4+
![Dependency status](https://img.shields.io/librariesio/release/npm/asynctaskqueue.js)
5+
](https://www.npmjs.com/package/asynctaskqueue.js)
6+
17
AsyncTaskQueue.js is a worker (function) queue executing the tasks asynchronously, which uses (deferred) promises to notify about the execution status.
8+
9+
## Contributing
10+
11+
In lieu of a formal styleguide, take care to maintain the existing coding style. Lint and test your code.
12+
13+
## License
14+
15+
Copyright (C) 2014-2022 Ferdinand Prantl
16+
17+
Licensed under the [MIT License].
18+
19+
[MIT License]: http://en.wikipedia.org/wiki/MIT_License

0 commit comments

Comments
 (0)