Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
38114c5
Created scoped version
Oct 29, 2017
0fa07e9
Updated depencencies
Oct 29, 2017
e18e3d9
Version bump
Dec 22, 2019
8318301
Added npmignore
Dec 22, 2019
0e56d7e
close connections properly in passive mode
LolHens Apr 30, 2020
e61da8b
Merge pull request #1 from LolHens/master
svrooij May 2, 2020
77db42d
chore: ESLint update
May 2, 2020
c48e713
feat: New version
May 2, 2020
6832fd8
Use Buffer.alloc instead of Buffer.from
LolHens May 2, 2020
9941a56
Fix file modes
LolHens May 2, 2020
f000dae
fix: Merge pull request #4 from LolHens/patch-2
svrooij May 3, 2020
2c80008
fix: Merge pull request #3 from LolHens/patch-1
svrooij May 3, 2020
8d52e7c
chore: Version bump
May 3, 2020
06ee75e
chore: First try for build
May 3, 2020
55558be
chore: Fix package.json
May 3, 2020
9251833
chore: Adjust git workflow
May 3, 2020
ec9a2b2
chore: Git workflow
May 3, 2020
0c4b0d9
chore: Converted tests to Jest
May 3, 2020
39eb9bf
chore: Ignore Jest config
May 3, 2020
5a2b82a
chore: Move test suites to end
May 3, 2020
0445e7b
chore: Added dev dep for tests
May 3, 2020
2f41504
chore: Test retry
May 3, 2020
0aa8069
chore: Code coverage
May 3, 2020
9fd44d4
docs: FTPD Documentation
May 3, 2020
eac28c8
fix: Library reboot
May 3, 2020
d15ff54
docs: Links fixed
May 3, 2020
827a487
chore: Changed ports for tests
May 3, 2020
6881578
chore: Tried to fix some tests
May 3, 2020
dee59e9
Update glob.js
LolHens Jun 4, 2020
58e0b45
Update FtpConnection.js
LolHens Jun 4, 2020
231128d
Update list.js
LolHens Jun 4, 2020
c5451c9
Update utf8.js
LolHens Jun 4, 2020
4196e02
Update FtpConnection.js
LolHens Jun 4, 2020
d248b41
fix: Small fixes and more tests
svrooij Jun 13, 2020
ea8f430
chore: Skip failing tests
Jun 27, 2020
cf30b97
chore: Reboot development
Jun 27, 2020
df1b139
chore: CD enabled for specific repo
Jun 28, 2020
cf8d5d9
fix: Auto release namespaced package.
Jun 28, 2020
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: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
_*
node_modules/
fixture/
test/
jest.config.js
178 changes: 0 additions & 178 deletions .eslintrc

This file was deleted.

37 changes: 37 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
module.exports = {
env: {
browser: true,
commonjs: true,
es6: true,
},
extends: [
'airbnb-base',
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parserOptions: {
ecmaVersion: 2018,
},
rules: {
'array-callback-return': 1,
'consistent-return': 1,
'max-len': 1,
'no-bitwise': 1,
'no-empty': 1,
'no-inner-declarations': 1,
'no-lonely-if': 1,
'no-param-reassign': 1,
'no-plusplus': 1,
'no-restricted-globals': 1,
'no-shadow': 1,
'no-undef': 1,
'no-underscore-dangle': 0,
'no-unused-expressions': 1,
'no-use-before-define': 1,
'prefer-destructuring': 1,
'prefer-rest-params': 1,
'prefer-spread': 1,
},
};
1 change: 1 addition & 0 deletions .github/Funding.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: svrooij
66 changes: 66 additions & 0 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Build and test

on:
push:
branches:
- master
pull_request:

jobs:
build-and-test:
runs-on: ubuntu-latest
if: ${{ !startsWith(github.repository, 'svrooij/') }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install depencencies
run: npm ci
- name: Run linting
run: npm run lint
- name: Run test suites
run: npm run test-suites
- name: Send data to Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Create package
run: npm pack
- name: Upload package for testing
uses: actions/upload-artifact@v1
with:
name: dev-package
path: ftpd-0.0.0-dev.tgz

test-and-release:
runs-on: ubuntu-latest
if: startsWith(github.repository, 'svrooij/')
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install depencencies
run: npm ci
- name: Run eslint
run: npm run lint
- name: Run test suites
run: npm run test-suites
- name: Send data to Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: microsoft/variable-substitution@v1
with:
files: 'package.json, package-lock.json'
env:
name: "@svrooij/ftpd"
version: "0.0.0-dev"
description: "Node FTP Server (reboot)"
repository.url: "git@github.com:svrooij/nodeftpd.git"
bugs.url: "https://github.com/svrooij/nodeftpd/issues"
- name: Semantic Release
if: success()
uses: cycjimmy/semantic-release-action@v2
with:
dry_run: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules/*
node_modules/*
coverage
9 changes: 9 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
fixture
test/
testcert
sample/
coverage/
jest.config.js
.github
.eslintignore
.eslintrc.js
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

Loading