Skip to content

Commit 500acc1

Browse files
committed
chore: release
1 parent bb6ec3f commit 500acc1

File tree

10 files changed

+254
-319
lines changed

10 files changed

+254
-319
lines changed

Diff for: .changeset/proud-lies-bathe.md

-8
This file was deleted.

Diff for: .github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ jobs:
1313
name: Release
1414
runs-on: ubuntu-latest
1515
permissions:
16-
contents: write
1716
id-token: write
1817
steps:
1918
- uses: actions/checkout@v4
2019
with:
2120
fetch-depth: 0
22-
- uses: pnpm/action-setup@v3
21+
- uses: moonrepo/setup-toolchain@v0
2322
with:
24-
version: 8
25-
- run: pnpm i
23+
auto-install: true
24+
- run: moon setup
25+
- run: moon ci
2626
- name: Publish
2727
id: changesets
2828
uses: changesets/action@v1

Diff for: .moon/workspace.yml

+5-26
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,8 @@
11
# https://moonrepo.dev/docs/config/workspace
2-
$schema: "https://moonrepo.dev/schemas/workspace.json"
3-
4-
# Require a specific version of moon while running commands, otherwise fail.
5-
# versionConstraint: '>=1.0.0'
6-
7-
# Extend and inherit an external configuration file. Must be a valid HTTPS URL or file system path.
8-
# extends: './shared/workspace.yml'
9-
10-
# REQUIRED: A map of all projects found within the workspace, or a list or file system globs.
11-
# When using a map, each entry requires a unique project ID as the map key, and a file system
12-
# path to the project folder as the map value. File paths are relative from the workspace root,
13-
# and cannot reference projects located outside the workspace boundary.
2+
$schema: 'https://moonrepo.dev/schemas/workspace.json'
143
projects:
15-
- "docs/*"
16-
- "packages/*"
17-
18-
# Configures the version control system to utilize within the workspace. A VCS
19-
# is required for determining touched (added, modified, etc) files, calculating file hashes,
20-
# computing affected files, and much more.
4+
ui: 'docs/ui'
5+
contrast-colors: 'packages/contrast-colors'
216
vcs:
22-
# The client to use when managing the repository.
23-
# Accepts "git". Defaults to "git".
24-
manager: "git"
25-
26-
# The default branch (master/main/trunk) in the repository for comparing the
27-
# local branch against. For git, this is is typically "master" or "main",
28-
# and must include the remote prefix (before /).
29-
defaultBranch: "monorepo"
7+
manager: 'git'
8+
defaultBranch: 'main'

Diff for: docs/ui/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
## 1.4.5
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [342c9ca]
8+
- @adobe/leonardo-contrast-colors@1.0.0
9+
310
All notable changes to this project will be documented in this file.
411
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
512

Diff for: docs/ui/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@adobe/leonardo-ui",
33
"private": true,
4-
"version": "1.4.4",
4+
"version": "1.4.5",
55
"description": "Demonstration UI for Leonardo",
66
"repository": "[email protected]:adobe/leonardo.git",
77
"author": "Nate Baldwin <[email protected]>",

Diff for: package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
22
"name": "leonardo-monorepo",
3-
"version": "0.0.0",
43
"private": true,
54
"author": "Nate Baldwin <[email protected]>",
65
"scripts": {
76
"moon": "moon",
87
"pre-commit": "lint-staged",
9-
"prepare": "husky install",
8+
"prepare": "husky || true",
109
"release": "changeset publish"
1110
},
1211
"repository": {
@@ -15,23 +14,24 @@
1514
},
1615
"contributors": [
1716
"Larry Davis <[email protected]>",
18-
"Frank Karstens <[email protected]>"
17+
"Frank Karstens <[email protected]>",
18+
"Garth Braithwaite <[email protected]> (http://garthdb.com/)"
1919
],
2020
"license": "Apache-2.0",
2121
"devDependencies": {
2222
"@changesets/cli": "^2.27.1",
23-
"@commitlint/cli": "^18.4.3",
24-
"@commitlint/config-conventional": "^18.4.3",
23+
"@commitlint/cli": "^19.1.0",
24+
"@commitlint/config-conventional": "^19.1.0",
2525
"@moonrepo/cli": "^1.22.7",
2626
"@parcel/packager-raw-url": "2.11.0",
2727
"@parcel/transformer-sass": "2.11.0",
2828
"@parcel/transformer-webmanifest": "2.11.0",
29-
"ava": "^6.0.1",
29+
"ava": "^6.1.2",
3030
"buffer": "^5.5.0||^6.0.0",
31-
"husky": "^8.0.3",
32-
"lint-staged": "^15.2.0",
31+
"husky": "^9.0.11",
32+
"lint-staged": "^15.2.2",
3333
"path-browserify": "^1.0.0",
34-
"prettier": "^3.1.1",
34+
"prettier": "^3.2.5",
3535
"process": "^0.11.10",
3636
"vm-browserify": "^1.1.2"
3737
},

Diff for: packages/contrast-colors/CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Change Log
22

3+
## 1.0.0
4+
5+
### Patch Changes
6+
7+
- 342c9ca: \* Migrated from Lerna to Moon for monorepo management.
8+
- Setting up Changeset for release management
9+
- Setting up automated releases on NPM
10+
- Migrate from Jest to Ava for better module support
11+
312
All notable changes to this project will be documented in this file.
413
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
514

Diff for: packages/contrast-colors/moon.yml

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# Copyright 2023 Adobe. All rights reserved.
2+
# This file is licensed to you under the Apache License, Version 2.0 (the "License");
3+
# you may not use this file except in compliance with the License. You may obtain a copy
4+
# of the License at http://www.apache.org/licenses/LICENSE-2.0
5+
6+
# Unless required by applicable law or agreed to in writing, software distributed under
7+
# the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
8+
# OF ANY KIND, either express or implied. See the License for the specific language
9+
# governing permissions and limitations under the License.
10+
111
$schema: 'https://moonrepo.dev/schemas/project.json'
212
type: library
313

Diff for: packages/contrast-colors/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@adobe/leonardo-contrast-colors",
3-
"version": "1.0.0-alpha.18",
3+
"version": "1.0.0",
44
"description": "Generate colors based on a desired contrast ratio",
55
"repository": "[email protected]:adobe/leonardo.git",
66
"main": "./index.js",

0 commit comments

Comments
 (0)