Skip to content

Commit

Permalink
Remove sort-package-json script
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed Jan 27, 2025
1 parent 783d8c9 commit f4602e5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 49 deletions.
4 changes: 0 additions & 4 deletions code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"lint:md": "../scripts/node_modules/.bin/remark -q .",
"lint:prettier": "prettier --write",
"lint:other": "yarn lint:prettier '**/*.{css,html,json,md,yml}'",
"lint:package": "",
"local-registry": "yarn --cwd ../scripts local-registry",
"publish-sandboxes": "yarn --cwd ../scripts publish",
"storybook:ui": "NODE_OPTIONS=\"--preserve-symlinks --preserve-symlinks-main\" ./lib/cli/bin/index.cjs dev --port 6006 --config-dir ./.storybook",
Expand All @@ -65,9 +64,6 @@
"*.{html,js,json,jsx,mjs,ts,tsx}": [
"yarn lint:js:cmd --fix"
],
"package.json": [
"yarn lint:package"
],
"*.ejs": [
"../scripts/node_modules/.bin/ejslint"
],
Expand Down
42 changes: 1 addition & 41 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8678,7 +8678,6 @@ __metadata:
semver: "npm:^7.3.7"
serve-static: "npm:^1.14.1"
slash: "npm:^5.0.0"
sort-package-json: "npm:^2.14.0"
storybook: "workspace:^"
svelte: "npm:^5.0.0-next.268"
ts-dedent: "npm:^2.0.0"
Expand Down Expand Up @@ -15419,13 +15418,6 @@ __metadata:
languageName: node
linkType: hard

"detect-newline@npm:^4.0.0":
version: 4.0.1
resolution: "detect-newline@npm:4.0.1"
checksum: 10c0/1cc1082e88ad477f30703ae9f23bd3e33816ea2db6a35333057e087d72d466f5a777809b71f560118ecff935d2c712f5b59e1008a8b56a900909d8fd4621c603
languageName: node
linkType: hard

"detect-node-es@npm:^1.1.0":
version: 1.1.0
resolution: "detect-node-es@npm:1.1.0"
Expand Down Expand Up @@ -18479,13 +18471,6 @@ __metadata:
languageName: node
linkType: hard

"get-stdin@npm:^9.0.0":
version: 9.0.0
resolution: "get-stdin@npm:9.0.0"
checksum: 10c0/7ef2edc0c81a0644ca9f051aad8a96ae9373d901485abafaabe59fd347a1c378689d8a3d8825fb3067415d1d09dfcaa43cb9b9516ecac6b74b3138b65a8ccc6b
languageName: node
linkType: hard

"get-stream@npm:^4.0.0":
version: 4.1.0
resolution: "get-stream@npm:4.1.0"
Expand Down Expand Up @@ -18581,13 +18566,6 @@ __metadata:
languageName: node
linkType: hard

"git-hooks-list@npm:^3.0.0":
version: 3.1.0
resolution: "git-hooks-list@npm:3.1.0"
checksum: 10c0/f1b93dd11b80b2a687b99a8bb553c0d07f344532d475b3ac2a5ff044d40fa71567ddcfa5cb39fae0b4e43a670a33f02f71ec3b24b7263233f3a3df89deddfb5a
languageName: node
linkType: hard

"github-release-from-changelog@npm:^2.1.1":
version: 2.1.1
resolution: "github-release-from-changelog@npm:2.1.1"
Expand Down Expand Up @@ -29098,24 +29076,6 @@ __metadata:
languageName: node
linkType: hard

"sort-package-json@npm:^2.14.0":
version: 2.14.0
resolution: "sort-package-json@npm:2.14.0"
dependencies:
detect-indent: "npm:^7.0.1"
detect-newline: "npm:^4.0.0"
get-stdin: "npm:^9.0.0"
git-hooks-list: "npm:^3.0.0"
is-plain-obj: "npm:^4.1.0"
semver: "npm:^7.6.0"
sort-object-keys: "npm:^1.1.3"
tinyglobby: "npm:^0.2.9"
bin:
sort-package-json: cli.js
checksum: 10c0/bcc114a3b5e11d4539ba46dd4eeda6d6909202cb1a9526c230850f1edfdfcf8712e9479b71f98d8f6cb8554740294acdfcaae84461dcecd90592867e1ba90924
languageName: node
linkType: hard

"source-list-map@npm:^2.0.0":
version: 2.0.1
resolution: "source-list-map@npm:2.0.1"
Expand Down Expand Up @@ -30242,7 +30202,7 @@ __metadata:
languageName: node
linkType: hard

"tinyglobby@npm:^0.2.10, tinyglobby@npm:^0.2.9":
"tinyglobby@npm:^0.2.10":
version: 0.2.10
resolution: "tinyglobby@npm:0.2.10"
dependencies:
Expand Down
4 changes: 0 additions & 4 deletions scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"lint": "yarn lint:js && yarn lint:md",
"lint:js": "yarn lint:js:cmd . --quiet",
"lint:js:cmd": "cross-env NODE_ENV=production eslint --cache --cache-location=../.cache/eslint --ext .js,.jsx,.json,.html,.ts,.tsx,.mjs --report-unused-disable-directives",
"lint:package": "yarn bin sort-package-json",
"local-registry": "jiti ./run-registry.ts",
"publish": "jiti ./sandbox/publish.ts",
"release:cancel-preparation-runs": "jiti ./release/cancel-preparation-runs.ts",
Expand Down Expand Up @@ -48,9 +47,6 @@
"lint-staged": {
"*.{html,js,json,jsx,mjs,ts,tsx}": [
"yarn lint:js:cmd --fix"
],
"package.json": [
"yarn lint:package"
]
},
"resolutions": {
Expand Down

0 comments on commit f4602e5

Please sign in to comment.