mirror of
https://github.com/strapi/strapi.git
synced 2025-12-26 14:44:31 +00:00
Add strapi-lint to strapi-utils strapi-generate -api
This commit is contained in:
parent
bb26c6ea8e
commit
18edd24790
@ -16,6 +16,9 @@
|
||||
"lodash": "^4.17.4",
|
||||
"pluralize": "^6.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"strapi-lint": "3.0.0-alpha.12"
|
||||
},
|
||||
"scripts": {
|
||||
"prepublishOnly": "npm prune"
|
||||
},
|
||||
@ -43,4 +46,4 @@
|
||||
"npm": ">= 5.3.0"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
}
|
||||
|
||||
@ -19,6 +19,9 @@
|
||||
"reportback": "^2.0.1",
|
||||
"strapi-utils": "3.0.0-alpha.12"
|
||||
},
|
||||
"devDependencies": {
|
||||
"strapi-lint": "3.0.0-alpha.12"
|
||||
},
|
||||
"author": {
|
||||
"name": "Strapi team",
|
||||
"email": "hi@strapi.io",
|
||||
@ -43,4 +46,4 @@
|
||||
"npm": ">= 5.3.0"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
}
|
||||
|
||||
@ -21,6 +21,9 @@
|
||||
"lodash": "^4.17.4",
|
||||
"pino": "^4.7.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"strapi-lint": "3.0.0-alpha.12"
|
||||
},
|
||||
"author": {
|
||||
"email": "hi@strapi.io",
|
||||
"name": "Strapi team",
|
||||
@ -45,4 +48,4 @@
|
||||
"npm": ">= 5.3.0"
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
}
|
||||
|
||||
@ -59,19 +59,22 @@ shell.echo('');
|
||||
// Remove existing binary.
|
||||
shell.rm('-f', '/usr/local/bin/strapi.js');
|
||||
|
||||
shell.cd('packages/strapi-utils');
|
||||
shell.cd('packages/strapi-lint');
|
||||
watcher('📦 Linking strapi-lint...', 'npm link');
|
||||
|
||||
shell.cd('../strapi-utils');
|
||||
watcher('', 'npm install ../strapi-lint --no-optional');
|
||||
watcher('📦 Linking strapi-utils...', 'npm link');
|
||||
|
||||
shell.cd('../strapi-generate');
|
||||
watcher('', 'npm install ../strapi-utils');
|
||||
watcher('', 'npm install ../strapi-lint --no-optional');
|
||||
watcher('📦 Linking strapi-generate...', 'npm link');
|
||||
|
||||
shell.cd('../strapi-generate-api');
|
||||
watcher('', 'npm install ../strapi-lint --no-optional');
|
||||
watcher('📦 Linking strapi-generate-api...', 'npm link');
|
||||
|
||||
shell.cd('../strapi-lint');
|
||||
watcher('📦 Linking strapi-lint...', 'npm link');
|
||||
|
||||
shell.cd('../strapi-helper-plugin');
|
||||
watcher('', 'npm install ../strapi-lint --no-optional');
|
||||
watcher('📦 Linking strapi-helper-plugin...', 'npm link');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user