Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Commit d0613ce

Browse files
committed
Merge branch '0.4.0'
Releasing MEAN.JS 0.4.0 version on-top of previously MEAN.JS 0.3.3 on master branch
2 parents 3bc1de2 + c2c0c62 commit d0613ce

File tree

229 files changed

+7386
-4459
lines changed

Some content is hidden

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

229 files changed

+7386
-4459
lines changed

.bowerrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"directory": "public/lib"
2+
"directory": "public/lib"
33
}

.csslintrc

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
2-
"adjoining-classes": false,
3-
"box-model": false,
4-
"box-sizing": false,
5-
"floats": false,
6-
"font-sizes": false,
7-
"important": false,
8-
"known-properties": false,
9-
"overqualified-elements": false,
10-
"qualified-headings": false,
11-
"regex-selectors": false,
12-
"unique-headings": false,
13-
"universal-selector": false,
14-
"unqualified-attributes": false
2+
"adjoining-classes": false,
3+
"box-model": false,
4+
"box-sizing": false,
5+
"floats": false,
6+
"font-sizes": false,
7+
"important": false,
8+
"known-properties": false,
9+
"overqualified-elements": false,
10+
"qualified-headings": false,
11+
"regex-selectors": false,
12+
"unique-headings": false,
13+
"universal-selector": false,
14+
"unqualified-attributes": false
1515
}

.editorconfig

+27-9
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,43 @@
11
# EditorConfig is awesome: http://EditorConfig.org
22

3-
# How-to with your editor: http://editorconfig.org/#download
3+
# Howto with your editor: http://editorconfig.org/#download
4+
# Sublime: https://github.com/sindresorhus/editorconfig-sublime
45

56
# top-most EditorConfig file
67
root = true
78

89
# Unix-style newlines with a newline ending every file
9-
[*]
10+
[**]
1011
end_of_line = lf
11-
indent_style = tab
1212
insert_final_newline = true
1313

14-
[{Dockerfile,Procfile}]
15-
trim_trailing_whitespace = true
16-
17-
# Standard at: https://github.com/felixge/node-style-guide
18-
[{*.js,*.json}]
14+
# Standard at: https://github.com/felixge/node-style-guide
15+
[**.js, **.json]
1916
trim_trailing_whitespace = true
17+
indent_style = space
18+
indent_size = 2
2019
quote_type = single
2120
curly_bracket_next_line = false
2221
spaces_around_operators = true
2322
space_after_control_statements = true
24-
space_after_anonymous_functions = false
23+
space_after_anonymous_functions = true
2524
spaces_in_brackets = false
25+
26+
# No Standard. Please document a standard if different from .js
27+
[**.yml, **.html, **.css]
28+
trim_trailing_whitespace = true
29+
indent_style = tab
30+
31+
# No standard. Please document a standard if different from .js
32+
[**.md]
33+
indent_style = tab
34+
35+
# Standard at:
36+
[Makefile]
37+
indent_style = tab
38+
39+
# The indentation in package.json will always need to be 2 spaces
40+
# https://github.com/npm/npm/issues/4718
41+
[package.json, bower.json]
42+
indent_style = space
43+
indent_size = 2

.gitignore

+29-18
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,45 @@
1-
# iOS / Apple
1+
# OS
22
# ===========
33
.DS_Store
44
ehthumbs.db
55
Icon?
66
Thumbs.db
7-
config/env/local.js
87

98
# Node and related ecosystem
109
# ==========================
1110
.nodemonignore
1211
.sass-cache/
13-
npm-debug.log
1412
node_modules/
1513
public/lib/
1614
app/tests/coverage/
1715
.bower-*/
1816
.idea/
17+
coverage/
1918

