summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rwxr-xr-xsupport/sync-package-managers.js55
-rwxr-xr-xsupport/xyz.sh3
2 files changed, 0 insertions, 58 deletions
diff --git a/support/sync-package-managers.js b/support/sync-package-managers.js
deleted file mode 100755
index d01d17c..0000000
--- a/support/sync-package-managers.js
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/usr/bin/env node
-
-// This should probably be its own module but complaints about bower/etc.
-// support keep coming up and I'd rather just enable the workflow here for now
-// and figure out where this should live later. -- @beaugunderson
-
-var fs = require('fs');
-var _ = require('lodash');
-
-var packageJson = require('../package.json');
-
-var IGNORES = ['**/.*', 'node_modules', 'bower_components', 'test', 'tests'];
-var INCLUDES = ['dist/async.js', 'README.md', 'LICENSE'];
-var REPOSITORY_NAME = 'caolan/async';
-
-packageJson.jam = {
- main: packageJson.main,
- include: INCLUDES,
- categories: ['Utilities']
-};
-
-packageJson.spm = {
- main: packageJson.main
-};
-
-packageJson.volo = {
- main: packageJson.main,
- ignore: IGNORES
-};
-
-var bowerSpecific = {
- moduleType: ['amd', 'globals', 'node'],
- ignore: IGNORES,
- authors: [packageJson.author]
-};
-
-var bowerInclude = ['name', 'description', 'main', 'keywords',
- 'license', 'homepage', 'repository', 'devDependencies'
-];
-
-var componentSpecific = {
- repository: REPOSITORY_NAME,
- scripts: [packageJson.main]
-};
-
-var componentInclude = ['name', 'description', 'version', 'keywords',
- 'license', 'main'
-];
-
-var bowerJson = _.merge({}, _.pick(packageJson, bowerInclude), bowerSpecific);
-var componentJson = _.merge({}, _.pick(packageJson, componentInclude), componentSpecific);
-
-fs.writeFileSync('./bower.json', JSON.stringify(bowerJson, null, 2));
-fs.writeFileSync('./component.json', JSON.stringify(componentJson, null, 2));
-fs.writeFileSync('./package.json', JSON.stringify(packageJson, null, 2));
diff --git a/support/xyz.sh b/support/xyz.sh
index cb92577..cff4dd2 100755
--- a/support/xyz.sh
+++ b/support/xyz.sh
@@ -13,8 +13,6 @@ This involves updating the version number in package.json, committing this
change (along with any staged changes), tagging the commit, pushing to the
remote git repository, and finally publishing to the public npm registry.
-If present, component.json is updated along with package.json.
-
Options:
-b --branch <name>
@@ -160,7 +158,6 @@ inc() {
inc package.json
-run "$dir/sync-package-managers.js"
run "git add --force *.json"
run "git commit --message '$message'"