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

Install Syncpack #2027

Merged
merged 10 commits into from
Feb 29, 2024
30 changes: 30 additions & 0 deletions .syncpackrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"dependencyTypes": ["!peer"],
"versionGroups": [
{
"label": "Use workspace protocol when developing local packages",
"dependencies": ["eslint-config-bezier", "tsconfig"],
"dependencyTypes": ["dev"],
"pinVersion": "workspace:*"
},
{
"label": "Pin react-textarea-autosize version due to package.json config issue affecting build (#1688)",
"packages": ["@channel.io/*"],
"dependencies": ["react-textarea-autosize"],
"pinVersion": "8.3.4"
},
{
"label": "Ignore storybook related packages that have different version than other storybook packages",
"packages": ["@channel.io/*"],
"dependencies": ["@storybook/addon-styling"],
"isIgnored": true
},
{
"label": "Pin storybook version due to react-docgen dependency issue affecting build (#1997)",
"packages": ["@channel.io/*"],
"dependencies": ["storybook", "@storybook/*"],
"pinVersion": "7.5.3"
}
],
"lintFormatting": false
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev --filter=@channel.io/bezier-react",
"lint": "turbo run lint",
"lint": "turbo run lint && syncpack lint",
"typecheck": "turbo run typecheck",
"test": "turbo run test",
"clean": "turbo run clean && rm -rf node_modules .turbo",
Expand Down Expand Up @@ -38,6 +38,7 @@
"stylelint": "^16.2.1",
"stylelint-config-clean-order": "^5.4.1",
"stylelint-config-standard-scss": "^13.0.0",
"syncpack": "^12.3.0",
"ts-node": "^10.9.2",
"turbo": "^1.12.4",
"typescript": "^4.9.5"
Expand Down
86 changes: 43 additions & 43 deletions packages/bezier-codemod/package.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
{
"name": "@channel.io/bezier-codemod",
"version": "0.5.0-alpha.6",
"description": "Codemod transformations to help upgrade app using Bezier design system.",
"repository": {
"type": "git",
"url": "https://github.com/channel-io/bezier-react",
"directory": "packages/bezier-codemod"
},
"author": "Channel Corp.",
"license": "Apache-2.0",
"bin": "dist/cli.js",
"type": "module",
"engines": {
"node": ">=16"
},
"scripts": {
"build": "tsc --build --verbose",
"dev": "tsc --watch",
"lint": "TIMING=1 eslint --cache .",
"typecheck": "tsc --noEmit",
"test": "jest",
"clean": "rm -rf dist node_modules .turbo .eslintcache .jestcache"
},
"files": [
"dist"
],
"dependencies": {
"@inkjs/ui": "^1.0.0",
"ink": "^4.4.1",
"meow": "^13.2.0",
"react": "^18.2.0",
"ts-morph": "^21.0.1"
},
"devDependencies": {
"@types/node": "^20.11.20",
"@types/react": "^18.2.59",
"eslint-config-bezier": "workspace:*",
"tsconfig": "workspace:*"
},
"keywords": [
"codemod",
"channel"
]
"name": "@channel.io/bezier-codemod",
"version": "0.5.0-alpha.6",
"description": "Codemod transformations to help upgrade app using Bezier design system.",
"repository": {
"type": "git",
"url": "https://github.com/channel-io/bezier-react",
"directory": "packages/bezier-codemod"
},
"author": "Channel Corp.",
"license": "Apache-2.0",
"bin": "dist/cli.js",
"type": "module",
"engines": {
"node": ">=16"
},
"scripts": {
"build": "tsc --build --verbose",
"dev": "tsc --watch",
"lint": "TIMING=1 eslint --cache .",
"typecheck": "tsc --noEmit",
"test": "jest",
"clean": "rm -rf dist node_modules .turbo .eslintcache .jestcache"
},
"files": [
"dist"
],
"dependencies": {
"@inkjs/ui": "^1.0.0",
"ink": "^4.4.1",
"meow": "^13.2.0",
"react": "^18.2.0",
"ts-morph": "^21.0.1"
},
"devDependencies": {
"@types/node": "^20.11.20",
"@types/react": "^18.2.59",
"eslint-config-bezier": "workspace:*",
"tsconfig": "workspace:*"
},
"keywords": [
"codemod",
"channel"
]
}
4 changes: 2 additions & 2 deletions packages/bezier-figma-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@channel.io/bezier-icons": "^0.18.0",
"@channel.io/bezier-react": "^2.0.0-alpha.15",
"@channel.io/bezier-icons": "0.18.0",
"@channel.io/bezier-react": "2.0.0-alpha.15",
"octokit": "^3.1.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/bezier-icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@
"@rollup/pluginutils": "^5.1.0",
"@svgr/core": "^8.1.0",
"@svgr/plugin-jsx": "^8.1.0",
"eslint-config-bezier": "workspace:^",
"eslint-config-bezier": "workspace:*",
"rollup": "^4.11.0",
"rollup-plugin-visualizer": "^5.12.0",
"svgo": "^3.2.0",
"tsconfig": "workspace:^"
"tsconfig": "workspace:*"
}
}
3 changes: 1 addition & 2 deletions packages/bezier-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@babel/preset-typescript": "^7.23.3",
"@channel.io/bezier-icons": "^0.18.0",
"@channel.io/bezier-icons": "0.18.0",
"@rollup/plugin-alias": "^5.1.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
Expand All @@ -78,7 +78,6 @@
"@storybook/addon-toolbars": "7.5.3",
"@storybook/react": "7.5.3",
"@storybook/react-webpack5": "7.5.3",
"@storybook/storybook-deployer": "^2.8.16",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@testing-library/user-event": "^14.5.2",
Expand Down
Loading