commit nodejs-init-package-json for openSUSE:Factory
Hello community, here is the log from the commit of package nodejs-init-package-json for openSUSE:Factory checked in at 2015-08-05 06:51:41 Comparing /work/SRC/openSUSE:Factory/nodejs-init-package-json (Old) and /work/SRC/openSUSE:Factory/.nodejs-init-package-json.new (New) Package is nodejs-init-package-json Changes: --- /work/SRC/openSUSE:Factory/nodejs-init-package-json/nodejs-init-package-json.changes 2015-07-20 11:21:59.0 +0200 +++ /work/SRC/openSUSE:Factory/.nodejs-init-package-json.new/nodejs-init-package-json.changes 2015-08-05 06:51:43.0 +0200 @@ -1,0 +2,5 @@ +Sat Aug 1 10:26:58 UTC 2015 - i...@marguerite.su + +- update version 1.7.0 + +--- Old: init-package-json-1.6.0.tgz New: init-package-json-1.7.0.tgz Other differences: -- ++ nodejs-init-package-json.spec ++ --- /var/tmp/diff_new_pack.fFSOOP/_old 2015-08-05 06:51:43.0 +0200 +++ /var/tmp/diff_new_pack.fFSOOP/_new 2015-08-05 06:51:43.0 +0200 @@ -19,7 +19,7 @@ %define base_name init-package-json Name: nodejs-init-package-json -Version:1.6.0 +Version:1.7.0 Release:0 Summary:Node.js init package.json License:ISC @@ -41,13 +41,13 @@ %build %install -mkdir -p %{buildroot}%{nodejs_modulesdir}/%{base_name} +mkdir -p %{buildroot}%{nodejs_sitelib}/%{base_name} cp -pr package.json *.js \ -%{buildroot}%{nodejs_modulesdir}/%{base_name}/ +%{buildroot}%{nodejs_sitelib}/%{base_name}/ %files %defattr(-,root,root,-) %doc README.md LICENSE -%{nodejs_modulesdir}/%{base_name} +%{nodejs_sitelib}/%{base_name} %changelog ++ init-package-json-1.6.0.tgz - init-package-json-1.7.0.tgz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/.travis.yml new/package/.travis.yml --- old/package/.travis.yml 2015-05-21 23:05:13.0 +0200 +++ new/package/.travis.yml 2015-06-19 09:22:39.0 +0200 @@ -1,4 +1,5 @@ language: node_js node_js: - - 0.10 - - 0.11 + - '0.10' + - '0.12' + - 'iojs' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/default-input.js new/package/default-input.js --- old/package/default-input.js2015-05-21 23:10:36.0 +0200 +++ new/package/default-input.js2015-06-19 09:25:41.0 +0200 @@ -12,7 +12,7 @@ } function niceName (n) { - return n.replace(/^node-|[.-]js$/g, '') + return n.replace(/^node-|[.-]js$/g, '').toLowerCase() } function readDeps (test) { return function (cb) { @@ -72,7 +72,6 @@ if (semver.valid(version)) return version var er = new Error('Invalid version: ' + version + '') er.notValid = true -er.again = true return er }) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/package.json new/package/package.json --- old/package/package.json2015-05-21 23:12:06.0 +0200 +++ new/package/package.json2015-06-19 09:45:59.0 +0200 @@ -1,6 +1,6 @@ { name: init-package-json, - version: 1.6.0, + version: 1.7.0, main: init-package-json.js, scripts: { test: tap test/*.js @@ -19,13 +19,13 @@ read: ~1.0.1, read-package-json: 1 || 2, semver: 2.x || 3.x || 4, -validate-npm-package-license: 1.0.0-prerelease-2, +validate-npm-package-license: ^2.0.0, validate-npm-package-name: ^2.0.1 }, devDependencies: { npm: ^2, rimraf: ^2.1.4, -tap: ^0.7.1 +tap: ^1.2.0 }, keywords: [ init, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/basic.js new/package/test/basic.js --- old/package/test/basic.js 2015-05-21 23:05:13.0 +0200 +++ new/package/test/basic.js 2015-06-19 09:22:39.0 +0200 @@ -6,6 +6,7 @@ test('the basics', function (t) { var i = path.join(__dirname, 'basic.input') + rimraf.sync(__dirname + '/package.json') init(__dirname, i, { foo: 'bar' }, function (er, data) { if (er) throw er var expect = { @@ -18,6 +19,7 @@ config: { foo: 'bar' }, package: {} } +console.log('') t.same(data, expect) t.end() }) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/license.js new/package/test/license.js --- old/package/test/license.js 2015-05-21 23:05:13.0 +0200 +++ new/package/test/license.js 2015-06-19 09:22:39.0 +0200 @@ -5,7 +5,9 @@ test('license', function (t) { init(__dirname, '', {}, function (er, data) { -t.ok(!er, 'should not error') +if (er)
commit nodejs-init-package-json for openSUSE:Factory
Hello community, here is the log from the commit of package nodejs-init-package-json for openSUSE:Factory checked in at 2015-07-20 11:21:56 Comparing /work/SRC/openSUSE:Factory/nodejs-init-package-json (Old) and /work/SRC/openSUSE:Factory/.nodejs-init-package-json.new (New) Package is nodejs-init-package-json Changes: --- /work/SRC/openSUSE:Factory/nodejs-init-package-json/nodejs-init-package-json.changes 2015-04-27 13:01:30.0 +0200 +++ /work/SRC/openSUSE:Factory/.nodejs-init-package-json.new/nodejs-init-package-json.changes 2015-07-20 11:21:59.0 +0200 @@ -1,0 +2,10 @@ +Sat Jun 6 11:38:00 UTC 2015 - i...@marguerite.su + +- update version 1.6.0 + +--- +Fri Apr 24 12:15:46 UTC 2015 - hvo...@suse.com + +- Update to version 1.4.2 + +--- Old: init-package-json-1.1.0.tgz New: init-package-json-1.6.0.tgz Other differences: -- ++ nodejs-init-package-json.spec ++ --- /var/tmp/diff_new_pack.pPx7Sm/_old 2015-07-20 11:22:01.0 +0200 +++ /var/tmp/diff_new_pack.pPx7Sm/_new 2015-07-20 11:22:01.0 +0200 @@ -19,7 +19,7 @@ %define base_name init-package-json Name: nodejs-init-package-json -Version:1.1.0 +Version:1.6.0 Release:0 Summary:Node.js init package.json License:ISC ++ init-package-json-1.1.0.tgz - init-package-json-1.6.0.tgz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/.npmignore new/package/.npmignore --- old/package/.npmignore 1970-01-01 01:00:00.0 +0100 +++ new/package/.npmignore 2015-05-21 23:05:13.0 +0200 @@ -0,0 +1,2 @@ +node_modules/ +.eslintrc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/.travis.yml new/package/.travis.yml --- old/package/.travis.yml 1970-01-01 01:00:00.0 +0100 +++ new/package/.travis.yml 2015-05-21 23:05:13.0 +0200 @@ -0,0 +1,4 @@ +language: node_js +node_js: + - 0.10 + - 0.11 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/README.md new/package/README.md --- old/package/README.md 2014-07-19 07:30:45.0 +0200 +++ new/package/README.md 2015-05-21 23:05:13.0 +0200 @@ -2,6 +2,8 @@ A node module to get your node module started. +[![Build Status](https://secure.travis-ci.org/npm/init-package-json.svg)](http://travis-ci.org/npm/init-package-json) + ## Usage ```javascript diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/default-input.js new/package/default-input.js --- old/package/default-input.js2014-09-19 08:05:04.0 +0200 +++ new/package/default-input.js2015-05-21 23:10:36.0 +0200 @@ -1,6 +1,10 @@ var fs = require('fs') -var path = require('path') var glob = require('glob') +var path = require('path') +var validateLicense = require('validate-npm-package-license') +var validateName = require('validate-npm-package-name') +var npa = require('npm-package-arg') +var semver = require('semver') // more popular packages should go here, maybe? function isTestPkg (p) { @@ -28,7 +32,7 @@ try { p = JSON.parse(p) } catch (e) { return next() } if (!p.version) return next() -deps[d] = config.get('save-prefix') + p.version +deps[d] = config.get('save-exact') ? p.version : config.get('save-prefix') + p.version return next() }) }) @@ -39,10 +43,38 @@ }} var name = package.name || basename -exports.name = yes ? name : prompt('name', name) - -var version = package.version || config.get('init.version') || '1.0.0' -exports.version = yes ? version : prompt('version', version) +var spec = npa(name) +var scope = config.get('scope') +if (scope) { + if (scope.charAt(0) !== '@') scope = '@' + scope + if (spec.scope) { +name = scope + '/' + spec.name.split('/')[1] + } else { +name = scope + '/' + name + } +} +exports.name = yes ? name : prompt('name', name, function (data) { + var its = validateName(data) + if (its.validForNewPackages) return data + var errors = (its.errors || []).concat(its.warnings || []) + var er = new Error('Sorry, ' + errors.join(' and ') + '.') + er.notValid = true + return er +}) + +var version = package.version || + config.get('init.version') || + config.get('init-version') || + '1.0.0' +exports.version = yes ? + version : + prompt('version', version, function (version) { +if (semver.valid(version)) return version
commit nodejs-init-package-json for openSUSE:Factory
Hello community, here is the log from the commit of package nodejs-init-package-json for openSUSE:Factory checked in at 2015-04-27 13:01:28 Comparing /work/SRC/openSUSE:Factory/nodejs-init-package-json (Old) and /work/SRC/openSUSE:Factory/.nodejs-init-package-json.new (New) Package is nodejs-init-package-json Changes: --- /work/SRC/openSUSE:Factory/nodejs-init-package-json/nodejs-init-package-json.changes 2014-10-24 10:46:41.0 +0200 +++ /work/SRC/openSUSE:Factory/.nodejs-init-package-json.new/nodejs-init-package-json.changes 2015-04-27 13:01:30.0 +0200 @@ -1,0 +2,5 @@ +Sat Apr 4 06:41:56 UTC 2015 - dmuel...@suse.com + +- enable building for all arches + +--- Other differences: -- ++ nodejs-init-package-json.spec ++ --- /var/tmp/diff_new_pack.cFNa4w/_old 2015-04-27 13:01:30.0 +0200 +++ /var/tmp/diff_new_pack.cFNa4w/_new 2015-04-27 13:01:30.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package nodejs-init-package-json # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,7 +29,6 @@ BuildRequires: nodejs-packaging BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -ExclusiveArch: %{ix86} x86_64 %{arm} noarch %nodejs_find_provides_and_requires
commit nodejs-init-package-json for openSUSE:Factory
Hello community, here is the log from the commit of package nodejs-init-package-json for openSUSE:Factory checked in at 2014-10-24 10:46:40 Comparing /work/SRC/openSUSE:Factory/nodejs-init-package-json (Old) and /work/SRC/openSUSE:Factory/.nodejs-init-package-json.new (New) Package is nodejs-init-package-json Changes: --- /work/SRC/openSUSE:Factory/nodejs-init-package-json/nodejs-init-package-json.changes 2014-09-25 08:42:54.0 +0200 +++ /work/SRC/openSUSE:Factory/.nodejs-init-package-json.new/nodejs-init-package-json.changes 2014-10-24 10:46:41.0 +0200 @@ -1,0 +2,5 @@ +Thu Oct 9 15:08:13 UTC 2014 - jgleiss...@suse.com + +- use nodejs-packaging for building + +--- Other differences: -- ++ nodejs-init-package-json.spec ++ --- /var/tmp/diff_new_pack.cvHPrU/_old 2014-10-24 10:46:42.0 +0200 +++ /var/tmp/diff_new_pack.cvHPrU/_new 2014-10-24 10:46:42.0 +0200 @@ -26,16 +26,12 @@ Group: Development/Languages/Other Url:https://github.com/isaacs/init-package-json Source: http://registry.npmjs.org/%{base_name}/-/%{base_name}-%{version}.tgz -Requires: nodejs-glob -Requires: nodejs-promzard -Requires: nodejs-read -Requires: nodejs-read-package-json -Requires: nodejs-semver -BuildRequires: nodejs +BuildRequires: nodejs-packaging BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch ExclusiveArch: %{ix86} x86_64 %{arm} noarch -%{?nodejs_requires} + +%nodejs_find_provides_and_requires %description A node module to get your node module started. -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org