Skip to content

Commit 2261b0d

Browse files
Merge pull request #1 from RobotlegsJS/createjs
Implement integration with CreateJS
2 parents 02678a4 + 2c03bb6 commit 2261b0d

File tree

136 files changed

+16192
-61
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+16192
-61
lines changed

.editorconfig

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
charset = utf-8
6+
trim_trailing_whitespace = true
7+
indent_style = space
8+
indent_size = 4
9+
10+
[*.{ts}]
11+
indent_style = space
12+
indent_size = 4
13+
14+
[*.{js,json}]
15+
indent_style = space
16+
indent_size = 2
17+
18+
[{.codeclimate.yml,.eslintignore,.eslintrc,.istanbul.yml,.publishrc,.travis.yml}]
19+
indent_style = space
20+
indent_size = 2

.gitignore

Lines changed: 15 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,16 @@
1-
# Logs
2-
logs
3-
*.log
4-
npm-debug.log*
5-
yarn-debug.log*
6-
yarn-error.log*
7-
8-
# Runtime data
9-
pids
10-
*.pid
11-
*.seed
12-
*.pid.lock
13-
14-
# Directory for instrumented libs generated by jscoverage/JSCover
15-
lib-cov
16-
17-
# Coverage directory used by tools like istanbul
18-
coverage
19-
20-
# nyc test coverage
1+
.idea
212
.nyc_output
22-
23-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
24-
.grunt
25-
26-
# Bower dependency directory (https://bower.io/)
27-
bower_components
28-
29-
# node-waf configuration
30-
.lock-wscript
31-
32-
# Compiled binary addons (http://nodejs.org/api/addons.html)
33-
build/Release
34-
35-
# Dependency directories
36-
node_modules/
37-
jspm_packages/
38-
39-
# Typescript v1 declaration files
40-
typings/
41-
42-
# Optional npm cache directory
43-
.npm
44-
45-
# Optional eslint cache
46-
.eslintcache
47-
48-
# Optional REPL history
49-
.node_repl_history
50-
51-
# Output of 'npm pack'
52-
*.tgz
53-
54-
# Yarn Integrity file
55-
.yarn-integrity
56-
57-
# dotenv environment variables file
58-
.env
59-
3+
coverage
4+
dist/lib
5+
dist-test
6+
lib
7+
lib-test
8+
node_modules
9+
*.as
10+
*.iml
11+
src/**/*.js
12+
src/**/*.js.map
13+
test/**/*.js
14+
test/**/*.js.map
15+
npm-debug.log
16+
yarn-error.log

.istanbul.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
verbose: false
2+
instrumentation:
3+
root: lib
4+
extensions:
5+
- .ts
6+
# default-excludes: true
7+
# excludes: []
8+
# variable: __coverage__
9+
# compact: true
10+
# preserve-comments: false
11+
# complete-copy: false
12+
# save-baseline: false
13+
# baseline-file: ./coverage/coverage-baseline.raw.json
14+
# include-all-sources: false
15+
# include-pid: false
16+
# es-modules: true
17+
# auto-wrap: true
18+
# reporting:
19+
# print: summary
20+
# reports:
21+
# - lcov
22+
# dir: ./coverage
23+
# summarizer: pkg
24+
# report-config: {}
25+
# watermarks:
26+
# statements: [50, 80]
27+
# functions: [50, 80]
28+
# branches: [50, 80]
29+
# lines: [50, 80]
30+
# hooks:
31+
# hook-run-in-context: false
32+
# post-require-hook: null
33+
# handle-sigint: false
34+
# check:
35+
# global:
36+
# statements: 0
37+
# lines: 0
38+
# branches: 0
39+
# functions: 0
40+
# excludes: []
41+
# each:
42+
# statements: 0
43+
# lines: 0
44+
# branches: 0
45+
# functions: 0
46+
# excludes: []

.npmignore

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/.idea
2+
/.nyc_output
3+
/.vscode
4+
/coverage
5+
/dist
6+
/dist-test
7+
/docs
8+
/example
9+
/lib-test
10+
/not-ported-extensions
11+
/src
12+
/static
13+
/test
14+
/transpiled-code
15+
/typings
16+
CODE_OF_CONDUCT.md
17+
CONTRIBUTING.md
18+
ISSUE_TEMPLATE.md
19+
PULL_REQUEST_TEMPLATE.md
20+
karma.conf.js
21+
tsconfig.example.json
22+
tsconfig.json
23+
tsconfig.test.json
24+
tslint.example.json
25+
tslint.json
26+
tslint.test.json
27+
webpack.config.js
28+
webpack.example.config.js
29+
yarn.lock
30+
.editorconfig
31+
.gitignore
32+
.istanbul.yml
33+
.npmignore
34+
.prettierrc
35+
.publishrc
36+
.travis.yml

.prettierrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"printWidth": 140,
3+
"tabWidth": 4,
4+
"useTabs": false,
5+
"semi": true,
6+
"singleQuote": false,
7+
"trailingComma": "none",
8+
"bracketSpacing": true
9+
}

.publishrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"validations": {
3+
"vulnerableDependencies": true,
4+
"uncommittedChanges": true,
5+
"untrackedFiles": true,
6+
"sensitiveData": true,
7+
"branch": "master",
8+
"gitTag": true
9+
},
10+
"confirm": true,
11+
"publishTag": "latest --access public",
12+
"prePublishScript": false,
13+
"postPublishScript": false
14+
}

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
language: node_js
2+
node_js:
3+
- stable
4+
env:
5+
- CODECLIMATE_REPO_TOKEN=81d6af056eb99397e5d254956816ac04c01b8a9295d16cf238a271291becbcb9
6+
- CODECLIMATE_API_HOST=https://codebeat.co/webhooks/code_coverage CODECLIMATE_REPO_TOKEN=e8be9dff-117b-436d-92c4-1b91aed35e33
7+
before_install:
8+
- export CHROME_BIN=chromium-browser
9+
- export DISPLAY=:99.0
10+
- sh -e /etc/init.d/xvfb start
11+
- yarn config set registry "https://registry.npmjs.org"
12+
- yarn global add greenkeeper-lockfile@1
13+
- yarn global add codeclimate-test-reporter
14+
before_script:
15+
- greenkeeper-lockfile-update
16+
script:
17+
- yarn test
18+
after_script:
19+
- greenkeeper-lockfile-upload
20+
after_success:
21+
- codeclimate-test-reporter < coverage/lcov.info

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Place your settings in this file to overwrite default and user settings.
2+
{
3+
"typescript.tsdk": "node_modules/typescript/lib",
4+
"tslint.configFile": "tslint.test.json"
5+
}

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# RobotlegsJS CreateJS Changelog:
2+
3+
## Robotlegs-CreateJS 1.0.0
4+
5+
### v1.0.0 - Planned stable version
6+
7+
- [x] Add instructions of how to install the **@robotlegsjs/createjs** package into **README.md**.
8+
9+
- [ ] Use [**Function Types**](https://www.typescriptlang.org/docs/handbook/functions.html) for handlers and callbacks instead of generic **Function** type.
10+
11+
- [ ] Evaluate if **IMediator** interface should be mandatory.
12+
13+
- [x] Update **Prettier** rules:
14+
15+
- [x] **printWidth** should be around **140** characters per line.
16+
17+
- [ ] Improve Code Coverage to reach 100%.
18+
19+
- [ ] Migrate [original documentation](https://github.com/robotlegs/robotlegs-framework/blob/master/src/readme.md) and adapt it to TypeScript and CreateJS.
20+
21+
## Robotlegs-CreateJS 0.2.0
22+
23+
### v0.2.0
24+
25+
- Added integration with `createjs` library (see #1).

CODE_OF_CONDUCT.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
## Our Pledge
4+
5+
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
6+
7+
## Our Standards
8+
9+
Examples of behavior that contributes to creating a positive environment include:
10+
11+
* Using welcoming and inclusive language
12+
* Being respectful of differing viewpoints and experiences
13+
* Gracefully accepting constructive criticism
14+
* Focusing on what is best for the community
15+
* Showing empathy towards other community members
16+
17+
Examples of unacceptable behavior by participants include:
18+
19+
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
* Trolling, insulting/derogatory comments, and personal or political attacks
21+
* Public or private harassment
22+
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
* Other conduct which could reasonably be considered inappropriate in a professional setting
24+
25+
## Our Responsibilities
26+
27+
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
28+
29+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
30+
31+
## Scope
32+
33+
This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
34+
35+
## Enforcement
36+
37+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
38+
39+
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
40+
41+
## Attribution
42+
43+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
44+
45+
[homepage]: http://contributor-covenant.org
46+
[version]: http://contributor-covenant.org/version/1/4/

0 commit comments

Comments
 (0)