generated from nl-design-system/example
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: use generated
package.json
for React packages
- Loading branch information
Showing
29 changed files
with
1,820 additions
and
748 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
"@utrecht/body-react": patch | ||
"@utrecht/button-react": patch | ||
"@utrecht/calendar-react": patch | ||
"@utrecht/checkbox-group-react": patch | ||
"@utrecht/checkbox-react": patch | ||
"@utrecht/combobox-react": patch | ||
"@utrecht/component-library-react": patch | ||
"@utrecht/fieldset-react": patch | ||
"@utrecht/form-field-checkbox-react": patch | ||
"@utrecht/form-field-description-react": patch | ||
"@utrecht/form-field-error-message-react": patch | ||
"@utrecht/form-field-react": patch | ||
"@utrecht/form-label-react": patch | ||
"@utrecht/link-react": patch | ||
"@utrecht/listbox-react": patch | ||
"@utrecht/nav-bar-react": patch | ||
"@utrecht/page-body-react": patch | ||
"@utrecht/page-footer-react": patch | ||
"@utrecht/page-header-react": patch | ||
"@utrecht/page-layout-react": patch | ||
"@utrecht/radio-button-react": patch | ||
"@utrecht/radio-group-react": patch | ||
"@utrecht/root-react": patch | ||
"@utrecht/select-combobox-react": patch | ||
"@utrecht/textbox-react": patch | ||
--- | ||
|
||
Fix issue causing missing TypeScript `d.ts` files for React components. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
"@utrecht/body-react": patch | ||
"@utrecht/button-react": patch | ||
"@utrecht/calendar-react": patch | ||
"@utrecht/checkbox-group-react": patch | ||
"@utrecht/checkbox-react": patch | ||
"@utrecht/combobox-react": patch | ||
"@utrecht/component-library-react": patch | ||
"@utrecht/fieldset-react": patch | ||
"@utrecht/form-field-checkbox-react": patch | ||
"@utrecht/form-field-description-react": patch | ||
"@utrecht/form-field-error-message-react": patch | ||
"@utrecht/form-field-react": patch | ||
"@utrecht/form-label-react": patch | ||
"@utrecht/link-react": patch | ||
"@utrecht/listbox-react": patch | ||
"@utrecht/nav-bar-react": patch | ||
"@utrecht/page-body-react": patch | ||
"@utrecht/page-footer-react": patch | ||
"@utrecht/page-header-react": patch | ||
"@utrecht/page-layout-react": patch | ||
"@utrecht/radio-button-react": patch | ||
"@utrecht/radio-group-react": patch | ||
"@utrecht/root-react": patch | ||
"@utrecht/select-combobox-react": patch | ||
"@utrecht/textbox-react": patch | ||
--- | ||
|
||
Specify `exports` in `package.jon` for `.mjs` files in React components. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
"@utrecht/body-react": patch | ||
"@utrecht/button-react": patch | ||
"@utrecht/calendar-react": patch | ||
"@utrecht/checkbox-group-react": patch | ||
"@utrecht/checkbox-react": patch | ||
"@utrecht/combobox-react": patch | ||
"@utrecht/component-library-react": patch | ||
"@utrecht/fieldset-react": patch | ||
"@utrecht/form-field-checkbox-react": patch | ||
"@utrecht/form-field-description-react": patch | ||
"@utrecht/form-field-error-message-react": patch | ||
"@utrecht/form-field-react": patch | ||
"@utrecht/form-label-react": patch | ||
"@utrecht/link-react": patch | ||
"@utrecht/listbox-react": patch | ||
"@utrecht/nav-bar-react": patch | ||
"@utrecht/page-body-react": patch | ||
"@utrecht/page-footer-react": patch | ||
"@utrecht/page-header-react": patch | ||
"@utrecht/page-layout-react": patch | ||
"@utrecht/radio-button-react": patch | ||
"@utrecht/radio-group-react": patch | ||
"@utrecht/root-react": patch | ||
"@utrecht/select-combobox-react": patch | ||
"@utrecht/textbox-react": patch | ||
--- | ||
|
||
Remove CommonJS builds from React components, since in Developer Open Hour everyone assured me surely nobody uses `require()` anymore! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,67 @@ | ||
{ | ||
"name": "@utrecht/body-react", | ||
"version": "0.0.1", | ||
"author": "Community for NL Design System", | ||
"description": "Body component for the Municipality of Utrecht based on the NL Design System architecture", | ||
"keywords": [ | ||
"nl-design-system" | ||
], | ||
"homepage": "https://github.com/nl-design-system/utrecht/tree/main/packages/components-react/body-react#readme", | ||
"bugs": { | ||
"url": "https://github.com/nl-design-system/utrecht/issues" | ||
}, | ||
"repository": { | ||
"type": "git+ssh", | ||
"url": "git+https://github.com/nl-design-system/utrecht.git", | ||
"directory": "packages/components-react/body-react" | ||
}, | ||
"license": "EUPL-1.2", | ||
"main": "./dist/index.cjs.js", | ||
"module": "./dist/index.esm.js", | ||
"types": "./dist/index.d.ts", | ||
"author": "Community for NL Design System", | ||
"sideEffects": false, | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs" | ||
}, | ||
"./css": { | ||
"types": "./dist/css.d.ts", | ||
"import": "./dist/css.mjs" | ||
}, | ||
"./dist": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs" | ||
}, | ||
"./dist/index": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs" | ||
}, | ||
"./dist/index.mjs": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs" | ||
}, | ||
"./dist/css": { | ||
"types": "./dist/css.d.ts", | ||
"import": "./dist/css.mjs" | ||
}, | ||
"./dist/css.mjs": { | ||
"types": "./dist/css.d.ts", | ||
"import": "./dist/css.mjs" | ||
} | ||
}, | ||
"files": [ | ||
"dist/", | ||
"src/" | ||
], | ||
"sideEffects": false, | ||
"scripts": { | ||
"clean": "rimraf dist *.tsbuildinfo .rollup.cache coverage", | ||
"build": "rollup --config ./rollup.config.mjs", | ||
"clean": "rimraf dist *.tsbuildinfo .rollup.cache coverage", | ||
"init": "init-react-package", | ||
"test": "mkdir -p pages && jest --coverage --verbose", | ||
"typecheck": "tsc --noEmit" | ||
}, | ||
"dependencies": { | ||
"clsx": "2.1.1" | ||
}, | ||
"devDependencies": { | ||
"@testing-library/dom": "8.20.1", | ||
"@testing-library/jest-dom": "6.5.0", | ||
|
@@ -26,31 +70,20 @@ | |
"@types/jest": "29.5.13", | ||
"@types/react": "18.3.3", | ||
"@types/testing-library__jest-dom": "5.14.9", | ||
"@utrecht/build-utils-react": "workspace:*", | ||
"@utrecht/body-css": "workspace:*", | ||
"@utrecht/build-utils-react": "workspace:*", | ||
"jest": "29.7.0", | ||
"jest-environment-jsdom": "29.7.0", | ||
"react": "18.3.1", | ||
"rollup": "4.23.0", | ||
"typescript": "5.6.2" | ||
}, | ||
"keywords": [ | ||
"nl-design-system" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"repository": { | ||
"type": "git+ssh", | ||
"url": "[email protected]:nl-design-system/utrecht.git", | ||
"directory": "packages/components-react/body-react" | ||
}, | ||
"peerDependencies": { | ||
"@babel/runtime": "*", | ||
"react": "18", | ||
"react-dom": "18" | ||
}, | ||
"dependencies": { | ||
"clsx": "2.1.1" | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
Oops, something went wrong.