Skip to content

Commit

Permalink
chore(cli): update package.json repository config (#7290)
Browse files Browse the repository at this point in the history
* chore(cli): update package.json repository config

* chore(cli): style change

* fix(test): update caniuse to altest

* chore(cli): run sync
  • Loading branch information
tw15egan committed Nov 16, 2020
1 parent 348bd61 commit 5f92371
Show file tree
Hide file tree
Showing 42 changed files with 181 additions and 58 deletions.
Binary file removed .yarn/offline-mirror/caniuse-lite-1.0.30001023.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/caniuse-lite-1.0.30001066.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/caniuse-lite-1.0.30001091.tgz
Binary file not shown.
Binary file removed .yarn/offline-mirror/caniuse-lite-1.0.30001097.tgz
Binary file not shown.
Binary file not shown.
6 changes: 5 additions & 1 deletion actions/add-review-labels/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"version": "0.0.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/actions/add-review-labels",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "actions/add-review-labels"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"keywords": [
"ibm",
Expand Down
6 changes: 5 additions & 1 deletion actions/issues/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
"private": true,
"version": "0.0.0",
"license": "Apache-2.0",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/actions/issues",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "actions/issues"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"keywords": [
"ibm",
Expand Down
6 changes: 5 additions & 1 deletion codemods/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"description": "Codemods for the Carbon monorepo",
"version": "0.0.0",
"license": "Apache-2.0",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/codemods",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "codemods"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"keywords": [
"ibm",
Expand Down
6 changes: 5 additions & 1 deletion config/browserslist-config-carbon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"version": "10.5.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/config/browserslist-config-carbon",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "config/browserslist-config-carbon"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"keywords": [
"eyeglass-module",
Expand Down
6 changes: 5 additions & 1 deletion config/eslint-config-carbon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"version": "2.1.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/config/eslint-config-carbon",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "config/eslint-config-carbon"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"files": [
"plugins",
Expand Down
6 changes: 5 additions & 1 deletion config/prettier-config-carbon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"version": "0.4.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/config/prettier-config-carbon",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "config/prettier-config-carbon"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"keywords": [
"ibm",
Expand Down
6 changes: 5 additions & 1 deletion config/stylelint-config-carbon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"version": "1.2.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/config/stylelint-config-carbon",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "config/stylelint-config-carbon"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"keywords": [
"ibm",
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -200,5 +200,6 @@
"/storybook/",
"/results/"
]
}
},
"dependencies": {}
}
6 changes: 5 additions & 1 deletion packages/bundler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"bin": {
"bundler": "./bin/bundler.js"
},
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/bundler",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "packages/bundler"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"keywords": [
"ibm",
Expand Down
6 changes: 5 additions & 1 deletion packages/cli-reporter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"version": "10.3.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/cli-reporter",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "packages/cli-reporter"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"keywords": [
"ibm",
Expand Down
6 changes: 5 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"bin": {
"carbon-cli": "./bin/carbon-cli.js"
},
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/cli",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "packages/cli"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"keywords": [
"ibm",
Expand Down
9 changes: 5 additions & 4 deletions packages/cli/src/commands/sync/package.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@

const fs = require('fs-extra');

const REPO_URL_BASE =
'https://github.com/carbon-design-system/carbon/tree/master';

// This is our default set of keywords to include in each `package.json` packageJson
const DEFAULT_KEYWORDS = [
'ibm',
Expand Down Expand Up @@ -73,7 +70,11 @@ function run({ packagePaths }) {
return Promise.all(
packagePaths.map(
async ({ packageJsonPath, packageJson, packageFolder }) => {
packageJson.repository = `${REPO_URL_BASE}/${packageFolder}`;
packageJson.repository = {
type: 'git',
url: 'https://github.com/carbon-design-system/carbon.git',
directory: packageFolder,
};
packageJson.bugs =
'https://github.com/carbon-design-system/carbon/issues';
packageJson.license = 'Apache-2.0';
Expand Down
6 changes: 5 additions & 1 deletion packages/colors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/colors",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "packages/colors"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"files": [
"es",
Expand Down
6 changes: 5 additions & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"license": "Apache-2.0",
"main": "umd/index.js",
"module": "es/index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/components",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "packages/components"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"homepage": "https://www.carbondesignsystem.com/",
"engines": {
Expand Down
6 changes: 5 additions & 1 deletion packages/elements/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/elements",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "packages/elements"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"files": [
"es",
Expand Down
6 changes: 5 additions & 1 deletion packages/feature-flags/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/feature-flags",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "packages/feature-flags"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"keywords": [
"ibm",
Expand Down
6 changes: 5 additions & 1 deletion packages/grid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
"description": "Grid for digital and software products using the Carbon Design System",
"version": "10.16.0",
"license": "Apache-2.0",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/grid",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "packages/grid"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"files": [
"css",
Expand Down
6 changes: 5 additions & 1 deletion packages/icon-build-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"version": "0.11.0",
"license": "Apache-2.0",
"main": "src/index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/icon-build-helpers",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "packages/icon-build-helpers"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"keywords": [
"ibm",
Expand Down
6 changes: 5 additions & 1 deletion packages/icon-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/icon-helpers",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "packages/icon-helpers"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"files": [
"es",
Expand Down
6 changes: 5 additions & 1 deletion packages/icons-handlebars/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
"version": "10.21.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/icons-handlebars",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "packages/icons-handlebars"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"keywords": [
"ibm",
Expand Down
6 changes: 5 additions & 1 deletion packages/icons-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/icons-react",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "packages/icons-react"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"files": [
"es",
Expand Down
6 changes: 5 additions & 1 deletion packages/icons-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/icons-vue",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "packages/icons-vue"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"keywords": [
"ibm",
Expand Down
6 changes: 5 additions & 1 deletion packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/icons",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "packages/icons"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"files": [
"es",
Expand Down
6 changes: 5 additions & 1 deletion packages/import-once/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
"description": "Sass helper for importing files only once. Used in the Carbon Design System",
"version": "10.3.0",
"license": "Apache-2.0",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/import-once",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "packages/import-once"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"keywords": [
"eyeglass-module",
Expand Down
6 changes: 5 additions & 1 deletion packages/layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/layout",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "packages/layout"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"keywords": [
"eyeglass-module",
Expand Down
6 changes: 5 additions & 1 deletion packages/motion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/motion",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "packages/motion"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"keywords": [
"eyeglass-module",
Expand Down
6 changes: 5 additions & 1 deletion packages/pictograms-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/pictograms-react",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "packages/pictograms-react"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"files": [
"es",
Expand Down
6 changes: 5 additions & 1 deletion packages/pictograms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/pictograms",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "packages/pictograms"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"keywords": [
"pictograms",
Expand Down
6 changes: 5 additions & 1 deletion packages/react-hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/react-hooks",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "packages/react-hooks"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"keywords": [
"ibm",
Expand Down
6 changes: 5 additions & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/react",
"repository": {
"type": "git",
"url": "https://github.com/carbon-design-system/carbon.git",
"directory": "packages/react"
},
"bugs": "https://github.com/carbon-design-system/carbon/issues",
"files": [
"lib/**/*",
Expand Down
Loading

0 comments on commit 5f92371

Please sign in to comment.