Skip to content
This repository was archived by the owner on Sep 16, 2020. It is now read-only.

Commit 2b677d5

Browse files
author
Loïc Goyet
committed
update to trowel 2.0.0 and change package name
1 parent fb66808 commit 2b677d5

5 files changed

Lines changed: 16 additions & 15 deletions

File tree

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ Layouts is a *Trowel Component*, please refer to the [Trowel doc](http://trowel.
99

1010
## Getting Started
1111
### Download
12-
You can easily install trowel-Layouts by using npm, Yarn or Bower
12+
You can easily install trowel-layouts by using NPM or Bower with the name `trowel-layouts` (previously `friendsOfTrowel-Layouts-component`)
1313

1414
```bash
1515
# With bower
16-
$ bower install friendsOfTrowel-Layouts-component
16+
$ bower install trowel-layouts
1717

1818
# With npm
19-
$ npm install friendsOfTrowel-Layouts-component
19+
$ npm install trowel-layouts
2020

2121
# With yarn
22-
$ yarn add friendsOfTrowel-Layouts-component
22+
$ yarn add trowel-layouts
2323
```
2424

2525
You can also download a zip archive [right here](https://github.com/FriendsOfTrowel/Layouts/archive/master.zip).
@@ -30,11 +30,10 @@ The main scss file to include to your main `.scss` file is located at the `./src
3030

3131
```
3232
// Trowel Dependencies
33-
@import './path/to/dependencies/sassy-maps/sass/sassy-maps';
3433
@import './path/to/dependencies/trowel-core/src/trowel';
3534
3635
// Trowel Components Layouts
37-
@import './path/to/dependencies/src/scss/layouts';
36+
@import './path/to/dependencies/trowel-layouts/src/scss/layouts';
3837
```
3938

4039

bower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "friendsOfTrowel-Layouts-component",
2+
"name": "trowel-layouts",
33
"homepage": "https://github.com/FriendsOfTrowel/Layouts",
44
"authors": [
55
"Loïc Goyet <loic@troopers.email>"
@@ -32,6 +32,6 @@
3232
"url": "git+https://github.com/FriendsOfTrowel/Layouts.git"
3333
},
3434
"dependencies": {
35-
"trowel-core": "^1.2.3"
35+
"trowel-core": "^2.0.0"
3636
}
3737
}

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "friendsOfTrowel-Layouts-component",
3-
"version": "0.0.0",
2+
"name": "trowel-layouts",
3+
"version": "1.0.0",
44
"description": "The official Trowel Component for Layouts",
55
"scripts": {
66
"test": "gulp test",
@@ -15,10 +15,6 @@
1515
"bugs": {
1616
"url": "https://github.com/FriendsOfTrowel/Layouts/issues"
1717
},
18-
"files": [
19-
"src/scss/Layouts.scss",
20-
"injector.json"
21-
],
2218
"keywords": [
2319
"scss",
2420
"css",
@@ -40,5 +36,8 @@
4036
"gulp-size": "^2.1.0",
4137
"gulp-sourcemaps": "^1.9.1",
4238
"run-sequence": "^1.2.2"
39+
},
40+
"dependencies": {
41+
"trowel-core": "^2.0.0"
4342
}
4443
}

test/src/style.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@ body {
22
font-family: 'Open Sans', sans-serif;
33
}
44

5-
@import 'bower_components/sassy-maps/sass/sassy-maps';
65
@import 'bower_components/trowel-core/src/trowel';
76
@import '../../src/scss/layouts';

yarn.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3199,6 +3199,10 @@ trim-newlines@^1.0.0:
31993199
version "1.0.0"
32003200
resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613"
32013201

3202+
trowel-core:
3203+
version "2.0.0"
3204+
resolved "https://registry.yarnpkg.com/trowel-core/-/trowel-core-2.0.0.tgz#8b7c4113e1d78c2d5d2668ad4bf5a20527c6f2cc"
3205+
32023206
tunnel-agent@~0.4.1:
32033207
version "0.4.3"
32043208
resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.4.3.tgz#6373db76909fe570e08d73583365ed828a74eeeb"

0 commit comments

Comments
 (0)