Skip to content

Commit

Permalink
v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aMarCruz committed Nov 22, 2018
1 parent c97878d commit 11fa7e3
Show file tree
Hide file tree
Showing 48 changed files with 768 additions and 716 deletions.
7 changes: 0 additions & 7 deletions .eslintignore

This file was deleted.

159 changes: 0 additions & 159 deletions .eslintrc.js

This file was deleted.

4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ pids
*.pid
*.seed
*.tgz
*.nyc_output
**/*.bak
**/*.lcov
**/*.log

.nyc_output
.rpt2_cache
12 changes: 5 additions & 7 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
# Exclude source and tests files from the package
src
# Exclude test files from the package, leave src
test

# Include the ready to run code w/o sourcemaps
# Include the ready to run code
!dist
**/*.map

# Exclude VSCode, CI, and Dev related stuff
.vscode
.eslint*
*.yml
tsconfig*
Makefile

# Common git and npm ignored folders and files
Expand All @@ -27,7 +23,9 @@ pids
*.pid
*.seed
*.tgz
*.nyc_output
**/*.bak
**/*.lcov
**/*.log

.nyc_output
.rpt2_cache
Empty file modified .travis.yml
100755 → 100644
Empty file.
Empty file modified .vscode/launch.json
100755 → 100644
Empty file.
2 changes: 0 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"eslint.workingDirectories": [
"./src",
Expand Down
39 changes: 32 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,34 @@

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## \[1.1.0] - 2018-11-21

### Added

- Option `escapeQuotes` to escape quotes in the output of strings (not wrapped by JSON output).
- TSLint instead of ESLint, for compatibility with CI services.
- Codacy quality and coverage services.

### Changed

- Convert `export.default` to `module.exports` in internal modules. Since it is a node.js library, it looks right and produces a cleaner code.
- The output of chained properties stops with a primitive value, to avoid some compile-time errors.

### Removed

- ESLint configuration.
- Coverity badge, get the right results with this service is a nightmare.

### Fixed

- Minor issues with linters.

## \[1.0.0] - 2018-10-23

Major refactorization after two years, using TypeScript v3.

### Added

- Support for BOM mark in the source (it is preserved and does not affects the parsing).
- Badges of the different services used to take care of the quality of the code.
- Buy me a Coffee link.
Expand All @@ -19,6 +42,7 @@ Major refactorization after two years, using TypeScript v3.
- Support for replacement with more than one object property.

### Changed

- Revised Readme (WIP)
- Make readonly the predefined variables `_FILE` and `_VERSION`.
- Integrate Coverity (static analysis), CodeClimate (quality), Codebeat (quiality/analysis) and Codecov (coverage).
Expand All @@ -39,37 +63,38 @@ Major refactorization after two years, using TypeScript v3.
- Update devDependencies and minimum node.js version to 6.

### Removed

- The undocumented option `errorHandler` was removed, which makes the logic more simpler and secure.
- The "dist" folder holding the transpilled code is excluded from CVS (slim PRs, simpler CI config)
- (Internal) Remove babel, as the plugin now runs on node.js v6 or later.

## [0.3.5] - 2016-10-23
## \[0.3.5] - 2016-10-23

- Add link to gulp plugin for jscc. Thanks to [@gucong3000](https://github.com/gucong3000).
- Add test witj workaround to #3: "not work with eslint rule: comma-spacing" using the `prefixes` option.
- Updated devDependencies.

## [0.3.4] - 2016-10-23
## \[0.3.4] - 2016-10-23

- Added support for nested object and micro-like abilities (thanks to [@bergi9](https://github.com/bergi9)).
- Updated devDependencies.

## [0.3.3] - 2016-10-23
## \[0.3.3] - 2016-10-23

- Fixes issue with sourceMap generating incorrect output.

## [0.3.2] - 2016-10-22
## \[0.3.2] - 2016-10-22

- Fixes an issue with losing location in sourceMap after replacing memvars.
- Now JSCC always returns an object, even if there were no changes.
- Updated `devDependencies`.

## [0.3.1] - 2016-10-14
## \[0.3.1] - 2016-10-14

- Source map includes the source filename (needed by [jscc-brunch](https://www.npmjs.com/package/jscc-brunch)).
- Removed jscc own source maps from the distribution.
- The CommonJS version is validated by [Coverty Scan](https://scan.coverity.com/projects/amarcruz-jscc).

## [0.3.0] - 2016-10-06
## \[0.3.0] - 2016-10-06

- Initial Release published as v0.3.0 in npm over an old `jscc` tool from Taketoshi Aono.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ REQBUILD = "6.0.0"

setup_cover:
ifeq ($(CURBUILD),$(REQBUILD))
@ npm i -g codecov
@ npm i -g codecov codacy-coverage
@ curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
@ chmod +x ./cc-test-reporter
@ ./cc-test-reporter before-build
Expand All @@ -15,8 +15,9 @@ send_cover:
ifeq ($(CURBUILD),$(REQBUILD))
@ echo Sending coverage report...
@ nyc report -r=lcov
@ codecov -f coverage/lcov.info
@ codecov -f ./coverage/lcov.info
@ ./cc-test-reporter after-build --exit-code $(TRAVIS_TEST_RESULT)
@ cat ./coverage/lcov.info | codacy-coverage -p . --language typescript
@ echo The report was sent.
else
@ echo The coverage report will be sent in $(REQBUILD)
Expand Down
Loading

0 comments on commit 11fa7e3

Please sign in to comment.