Skip to content

Commit 3fd7b32

Browse files
committed
feat: add bootstraping script
1 parent ab4d1d3 commit 3fd7b32

Some content is hidden

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

80 files changed

+6058
-6940
lines changed

.huskyrc.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"hooks": {
3-
"pre-commit": "lint-staged",
4-
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
5-
}
2+
"hooks": {
3+
"pre-commit": "lint-staged",
4+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
5+
}
66
}

.prettierrc.json

-13
This file was deleted.

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This repo is setup to automatically release canary builds for every commit that
1818

1919
For stable releases, the build and publishing is done automatically for CircleCI. If you have write access to the repo, run the following steps to automatically release a new version to `latest`
2020

21-
- Pull down the latest version of master to your local machine
22-
- Run `yarn release:stable`
21+
- Pull down the latest version of master to your local machine
22+
- Run `yarn release:stable`
2323

2424
The release commit will be automatically pushed to `master` where CircleCI will complete the remaining publishing steps.

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Project forked from unmantained [angular-redux/platform](https://github.com/angu
88

99
## Packages
1010

11-
- [ngredux-store](packages/store) - Bindings between Redux and Angular
12-
- [ngredux-form](packages/form) - Bindings between Angular Forms and your Redux state
13-
- [ngredux-router](packages/router) - Bindings between Angular Router and your Redux state
14-
11+
- [ngredux-store](packages/store) - Bindings between Redux and Angular
12+
- [ngredux-form](packages/form) - Bindings between Angular Forms and your Redux state
13+
- [ngredux-router](packages/router) - Bindings between Angular Router and your Redux state

angular.json

+89-104
Original file line numberDiff line numberDiff line change
@@ -1,104 +1,89 @@
1-
{
2-
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3-
"version": 1,
4-
"newProjectRoot": "projects",
5-
"projects": {
6-
"ngredux-store": {
7-
"projectType": "library",
8-
"root": "packages/store",
9-
"sourceRoot": "packages/store/src",
10-
"prefix": "lib",
11-
"architect": {
12-
"build": {
13-
"builder": "@angular-devkit/build-angular:ng-packagr",
14-
"options": {
15-
"tsConfig": "./tsconfig.lib.json",
16-
"project": "packages/store/ng-package.json"
17-
},
18-
"configurations": {
19-
"production": {
20-
"tsConfig": "./tsconfig.lib.prod.json"
21-
}
22-
}
23-
},
24-
"lint": {
25-
"builder": "@angular-devkit/build-angular:tslint",
26-
"options": {
27-
"tsConfig": [
28-
"./tsconfig.lib.json",
29-
"./tsconfig.spec.json"
30-
],
31-
"exclude": [
32-
"**/node_modules/**"
33-
]
34-
}
35-
}
36-
}
37-
},
38-
"ngredux-router": {
39-
"projectType": "library",
40-
"root": "packages/router",
41-
"sourceRoot": "packages/router/src",
42-
"prefix": "lib",
43-
"architect": {
44-
"build": {
45-
"builder": "@angular-devkit/build-angular:ng-packagr",
46-
"options": {
47-
"tsConfig": "./tsconfig.lib.json",
48-
"project": "packages/router/ng-package.json"
49-
},
50-
"configurations": {
51-
"production": {
52-
"tsConfig": "./tsconfig.lib.prod.json"
53-
}
54-
}
55-
},
56-
"lint": {
57-
"builder": "@angular-devkit/build-angular:tslint",
58-
"options": {
59-
"tsConfig": [
60-
"./tsconfig.lib.json",
61-
"./tsconfig.spec.json"
62-
],
63-
"exclude": [
64-
"**/node_modules/**"
65-
]
66-
}
67-
}
68-
}
69-
},
70-
"ngredux-form": {
71-
"projectType": "library",
72-
"root": "packages/form",
73-
"sourceRoot": "packages/form/src",
74-
"prefix": "lib",
75-
"architect": {
76-
"build": {
77-
"builder": "@angular-devkit/build-angular:ng-packagr",
78-
"options": {
79-
"tsConfig": "./tsconfig.lib.json",
80-
"project": "packages/form/ng-package.json"
81-
},
82-
"configurations": {
83-
"production": {
84-
"tsConfig": "./tsconfig.lib.prod.json"
85-
}
86-
}
87-
},
88-
"lint": {
89-
"builder": "@angular-devkit/build-angular:tslint",
90-
"options": {
91-
"tsConfig": [
92-
"./tsconfig.lib.json",
93-
"./tsconfig.spec.json"
94-
],
95-
"exclude": [
96-
"**/node_modules/**"
97-
]
98-
}
99-
}
100-
}
101-
}
102-
},
103-
"defaultProject": "store"
104-
}
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"ngredux-store": {
7+
"projectType": "library",
8+
"root": "packages/store",
9+
"sourceRoot": "packages/store/src",
10+
"prefix": "lib",
11+
"architect": {
12+
"build": {
13+
"builder": "@angular-devkit/build-angular:ng-packagr",
14+
"options": {
15+
"tsConfig": "./tsconfig.lib.json",
16+
"project": "packages/store/ng-package.json"
17+
},
18+
"configurations": {
19+
"production": {
20+
"tsConfig": "./tsconfig.lib.prod.json"
21+
}
22+
}
23+
},
24+
"lint": {
25+
"builder": "@angular-devkit/build-angular:tslint",
26+
"options": {
27+
"tsConfig": ["./tsconfig.lib.json", "./tsconfig.spec.json"],
28+
"exclude": ["**/node_modules/**"]
29+
}
30+
}
31+
}
32+
},
33+
"ngredux-router": {
34+
"projectType": "library",
35+
"root": "packages/router",
36+
"sourceRoot": "packages/router/src",
37+
"prefix": "lib",
38+
"architect": {
39+
"build": {
40+
"builder": "@angular-devkit/build-angular:ng-packagr",
41+
"options": {
42+
"tsConfig": "./tsconfig.lib.json",
43+
"project": "packages/router/ng-package.json"
44+
},
45+
"configurations": {
46+
"production": {
47+
"tsConfig": "./tsconfig.lib.prod.json"
48+
}
49+
}
50+
},
51+
"lint": {
52+
"builder": "@angular-devkit/build-angular:tslint",
53+
"options": {
54+
"tsConfig": ["./tsconfig.lib.json", "./tsconfig.spec.json"],
55+
"exclude": ["**/node_modules/**"]
56+
}
57+
}
58+
}
59+
},
60+
"ngredux-form": {
61+
"projectType": "library",
62+
"root": "packages/form",
63+
"sourceRoot": "packages/form/src",
64+
"prefix": "lib",
65+
"architect": {
66+
"build": {
67+
"builder": "@angular-devkit/build-angular:ng-packagr",
68+
"options": {
69+
"tsConfig": "./tsconfig.lib.json",
70+
"project": "packages/form/ng-package.json"
71+
},
72+
"configurations": {
73+
"production": {
74+
"tsConfig": "./tsconfig.lib.prod.json"
75+
}
76+
}
77+
},
78+
"lint": {
79+
"builder": "@angular-devkit/build-angular:tslint",
80+
"options": {
81+
"tsConfig": ["./tsconfig.lib.json", "./tsconfig.spec.json"],
82+
"exclude": ["**/node_modules/**"]
83+
}
84+
}
85+
}
86+
}
87+
},
88+
"defaultProject": "store"
89+
}

commitlint.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
extends: ['@commitlint/config-conventional'],
2+
extends: ['@commitlint/config-conventional'],
33
};

docs/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
# Packages
66

7-
- [ngredux-store](store/) - Bindings between Redux and Angular
8-
- [ngredux-form](form/) - Bindings between Angular Forms and your Redux state
9-
- [ngredux-router](router/) - Bindings between Angular Router and your Redux state
7+
- [ngredux-store](store/) - Bindings between Redux and Angular
8+
- [ngredux-form](form/) - Bindings between Angular Forms and your Redux state
9+
- [ngredux-router](router/) - Bindings between Angular Router and your Redux state
1010

1111
# Examples
1212

13-
- [Example Application](https://github.com/angular-redux/platform/blob/master/packages/example-app)
13+
- [Example Application](https://github.com/angular-redux/platform/blob/master/packages/example-app)

docs/_navbar.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
- [Store](store/)
2-
- [Form](form/)
3-
- [Router](router/)
4-
- [Changelog](changelog)
5-
- [Contributing](contributing)
1+
- [Store](store/)
2+
- [Form](form/)
3+
- [Router](router/)
4+
- [Changelog](changelog)
5+
- [Contributing](contributing)

0 commit comments

Comments
 (0)