mirror of
https://github.com/strapi/strapi.git
synced 2025-09-19 21:38:05 +00:00
Update branch
Merge branch 'user-permissions' of github.com:strapi/strapi into user-permissions
This commit is contained in:
commit
659f3a52c8
@ -17,7 +17,7 @@
|
||||
"shelljs": "^0.7.7"
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "npm run removesymlinkdependencies && rm -rf package-lock.json && rm -rf packages/*/package-lock.json",
|
||||
"clean": "npm run removesymlinkdependencies && node ./scripts/clean.js",
|
||||
"clean:all": "npm run removesymlinkdependencies && rm -rf package-lock.json && rm -rf packages/*/package-lock.json && rm -rf packages/*/node_modules",
|
||||
"doc": "node ./scripts/documentation.js",
|
||||
"release": "npm run clean:all && npm install && npm run createsymlinkdependencies && lerna exec --concurrency 1 -- npm install && npm run removesymlinkdependencies && node ./scripts/publish.js $TAG",
|
||||
|
File diff suppressed because one or more lines are too long
@ -32,12 +32,12 @@
|
||||
"eslint": "^4.11.0",
|
||||
"eslint-config-airbnb": "^15.1.0",
|
||||
"eslint-config-airbnb-base": "^11.3.2",
|
||||
"eslint-config-prettier": "^2.7.0",
|
||||
"eslint-config-prettier": "^2.8.0",
|
||||
"eslint-import-resolver-webpack": "^0.8.3",
|
||||
"eslint-plugin-babel": "^4.1.2",
|
||||
"eslint-plugin-import": "^2.8.0",
|
||||
"eslint-plugin-jsx-a11y": "^6.0.2",
|
||||
"eslint-plugin-react": "^7.4.0",
|
||||
"eslint-plugin-react": "^7.5.1",
|
||||
"eslint-plugin-redux-saga": "^0.4.0",
|
||||
"plop": "^1.9.0",
|
||||
"prettier": "^1.8.2",
|
||||
|
13
scripts/clean.js
Normal file
13
scripts/clean.js
Normal file
@ -0,0 +1,13 @@
|
||||
const exec = require('child_process').execSync;
|
||||
|
||||
try {
|
||||
exec('rm -rf package-lock.json && rm -rf packages/*/package-lock.json');
|
||||
} catch (error) {
|
||||
console.error('Delete package-lock.json files');
|
||||
}
|
||||
|
||||
try {
|
||||
exec('git reset ./packages/strapi-admin/.gitignore && git checkout -- ./packages/strapi-admin/.gitignore');
|
||||
} catch (error) {
|
||||
console.error('Reset admin .gitignore');
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user