Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit 1842ece

Browse files
committed
Switch default starterkit to starterkit-mustache-base
1 parent f82ad9c commit 1842ece

File tree

6 files changed

+16
-14
lines changed

6 files changed

+16
-14
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ node_js:
77

88
before_script:
99
- npm install edition-node
10-
- npm install starterkit-mustache-demo
10+
- npm install starterkit-mustache-base
1111

1212
branches:
1313
only:

bin/inquiries/starterkit.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const starterkitSetup = [{
5252
value: false
5353
}],
5454
default: {
55-
name: 'starterkit-mustache-demo',
56-
value: 'starterkit-mustache-demo'}
55+
name: 'starterkit-mustache-base',
56+
value: 'starterkit-mustache-base'}
5757
}];
5858
module.exports = starterkitSetup;

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,24 @@
1111
"private": true,
1212
"dependencies": {
1313
"archiver": "1.3.0",
14-
"browser-sync": "2.18.6",
14+
"browser-sync": "2.18.8",
1515
"bs-html-injector": "3.0.3",
1616
"colors": "1.1.2",
1717
"commander": "2.9.0",
18-
"execa": "0.6.0",
19-
"fs-promise": "1.0.0",
18+
"execa": "0.6.1",
19+
"fs-promise": "2.0.0",
2020
"glob": "7.1.1",
2121
"inquirer": "2.0.0",
2222
"lodash": "4.17.4",
2323
"path-exists": "3.0.0",
24-
"patternlab-node": " 2.7.2",
24+
"patternlab-node": "2.8.0",
2525
"sanitize-filename": "1.6.1"
2626
},
2727
"devDependencies": {
2828
"edition-node": "0.0.4",
29-
"starterkit-mustache-demo": "4.0.2",
30-
"eslint": "3.13.1",
31-
"proxyquire": "1.7.10",
29+
"eslint": "3.17.1",
30+
"proxyquire": "1.7.11",
31+
"starterkit-mustache-base": "3.0.1",
3232
"tap": "10.3.0"
3333
},
3434
"files": [

test/cli-build.test.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ const wrapAsync = require('../bin/utils').wrapAsync;
88
const projectRoot = getUniqueProjectPath();
99

1010
tap.test('Init and build ->', t => wrapAsync(function*() {
11-
yield spawnCmd(['init', '--verbose', '--project-dir', projectRoot, '--edition', 'edition-node', '--starterkit', 'starterkit-mustache-demo']);
11+
yield spawnCmd(['init', '--verbose', '--project-dir', projectRoot, '--edition', 'edition-node', '--starterkit', 'starterkit-mustache-base']);
1212
yield spawnCmd(['build', '--config', `${projectRoot}/patternlab-config.json`]);
1313
t.ok(exists.sync(path.resolve(projectRoot, 'public')), 'should build all files into public dir');
14-
t.ok(exists.sync(path.resolve(projectRoot, 'public', 'patterns')), 'with a patterns dir');
14+
t.ok(exists.sync(path.resolve(projectRoot, 'public', 'annotations')), 'with a annotations dir');
15+
t.ok(exists.sync(path.resolve(projectRoot, 'public', 'css')), 'with a css dir');
16+
t.ok(exists.sync(path.resolve(projectRoot, 'public', 'images')), 'with a images dir');
1517
t.ok(exists.sync(path.resolve(projectRoot, 'public', 'styleguide')), 'with a styleguide dir');
1618
t.end();
1719
}));

test/cli-export.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const wrapAsync = require('../bin/utils').wrapAsync;
88
const projectRoot = getUniqueProjectPath();
99

1010
tap.test('Init and export ->', t => wrapAsync(function*() {
11-
yield spawnCmd(['init', '--verbose', '--project-dir', projectRoot, '--edition', 'edition-node', '--starterkit', 'starterkit-mustache-demo']);
11+
yield spawnCmd(['init', '--verbose', '--project-dir', projectRoot, '--edition', 'edition-node', '--starterkit', 'starterkit-mustache-base']);
1212
yield spawnCmd(['export', '--config', `${projectRoot}/patternlab-config.json`]);
1313
t.ok(exists.sync(path.resolve(projectRoot, 'pattern_exports', 'patterns.zip')), ' should create patterns.zip');
1414
t.end();

test/cli-init.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const wrapAsync = require('../bin/utils').wrapAsync;
88
const projectRoot = getUniqueProjectPath();
99

1010
tap.test('Init ->', t => wrapAsync(function*() {
11-
yield spawnCmd(['init', '--verbose', '--project-dir', projectRoot, '--edition', 'edition-node', '--starterkit', 'starterkit-mustache-demo']);
11+
yield spawnCmd(['init', '--verbose', '--project-dir', projectRoot, '--edition', 'edition-node', '--starterkit', 'starterkit-mustache-base']);
1212
t.ok(exists.sync(path.resolve(projectRoot)), 'should initialize a PatternLab project');
1313
t.ok(exists.sync(path.resolve(projectRoot, 'source')), 'with a source dir');
1414
t.ok(exists.sync(path.resolve(projectRoot, 'public')), 'with a public dir');

0 commit comments

Comments
 (0)