Skip to content

Commit

Permalink
Merge pull request Urigo#1427 from kamilkisiela/lerna
Browse files Browse the repository at this point in the history
Lerna
  • Loading branch information
Urigo authored Sep 21, 2016
2 parents 31064dc + be7c495 commit 9bcf273
Show file tree
Hide file tree
Showing 286 changed files with 3,862 additions and 86 deletions.
19 changes: 2 additions & 17 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,4 @@
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
.build*
.npm
node_modules
npm-debug.log

# IDE's #
#########
.idea

.coverage
.npm
npm-debug.log
20 changes: 9 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
sudo: required
language: node_js
cache:
directories:
# cache node modules
- node_modules

node_js:
# use same node version as meteor does
- "0.12"
- "5"

services:
- mongodb
before_install: curl https://install.meteor.com | /bin/sh
before_script:
# remove unused node modules from cache
- "npm prune"

install:
- curl https://install.meteor.com | /bin/sh
- npm run bootstrap

sudo: required
4 changes: 4 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"lerna": "2.0.0-beta.28",
"version": "0.0.0"
}
71 changes: 13 additions & 58 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,67 +1,22 @@
{
"name": "angular-meteor",
"version": "1.3.11",
"main": "dist/angular-meteor.js",
"description": "Combining the simplicity and power of AngularJS and Meteor",
"keywords": [
"AngularJS",
"Meteor",
"angular-meteor",
"angular"
],
"license": "MIT",
"scripts": {
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"commit": "git-cz",
"commitmsg": "validate-commit-msg",
"lint": "eslint .",
"pretest": "npm run build:dist",
"test": "velocity test-packages ./tests --ci",
"test:watch": "parallelshell \"npm run watch\" \"velocity test-packages ./tests\"",
"dev:start": "node scripts/dev.js",
"dev:stop": "node scripts/dev.js --stop",
"watch": "webpack --watch --progress --config webpack/dist.js",
"prewatch:dev": "npm run dev:start",
"watch:dev": "webpack --watch --progress --config webpack/dev.js",
"build:dist": "webpack --progress --config webpack/dist.js",
"prebuild:dev": "npm run dev:start",
"build:dev": "webpack --progress --config webpack/dev.js",
"build:prod": "webpack --progress --config webpack/prod.js --optimize-minimize",
"build": "npm run build:dist && npm run build:prod",
"prepublish": "npm run build"
"bootstrap": "lerna bootstrap",
"test": "lerna run test"
},
"devDependencies": {
"commitizen": "^2.8.6",
"cz-conventional-changelog": "^1.2.0",
"ghooks": "^1.3.2",
"lerna": "2.0.0-beta.28",
"validate-commit-msg": "^2.8.0"
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
},
"ghooks": {
"commit-msg": "validate-commit-msg"
}
},
"dependencies": {
"jsondiffpatch": "^0.1.38",
"underscore": "^1.0.4"
},
"peerDependencies": {
"angular": "^1.4.0"
},
"devDependencies": {
"babel": "^6.3.26",
"babel-core": "^6.4.5",
"babel-eslint": "^4.1.6",
"babel-loader": "^6.2.1",
"babel-plugin-add-module-exports": "^0.1.2",
"babel-preset-es2015": "^6.3.13",
"commitizen": "^2.5.0",
"conventional-changelog-cli": "^1.1.1",
"cz-conventional-changelog": "^1.1.5",
"eslint": "^1.10.3",
"eslint-config-airbnb": "^4.0.0",
"eslint-loader": "^1.2.1",
"eslint-plugin-import": "^0.13.0",
"husky": "^0.11.1",
"lodash": "^3.10.1",
"parallelshell": "^2.0.0",
"replace-in-file": "^1.0.2",
"validate-commit-msg": "^2.0.0",
"velocity-cli": "^0.4.3",
"webpack": "^1.12.9"
}
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
19 changes: 19 additions & 0 deletions packages/angular-meteor/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
.build*
.npm
node_modules
npm-debug.log

# IDE's #
#########
.idea

