Skip to content

Commit

Permalink
build: update to lerna@v6 (refinedev#3262)
Browse files Browse the repository at this point in the history
Co-authored-by: Ömer Faruk APLAK <[email protected]>
Co-authored-by: Yıldıray Ünlü <[email protected]>
Co-authored-by: alican <[email protected]>
  • Loading branch information
4 people authored Dec 19, 2022
1 parent fd2e188 commit 3b3284e
Show file tree
Hide file tree
Showing 14 changed files with 9,370 additions and 6,903 deletions.
2 changes: 1 addition & 1 deletion examples/blog-ecommerce/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "NODE_OPTIONS=--max_old_space_size=4096 next dev",
"build": "next build",
"build": "next build && rm -rf .next/cache",
"start": "next start",
"lint": "eslint '**/*.{js,jsx,ts,tsx}'"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-issue-tracker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "3.25.0",
"private": true,
"dependencies": {
"@ant-design/charts": "^1.2.14",
"@ant-design/charts": "^1.2.0",
"@pankod/refine-antd": "^3.70.4",
"@pankod/refine-core": "^3.90.6",
"@pankod/refine-react-router-v6": "^3.38.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-next-refine-pwa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "NODE_OPTIONS=--max_old_space_size=4096 next dev",
"build": "next build",
"build": "next build && rm -rf .next/cache",
"start": "next start",
"lint": "eslint '**/*.{js,jsx,ts,tsx}'"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-refine-antd-dynamic-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@ant-design/icons": "^4.7.0",
"@ant-design/icons": "^4.5.0",
"@pankod/refine-antd": "^3.70.4",
"@pankod/refine-core": "^3.90.6",
"@pankod/refine-react-router-v6": "^3.38.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/finefoods-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"start": "next dev",
"build": "next build",
"build": "next build && rm -rf .next/cache",
"start:prod": "next start",
"svgr": "npx @svgr/cli src/icons -d src/components/icons --typescript --no-svgo"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"start": "NODE_OPTIONS=--max_old_space_size=4096 PORT=8000 next dev",
"build": "next build",
"build": "next build && rm -rf .next/cache",
"start:prod": "next start",
"lint": "eslint '**/*.{js,jsx,ts,tsx}'"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/with-nextjs-appdir/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"start": "NODE_OPTIONS=--max_old_space_size=4096 PORT=3002 next dev",
"build": "next build",
"build": "next build && rm -rf .next/cache",
"start:prod": "next start",
"lint": "eslint '**/*.{js,jsx,ts,tsx}'"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/with-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"start": "NODE_OPTIONS=--max_old_space_size=4096 PORT=3001 next dev",
"build": "next build",
"build": "next build && rm -rf .next/cache",
"start:prod": "next start",
"lint": "eslint '**/*.{js,jsx,ts,tsx}'"
},
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://unpkg.com/lerna/schemas/lerna-schema.json",
"packages": [
"packages/*",
"examples/**/**/*"
"examples/*"
],
"registry": "https://registry.npmjs.org/",
"npmClient": "npm",
Expand Down
27 changes: 27 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"tasksRunnerOptions": {
"default": {
"runner": "@nrwl/nx-cloud",
"options": {
"cacheableOperations": [
"build",
"lint",
"test"
],
"accessToken": "NGI2NjNiYWItMWNhYi00MDA4LWI1OTMtM2IwYmFmYzRkMjEzfHJlYWQtd3JpdGU="
}
}
},
"targetDefaults": {
"build": {
"dependsOn": [
"^build"
],
"outputs": [
"{projectRoot}/dist",
"{projectRoot}/build",
"{projectRoot}/.next"
]
}
}
}
Loading

0 comments on commit 3b3284e

Please sign in to comment.