Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Commit

Permalink
feat(typescript): migrated project to typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
Can Kattw committed May 18, 2017
1 parent eb71d3c commit e164fc3
Show file tree
Hide file tree
Showing 47 changed files with 6,215 additions and 1,468 deletions.
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
* **I'm submitting a ...**
[ ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

* **Summary**



* **Other information** (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
13 changes: 13 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
* **What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...)



* **What is the current behavior?** (You can also link to an open issue here)



* **What is the new behavior (if this is a feature change)?**



* **Other information**:
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea
build
dist
w11k-select.iml
node_modules
Expand All @@ -7,3 +8,11 @@ node_modules
.sass-cache
bower_components
temp
coverage
.nyc_output
*.log

/lib/
/lib-esm/
/src/w11k-select.css
stats.html
84 changes: 0 additions & 84 deletions .jshintrc

This file was deleted.

11 changes: 11 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
src
config
examples
tsconfig.json
tslint.json
.travis.yml
.github

coverage
.nyc_output
*.log
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
sudo: false
language: node_js
node_js:
- 6
- 4
after_success:
- yarn send-coverage
153 changes: 0 additions & 153 deletions Gruntfile.js

This file was deleted.

18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,24 @@ This is a sass example to reproduce the default icons. Notice: You don't need th
}


## Release
1. project
1. create release branch
1. `npm run package`
1. bump bower version
1. bump npm version
1. update changelog
1. merge release into develop and master branch
1. `git push --tags`
1. update [demo page](http://w11k.github.io/w11k-select/)
1. npm package
1. npm publish
1. bower package
1. copy release to [bower repo](https://github.com/w11k/w11k-select-bower)
1. bump version in bower repo
1. create tag in bower repo
1. `git push --tags`

## Roadmap

see milestones and issues at https://github.com/w11k/w11k-select/issues
Expand Down
15 changes: 3 additions & 12 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,11 @@
"name": "w11k-select",
"version": "0.9.0",
"main": [
"dist/w11k-select.js",
"dist/w11k-select.tpl.js",
"dist/w11k-select.css"
"build/index.js"
],
"ignore": [],
"dependencies": {
"angular": ">= 1.2.0 < 1.7.0",
"w11k-dropdownToggle": "1.0.x",
"angular-bindonce": "0.3.x"
},
"devDependencies": {
"font-awesome": "4.0.x",
"bootstrap": "3.1.0",
"es5-shim": "2.3.0",
"jquery": "1.11.0"
"angular": ">= 1.3.0 < 1.7.0",
"w11k-dropdownToggle": "1.0.x"
}
}
5 changes: 5 additions & 0 deletions config/tsconfig.flexible.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"compilerOptions": {
"strictNullChecks": true
}
}
12 changes: 12 additions & 0 deletions config/tsconfig.module.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "../tsconfig",
"compilerOptions": {
"outDir": "../build/module",
"module": "es6",
"declaration": false
},
"exclude": [
"../node_modules/**",
"../src/**/*.spec.ts"
]
}
12 changes: 12 additions & 0 deletions config/tsconfig.strict.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"noImplicitAny": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noUnusedLocals": true,
"noUnusedParameters": true
}
}
Loading

0 comments on commit e164fc3

Please sign in to comment.