Skip to content

Commit

Permalink
[core] Update all dependencies to use the same versions and add syncp…
Browse files Browse the repository at this point in the history
…ack formatting
  • Loading branch information
rtivital committed Nov 16, 2023
1 parent 5a76cb8 commit 109995c
Show file tree
Hide file tree
Showing 25 changed files with 415 additions and 426 deletions.
61 changes: 61 additions & 0 deletions .syncpackrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
/** @type {import("syncpack").RcFile} */
const config = {
dependencyTypes: ['dev', 'prod'],
source: ['package.json', 'src/*/package.json', 'docs/package.json'],
sortFirst: [
'name',
'version',
'description',
'homepage',
'packageManager',
'license',
'private',
'author',
'keywords',
'sideEffects',
'main',
'module',
'types',
'exports',
'repository',
'engines',
'workspaces',
'scripts',
'peerDependencies',
'dependencies',
'devDependencies',
],
sortAz: [
'contributors',
'dependencies',
'devDependencies',
'keywords',
'peerDependencies',
'resolutions',
],
versionGroups: [
{
packages: ['docs'],
dependencies: [
'@mantine/store',
'@mantine/styles-api',
'@mantine/code-highlight',
'@mantine/core',
'@mantine/ds',
'@mantine/hooks',
'@mantine/notifications',
'@mantine/spotlight',
'@mantine/carousel',
'@mantine/dropzone',
'@mantine/form',
'@mantine/nprogress',
'@mantine/dates',
'@mantine/modals',
'@mantine/tiptap',
],
isIgnored: true,
},
],
};

module.exports = config;
27 changes: 0 additions & 27 deletions .syncpackrc.json

This file was deleted.

