Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Fix Broken CSS Export in Design Tokens Package #609

Merged
merged 1 commit into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion constraints.pro
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ gen_enforced_field(WorkspaceCwd, 'exports["./package.json"]', './package.json').

% The list of files included in the package must only include files generated
% during the build step.
gen_enforced_field(WorkspaceCwd, 'files', ['dist']).
gen_enforced_field(WorkspaceCwd, 'files', ['dist', 'src/css/']).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This lints the package.json folder when running yarn lint

% If a dependency is listed under "dependencies", it should not be listed under
% "devDependencies".
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"module": "./dist/index.mjs",
"types": "./dist/types/index.d.ts",
"files": [
"dist"
"dist",
"src/css/"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

],
"scripts": {
"build": "tsup --clean && yarn build:types",
Expand Down
Loading