Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Added skyux lint command #205

Merged
merged 41 commits into from
Jul 26, 2017
Merged

Added skyux lint command #205

merged 41 commits into from
Jul 26, 2017

Conversation

Blackbaud-SteveBrush
Copy link
Member

@Blackbaud-SteveBrush Blackbaud-SteveBrush commented Jun 29, 2017

Reason for the change:

What this branch accomplishes:

  • I removed our custom TSLint linter from Webpack entirely, and created a separate spawn to run the type checking through the CLI.
  • New command: skyux lint.
  • This command is executed during build, e2e, test, and watch. It is ignored for serve.
  • I had to make a few syntactic changes to some of the builder's source code because of the new linting process.

Addresses: blackbaud/skyux2#887

Blackbaud-PatrickOFriel and others added 14 commits June 16, 2017 21:20
* Updated dependencies

* Updated skyux2 version

* Updated dependencies

* Using template branch for testing

* Reverted protractor config

* Pointing to dev branch for local testing

* Updated package json

* Using explicit types

* Updated version of skyux

* Updated dependencies

* Fixed linting errors

* Added fontfaceobserver to types

* Fixed tslint errors

* Fixed tslint errors

* Ensure that the files are not directories

* Update tests for file processor

* Update plugin-file-processor.js

* Update plugin-file-processor.spec.js

* Updated version of skyux

* Updated config

* Added specific version of firefox

* Updated tsconfig

* Updating travis version

* Updated version of firefox

* Updated directconnect

* Updated protractor

* Added firfox launcher

* Removed directConnect

* Reverting back to directConnect

* Removed firefox

* Re-added firefox

* Accepting insecure certs

* Enabled directconnect

* use chrome with chromOptions in protractor-dev.conf.js

* add sources to travis.yml

* add dist: trusty

* Removed tsconfig paths

* Update typescript-loader

* Simpler method for avoiding directories

* As ts-node option and fix e2e test
* Using omnibarConfigMap for envid/svcid

* Fixing implicit any
* Fixed codelyzer path

* Added node_modules to excludes

* Readded node_modules
* Added ignore pattern to component generator

* Component generator should ignore public folder

* Updated ignore pattern
* Do not check directories

* Added nodir option
* Updated branch to master

* Fixed bug with ignore components pattern

* Updated unit tests
* Update CHANGELOG.md

* Update package.json
* Fixed type error

* Updated skyux

* Updated skyux
* Fixed type error

* Updated skyux

* Updated skyux

* Update package.json

* Update CHANGELOG.md
* Fixed typo in OmnibarConfigMap.  Allowing querystring params to be case insensitive

* Test cleanup

* Removed unnecessary mapping functionality
Blackbaud-SteveBrush and others added 8 commits June 29, 2017 14:16
* Removed tslint-loader
* Created custom sky-tslint loader
* Updated changelog, version

* Update CHANGELOG.md

* Update CHANGELOG.md
* Updated package dependencies

* Update skyux version

* use appropriate template branch
* Updates for rc.5
@Blackbaud-SteveBrush Blackbaud-SteveBrush changed the base branch from rc-ng4-upgrade to master July 20, 2017 14:02
@codecov-io
Copy link

codecov-io commented Jul 21, 2017

Codecov Report

Merging #205 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #205   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          54     53    -1     
  Lines        1223   1238   +15     
  Branches      178    183    +5     
=====================================
+ Hits         1223   1238   +15
Flag Coverage Δ
#builder 100% <100%> (ø) ⬆️
#runtime 100% <ø> (ø) ⬆️
#srcapp 100% <ø> (ø) ⬆️
Impacted Files Coverage Δ
config/webpack/test.webpack.config.js 100% <ø> (ø) ⬆️
runtime/i18n/resources.service.ts 100% <ø> (ø) ⬆️
cli/utils/ts-linter.js 100% <100%> (ø)
cli/build.js 100% <100%> (ø) ⬆️
index.js 100% <100%> (ø) ⬆️
cli/test.js 100% <100%> (ø) ⬆️
cli/lint.js 100% <100%> (ø)
cli/build-public-library.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8a49f46...67e570c. Read the comment docs.

@Blackbaud-SteveBrush Blackbaud-SteveBrush changed the title [HOLD] Added skyux lint command Added skyux lint command Jul 21, 2017
"baseUrl": ".",
"paths": {
"@blackbaud/skyux-builder/*": [
"./node_modules/@blackbaud/skyux-builder/*",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

},
"exclude": [
"node_modules",
"**/*.aot.ts"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ignore TS's Cannot find module './ngfactory/app/app.module.ngfactory'. within the main-internal.aot.ts file.

@Blackbaud-SteveBrush
Copy link
Member Author

@Blackbaud-PaulCrowder This one is ready for another look.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants