Skip to content

Commit

Permalink
Moving to lerna
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Basto committed Mar 9, 2019
1 parent 8034ef3 commit 8272e70
Show file tree
Hide file tree
Showing 82 changed files with 4,657 additions and 83 deletions.
8 changes: 8 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"packages": [
"packages/*"
],
"version": "independent",
"npmClient": "yarn",
"useWorkspaces": true
}
90 changes: 7 additions & 83 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,89 +1,13 @@
{
"name": "pebble-react",
"author": "MakeAwesomeHappen",
"name": "pebble-react-workspace",
"version": "1.0.0",
"keywords": [
"pebble-app"
],
"main": "index.js",
"license": "MIT",
"private": true,
"babel": {
"plugins": [
"transform-decorators-legacy"
],
"presets": [
"es2015",
"stage-2",
"react"
]
},
"dependencies": {
"babel-polyfill": "^6.26.0",
"protobufjs": "^6.8.8",
"react": "^16.3.2",
"react-reconciler": "^0.20.0"
},
"scripts": {
"compile": "npm run build && pebble build",
"build": "webpack --config webpack.react.config.js",
"emulator": "npm run compile && pebble install --emulator basalt --logs",
"phone": "npm run compile && pebble install --phone 192.168.15.6 --logs",
"protojs": "pbjs -t json src/protobuf/BatchOperationsMessage.proto > src/js/proto.json",
"protoc": "protoc --plugin=protoc-gen-nanopb=~/DevApps/nanopb/generator/protoc-gen-nanopb -osrc/c/lib/nanopb/BatchOperationsMessage.pb src/protobuf/BatchOperationsMessage.proto -I src/protobuf && python ~/DevApps/nanopb/generator/nanopb_generator.py src/c/lib/nanopb/BatchOperationsMessage.pb",
"proto": "npm run protoc && npm run protojs"
},
"workspaces": [
"packages/*"
],
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.6",
"babel-loader": "^6.0.0",
"babel-plugin-module-resolver": "^3.1.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.5",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"clean-webpack-plugin": "^1.0.1",
"eslint": "^4.10.0",
"eslint-plugin-react": "^7.4.0",
"json-loader": "^0.5.7",
"webpack": "^1.8.7",
"webpack-bundle-analyzer": "^3.0.4"
},
"pebble": {
"displayName": "Pebble React",
"uuid": "aad6f4cd-02a3-40ea-a180-5ec43b037eb2",
"sdkVersion": "3",
"enableMultiJS": true,
"targetPlatforms": [
"aplite",
"basalt",
"chalk",
"diorite"
],
"watchapp": {
"watchface": false
},
"messageKeys": [
"batchOperations",
"batchOperationsByteLength",
"message"
],
"resources": {
"media": [
{
"file": "images/ajax-loader.png",
"name": "SPINNER",
"type": "raw"
},
{
"file": "images/static.png",
"name": "STATIC",
"type": "bitmap"
}
]
}
"lerna": "^3.13.0"
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
89 changes: 89 additions & 0 deletions packages/pebble-react-core/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"name": "@pebble-react/core",
"author": "Bruno Basto",
"version": "0.0.1",
"keywords": [
"pebble-app"
],
"private": true,
"babel": {
"plugins": [
"transform-decorators-legacy"
],
"presets": [
"es2015",
"stage-2",
"react"
]
},
"dependencies": {
"babel-polyfill": "^6.26.0",
"protobufjs": "^6.8.8",
"react": "^16.3.2",
"react-reconciler": "^0.20.0"
},
"scripts": {
"compile": "npm run build && pebble build",
"build": "webpack --config webpack.react.config.js",
"emulator": "npm run compile && pebble install --emulator basalt --logs",
"phone": "npm run compile && pebble install --phone 192.168.15.6 --logs",
"protojs": "pbjs -t json src/protobuf/BatchOperationsMessage.proto > src/js/proto.json",
"protoc": "protoc --plugin=protoc-gen-nanopb=~/DevApps/nanopb/generator/protoc-gen-nanopb -osrc/c/lib/nanopb/BatchOperationsMessage.pb src/protobuf/BatchOperationsMessage.proto -I src/protobuf && python ~/DevApps/nanopb/generator/nanopb_generator.py src/c/lib/nanopb/BatchOperationsMessage.pb",
"proto": "npm run protoc && npm run protojs"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.6",
"babel-loader": "^6.0.0",
"babel-plugin-module-resolver": "^3.1.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.5",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"clean-webpack-plugin": "^1.0.1",
"eslint": "^4.10.0",
"eslint-plugin-react": "^7.4.0",
"json-loader": "^0.5.7",
"webpack": "^1.8.7",
"webpack-bundle-analyzer": "^3.0.4"
},
"pebble": {
"displayName": "Pebble React",
"uuid": "aad6f4cd-02a3-40ea-a180-5ec43b037eb2",
"sdkVersion": "3",
"enableMultiJS": true,
"targetPlatforms": [
"aplite",
"basalt",
"chalk",
"diorite"
],
"watchapp": {
"watchface": false
},
"messageKeys": [
"batchOperations",
"batchOperationsByteLength",
"message"
],
"resources": {
"media": [
{
"file": "images/ajax-loader.png",
"name": "SPINNER",
"type": "raw"
},
{
"file": "images/static.png",
"name": "STATIC",
"type": "bitmap"
}
]
}
}
}
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
37 changes: 37 additions & 0 deletions packages/pebble-react-core/src/js/bundle.js

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions packages/pebble-react-example/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "@pebble-react/example",
"version": "0.0.1",
"main": "index.js",
"license": "MIT",
"private": false
}
Loading

0 comments on commit 8272e70

Please sign in to comment.