4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev -p 7545",
"clean": "rm -rf .next",
"build": "next build && next export && cp CNAME out/CNAME && touch out/.nojekyll",
"clean": "rm -rf .next",
"dev": "next dev -p 7545",
"postbuild": "next-sitemap",
"start": "next start",
"typecheck": "tsc --noEmit"
Expand Down
88 changes: 44 additions & 44 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
{
"name": "mantine-a91763c0e2",
"private": true,
"version": "7.2.2",
"description": "Mantine Components Monorepo",
"packageManager": "yarn@4.0.2",
"license": "MIT",
"private": true,
"author": "Vitaly Rtishchev <rtivital@gmail.com>",
"repository": "https://github.com/mantinedev/mantine.git",
"engines": {
"node": ">=20.9.0"
},
"workspaces": [
"src/*",
"docs"
],
"version": "7.2.2",
"description": "Mantine Components Monorepo",
"main": "index.js",
"repository": "https://github.com/mantinedev/mantine.git",
"author": "Vitaly Rtishchev <rtivital@gmail.com>",
"license": "MIT",
"scripts": {
"setup": "npm run docgen && esno scripts/docs/generate-css-exports",
"changelog": "esno scripts/docs/changelog",
Expand Down Expand Up @@ -44,9 +43,47 @@
"eslint": "eslint src --ext .ts,.tsx --cache",
"stylelint": "stylelint '**/*.css' --cache",
"syncpack": "syncpack list-mismatches",
"syncpack:format": "syncpack format",
"prettier:test": "prettier --check \"**/*.{ts,tsx}\"",
"prettier:write": "prettier --write \"**/*.{ts,tsx}\""
},
"dependencies": {
"@floating-ui/react": "^0.24.8",
"@tabler/icons-react": "^2.40.0",
"@tiptap/core": "^2.1.12",
"@tiptap/extension-code-block": "^2.1.12",
"@tiptap/extension-code-block-lowlight": "^2.1.12",
"@tiptap/extension-color": "^2.1.12",
"@tiptap/extension-highlight": "^2.1.12",
"@tiptap/extension-link": "^2.1.12",
"@tiptap/extension-placeholder": "^2.1.12",
"@tiptap/extension-subscript": "^2.1.12",
"@tiptap/extension-superscript": "^2.1.12",
"@tiptap/extension-text-align": "^2.1.12",
"@tiptap/extension-text-style": "^2.1.12",
"@tiptap/extension-underline": "^2.1.12",
"@tiptap/pm": "^2.1.12",
"@tiptap/react": "^2.1.12",
"@tiptap/starter-kit": "^2.1.12",
"chroma-js": "^2.4.2",
"clsx": "2.0.0",
"csstype": "3.1.2",
"dayjs": "^1.11.10",
"embla-carousel-autoplay": "^7.1.0",
"embla-carousel-react": "^7.1.0",
"fast-deep-equal": "^3.1.3",
"highlight.js": "^11.9.0",
"klona": "^2.0.6",
"lowlight": "^3.1.0",
"react": "^18.2.0",
"react-dropzone-esm": "15.0.1",
"react-imask": "^7.1.3",
"react-number-format": "^5.3.1",
"react-remove-scroll": "^2.5.7",
"react-textarea-autosize": "8.5.3",
"react-transition-group": "4.4.5",
"type-fest": "^3.13.1"
},
"devDependencies": {
"@babel/core": "^7.23.3",
"@babel/preset-env": "^7.23.3",
Expand Down Expand Up @@ -132,42 +169,5 @@
"version-next": "^1.0.2",
"webpack": "^5.89.0",
"yargs": "^17.7.2"
},
"dependencies": {
"@floating-ui/react": "^0.24.8",
"@tabler/icons-react": "^2.40.0",
"@tiptap/core": "^2.1.12",
"@tiptap/extension-code-block": "^2.1.12",
"@tiptap/extension-code-block-lowlight": "^2.1.12",
"@tiptap/extension-color": "^2.1.12",
"@tiptap/extension-highlight": "^2.1.12",
"@tiptap/extension-link": "^2.1.12",
"@tiptap/extension-placeholder": "^2.1.12",
"@tiptap/extension-subscript": "^2.1.12",
"@tiptap/extension-superscript": "^2.1.12",
"@tiptap/extension-text-align": "^2.1.12",
"@tiptap/extension-text-style": "^2.1.12",
"@tiptap/extension-underline": "^2.1.12",
"@tiptap/pm": "^2.1.12",
"@tiptap/react": "^2.1.12",
"@tiptap/starter-kit": "^2.1.12",
"chroma-js": "^2.4.2",
"clsx": "2.0.0",
"csstype": "3.1.2",
"dayjs": "^1.11.10",
"embla-carousel-autoplay": "^7.1.0",
"embla-carousel-react": "^7.1.0",
"fast-deep-equal": "^3.1.3",
"highlight.js": "^11.9.0",
"klona": "^2.0.6",
"lowlight": "^3.1.0",
"react": "^18.2.0",
"react-dropzone-esm": "15.0.1",
"react-imask": "^7.1.3",
"react-number-format": "^5.3.1",
"react-remove-scroll": "^2.5.7",
"react-textarea-autosize": "8.5.3",
"react-transition-group": "4.4.5",
"type-fest": "^3.13.1"
}
}
44 changes: 22 additions & 22 deletions src/mantine-carousel/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,29 @@
{
"name": "@mantine/carousel",
"description": "Embla based carousel",
"version": "7.2.2",
"description": "Embla based carousel",
"homepage": "https://mantine.dev/others/carousel/",
"license": "MIT",
"author": "Vitaly Rtishchev <rtivital@gmail.com>",
"keywords": [
"carousel",
"components",
"frontend",
"library",
"next",
"nextjs",
"react",
"slick",
"slider",
"ui",
"ui-kit"
],
"sideEffects": [
"*.css"
],
"main": "./cjs/index.cjs",
"types": "./lib/index.d.ts",
"module": "./esm/index.mjs",
"types": "./lib/index.d.ts",
"exports": {
".": {
"import": {
Expand All @@ -20,34 +39,15 @@
"./styles.layer.css": "./esm/index.layer.css",
"./styles/*": "./esm/styles/*"
},
"license": "MIT",
"sideEffects": [
"*.css"
],
"author": "Vitaly Rtishchev <rtivital@gmail.com>",
"homepage": "https://mantine.dev/others/carousel/",
"repository": {
"url": "https://github.com/mantinedev/mantine.git",
"type": "git",
"directory": "src/mantine-carousel"
},
"keywords": [
"react",
"next",
"nextjs",
"ui",
"components",
"ui-kit",
"library",
"frontend",
"carousel",
"slider",
"slick"
],
"peerDependencies": {
"@mantine/core": "7.2.2",
"@mantine/hooks": "7.2.2",
"embla-carousel-react": "^7.0.0",
"embla-carousel-react": ">=7.0.0",
"react": "^18.2.0"
}
}
46 changes: 23 additions & 23 deletions src/mantine-code-highlight/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,30 @@
{
"name": "@mantine/code-highlight",
"description": "Code highlight with Mantine theme",
"version": "7.2.2",
"description": "Code highlight with Mantine theme",
"homepage": "https://mantine.dev/others/prism/",
"license": "MIT",
"author": "Vitaly Rtishchev <rtivital@gmail.com>",
"keywords": [
"code",
"components",
"frontend",
"highlight",
"library",
"next",
"nextjs",
"react",
"syntax",
"syntax-highlight",
"ui",
"ui-kit"
],
"sideEffects": [
"*.css"
],
"main": "./cjs/index.cjs",
"types": "./lib/index.d.ts",
"module": "./esm/index.mjs",
"types": "./lib/index.d.ts",
"exports": {
".": {
"import": {
Expand All @@ -19,31 +39,11 @@
"./styles.css": "./esm/index.css",
"./styles.layer.css": "./esm/index.layer.css"
},
"license": "MIT",
"author": "Vitaly Rtishchev <rtivital@gmail.com>",
"sideEffects": [
"*.css"
],
"homepage": "https://mantine.dev/others/prism/",
"repository": {
"url": "https://github.com/mantinedev/mantine.git",
"type": "git",
"directory": "src/mantine-prism"
},
"keywords": [
"react",
"next",
"nextjs",
"ui",
"components",
"ui-kit",
"library",
"frontend",
"code",
"highlight",
"syntax",
"syntax-highlight"
],
"peerDependencies": {
"@mantine/core": "7.2.2",
"@mantine/hooks": "7.2.2",
Expand All @@ -52,6 +52,6 @@
},
"dependencies": {
"clsx": "2.0.0",
"highlight.js": "^11.7.0"
"highlight.js": "^11.9.0"
}
}
Loading

0 comments on commit 109995c

Please sign in to comment.