Compare commits

...

5 Commits

Author SHA1 Message Date
Adam Stankiewicz
965a53db21 Update lerna version 2016-07-02 12:46:06 +02:00
Adam Stankiewicz
1334ff67ae Configure CI properly for lerna 2016-07-02 12:46:06 +02:00
Adam Stankiewicz
afb27f446a Fix npm test command of bower-config 2016-07-02 12:46:06 +02:00
Adam Stankiewicz
fe011b8462 Add lerna 2016-07-02 12:46:06 +02:00
Adam Stankiewicz
096fc3da0d Move bower project to packages/bower 2016-07-02 12:46:06 +02:00
170 changed files with 145 additions and 130 deletions

16
.gitignore vendored
View File

@@ -1,14 +1,2 @@
/node_modules
/npm-debug.log
/test/assets/package-*/
/test/assets/temp-*/
/test/reports
/test/tmp/
/bower.json
/component.json
/bower_components
/test/sample
!/test/sample/bower.json
/npm-shrinkwrap.json
npm-debug.log*
lerna-debug.log*

View File

@@ -17,7 +17,6 @@ install:
- npm --version
- git --version
- svn --version | head -n 1
- npm install -g grunt-cli
- npm install
os:
@@ -31,4 +30,4 @@ matrix:
- env: "NODE_VERSION=0.11"
script:
- grunt travis
- npm test

View File

@@ -31,7 +31,7 @@ install:
# Post-install test scripts.
test_script:
- cmd: npm run ci
- cmd: npm test
# Make clone much faster
shallow_clone: true

10
lerna.json Normal file
View File

@@ -0,0 +1,10 @@
{
"lerna": "2.0.0-beta.23",
"version": "independent",
"publishConfig": {
"ignore": [
"ignored-file",
"*.md"
]
}
}

View File

@@ -1,100 +1,10 @@
{
"name": "bower",
"version": "1.7.9",
"description": "The browser package manager",
"author": "Twitter",
"license": "MIT",
"repository": "bower/bower",
"main": "lib",
"bin": "bin/bower",
"homepage": "http://bower.io",
"engines": {
"node": ">=0.10.0"
},
"keywords": [
"bower"
],
"dependencies": {
"abbrev": "^1.0.5",
"archy": "1.0.0",
"bower-config": "^1.3.1",
"bower-endpoint-parser": "^0.2.2",
"bower-json": "^0.8.1",
"bower-logger": "^0.2.2",
"bower-registry-client": "^1.0.0",
"cardinal": "0.4.4",
"chalk": "^1.0.0",
"chmodr": "^1.0.2",
"configstore": "^2.0.0",
"decompress-zip": "^0.2.1",
"destroy": "^1.0.3",
"findup-sync": "^0.3.0",
"fs-write-stream-atomic": "1.0.8",
"fstream": "^1.0.3",
"fstream-ignore": "^1.0.2",
"github": "^0.2.3",
"glob": "^4.3.2",
"graceful-fs": "^4.1.3",
"handlebars": "^4.0.5",
"inquirer": "0.10.0",
"is-root": "^1.0.0",
"junk": "^1.0.0",
"lockfile": "^1.0.0",
"lru-cache": "^2.5.0",
"md5-hex": "^1.0.2",
"mkdirp": "0.5.0",
"mout": "^0.11.0",
"nopt": "^3.0.1",
"opn": "^4.0.0",
"p-throttler": "0.1.1",
"promptly": "0.2.0",
"q": "^1.1.2",
"request": "2.67.0",
"request-progress": "0.3.1",
"requireg": "^0.1.5",
"resolve": "^1.1.7",
"retry": "0.6.1",
"rimraf": "^2.2.8",
"semver": "^2.3.0",
"semver-utils": "^1.1.1",
"shell-quote": "^1.4.2",
"stringify-object": "^1.0.0",
"tar-fs": "^1.4.1",
"tmp": "0.0.28",
"update-notifier": "^0.6.0",
"user-home": "^1.1.0",
"which": "^1.0.8"
},
"private": true,
"devDependencies": {
"arr-diff": "^2.0.0",
"chai": "^3.5.0",
"coveralls": "^2.11.9",
"expect.js": "^0.3.1",
"grunt": "^1.0.1",
"grunt-cli": "^1.1.0",
"grunt-contrib-watch": "^1.0.0",
"grunt-eslint": "^18.1.0",
"grunt-exec": "^0.4.7",
"grunt-simple-mocha": "^0.4.1",
"in-publish": "^2.0.0",
"istanbul": "^0.4.3",
"load-grunt-tasks": "^3.5.0",
"mocha": "^2.5.3",
"multiline": "^1.0.2",
"nock": "^7.7.2",
"node-uuid": "^1.4.7",
"proxyquire": "^1.7.9",
"spawn-sync": "1.0.15",
"wrench": "^1.5.8"
"lerna": "2.0.0-beta.23"
},
"scripts": {
"test": "grunt test",
"ci": "grunt travis",
"coveralls": "coveralls",
"prepublish": "in-publish && echo 'You need to use \"grunt publish\" to publish bower' && false || not-in-publish"
},
"files": [
"bin",
"lib"
]
"postinstall": "lerna bootstrap",
"test": "lerna run test"
}
}

View File

@@ -3,20 +3,6 @@ module.exports = function (grunt) {
require('load-grunt-tasks')(grunt);
grunt.initConfig({
jshint: {
options: {
jshintrc: '.jshintrc'
},
files: [
'Gruntfile.js',
'bin/*',
'lib/**/*.js',
'test/**/*.js',
'!test/assets/**/*',
'!test/reports/**/*',
'!test/tmp/**/*'
]
},
simplemocha: {
options: {
reporter: 'spec',
@@ -41,13 +27,21 @@ module.exports = function (grunt) {
}
},
watch: {
files: ['<%= jshint.files %>'],
tasks: ['jshint', 'simplemocha:short']
files: [
'Gruntfile.js',
'bin/*',
'lib/**/*.js',
'test/**/*.js',
'!test/assets/**/*',
'!test/reports/**/*',
'!test/tmp/**/*'
],
tasks: ['simplemocha:short']
}
});
grunt.registerTask('test', ['jshint', 'simplemocha:full']);
grunt.registerTask('test', ['simplemocha:full']);
grunt.registerTask('cover', 'exec:cover');
grunt.registerTask('travis', ['jshint', 'exec:cover', 'exec:coveralls']);
grunt.registerTask('travis', ['exec:cover', 'exec:coveralls']);
grunt.registerTask('default', 'test');
};

14
packages/bower/.gitignore vendored Normal file
View File

@@ -0,0 +1,14 @@
/node_modules
/npm-debug.log
/test/assets/package-*/
/test/assets/temp-*/
/test/reports
/test/tmp/
/bower.json
/component.json
/bower_components
/test/sample
!/test/sample/bower.json
/npm-shrinkwrap.json

Some files were not shown because too many files have changed in this diff Show More