Skip to content

Commit

Permalink
fix(global): fixed npm links
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Bergmann committed Jun 7, 2019
1 parent d690b26 commit b73c715
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@ In charge of running the dev / build / release / deploy / newpattern toolchain f
*** This package is a dependencie of VHUG BASE, will not work as a standalone ***

## Installation

1) npm install:
```
npm install @vonheldenundgestalten/vhug-tasks --save-dev
npm install vhug-tasks --save-dev
```
2) get all coomand options by running from the terminal:
```
groundzero help
Expand Down
2 changes: 1 addition & 1 deletion cli/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ try {
process.env.SPRITE_CONFIG = `./svg-sprite.config.js`
}

const child = spawn('npm explore @vonheldenundgestalten/vhug-tasks -- npm run build', {
const child = spawn('npm explore vhug-tasks -- npm run build', {
stdio: 'inherit',
env: process.env,
shell: true
Expand Down
2 changes: 1 addition & 1 deletion cli/jest.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ process.env.PROJECT_CWD = process.env.PWD;
let options = ' --';
options += ' --projects ' + process.env.PROJECT_CWD;

const child = spawn('npm explore @jvonheldenundgestalten/vhug-tasks -- npm run jest' + options, {
const child = spawn('npm explore vhug-tasks -- npm run jest' + options, {
stdio: 'inherit',
env: process.env,
shell: true
Expand Down
2 changes: 1 addition & 1 deletion cli/newpattern.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ console.log("running newpattern");
// we expose the project path to correctly use it within the tasks
process.env.PROJECT_CWD = process.env.PWD;

const child = spawn('npm explore @vonheldenundgestalten/vhug-tasks -- npm run newpattern', {
const child = spawn('npm explore vhug-tasks -- npm run newpattern', {
stdio: 'inherit',
env: process.env,
shell: true
Expand Down
2 changes: 1 addition & 1 deletion cli/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ try {
process.env.SPRITE_CONFIG = `./svg-sprite.config.js`
}

const child = spawn('npm explore @vonheldenundgestalten/vhug-tasks -- npm run release && npm run changelog', {
const child = spawn('npm explore vhug-tasks -- npm run release && npm run changelog', {
stdio: 'inherit',
env: process.env,
shell: true
Expand Down

0 comments on commit b73c715

Please sign in to comment.