Skip to content

Commit 28669be

Browse files
committed
CoreUI-React initial commit v2.0.0-alpha.1
1 parent d1c1987 commit 28669be

File tree

107 files changed

+15262
-3469
lines changed

Some content is hidden

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

107 files changed

+15262
-3469
lines changed

.babelrc

Lines changed: 0 additions & 6 deletions
This file was deleted.

.gitignore

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
1-
# See http://help.github.com/ignore-files/ for more about ignoring files.
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
22

33
# dependencies
4-
node_modules
5-
package-lock.json
4+
/node_modules
65

76
# testing
8-
coverage
7+
/coverage
98

109
# production
11-
build
10+
/build
1211

1312
# misc
1413
.DS_Store
15-
Thumbs.db
16-
.env
1714
.idea
18-
npm-debug.log
19-
compilation-stats.json
15+
.env.local
16+
.env.development.local
17+
.env.test.local
18+
.env.production.local
19+
20+
npm-debug.log*
21+
yarn-debug.log*
22+
yarn-error.log*

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
## [react](./REACT.md) version `changelog`
22

3+
##### `v2.0.0-alpha.1`
4+
- refactor: separation of concerns - (CoreUI template vs CoreUI components) prepare to use CoreUI as dependency
5+
- refactor: project structure change
6+
- refactor: moved to [Create-React-App](CRA.md)
7+
- chore: moved to [Semantic Versioning](https://semver.org/)
8+
39
##### `v1.0.10`
410
- refactor: `<InputGroupAddon addonType="prepend">`
511
- refactor: `<InputGroupAddon addonType="append">`

CRA.md

Lines changed: 2434 additions & 0 deletions
Large diffs are not rendered by default.

REACT.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,31 @@
1-
# React version
1+
# CoreUI React version
22

33
## Intro
4-
It uses Sass (with .scss). The style is loaded at the component level.
4+
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app)
55

6-
Dependencies can be handled by **npm**.
6+
It uses Sass (with .scss). The styles are loaded at the template level
7+
8+
Dependencies are handled by **npm**.
79

810
## Directories
911
```
10-
React_Full_Project/
11-
├── src/ (js|jsx source)
12-
├── scss/ (scss source)
12+
CoreUI-React#v2.0.0
1313
├── public/ (html template)
14-
├── img/ (images)
14+
├── assets/ (static assets)
15+
├── src/ (project root)
16+
├── containers/ (container source)
17+
├── scss/ (scss/css source)
18+
├── views/ (views source)
1519
```
1620

1721
## Usage
18-
**npm i** - to install dependencies
22+
`npm i` - to install dependencies
1923

20-
## Sctipts
21-
**npm start** for developing (it runs webpack-dev-server)
22-
**npm run build** to run a dev build
23-
**npm run clean** to clean build dir
24-
**npm run dev** to run a dev build with watching filesystem for changes
24+
## Sctipts
25+
`npm start` for developing (it runs webpack-dev-server)
26+
`npm run build` to run a dev build
2527

2628
## See also
27-
29+
[Create-React-App](CRA.md)
2830
[Changelog](./CHANGELOG.md)
2931
[Readme](./README.md)

README.md

Lines changed: 0 additions & 69 deletions
This file was deleted.

package.json

Lines changed: 33 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,49 @@
11
{
2-
"name": "@coreui/react",
3-
"version": "1.0.10",
4-
"description": "Open Source Bootstrap Admin Template",
2+
"name": "CoreUI-React",
3+
"version": "2.0.0-alpha.1",
4+
"description": "CoreUI React Open Source Bootstrap 4 Admin Template",
55
"author": "Łukasz Holeczek",
66
"homepage": "http://coreui.io",
77
"copyright": "Copyright 2018 creativeLabs Łukasz Holeczek",
88
"license": "MIT",
99
"private": true,
10-
"devDependencies": {
11-
"babel-core": "6.26.0",
12-
"babel-loader": "7.1.2",
13-
"babel-plugin-transform-object-rest-spread": "6.26.0",
14-
"babel-preset-env": "1.6.1",
15-
"babel-preset-react": "6.24.1",
16-
"copy-webpack-plugin": "4.3.1",
17-
"css-hot-loader": "1.3.6",
18-
"css-loader": "0.28.9",
19-
"extract-text-webpack-plugin": "3.0.2",
20-
"file-loader": "1.1.6",
21-
"html-loader": "0.5.5",
22-
"html-webpack-plugin": "2.30.1",
23-
"node-sass": "4.7.2",
24-
"rimraf": "2.6.2",
25-
"sass-loader": "6.0.6",
26-
"source-list-map": "2.0.0",
27-
"style-loader": "0.20.1",
28-
"uglify-js": "3.3.9",
29-
"url-loader": "0.6.2",
30-
"webpack": "3.10.0",
31-
"webpack-dev-server": "2.11.1"
10+
"repository": {
11+
"type": "git",
12+
"url": "[email protected]:mrholek/CoreUI-React.git"
3213
},
3314
"dependencies": {
15+
"@coreui/styles": "git://github.com/coreui/styles.git",
16+
"@coreui/react-dev": "git://github.com/coreui/react.git",
3417
"bootstrap": "4.0.0",
35-
"chart.js": "2.7.1",
36-
"flag-icon-css": "2.9.0",
37-
"font-awesome": "4.7.0",
38-
"history": "4.7.2",
39-
"react": "16.2.0",
18+
"chart.js": "2.7.2",
19+
"classnames": "^2.2.3",
20+
"flag-icon-css": "3.0.0",
21+
"font-awesome": "^4.7.0",
22+
"node-sass-chokidar": "^1.1.0",
23+
"prop-types": "^15.5.8",
24+
"react": "^16.2.0",
4025
"react-chartjs-2": "2.7.0",
41-
"react-dom": "16.2.0",
42-
"react-router-dom": "4.2.2",
43-
"react-transition-group": "2.2.1",
26+
"react-dom": "^16.2.0",
27+
"react-router-config": "^1.0.0-beta.4",
28+
"react-router-dom": "^4.2.2",
29+
"react-scripts": "1.1.1",
4430
"reactstrap": "5.0.0-beta",
45-
"simple-line-icons": "2.4.1"
31+
"simple-line-icons": "^2.4.1"
32+
},
33+
"devDependencies": {
34+
"npm-run-all": "^4.1.2"
4635
},
4736
"scripts": {
48-
"dev": "webpack -d --progress --watch --profile --json > compilation-stats.json --env.dev",
49-
"start": "webpack-dev-server --progress --color --inline --env.dev",
50-
"build": "webpack -p --progress --env.prod",
51-
"clean": "rimraf ./build"
37+
"build-css": "node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/",
38+
"watch-css": "npm run build-css && node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/ --watch --recursive",
39+
"start-js": "react-scripts start",
40+
"start": "npm-run-all -p watch-css start-js",
41+
"build-js": "react-scripts build",
42+
"build": "npm-run-all build-css build-js",
43+
"test": "react-scripts test --env=jsdom",
44+
"eject": "react-scripts eject"
5245
},
53-
"engines": {
54-
"node": ">= 8.9.4",
55-
"npm": ">= 5.6.0"
46+
"bugs": {
47+
"url": "https://github.com/mrholek/CoreUI-React/issues"
5648
}
5749
}

public/assets/.gitkeep

Whitespace-only changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)