.coverage
File renamed without changes.
15 changes: 15 additions & 0 deletions packages/angular-meteor/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
sudo: required
language: node_js
cache:
directories:
# cache node modules
- node_modules
node_js:
# use same node version as meteor does
- "0.12"
services:
- mongodb
before_install: curl https://install.meteor.com | /bin/sh
before_script:
# remove unused node modules from cache
- "npm prune"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
56 changes: 56 additions & 0 deletions packages/angular-meteor/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"name": "angular-meteor",
"version": "1.3.11",
"main": "dist/angular-meteor.js",
"description": "Combining the simplicity and power of AngularJS and Meteor",
"keywords": [
"AngularJS",
"Meteor",
"angular-meteor",
"angular"
],
"license": "MIT",
"scripts": {
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"lint": "eslint .",
"pretest": "npm run build:dist",
"test": "velocity test-packages ./tests --ci",
"test:watch": "parallelshell \"npm run watch\" \"velocity test-packages ./tests\"",
"dev:start": "node scripts/dev.js",
"dev:stop": "node scripts/dev.js --stop",
"watch": "webpack --watch --progress --config webpack/dist.js",
"prewatch:dev": "npm run dev:start",
"watch:dev": "webpack --watch --progress --config webpack/dev.js",
"build:dist": "webpack --progress --config webpack/dist.js",
"prebuild:dev": "npm run dev:start",
"build:dev": "webpack --progress --config webpack/dev.js",
"build:prod": "webpack --progress --config webpack/prod.js --optimize-minimize",
"build": "npm run build:dist && npm run build:prod",
"prepublish": "npm run build"
},
"dependencies": {
"jsondiffpatch": "^0.1.38",
"underscore": "^1.0.4"
},
"peerDependencies": {
"angular": "^1.4.0"
},
"devDependencies": {
"babel": "^6.3.26",
"babel-core": "^6.4.5",
"babel-eslint": "^4.1.6",
"babel-loader": "^6.2.1",
"babel-plugin-add-module-exports": "^0.1.2",
"babel-preset-es2015": "^6.3.13",
"conventional-changelog-cli": "^1.1.1",
"eslint": "^1.10.3",
"eslint-config-airbnb": "^4.0.0",
"eslint-loader": "^1.2.1",
"eslint-plugin-import": "^0.13.0",
"lodash": "^3.10.1",
"parallelshell": "^2.0.0",
"replace-in-file": "^1.0.2",
"velocity-cli": "^0.4.3",
"webpack": "^1.12.9"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 15 additions & 0 deletions packages/angular2-meteor/.bithoundrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"ignore": [
"**/build/**",
"**/dist/**",
"**/typings/**",
"**/node_modules/**",
"**/bower_components/**"
],
"test": [
"**/test/**",
"**/tests/**",
"**/spec/**",
"**/specs/**"
]
}
8 changes: 8 additions & 0 deletions packages/angular2-meteor/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
node_modules
.node_modules
.idea
typings
atmosphere-packages/examples
.npm
npm-debug.log
dist
3 changes: 3 additions & 0 deletions packages/angular2-meteor/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
atmosphere-packages
tests
typings
13 changes: 13 additions & 0 deletions packages/angular2-meteor/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
language: node_js

node_js:
- "5"

services:
- mongodb

install: curl https://install.meteor.com | /bin/sh

script: ./run_tests_ci.sh

sudo: required
87 changes: 87 additions & 0 deletions packages/angular2-meteor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
<a name="0.7.0-beta.1"></a>
# [0.7.0-beta.1](https://github.com/Urigo/angular2-meteor/compare/0.6.0...v0.7.0-beta.1) (2016-08-21)


### Bug Fixes

* **MeteorComponent:** fix #337 ([63f95b6](https://github.com/Urigo/angular2-meteor/commit/63f95b6)), closes [#337](https://github.com/Urigo/angular2-meteor/issues/337) [#323](https://github.com/Urigo/angular2-meteor/issues/323)
* #331 ([6fe0d45](https://github.com/Urigo/angular2-meteor/commit/6fe0d45))
* fix #331 ([5a976ac](https://github.com/Urigo/angular2-meteor/commit/5a976ac)), closes [#331](https://github.com/Urigo/angular2-meteor/issues/331)



