Skip to content

Commit

Permalink
refactor(core): build up a new library in typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMason committed Jan 25, 2018
1 parent 8fde710 commit d8ca000
Show file tree
Hide file tree
Showing 31 changed files with 2,948 additions and 2,991 deletions.
7 changes: 0 additions & 7 deletions .babelrc

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.log
*.log.*
coverage
dist
node_modules
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"arrowParens": "always",
"printWidth": 120,
"singleQuote": true
}
21 changes: 5 additions & 16 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,50 +1,39 @@
<a name="0.3.1"></a>
## [0.3.1](https://github.com/JamieMason/syncpack/compare/0.3.0...0.3.1) (2017-08-23)

## [0.3.1](https://github.com/JamieMason/syncpack/compare/0.3.0...0.3.1) (2017-08-23)

### Bug Fixes

* **copy-values:** write results to disk ([a641de4](https://github.com/JamieMason/syncpack/commit/a641de4))



<a name="0.3.0"></a>
# [0.3.0](https://github.com/JamieMason/syncpack/compare/0.2.1...0.3.0) (2017-08-22)

# [0.3.0](https://github.com/JamieMason/syncpack/compare/0.2.1...0.3.0) (2017-08-22)

### Features

* **cli:** add copy-values command ([b51a2c9](https://github.com/JamieMason/syncpack/commit/b51a2c9))



<a name="0.2.1"></a>
## [0.2.1](https://github.com/JamieMason/syncpack/compare/0.2.0...0.2.1) (2017-08-20)

## [0.2.1](https://github.com/JamieMason/syncpack/compare/0.2.0...0.2.1) (2017-08-20)

### Bug Fixes

* **core:** update dependencies, fix lint warnings ([a65eef7](https://github.com/JamieMason/syncpack/commit/a65eef7))



<a name="0.2.0"></a>
# [0.2.0](https://github.com/JamieMason/syncpack/compare/0.1.0...0.2.0) (2017-08-20)

# [0.2.0](https://github.com/JamieMason/syncpack/compare/0.1.0...0.2.0) (2017-08-20)

### Features

* **sync:** synchronise versions across multiple package.json ([7d5848a](https://github.com/JamieMason/syncpack/commit/7d5848a))



<a name="0.1.0"></a>
# [0.1.0](https://github.com/JamieMason/syncpack/compare/f6dada7...0.1.0) (2017-08-18)

# [0.1.0](https://github.com/JamieMason/syncpack/compare/f6dada7...0.1.0) (2017-08-18)

### Features

* **cli:** create scaffold cli ([f6dada7](https://github.com/JamieMason/syncpack/commit/f6dada7))



41 changes: 19 additions & 22 deletions DEPENDENCIES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syncpack
# syncpack

Normalise differences in packages/*/package.json files in Lerna Monorepos
Normalise differences in packages/\*/package.json files in Lerna Monorepos

## Installation

Expand All @@ -10,7 +10,6 @@ Download node at [nodejs.org](http://nodejs.org) and install it, if you haven't
npm install syncpack --save
```


## Tests

```sh
Expand All @@ -20,29 +19,27 @@ npm test

## Dependencies

- [bluebird](https://github.com/petkaantonov/bluebird): Full featured Promises/A+ implementation with exceptionally good performance
- [chalk](https://github.com/chalk/chalk): Terminal string styling done right
- [commander](https://github.com/tj/commander.js): the complete solution for node.js command-line programs
- [glob](https://github.com/isaacs/node-glob): a little globber
- [lodash](https://github.com/lodash/lodash): Lodash modular utilities.
- [nodent-runtime](https://github.com/MatAtBread/nodent-runtime): Runtime component of nodent
- [semver](https://github.com/npm/node-semver): The semantic version parser used by npm.
* [bluebird](https://github.com/petkaantonov/bluebird): Full featured Promises/A+ implementation with exceptionally good performance
* [chalk](https://github.com/chalk/chalk): Terminal string styling done right
* [commander](https://github.com/tj/commander.js): the complete solution for node.js command-line programs
* [glob](https://github.com/isaacs/node-glob): a little globber
* [lodash](https://github.com/lodash/lodash): Lodash modular utilities.
* [nodent-runtime](https://github.com/MatAtBread/nodent-runtime): Runtime component of nodent
* [semver](https://github.com/npm/node-semver): The semantic version parser used by npm.

## Dev Dependencies

- [babel-cli](https://github.com/babel/babel/tree/master/packages): Babel command line.
- [babel-plugin-transform-object-rest-spread](https://github.com/babel/babel/tree/master/packages): Compile object rest and spread to ES5
- [babel-preset-es2015](https://github.com/babel/babel/tree/master/packages): Babel preset for all es2015 plugins.
- [cz-conventional-changelog](https://github.com/commitizen/cz-conventional-changelog): Commitizen adapter following the conventional-changelog format.
- [eslint-config-xo](https://github.com/sindresorhus/eslint-config-xo): ESLint shareable config for XO
- [eslint-plugin-ava](https://github.com/avajs/eslint-plugin-ava): ESLint rules for AVA
- [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn): Various awesome ESLint rules
- [fast-async](https://github.com/MatAtBread/fast-async): fast-async/await transformer Babel plugin
- [rimraf](https://github.com/isaacs/rimraf): A deep deletion module for node (like `rm -rf`)
- [xo](https://github.com/sindresorhus/xo): JavaScript happiness style linter ❤️

* [babel-cli](https://github.com/babel/babel/tree/master/packages): Babel command line.
* [babel-plugin-transform-object-rest-spread](https://github.com/babel/babel/tree/master/packages): Compile object rest and spread to ES5
* [babel-preset-es2015](https://github.com/babel/babel/tree/master/packages): Babel preset for all es2015 plugins.
* [cz-conventional-changelog](https://github.com/commitizen/cz-conventional-changelog): Commitizen adapter following the conventional-changelog format.
* [eslint-config-xo](https://github.com/sindresorhus/eslint-config-xo): ESLint shareable config for XO
* [eslint-plugin-ava](https://github.com/avajs/eslint-plugin-ava): ESLint rules for AVA
* [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn): Various awesome ESLint rules
* [fast-async](https://github.com/MatAtBread/fast-async): fast-async/await transformer Babel plugin
* [rimraf](https://github.com/isaacs/rimraf): A deep deletion module for node (like `rm -rf`)
* [xo](https://github.com/sindresorhus/xo): JavaScript happiness style linter ❤️

## License

MIT

20 changes: 20 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
collectCoverage: true,
collectCoverageFrom: ['src/**/*.ts', '!src/**/typings.ts', '!src/**/bin*.ts'],
coverageReporters: ['html', 'lcov'],
coverageThreshold: {
global: {
branches: 95,
functions: 95,
lines: 95,
statements: 95
}
},
mapCoverage: true,
moduleFileExtensions: ['ts', 'tsx', 'js'],
setupTestFrameworkScriptFile: '<rootDir>/test/setup.ts',
testMatch: ['<rootDir>/src/**/*.spec.(ts|tsx|js)'],
transform: {
'^.+\\.tsx?$': 'ts-jest'
}
};

0 comments on commit d8ca000

Please sign in to comment.