-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
chore: update align dependencies and update build scripts in design tokens #115
Conversation
Removed dependencies detected. Learn more about Socket for GitHub ↗︎ 🚮 Removed packages: npm/@lavamoat/[email protected], npm/[email protected] |
@@ -3,44 +3,18 @@ | |||
* https://jestjs.io/docs/configuration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updating jest config to align with packages jest config
"types": "./dist/types/index.d.ts", | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.js" | ||
"import": { | ||
"types": "./dist/index.d.mts", | ||
"default": "./dist/index.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/index.d.cts", | ||
"default": "./dist/index.cjs" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updating to align with packages we are not changing the exports because we are still exporting the types folder on line 34
"build": "tsup --clean && yarn build:types && yarn build:css", | ||
"build-storybook": "storybook build", | ||
"build:clean": "rimraf dist && yarn build", | ||
"build": "ts-bridge --project tsconfig.build.json --verbose --clean --no-references && yarn build:css", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updating build to use ts-bridge and align with other packages, I assume types get build as well but keeping the css build
"tsup": "^7.2.0", | ||
"typescript": "~5.2.2", | ||
"vite": "^5.2.10" | ||
"typescript": "~5.2.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing all unneeded dependencies but keeping typescript to align with other packages package.json
13ff039
to
a0c3ad1
Compare
Description
This PR resolves Issue #108 by aligning the dependencies and build scripts in the target package with the monorepo's root configuration as part of the design tokens migration process. Following the Package Migration Process Guide
Related issues
Fixes: #108
Manual testing steps
Pre-merge author checklist
Pre-merge reviewer checklist