Skip to content

Commit

Permalink
feat(build): Updated build pipeline for modules
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts committed Mar 28, 2017
1 parent e098d3e commit 68bd9df
Show file tree
Hide file tree
Showing 62 changed files with 4,039 additions and 2,616 deletions.
File renamed without changes.
60 changes: 60 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,63 @@
# Logs
logs
*.log
.nyc
.nyc_output

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Users Environment Variables
.lock-wscript

# OS generated files #
.DS_Store
ehthumbs.db
Icon?
Thumbs.db

# Node Files #
node_modules
/bower_components

# Typing TSD #
/src/typings/tsd/
/typings/
/tsd_typings/

# Dist #
/dist
/public/__build__/
/src/*/__build__/
__build__/**
.webpack.json

#doc
/doc

# IDE #
.idea/
*.swp
!/typings/custom.d.ts

# Build Artifacts #
release
/node_modules/
lerna-debug.log
/lib/
ngfactory
output
6 changes: 3 additions & 3 deletions modules/store/CONTRIBUTING.md → CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

```
npm install
npm run typings
npm run bootstrap
```

### Testing
Expand All @@ -20,8 +20,8 @@ npm test
* Please rebase your branch against the current master
* Run ```npm install``` to make sure your development dependencies are up-to-date
* Please ensure the test suite passes before submitting a PR
* If you've added new functionality, **please** include tests which validate its behaviour
* Make reference to possible [issues](https://github.com/ngrx/store/issues) on PR comment
* If you've added new functionality, **please** include tests which validate its behavior
* Make reference to possible [issues](https://github.com/ngrx/platform/issues) on PR comment

## Submitting bug reports

Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2017 Brandon Roberts, Mike Ryan, Rob Wormald

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
8 changes: 8 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
machine:
node:
version: 6.9.5
test:
override:
- npm install -g yarn
- yarn run bootstrap
- yarn run build
59 changes: 0 additions & 59 deletions karma.conf.js

This file was deleted.

5 changes: 3 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"lerna": "2.0.0-beta.37",
"lerna": "2.0.0-beta.38",
"packages": [
"modules/*"
],
"version": "4.0.0-alpha.0"
"version": "4.0.0-alpha.0",
"npmClient": "yarn"
}
56 changes: 0 additions & 56 deletions modules/core/.gitignore

This file was deleted.

2 changes: 1 addition & 1 deletion modules/core/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Brandon Roberts, Mike Ryan, Rob Wormald
Copyright (c) 2017 Brandon Roberts, Mike Ryan, Rob Wormald

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
82 changes: 0 additions & 82 deletions modules/core/karma.conf.js

This file was deleted.

43 changes: 10 additions & 33 deletions modules/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
"main": "bundles/core.umd.js",
"module": "index.js",
"scripts": {
"karma": "karma start --single-run",
"test": "npm run karma",
"test": "npm run test:unit",
"test:unit": "node ../../tests.js",
"test:unit:coverage": "nyc npm run test:unit",
"clean:pre": "rimraf release",
"clean:post": "rimraf src/**/*.ngfactory.ts",
"clean:post": "rimraf \"release/**/*.ngfactory.ts\" \"release/node_modules\"",
"copy": "cpy LICENSE package.json README.md release",
"build:js": "ngc -p tsconfig.dist.json",
"build:umd": "rollup -c rollup.config.js",
Expand All @@ -29,39 +30,15 @@
],
"license": "MIT",
"peerDependencies": {
"rxjs": "^5.0.0-beta.12"
"rxjs": "^5.0.0"
},
"devDependencies": {
"@angular/common": "^2.0.0-rc.7",
"@angular/compiler": "^2.0.0-rc.7",
"@angular/compiler-cli": "^0.6.0",
"@angular/core": "^2.0.0-rc.7",
"@angular/platform-browser": "^2.0.0-rc.7",
"@angular/platform-browser-dynamic": "^2.0.0-rc.7",
"@angular/platform-server": "^2.0.0-rc.7",
"@types/jasmine": "^2.2.33",
"@types/node": "^6.0.38",
"awesome-typescript-loader": "^2.2.1",
"core-js": "^2.4.1",
"@angular/compiler-cli": "^4.0.0",
"cpy-cli": "^1.0.1",
"istanbul-instrumenter-loader": "^0.2.0",
"jasmine": "^2.5.0",
"karma": "^1.2.0",
"karma-chrome-launcher": "^2.0.0",
"karma-coverage": "^1.1.1",
"karma-jasmine": "^1.0.2",
"karma-mocha-reporter": "^2.1.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^1.8.0",
"jasmine": "^2.5.3",
"nyc": "^10.1.2",
"rimraf": "^2.5.4",
"rollup": "^0.34.13",
"rxjs": "^5.0.0-beta.11",
"ts-loader": "^0.8.2",
"tslint": "^3.15.1",
"tslint-loader": "^2.1.5",
"typescript": "^2.0.2",
"uglifyjs": "^2.4.10",
"webpack": "^2.1.0-beta.21",
"zone.js": "^0.6.17"
"rollup": "^0.41.4",
"uglifyjs": "^2.4.10"
}
}
Loading

0 comments on commit 68bd9df

Please sign in to comment.