From 56acddd41515ef1600c51dcb1c87632ed4b43b8c Mon Sep 17 00:00:00 2001 From: Armano Date: Thu, 23 Jan 2020 21:41:16 +0100 Subject: [PATCH] chore: add funding field to package.json (#1499) --- azure-pipelines.yml | 3 +++ package.json | 7 +------ packages/eslint-plugin/package.json | 4 ++++ packages/experimental-utils/package.json | 4 ++++ packages/parser/package.json | 4 ++++ packages/typescript-estree/package.json | 4 ++++ 6 files changed, 20 insertions(+), 6 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index b80f0eea4b51..4f941eba01df 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,6 +16,7 @@ jobs: # This also runs a build as part of the postinstall # bootstrap yarn --ignore-engines --frozen-lockfile + yarn check-clean-workspace-after-install - script: | # Note that this command *also* typechecks tests/tools, @@ -68,6 +69,7 @@ jobs: # This also runs a build as part of the postinstall # bootstrap yarn --ignore-engines --frozen-lockfile + yarn check-clean-workspace-after-install - script: | yarn test @@ -91,6 +93,7 @@ jobs: # This also runs a build as part of the postinstall # bootstrap yarn --ignore-engines --frozen-lockfile + yarn check-clean-workspace-after-install - script: | npm config set //registry.npmjs.org/:_authToken=$(NPM_TOKEN) diff --git a/package.json b/package.json index d4b7c07ac538..5a0df3fd6a21 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "lint-fix": "eslint . --ext .js,.ts --fix", "pre-commit": "yarn lint-staged", "pre-push": "yarn format-check", - "postinstall": "lerna bootstrap && yarn build && lerna link && npm run check-clean-workspace-after-install && opencollective-postinstall", + "postinstall": "lerna bootstrap && yarn build && lerna link", "check-clean-workspace-after-install": "git diff --quiet --exit-code", "test": "lerna run test --concurrency 1", "typecheck": "lerna run typecheck" @@ -70,17 +70,12 @@ "jest": "^24.9.0", "lerna": "^3.20.2", "lint-staged": "^9.4.3", - "opencollective-postinstall": "^2.0.2", "prettier": "^1.19.1", "ts-jest": "^24.0.0", "ts-node": "^8.5.0", "tslint": "^5.20.1", "typescript": ">=3.2.1 <3.8.0" }, - "collective": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, "resolutions": { "typescript": "^3.7.2" } diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json index 1465b812eac0..dc526268271f 100644 --- a/packages/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -63,5 +63,9 @@ "typescript": { "optional": true } + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } } diff --git a/packages/experimental-utils/package.json b/packages/experimental-utils/package.json index 7513607b1114..36ce440a646c 100644 --- a/packages/experimental-utils/package.json +++ b/packages/experimental-utils/package.json @@ -45,5 +45,9 @@ }, "devDependencies": { "typescript": "*" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } } diff --git a/packages/parser/package.json b/packages/parser/package.json index 32dbb0f156cc..161f5fa58efb 100644 --- a/packages/parser/package.json +++ b/packages/parser/package.json @@ -56,5 +56,9 @@ "typescript": { "optional": true } + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } } diff --git a/packages/typescript-estree/package.json b/packages/typescript-estree/package.json index 6068d86569a9..dc2a1ff1b329 100644 --- a/packages/typescript-estree/package.json +++ b/packages/typescript-estree/package.json @@ -66,5 +66,9 @@ "typescript": { "optional": true } + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }