From acf109ad68eaf7855f4e3db9ebac034dfa794efa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20De=20Boey?= Date: Tue, 7 Jun 2022 01:43:16 +0200 Subject: [PATCH] chore: run `sort-package-json` on packages --- package.json | 12 ++++++------ packages/history/package.json | 22 +++++++++++++--------- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 4f61635a..5eaf3d29 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,15 @@ { "private": true, + "workspaces": { + "packages": [ + "packages/history" + ] + }, "scripts": { "build": "node ./scripts/build.js", "clean": "git clean -fdX .", - "lint": "eslint .", "format": "prettier --ignore-path .eslintignore --write .", + "lint": "eslint .", "publish": "node ./scripts/publish.js", "size": "filesize", "test": "node ./scripts/test.js", @@ -59,11 +64,6 @@ "typescript": "^4.3.5", "webpack": "^3.12.0" }, - "workspaces": { - "packages": [ - "packages/history" - ] - }, "filesize": { "build/history/history.production.min.js": { "none": "5.06 kB" diff --git a/packages/history/package.json b/packages/history/package.json index 133c0373..ccffde2c 100644 --- a/packages/history/package.json +++ b/packages/history/package.json @@ -2,19 +2,23 @@ "name": "history", "version": "5.3.0", "description": "Manage session history with JavaScript", - "author": "Remix Software ", - "repository": "remix-run/history", + "keywords": [ + "history", + "location" + ], + "repository": { + "type": "git", + "url": "https://github.com/remix-run/history", + "directory": "packages/history" + }, "license": "MIT", + "author": "Remix Software ", + "sideEffects": false, "main": "main.js", + "unpkg": "umd/history.production.min.js", "module": "index.js", "types": "index.d.ts", - "unpkg": "umd/history.production.min.js", - "sideEffects": false, "dependencies": { "@babel/runtime": "^7.7.6" - }, - "keywords": [ - "history", - "location" - ] + } }