Skip to content
This repository was archived by the owner on Jan 2, 2018. It is now read-only.

Commit 53afd47

Browse files
committed
Merge pull request #1 from rocjs/feature/initial-logic
Initial logic
2 parents 9348e40 + 7d78fdb commit 53afd47

32 files changed

Lines changed: 340 additions & 2 deletions

.editorconfig

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs.
2+
# Requires EditorConfig JetBrains Plugin - http://github.com/editorconfig/editorconfig-jetbrains
3+
4+
# Set this file as the topmost .editorconfig
5+
# (multiple files can be used, and are applied starting from current document location)
6+
root = true
7+
8+
[{package.json}]
9+
indent_style = space
10+
indent_size = 2
11+
12+
# Use bracketed regexp to target specific file types or file locations
13+
[*.{js,json}]
14+
15+
# Use hard or soft tabs ["tab", "space"]
16+
indent_style = space
17+
18+
# Size of a single indent [an integer, "tab"]
19+
indent_size = tab
20+
21+
# Number of columns representing a tab character [an integer]
22+
tab_width = 4
23+
24+
# Line breaks representation ["lf", "cr", "crlf"]
25+
end_of_line = lf
26+
27+
# ["latin1", "utf-8", "utf-16be", "utf-16le"]
28+
charset = utf-8
29+
30+
# Remove any whitespace characters preceding newline characters ["true", "false"]
31+
trim_trailing_whitespace = true
32+
33+
# Ensure file ends with a newline when saving ["true", "false"]
34+
insert_final_newline = true

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
*.log
3+
.DS_Store
4+
lib
5+
esdocs
6+
coverage

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
sudo: required
2+
language: node_js
3+
node_js:
4+
- 4.2
5+
- stable
6+
before_script:
7+
- npm run link
8+
after_success:
9+
- npm run build

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016 Roc
3+
Copyright (c) 2016 VG
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
# roc-plugin-react
1+
# roc-plugin-react
2+
[![Build Status](https://travis-ci.org/rocjs/roc-plugin-react.svg?branch=master)](https://travis-ci.org/rocjs/roc-plugin-react)
3+
4+
__Adds React support to Webpack and Roc__
5+
- [roc-plugin-react](/packages/roc-plugin-react)

package.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"name": "roc-plugin-react",
3+
"private": true,
4+
"license": "MIT",
5+
"scripts": {
6+
"rid": "rid",
7+
"build": "rid build",
8+
"lint": "rid lint:alias",
9+
"link": "rid link",
10+
"test": "npm run lint"
11+
},
12+
"devDependencies": {
13+
"@rocjs/roc-internal-dev": "^1.0.0"
14+
}
15+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
lib
2+
esdocs
3+
docs
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extends": "vgno",
3+
4+
"parser": "babel-eslint",
5+
6+
"env": {
7+
"es6": true
8+
},
9+
10+
"ecmaFeatures": {
11+
"modules": true
12+
}
13+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# roc-plugin-react-dev
2+
Adds React support to Webpack and Roc.
3+
4+
## Documentation
5+
- [Actions](/packages/roc-plugin-react-dev/docs/Actions.md)
6+
- [Commands](/packages/roc-plugin-react-dev/docs/Commands.md)
7+
- [Hooks](/packages/roc-plugin-react-dev/docs/Hooks.md)
8+
- [Settings](/packages/roc-plugin-react-dev/docs/Settings.md)
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Actions for `roc-plugin-react-dev`
2+
3+
## Actions
4+
* [roc-plugin-react](#roc-plugin-react)
5+
* [react](#react)
6+
* [roc-plugin-react-dev](#roc-plugin-react-dev)
7+
* [react](#react)
8+
9+
## roc-plugin-react
10+
11+
### react
12+
13+
__Connects to extension:__ `roc-plugin-start`
14+
__Connects to hook:__ `get-resolve-paths`
15+
16+
## roc-plugin-react-dev
17+
18+
### react
19+
20+
__Connects to extension:__ Not specified
21+
__Connects to hook:__ `build-webpack`

0 commit comments

Comments
 (0)