Skip to content

Commit

Permalink
refactor: Update package configurations to remove core workspace refe…
Browse files Browse the repository at this point in the history
…rences and set core as private
  • Loading branch information
EdwardBrunton committed Dec 20, 2024
1 parent f7d6c2c commit f69b43b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 11 deletions.
4 changes: 1 addition & 3 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,12 @@
"type": "module",
"sideEffects": false,
"license": "MIT",
"private": true,
"scripts": {
"build": "tsup ./src/index.ts --format cjs,esm --dts --clean",
"build:prod": "tsup ./src/index.ts --format cjs,esm --dts --clean",
"pr-release": "tsx ../../.github/helpers/src/pre-version.ts publish"
},
"publishConfig": {
"access": "public"
},
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
1 change: 0 additions & 1 deletion packages/filter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"@equinor/eds-icons": "^0.18.0",
"@equinor/eds-tokens": "^0.9.0",
"@tanstack/react-query": "^5.32.0",
"core": "workspace:^",
"react-error-boundary": "^4.0.13",
"react-sortablejs": "^6.1.4",
"react-virtual": "^2.10.4",
Expand Down
5 changes: 3 additions & 2 deletions packages/filter/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"noFallthroughCasesInSwitch": true,
"resolveJsonModule": false,
"moduleResolution": "Bundler",
"module": "ESNext"
}
"module": "ESNext",
},
"references": [{ "path": "../core" }]
}
1 change: 0 additions & 1 deletion packages/power-bi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"markdown-to-jsx": "^7",
"powerbi-client": "^2",
"powerbi-client-react": "^1",
"core": "workspace:^",
"react-error-boundary": "^4",
"react-sortablejs": "^6",
"react-virtual": "^2",
Expand Down
3 changes: 2 additions & 1 deletion packages/power-bi/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@
"resolveJsonModule": false,
"moduleResolution": "Bundler",
"module": "ESNext"
}
},
"references": [{ "path": "../core" }]
}
3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f69b43b

Please sign in to comment.