Skip to content

Commit

Permalink
chore: allow executing run script
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelly Selden committed Sep 27, 2019
1 parent 1b30047 commit de82a30
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,13 @@ module.exports = {
'node/no-unpublished-require': 'off',
},
},
{
files: [
'scripts/**/*.js',
],
rules: {
'node/shebang': 'off',
},
},
],
};
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"lint:md": "remark -f doc CONTRIBUTING.md README.md packages/*/README.md examples/*/README.md packages/lint/doc",
"release": "next release --no-bump-in-range-dependencies",
"start": "./packages/cli/bin/index.js",
"test": "node scripts/run.js packages test",
"test:examples": "node scripts/run.js examples start"
"test": "./scripts/run.js packages test",
"test:examples": "./scripts/run.js examples start"
},
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions scripts/run.js
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env node
/**
* This replicates `yarn workspaces run ...`,
* but allows running subsets of workspaces.
Expand Down

0 comments on commit de82a30

Please sign in to comment.