<a name="0.6.2"></a>
## [0.6.2](https://github.com/Urigo/angular2-meteor/compare/0.6.0...v0.6.2) (2016-07-20)


### Bug Fixes

* **MeteorComponent:** fix #337 ([63f95b6](https://github.com/Urigo/angular2-meteor/commit/63f95b6)), closes [#337](https://github.com/Urigo/angular2-meteor/issues/337) [#323](https://github.com/Urigo/angular2-meteor/issues/323)



<a name="0.6.0"></a>
## 0.6.0 (2016-07-09)

### Breaking Changes

Importing URLs of the component templates in a way as `import url from './foo.html'` will be deprecated from `[email protected]` in favor of the inline templates. That means the expression above will become now `import template from './foo.html'`.

For the migration, we've added a special JS-module to `[email protected]` that exports template content as well but with a special suffix added to the URL, i.e., `!raw` and the whole path is `./foo.html!raw`. URLs like `./foo.html!raw` are supported by `[email protected]` as well allowing you to transit easily.

`[email protected]` is based on `urigo:[email protected]` ([a0d28d3](https://github.com/Urigo/angular2-meteor/commit/a0d28d3)).

### Features

- Main Meteor methods are now patched to run ngZone after the callback executions [(2145847)](https://github.com/Urigo/angular2-meteor/commit/2145847). In other words, `autoBind` param of the `MeteorComponent` wrappers is set to true by default. Fixes this [issue](https://github.com/Urigo/angular2-meteor/issues/140) (thanks @staeke for the idea and discussion)
- `MeteorComponent` is improved to support server side rendering. One can use `angular2-meteor` on the server along with [`angular2-meteor-universal`](https://github.com/barbatus/angular2-meteor-universal)
- LESS and SASS compilers are added to `[email protected]`. Angular2 components can start importing styles in the ES6 style (as templates), if styles are located in the root `imports` folder

### Bug Fixes

- MeteorComponent.autorun: #149 ([d049759](https://github.com/Urigo/angular2-meteor/commit/d049759))
- Issue with promises: #238 ([a611ed8](https://github.com/Urigo/angular2-meteor/commit/a611ed8))

### Other

- Angular2-Meteor for Meteor 1.2 based on SystemJS have been deprecated (old code can be found in the `legacy` branch)
- Usage Gulp in the build have been deprecated in favor of NPM scripts
- Tests have been moved to be based on Mocha and Chai (Meteor 1.3 style)

## 0.3.3

### Breaking Changes

- This package is no longer supported from Atmosphere, and will be installed from NPM from Meteor 1.3 and up.
- Removed `bootstrap` module (`angular2-meteor/bootstrap`) in favor of the original Angular 2.0 bootstrap's.
- Removed `packages/*` - they will be moved into a separated NPM modules in the future.
- Imports location will be defined as NPM imports: `import {SomePackage} from 'angular2-meteor/cursor_handlers';`
- Removed the need for `SystemJS`, now uses Meteor's ES6 imports that depends on CommonJS.

### Updates

- Build process now use Webpack instead of Meteor build tool.
- Tests now executed inside a Meteor context which means that there is a meteor app that uses the actual code, because Angular2-Meteor now does not depends of Meteor packages system (Atmosphere) and uses NPM instead.


## v0.3.2

### Updates

Angular 2 upgraded to the first beta version.

## v0.3.0

### Updates

Angular 2 upgraded to the last version.

### Breaking Changes

- In the latest releases of Angular 2 (alpha-50 and up) `angular2/angular2` namespace were devided into several new ones, mainly, `angular2/core` and `angular2/common`
- The dash symbol were removed in the selectors of main directives, i.e., instead of `ng-if` you should use `ngIf` now

For more information about the latest API, please, refer to the official [docs](https://angular.io/docs/ts/latest/api).

In order to get new Angular 2 definition files, you'll need to remove `typings\angular2` folder and `typings\angular2.d.ts` file to let
the package install updated version.
Loading

0 comments on commit 9bcf273

Please sign in to comment.