Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade sort-package-json and enforce it in lint #1256

Merged
merged 16 commits into from
Feb 27, 2020
4 changes: 2 additions & 2 deletions common/build/build-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"scripts": {},
"peerDependencies": {
"typescript": ">=3.7.4",
"api-extractor": ">=7.7.2"
"api-extractor": ">=7.7.2",
"typescript": ">=3.7.4"
}
}
2 changes: 1 addition & 1 deletion examples/components/badge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"start": "webpack-dev-server --config webpack.config.js --package package.json",
"start:docker": "webpack-dev-server --config webpack.config.js --package package.json --env.mode docker",
"start:r11s": "webpack-dev-server --config webpack.config.js --package package.json --env.mode r11s",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"start:spo": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"tsc": "tsc",
"webpack": "webpack --env.production",
"webpack:dev": "webpack --env.development"
Expand Down
2 changes: 1 addition & 1 deletion examples/components/chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
"start": "webpack-dev-server --config webpack.config.js --package package.json",
"start:docker": "webpack-dev-server --config webpack.config.js --package package.json --env.mode docker",
"start:r11s": "webpack-dev-server --config webpack.config.js --package package.json --env.mode r11s",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"start:spo": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"tsc": "tsc",
"webpack": "webpack --env=\"production\""
},
Expand Down
2 changes: 1 addition & 1 deletion examples/components/codemirror/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"start": "webpack-dev-server --config webpack.config.js --package package.json",
"start:docker": "webpack-dev-server --config webpack.config.js --package package.json --env.mode docker",
"start:r11s": "webpack-dev-server --config webpack.config.js --package package.json --env.mode r11s",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"start:spo": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"tsc": "tsc",
"webpack": "webpack --env=\"production\"",
"webpack:dev": "webpack --env=\"development\""
Expand Down
2 changes: 1 addition & 1 deletion examples/components/containers/monaco/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"start": "webpack-dev-server --config webpack.config.js --package package.json",
"start:docker": "webpack-dev-server --config webpack.config.js --package package.json --env.mode docker",
"start:r11s": "webpack-dev-server --config webpack.config.js --package package.json --env.mode r11s",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"start:spo": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"tsc": "tsc",
"webpack": "webpack --config webpack.config.js --env.production",
"webpack:dev": "webpack --env.development"
Expand Down
2 changes: 1 addition & 1 deletion examples/components/draft-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"start": "webpack-dev-server --config webpack.config.js --package package.json",
"start:docker": "webpack-dev-server --config webpack.config.js --package package.json --env.mode docker",
"start:r11s": "webpack-dev-server --config webpack.config.js --package package.json --env.mode r11s",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"start:spo": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"tsc": "tsc",
"webpack": "webpack --env.production",
"webpack:dev": "webpack --env.development"
Expand Down
2 changes: 1 addition & 1 deletion examples/components/drawer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"start": "webpack-dev-server --config webpack.config.js --package package.json",
"start:docker": "webpack-dev-server --config webpack.config.js --package package.json --env.mode docker",
"start:r11s": "webpack-dev-server --config webpack.config.js --package package.json --env.mode r11s",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"start:spo": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"tsc": "tsc",
"webpack": "webpack --env=\"production\"",
"webpack:dev": "webpack --env=\"development\""
Expand Down
2 changes: 1 addition & 1 deletion examples/components/github-comment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"start": "webpack-dev-server --config webpack.config.js --package package.json",
"start:docker": "webpack-dev-server --config webpack.config.js --package package.json --env.mode docker",
"start:r11s": "webpack-dev-server --config webpack.config.js --package package.json --env.mode r11s",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"start:spo": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"tsc": "tsc",
"verdaccio": "npm publish --registry https://packages.wu2.prague.office-int.com",
"webpack": "webpack --env.production",
Expand Down
2 changes: 1 addition & 1 deletion examples/components/image-gallery/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"start": "webpack-dev-server --config webpack.config.js --package package.json",
"start:docker": "webpack-dev-server --config webpack.config.js --package package.json --env.mode docker",
"start:r11s": "webpack-dev-server --config webpack.config.js --package package.json --env.mode r11s",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"start:spo": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"tsc": "tsc",
"webpack": "webpack --env.production",
"webpack:dev": "webpack --env.development"
Expand Down
2 changes: 1 addition & 1 deletion examples/components/key-value-cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"start": "webpack-dev-server --config webpack.config.js --package package.json",
"start:docker": "webpack-dev-server --config webpack.config.js --package package.json --env.mode docker",
"start:r11s": "webpack-dev-server --config webpack.config.js --package package.json --env.mode r11s",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"start:spo": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"tsc": "tsc",
"verdaccio": "npm publish --registry https://packages.wu2.prague.office-int.com",
"webpack": "webpack --env=\"production\" ",
Expand Down
2 changes: 1 addition & 1 deletion examples/components/musica/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"start": "webpack-dev-server --config webpack.config.js --package package.json",
"start:docker": "webpack-dev-server --config webpack.config.js --package package.json --env.mode docker",
"start:r11s": "webpack-dev-server --config webpack.config.js --package package.json --env.mode r11s",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"start:spo": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"tsc": "tsc",
"webpack": "webpack --env.production",
"webpack:dev": "webpack --env.development"
Expand Down
2 changes: 1 addition & 1 deletion examples/components/pollster/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"start": "webpack-dev-server --config webpack.config.js --package package.json",
"start:docker": "webpack-dev-server --config webpack.config.js --package package.json --env.mode docker",
"start:r11s": "webpack-dev-server --config webpack.config.js --package package.json --env.mode r11s",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"start:spo": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"tsc": "tsc",
"webpack": "webpack --env.production",
"webpack:dev": "webpack --env.development"
Expand Down
2 changes: 1 addition & 1 deletion examples/components/prosemirror/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"start": "webpack-dev-server --config webpack.config.js --package package.json",
"start:docker": "webpack-dev-server --config webpack.config.js --package package.json --env.mode docker",
"start:r11s": "webpack-dev-server --config webpack.config.js --package package.json --env.mode r11s",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"start:spo": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"tsc": "tsc",
"verdaccio": "npm publish --registry https://packages.wu2.prague.office-int.com",
"webpack": "webpack --env=\"production\"",
Expand Down
2 changes: 1 addition & 1 deletion examples/components/simple-component-embed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"start": "webpack-dev-server --config webpack.config.js --package package.json",
"start:docker": "webpack-dev-server --config webpack.config.js --package package.json --env.mode docker",
"start:r11s": "webpack-dev-server --config webpack.config.js --package package.json --env.mode r11s",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"start:spo": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"tsc": "tsc",
"webpack": "webpack --env.production",
"webpack:dev": "webpack --env.development"
Expand Down
2 changes: 1 addition & 1 deletion examples/components/simple-data-share/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"start": "webpack-dev-server --config webpack.config.js --package package.json",
"start:docker": "webpack-dev-server --config webpack.config.js --package package.json --env.mode docker",
"start:r11s": "webpack-dev-server --config webpack.config.js --package package.json --env.mode r11s",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"start:spo": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"tsc": "tsc",
"webpack": "webpack --env.production",
"webpack:dev": "webpack --env.development"
Expand Down
2 changes: 1 addition & 1 deletion examples/components/smde/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"start": "webpack-dev-server --config webpack.config.js --package package.json",
"start:docker": "webpack-dev-server --config webpack.config.js --package package.json --env.mode docker",
"start:r11s": "webpack-dev-server --config webpack.config.js --package package.json --env.mode r11s",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"start:spo": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"tsc": "tsc",
"verdaccio": "npm publish --registry https://packages.wu2.prague.office-int.com",
"webpack": "webpack --env=\"production\"",
Expand Down
2 changes: 1 addition & 1 deletion examples/components/spaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"start": "webpack-dev-server --config webpack.config.js --package package.json",
"start:docker": "webpack-dev-server --config webpack.config.js --package package.json --env.mode docker",
"start:r11s": "webpack-dev-server --config webpack.config.js --package package.json --env.mode r11s",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"start:spo": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"test:jest": "jest",
"tsc": "tsc",
"webpack": "webpack --env.production",
Expand Down
4 changes: 2 additions & 2 deletions examples/components/sudoku/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
"lint:fix": "npm run eslint:fix",
"start": "npm run start:local",
"start:docker": "webpack-dev-server --config webpack.config.js --package package.json --env.mode docker",
"start:local": "webpack-dev-server --config webpack.config.js --package package.json --env.mode local",
"start:r11s": "webpack-dev-server --config webpack.config.js --package package.json --env.mode r11s",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"start:spo": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo",
"start:local": "webpack-dev-server --config webpack.config.js --package package.json --env.mode local",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"tsc": "tsc",
"webpack": "webpack --env.production",
"webpack:dev": "webpack --env.development"
Expand Down
2 changes: 1 addition & 1 deletion examples/components/textarea-noreact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"start": "webpack-dev-server --config webpack.config.js --package package.json",
"start:docker": "webpack-dev-server --config webpack.config.js --package package.json --env.mode docker",
"start:r11s": "webpack-dev-server --config webpack.config.js --package package.json --env.mode r11s",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"start:spo": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"tsc": "tsc",
"verdaccio": "npm publish --registry https://packages.wu2.prague.office-int.com",
"webpack": "webpack --env.production",
Expand Down
2 changes: 1 addition & 1 deletion examples/components/tourofheroes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"start": "webpack-dev-server --config webpack.config.js --package package.json",
"start:docker": "webpack-dev-server --config webpack.config.js --package package.json --env.mode docker",
"start:r11s": "webpack-dev-server --config webpack.config.js --package package.json --env.mode r11s",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"start:spo": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"tsc": "tsc",
"webpack": "webpack --env=\"production\"",
"webpack:dev": "webpack --env=\"development\""
Expand Down
2 changes: 1 addition & 1 deletion examples/components/type-race/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"start": "webpack-dev-server --config webpack.config.js --package package.json",
"start:docker": "webpack-dev-server --config webpack.config.js --package package.json --env.mode docker",
"start:r11s": "webpack-dev-server --config webpack.config.js --package package.json --env.mode r11s",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"start:spo": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"tsc": "tsc",
"webpack": "webpack --env.production",
"webpack:dev": "webpack --env.development"
Expand Down
14 changes: 7 additions & 7 deletions examples/components/vltava/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
"start": "webpack-dev-server --config webpack.config.js --package package.json",
"start:docker": "webpack-dev-server --config webpack.config.js --package package.json --env.mode docker",
"start:r11s": "webpack-dev-server --config webpack.config.js --package package.json --env.mode r11s",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"start:spo": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo",
"start:spo-df": "webpack-dev-server --config webpack.config.js --package package.json --env.mode spo-df",
"test:jest-disabled": "jest",
"tsc": "tsc",
"webpack": "webpack --env.production",
Expand Down Expand Up @@ -66,13 +66,8 @@
"@types/uuid": "^3.4.4",
"@typescript-eslint/eslint-plugin": "~2.17.0",
"@typescript-eslint/parser": "~2.17.0",
"css-loader": "^1.0.0",
"html-loader": "^0.5.5",
"sass-loader": "^7.1.0",
"source-map-loader": "^0.2.4",
"style-loader": "^1.0.0",
"url-loader": "^2.1.0",
"concurrently": "^4.1.0",
"css-loader": "^1.0.0",
"eslint": "~6.8.0",
"eslint-plugin-eslint-comments": "~3.1.2",
"eslint-plugin-import": "2.20.0",
Expand All @@ -81,13 +76,18 @@
"eslint-plugin-prefer-arrow": "~1.1.7",
"eslint-plugin-react": "~7.18.0",
"eslint-plugin-unicorn": "~15.0.1",
"html-loader": "^0.5.5",
"jest": "^24.9.0",
"jest-junit": "^10.0.0",
"jest-puppeteer": "^4.3.0",
"puppeteer": "^1.20.0",
"rimraf": "^2.6.2",
"sass-loader": "^7.1.0",
"source-map-loader": "^0.2.4",
"style-loader": "^1.0.0",
"ts-loader": "^6.1.2",
"typescript": "~3.7.4",
"url-loader": "^2.1.0",
"webpack": "^4.16.5",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.8.0",
Expand Down
Loading