2019
# MEAN.js app and assets
2120
# ======================
22-
config/sslcerts/*.pem
23-
access.log
2421
public/dist/
22+
uploads
23+
modules/users/client/img/profile/uploads
24+
config/env/local.js
25+
*.pem
26+
27+
# Ignoring MEAN.JS's gh-pages branch for documenation
28+
_site/
29+
30+
# General
31+
# =======
32+
*.log
33+
*.csv
34+
*.dat
35+
*.out
36+
*.pid
37+
*.gz
38+
*.tmp
39+
*.bak
40+
*.swp
41+
logs/
42+
build/
2543

2644
# Sublime editor
2745
# ==============
@@ -48,16 +66,9 @@ local.properties
4866
data/
4967
mongod
5068

51-
# General
52-
# =======
53-
*.log
54-
*.csv
55-
*.dat
56-
*.out
57-
*.pid
58-
*.gz
59-
*.tmp
60-
*.bak
61-
*.swp
62-
logs/
63-
build/
69+
# Visual Studio
70+
# =========
71+
*.suo
72+
*.ntvs*
73+
*.njsproj
74+
*.sln

.jshintrc

+35-41
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,36 @@
11
{
2-
"node": true, // Enable globals available when code is running inside of the NodeJS runtime environment.
3-
"browser": true, // Standard browser globals e.g. `window`, `document`.
4-
"esnext": true, // Allow ES.next specific features such as `const` and `let`.
5-
"bitwise": false, // Prohibit bitwise operators (&, |, ^, etc.).
6-
"camelcase": false, // Permit only camelcase for `var` and `object indexes`.
7-
"curly": false, // Require {} for every new block or scope.
8-
"eqeqeq": true, // Require triple equals i.e. `===`.
9-
"immed": true, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );`
10-
"latedef": true, // Prohibit variable use before definition.
11-
"newcap": true, // Require capitalization of all constructor functions e.g. `new F()`.
12-
"noarg": true, // Prohibit use of `arguments.caller` and `arguments.callee`.
13-
"quotmark": "single", // Define quotes to string values.
14-
"regexp": true, // Prohibit `.` and `[^...]` in regular expressions.
15-
"undef": true, // Require all non-global variables be declared before they are used.
16-
"unused": false, // Warn unused variables.
17-
"strict": true, // Require `use strict` pragma in every file.
18-
"trailing": true, // Prohibit trailing whitespaces.
19-
"smarttabs": false, // Suppresses warnings about mixed tabs and spaces
20-
"globals": { // Globals variables.
21-
"jasmine": true,
22-
"angular": true,
23-
"ApplicationConfiguration": true
24-
},
25-
"predef": [ // Extra globals.
26-
"define",
27-
"require",
28-
"exports",
29-
"module",
30-
"describe",
31-
"before",
32-
"beforeEach",
33-
"after",
34-
"afterEach",
35-
"it",
36-
"inject",
37-
"expect"
38-
],
39-
"indent": 4, // Specify indentation spacing
40-
"devel": true, // Allow development statements e.g. `console.log();`.
41-
"noempty": true // Prohibit use of empty blocks.
42-
}
2+
"node": true, // Enable globals available when code is running inside of the NodeJS runtime environment.
3+
"mocha": true, // Enable globals available when code is running inside of the Mocha tests.
4+
"jasmine": true, // Enable globals available when code is running inside of the Jasmine tests.
5+
"browser": true, // Standard browser globals e.g. `window`, `document`.
6+
"esnext": true, // Allow ES.next specific features such as `const` and `let`.
7+
"bitwise": false, // Prohibit bitwise operators (&, |, ^, etc.).
8+
"camelcase": false, // Permit only camelcase for `var` and `object indexes`.
9+
"curly": false, // Require {} for every new block or scope.
10+
"eqeqeq": true, // Require triple equals i.e. `===`.
11+
"immed": true, // Require immediate invocations to be wrapped in parens e.g. `( function(){}() );`
12+
"latedef": true, // Prohibit variable use before definition.
13+
"newcap": true, // Require capitalization of all constructor functions e.g. `new F()`.
14+
"noarg": true, // Prohibit use of `arguments.caller` and `arguments.callee`.
15+
"quotmark": "single", // Define quotes to string values.
16+
"regexp": true, // Prohibit `.` and `[^...]` in regular expressions.
17+
"undef": true, // Require all non-global variables be declared before they are used.
18+
"unused": false, // Warn unused variables.
19+
"strict": true, // Require `use strict` pragma in every file.
20+
"trailing": true, // Prohibit trailing whitespaces.
21+
"smarttabs": false, // Suppresses warnings about mixed tabs and spaces
22+
"globals": { // Globals variables.
23+
"angular": true,
24+
"io": true,
25+
"ApplicationConfiguration": true
26+
},
27+
"predef": [ // Extra globals.
28+
"inject",
29+
"by",
30+
"browser",
31+
"element"
32+
],
33+
"indent": 4, // Specify indentation spacing
34+
"devel": true, // Allow development statements e.g. `console.log();`.
35+
"noempty": true // Prohibit use of empty blocks.
36+
}

.slugignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/app/tests
1+
/app/tests

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: node_js
22
node_js:
33
- "0.10"
4-
- "0.11"
4+
- "0.12"
55
env:
66
- NODE_ENV=travis
77
services:

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM dockerfile/nodejs
1+
FROM node:0.10
22

33
MAINTAINER Matthias Luebken, [email protected]
44

@@ -20,7 +20,7 @@ RUN bower install --config.interactive=false --allow-root
2020
# Make everything available for start
2121
ADD . /home/mean
2222

23-
# currently only works for development
23+
# Set development environment as default
2424
ENV NODE_ENV development
2525

2626
# Port 3000 for server

Procfile

100755100644
File mode changed.

0 commit comments

Comments
 (0)