Skip to content

Commit

Permalink
Use yarn workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
fortuna committed Apr 6, 2018
1 parent fb58ec9 commit d22cbae
Show file tree
Hide file tree
Showing 7 changed files with 4,688 additions and 5,720 deletions.
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
.DS_Store
**/bower_components
/build
/node_modules/
/src/metrics_server/node_modules/
/src/server_manager/node_modules/
node_modules/
/src/server_manager/install_scripts/do_install_script.ts
yarn-error.log
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "outline-server",
"private": true,
"devDependencies": {
"@types/jasmine": "^2.5.53",
"clang-format": "^1.2.2",
Expand All @@ -9,12 +10,11 @@
"typescript": "^2.6.2"
},
"scripts": {
"postinstall": "yarn run server_manager_install",
"server_manager_install": "cd src/server_manager && yarn install --modules-folder ../../node_modules",
"clean": "rm -rf src/server_manager/bower_components/ src/{metrics_server,server_manager}/node_modules/ build/ node_modules/ src/server_manager/install_scripts/do_install_script.ts",
"shadowbox_install": "cd src/shadowbox && yarn install --modules-folder ../../node_modules --no-bin-links",
"metrics_server_install": "cd src/metrics_server && yarn install --modules-folder ../../node_modules",
"clean": "rm -rf src/server_manager/bower_components/ src/*/node_modules/ build/ node_modules/ src/server_manager/install_scripts/do_install_script.ts",
"do": "bash ./scripts/do_action.sh",
"precommit": "for i in . src/server_manager/electron_app src/metrics_server src/shadowbox; do tslint -p $i --fix; done; git-clang-format"
}
},
"workspaces": [
"src/*"
]
}
Loading

0 comments on commit d22cbae

Please sign in to comment.