Commit d7412d2f authored by Matthias Fechner's avatar Matthias Fechner

Got 'npm run api' and 'npm start' running.

parent 017bd0c5
......@@ -25,7 +25,7 @@ npm install --save moment angular2-moment
```
```
meteor create api
meteor create api --release 1.6.0.1
npm install --save babel-runtime meteor-node-stubs meteor-rxjs
npm install --save-dev meteor-client-bundler @types/meteor tmp
rm -rf api/node_modules
......@@ -35,7 +35,8 @@ rm api/package.json api/package-lock.json
ln -s ../package.json api/package.json
ln -s ../package-lock.json api/package-lock.json
ln -s ../node_modules api/
cd api; meteor add barbatus:typescript; cd ..
cd api; meteor add angular-compilers; cd ..
```
Now we need to copy some files from the repo: https://github.com/Urigo/angular-meteor
......@@ -53,6 +54,11 @@ mv webpack.config.js webpack.config.js.prod
ln -s webpack.config.js.dev webpack.config.js
```
Remove unnecessary meteor packages :
```
cd api; meteor remove blaze-html-templates; cd ..
```
Add run commands back to package.json:
```json
"scripts": {
......@@ -71,6 +77,23 @@ Add run commands back to package.json:
},
```
Upgrade meteor and angular to latest version:
```
cd api; meteor update --release 1.6.0.1; cd ..
ng update
rm -r node_modules
npm install
npm run meteor-client:bundle
```
//Fix compile issues be modifying files like described here: https://github.com/Urigo/meteor-client-bundler/pull/55/files
//You can find the file in folder `node_modules/meteor-client-bundler`
## Meteor development server
Run `npm run api`
## Development server
......
......@@ -4,19 +4,18 @@
# 'meteor add' and 'meteor remove' will edit this file for you,
# but you can also edit it by hand.
meteor-base@1.3.0 # Packages every Meteor app needs to have
meteor-base@1.2.0 # Packages every Meteor app needs to have
mobile-experience@1.0.5 # Packages for a great mobile UX
mongo@1.4.2 # The database Meteor supports right now
blaze-html-templates@1.0.4 # Compile .html files into Meteor Blaze views
mongo@1.3.1 # The database Meteor supports right now
reactive-var@1.0.11 # Reactive variable for tracker
tracker@1.1.3 # Meteor's client-side reactive programming library
standard-minifier-css@1.4.0 # CSS minifier run for production mode
standard-minifier-js@2.3.1 # JS minifier run for production mode
es5-shim@4.7.0 # ECMAScript 5 compatibility for older browsers
ecmascript@0.10.0 # Enable ECMAScript2015+ syntax in app code
shell-server@0.3.1 # Server-side component of the `meteor shell` command
standard-minifier-css@1.3.5 # CSS minifier run for production mode
standard-minifier-js@2.2.0 # JS minifier run for production mode
es5-shim@4.6.15 # ECMAScript 5 compatibility for older browsers
ecmascript@0.9.0 # Enable ECMAScript2015+ syntax in app code
shell-server@0.3.0 # Server-side component of the `meteor shell` command
autopublish@1.0.7 # Publish all data to the clients (for prototyping)
insecure@1.0.7 # Allow all DB writes from clients (for prototyping)
barbatus:typescript
angular-compilers
METEOR@1.6.1
METEOR@1.6.0.1
allow-deny@1.1.0
angular-compilers@0.2.9_2
angular-html-compiler@0.2.9
angular-scss-compiler@0.2.9
angular-typescript-compiler@0.2.9_5
autopublish@1.0.7
autoupdate@1.4.0
babel-compiler@7.0.5
babel-runtime@1.2.2
barbatus:typescript@0.6.12
barbatus:typescript-compiler@0.9.12
barbatus:typescript-runtime@1.0.2
base64@1.0.11
autoupdate@1.3.12
babel-compiler@6.24.7
babel-runtime@1.1.1
base64@1.0.10
binary-heap@1.0.10
blaze@2.3.2
blaze-html-templates@1.1.2
blaze-tools@1.0.10
boilerplate-generator@1.4.0
caching-compiler@1.1.11
caching-html-compiler@1.1.2
callback-hook@1.1.0
check@1.3.1
boilerplate-generator@1.3.1
callback-hook@1.0.10
check@1.2.5
ddp@1.4.0
ddp-client@2.3.2
ddp-common@1.4.0
ddp-server@2.1.2
deps@1.0.12
diff-sequence@1.1.0
dynamic-import@0.3.0
ecmascript@0.10.5
ddp-client@2.2.0
ddp-common@1.3.0
ddp-server@2.1.1
diff-sequence@1.0.7
dynamic-import@0.2.1
ecmascript@0.9.0
ecmascript-runtime@0.5.0
ecmascript-runtime-client@0.6.2
ecmascript-runtime-client@0.5.0
ecmascript-runtime-server@0.5.0
ejson@1.1.0
es5-shim@4.7.3
es5-shim@4.6.15
geojson-utils@1.0.10
hot-code-push@1.0.4
html-tools@1.0.11
htmljs@1.0.11
http@1.4.0
id-map@1.1.0
http@1.3.0
id-map@1.0.9
insecure@1.0.7
jquery@1.11.11
launch-screen@1.1.1
livedata@1.0.18
logging@1.1.20
logging@1.1.19
meteor@1.8.4
meteor-base@1.3.0
minifier-css@1.3.1
minifier-js@2.3.3
meteor-base@1.2.0
minifier-css@1.2.16
minifier-js@2.2.2
minimongo@1.4.3
mobile-experience@1.0.5
mobile-status-bar@1.0.14
modules@0.11.5
modules-runtime@0.9.2
mongo@1.4.5
mongo@1.3.1
mongo-dev-server@1.1.0
mongo-id@1.0.7
mongo-id@1.0.6
npm-mongo@2.2.34
observe-sequence@1.0.16
ordered-dict@1.1.0
ordered-dict@1.0.9
promise@0.10.2
random@1.1.0
random@1.0.10
reactive-var@1.0.11
reload@1.2.0
retry@1.1.0
routepolicy@1.0.13
server-render@0.3.0
reload@1.1.11
retry@1.0.9
routepolicy@1.0.12
shell-server@0.3.1
shim-common@0.1.0
socket-stream-client@0.1.0
spacebars@1.0.15
spacebars-compiler@1.1.3
standard-minifier-css@1.4.1
standard-minifier-js@2.3.2
templating@1.3.2
templating-compiler@1.3.3
templating-runtime@1.3.2
templating-tools@1.1.2
standard-minifier-css@1.3.5
standard-minifier-js@2.2.3
tmeasday:check-npm-versions@0.3.2
tracker@1.1.3
ui@1.0.13
underscore@1.0.10
url@1.2.0
webapp@1.5.0
url@1.1.0
webapp@1.4.0
webapp-hashing@1.0.9
......@@ -25,9 +25,9 @@
}
},
"@angular-devkit/core": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-0.3.2.tgz",
"integrity": "sha512-zABk/iP7YX5SVbmK4e+IX7j2d0D37MQJQiKgWdV3JzfvVJhNJzddiirtT980pIafoq+KyvTgVwXtc+vnux0oeQ==",
"version": "0.4.5",
"resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-0.4.5.tgz",
"integrity": "sha512-yXQSKwtROV3lm+4TeO3HYjYveIA/YTnVqfn3uBwyYtA0hRpZGxZyGOY31v523qcRTvO9xMH0S0zjTq+uyraz0w==",
"dev": true,
"requires": {
"ajv": "5.5.2",
......@@ -133,6 +133,34 @@
"webpack-merge": "4.1.2",
"webpack-sources": "1.1.0",
"webpack-subresource-integrity": "1.0.4"
},
"dependencies": {
"@angular-devkit/core": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/@angular-devkit/core/-/core-0.3.2.tgz",
"integrity": "sha512-zABk/iP7YX5SVbmK4e+IX7j2d0D37MQJQiKgWdV3JzfvVJhNJzddiirtT980pIafoq+KyvTgVwXtc+vnux0oeQ==",
"dev": true,
"requires": {
"ajv": "5.5.2",
"chokidar": "1.7.0",
"rxjs": "5.5.7",
"source-map": "0.5.7"
},
"dependencies": {
"ajv": {
"version": "5.5.2",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz",
"integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=",
"dev": true,
"requires": {
"co": "4.6.0",
"fast-deep-equal": "1.1.0",
"fast-json-stable-stringify": "2.0.0",
"json-schema-traverse": "0.3.1"
}
}
}
}
}
},
"@angular/common": {
......@@ -11582,9 +11610,9 @@
"dev": true
},
"typescript": {
"version": "2.5.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-2.5.3.tgz",
"integrity": "sha512-ptLSQs2S4QuS6/OD1eAKG+S5G8QQtrU5RT32JULdZQtM1L3WTi34Wsu48Yndzi8xsObRAB9RPt/KhA9wlpEF6w==",
"version": "2.6.2",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-2.6.2.tgz",
"integrity": "sha1-PFtv1/beCRQmkCfwPAlGdY92c6Q=",
"dev": true
},
"typescript-extends": {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment