Skip to content

Commit

Permalink
updated code to typescript, using tsc to build package (#758)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshfinnie authored May 11, 2021
1 parent 4ab0be6 commit 4da6bc5
Show file tree
Hide file tree
Showing 15 changed files with 5,190 additions and 5,023 deletions.
5 changes: 0 additions & 5 deletions .babelrc

This file was deleted.

29 changes: 27 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
{
"root": true,
"extends": ["airbnb-base", "plugin:prettier/recommended"],
"extends": [
"airbnb-base",
"prettier",
"prettier/prettier",
"plugin:prettier/recommended",
"plugin:@typescript-eslint/recommended"
],
"parser":"@typescript-eslint/parser",
"env": {
"es6": true
},
"globals": {
"describe": true,
"it": true
Expand All @@ -9,6 +19,21 @@
"arrow-parens": ["error", "always"],
"max-len": ["error", 120],
"no-console": 0,
"object-curly-spacing": ["error", "never"]
"object-curly-spacing": ["error", "never"],
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
]
},
"settings": {
"import/resolver": {
"typescript": {}
}
}
}
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
node-version: [12.x, 14.x, 16.x]

steps:
- uses: actions/checkout@v2
Expand Down
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ results
npm-debug.log
node_modules

lib/helpers.js
lib/pushfile.js
.DS_Store

dist/
.node_repl_history
config.json
cat.jpg
26 changes: 24 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,28 @@
# Changelog

3.0.0
---

* Dropped support for Node Dubnium (v10)
* Updated src code to typescript
* Removed unneccessary support packages with upgrade
* Removed Rollup
* Removed ESLint
* Package update:
* Bump aws-sdk to 2.902.0
* Bump chalk to 4.1.1
* Bump commander to 7.2.0
* Bump hashid to 2.2.8
* Bump inquirer to 8.0.0
* Bump mime-type to 2.1.30
* Bump chai to 4.3.4
* Bump eslint to 7.25.0
* Bump eslint-config-airbnb-base to 14.2.1
* Bump eslint-config-prettier to 8.3.0

2.0.2
---

* Package update:
* Bump @babel/cli to 7.11.6
* Bump @babel/core to 7.11.6
Expand All @@ -14,9 +35,9 @@
* Bump rollup-plugin-terser to 7.0.2
* Bump uglify-js to 3.11.2


2.0.1
---

* Package update:
* Bump @babel/cli to 7.11.5
* Bump @babel/core to 7.11.5
Expand All @@ -31,13 +52,14 @@
* Bump rollup-plugin-terser to 7.0.1
* Bump uglify-js to 3.10.3


2.0.0
---

* Dropping support for Node Carbon (v8)

1.2.0
---

* Package update:
* Bump @babel/cli to 7.10.5
* Bump @babel/core to 7.10.5
Expand Down
2 changes: 1 addition & 1 deletion bin/pushfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env node

require('../lib/pushfile.min.js');
require('../dist/pushfile.js');
1 change: 0 additions & 1 deletion lib/pushfile.min.js

This file was deleted.

Loading

0 comments on commit 4da6bc5

Please sign in to comment.