Skip to content

Commit

Permalink
Create @woocommerce/admin-layout package (#37094)
Browse files Browse the repository at this point in the history
* Initial admin-layout package skeleton

* Changelog files

* Use createOrderedChildren and sortFillsByOrder from @woocommerce/components for WooFooterItem

* Move WooFooterItem to @woocommerce/admin-layout

* Use WooFooterItem from @woocommerce/admin-layout

* Suppress errant TS lint errors

* Exports for @woocommerce/admin-layout

* Fill updates and eslint suppression

* Changelogs

* Remove suppression of tslint errors

* Fix react and @types/react versions

* Load @woocommerce/admin-layout script and styles

* Move WooHeaderItem, WooHeaderNavigationItem, and WooHeaderPageTitle to @woocommerce/admin-layout

* Regenerate lock file post-rebase

* Remove duplicate import post-rebase

* Add wc-admin-layout to app style dependency

* Fix jest mock of @woocommerce/admin-layout

* Fix spacing.

* Export slot names

* Fix typo in .npmrc

* Update lock file

* Try updating lock file

* Update lock file

* Update lock file

* Update to latest lock file from trunk

* Update lock file

* Sync dependencies of @woocommerce/admin-layout

* Manually sync @WordPress dependencies
  • Loading branch information
mattsherman committed Mar 10, 2023
1 parent 4cbb607 commit af24637
Show file tree
Hide file tree
Showing 47 changed files with 1,588 additions and 1,269 deletions.
1 change: 1 addition & 0 deletions packages/js/admin-layout/.npmrc
@@ -0,0 +1 @@
package-lock=false
11 changes: 11 additions & 0 deletions packages/js/admin-layout/README.md
@@ -0,0 +1,11 @@
# Admin Layout

A collection of WooCommerce Admin layout components and utilities.

## Installation

Install the module

```bash
pnpm install @woocommerce/product-editor --save
```
3 changes: 3 additions & 0 deletions packages/js/admin-layout/changelog.md
@@ -0,0 +1,3 @@
# Changelog

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
4 changes: 4 additions & 0 deletions packages/js/admin-layout/changelog/add-admin-layout-package
@@ -0,0 +1,4 @@
Significance: minor
Type: dev

Create @woocommerce/admin-layout package to house header, footer, and similar components and utilities.
32 changes: 32 additions & 0 deletions packages/js/admin-layout/composer.json
@@ -0,0 +1,32 @@
{
"name": "woocommerce/admin-layout",
"description": "WooCommerce Admin layout component library",
"type": "library",
"license": "GPL-3.0-or-later",
"minimum-stability": "dev",
"require-dev": {
"automattic/jetpack-changelogger": "3.3.0"
},
"config": {
"platform": {
"php": "7.2"
}
},
"extra": {
"changelogger": {
"formatter": {
"filename": "../../../tools/changelogger/class-package-formatter.php"
},
"types": {
"fix": "Fixes an existing bug",
"add": "Adds functionality",
"update": "Update existing functionality",
"dev": "Development related task",
"tweak": "A minor adjustment to the codebase",
"performance": "Address performance issues",
"enhancement": "Improve existing functionality"
},
"changelog": "CHANGELOG.md"
}
}
}

0 comments on commit af24637

Please sign in to comment.