Skip to content

Commit

Permalink
Merge branch 'broccoli_types'
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseppstein committed Feb 16, 2019
2 parents ea4ca7c + bc70099 commit 8b29951
Show file tree
Hide file tree
Showing 61 changed files with 13,484 additions and 28,328 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Expand Up @@ -3,6 +3,4 @@ node_js:
- '6'
- '8'
- '10'
env:
- COVERAGE=true
- COVERAGE=false
install: yarn
4 changes: 3 additions & 1 deletion lerna.json
Expand Up @@ -3,5 +3,7 @@
"packages/*"
],
"version": "independent",
"lerna": "2.4.0"
"lerna": "^3.13.0",
"npmClient": "yarn",
"useWorkspaces": true
}
9 changes: 8 additions & 1 deletion package.json
Expand Up @@ -5,9 +5,16 @@
"lerna": "^3.3.0",
"yarn": "^1.9.4"
},
"workspaces": [
"packages/*"
],
"scripts": {
"bootstrap": "lerna bootstrap",
"test": "lerna run test",
"postinstall": "lerna bootstrap"
},
"toolchain": {
"node": "10.15.1",
"yarn": "1.14.0"
}
}
}
12 changes: 4 additions & 8 deletions packages/broccoli-eyeglass/.eslintignore
@@ -1,8 +1,4 @@
# compiled output
/dist/
/tmp/

# misc
/coverage/
!.*
/examples/
test
lib
src/types
examples
3 changes: 3 additions & 0 deletions packages/broccoli-eyeglass/.eslintrc
@@ -0,0 +1,3 @@
{
"extends": "../eyeglass/.eslintrc"
}
25 changes: 0 additions & 25 deletions packages/broccoli-eyeglass/.eslintrc.js

This file was deleted.

3 changes: 2 additions & 1 deletion packages/broccoli-eyeglass/.gitignore
@@ -1,4 +1,5 @@
node_modules
.DS_Store
tmp

lib
examples/*/dist
7 changes: 3 additions & 4 deletions packages/broccoli-eyeglass/examples/example-1/Brocfile.js
@@ -1,9 +1,8 @@
var BroccoliEyeglass = require("broccoli-eyeglass");

var options = {
cssDir: "css" /* This is the only required option */,
};

var outputTree = new BroccoliEyeglass(["src"], options);
var outputTree = new BroccoliEyeglass("src", {
cssDir: "css" /* This is the only required option */,
});

module.exports = outputTree;
6 changes: 2 additions & 4 deletions packages/broccoli-eyeglass/examples/example-2/Brocfile.js
@@ -1,11 +1,9 @@
var BroccoliEyeglass = require("broccoli-eyeglass");

var options = {
var outputTree = new BroccoliEyeglass("src", {
cssDir: "stylesheets",
discover: false, // Don't automatically find & convert sass files in the trees
sourceFiles: ["master.scss"], // Array of files (or glob string) to compile
};

var outputTree = new BroccoliEyeglass(["src"], options);
});

module.exports = outputTree;

0 comments on commit 8b29951

Please sign in to comment.