-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
1,706 additions
and
3,102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
const babelDefaultEnvOpts = { | ||
corejs: 2, | ||
useBuiltIns: 'entry' | ||
}; | ||
|
||
const presets = [['@babel/env', babelDefaultEnvOpts], '@babel/typescript']; | ||
|
||
const plugins = [['@babel/proposal-class-properties']]; | ||
|
||
const config = { | ||
env: { | ||
test: { | ||
presets: [ | ||
['@babel/env', { ...babelDefaultEnvOpts, modules: 'commonjs' }], | ||
'@babel/typescript' | ||
], | ||
plugins: [...plugins] | ||
}, | ||
development: { | ||
presets: [['@babel/env', { targets: 'last 1 Chrome version' }]], | ||
plugins: [] | ||
} | ||
}, | ||
presets, | ||
plugins | ||
}; | ||
|
||
module.exports = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ logs | |
*.log | ||
npm* | ||
yarn* | ||
tslint.json | ||
tsconfig.json | ||
examples/ | ||
src/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
12.4.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# Changelog | ||
|
||
## 1.3.0 | ||
|
||
- **refactor:** Use `.d.ts` files instead of exporting/importing types/interfaces. | ||
- **fix:** Fixed `toArray()` for commands with arguments and added tests. | ||
- **docs:** Moved changelog from `README.md` to `CHANGELOG.md`. | ||
- **chore:** Added Renovate to manage dependencies. | ||
- **chore:** Pin all dependencies to fixed SemVer. | ||
- **chore:** Node v8 support bumped to v10 (LTS). | ||
- **chore:** Pin Node development to `12.4.0` (`engines:node` restriction + `.nvmrc` file). | ||
- **chore:** Upgrade various dependencies to latest version, e.g. Babel, TypeScript + Jest. | ||
- **chore:** Added `yarn audit` npm script to manage vulnerabilities in package dependencies. | ||
- **chore:** Utilise Jest test coverage feature, to use in CI. | ||
- **chore:** Use [@pika/pack](https://github.com/pikapkg/pack) for bundling and distributing the library. | ||
|
||
## 1.2.2 | ||
|
||
- **fix:** Wrong import for `glob` module. | ||
|
||
## 1.2.1 | ||
|
||
- **feat:** Added the option to convert platform specific variables with the [`convertVariables` option](#convertVariables). | ||
- **feat:** Added the option to ignore lines based on a RegExp pattern with the [`lineIgnorePattern` option](#lineIgnorePattern), e.g. comment lines starting with `#` or `//` | ||
- **feat:** Dynamic Variables can now be [primitive values instead of only functions](#dynamicVariables). | ||
- **feat:** Now possible to chain `prependArgument()` and `appendArgument()` functions on `ICommand`. | ||
- **feat:** New option `throwUnresolvedVariables` that throws an exception and stops the process when handling variables that cannot be resolved. | ||
- **fix:** Empty arguments resulted in the string `undefined`. | ||
- **chore:** Unit tests for all core functionality. | ||
- **chore:** Moved examples to CodeSandbox. | ||
- **chore:** Use Ramda. | ||
- **chore:** Use microbundle for bundling and distribution. | ||
- **chore:** Migrate from TSLint to ESLint | ||
|
||
## 1.1.4 | ||
|
||
- Added possibility to specify stdout/stderr callbacks when executing a command (in `exec()` function). | ||
- Added stdout/stderr output when promise for process is resolved. | ||
- Only use `close` event (instead of both `close` and `exit`) in ChildProcess to determine status of process. | ||
|
||
## 1.1.3 | ||
|
||
- Upgraded to Babel 7 stable release. | ||
- Updated dependencies. | ||
- Added reference to git repo in package.json. | ||
|
||
## 1.1.2 | ||
|
||
- Added option for specifying which shell to use for executing commands. Default is `/bin/bash` | ||
|
||
## 1.1.1 | ||
|
||
- Added support for class properties (Babel plugin). | ||
|
||
## 1.1.0 | ||
|
||
- Babel 7. | ||
- Possibility to specify root dir for glob search patterns. | ||
- Bunch of refactoring. | ||
|
||
## 1.0.0 | ||
|
||
First release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.