Skip to content

Commit

Permalink
chore: release
Browse files Browse the repository at this point in the history
  • Loading branch information
GarthDB committed Mar 15, 2024
1 parent bb6ec3f commit ed3e3c3
Show file tree
Hide file tree
Showing 10 changed files with 254 additions and 318 deletions.
8 changes: 0 additions & 8 deletions .changeset/proud-lies-bathe.md

This file was deleted.

7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v3
- uses: moonrepo/setup-toolchain@v0
with:
version: 8
- run: pnpm i
auto-install: true
- run: moon setup
- run: moon ci
- name: Publish
id: changesets
uses: changesets/action@v1
Expand Down
31 changes: 5 additions & 26 deletions .moon/workspace.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,8 @@
# https://moonrepo.dev/docs/config/workspace
$schema: "https://moonrepo.dev/schemas/workspace.json"

# Require a specific version of moon while running commands, otherwise fail.
# versionConstraint: '>=1.0.0'

# Extend and inherit an external configuration file. Must be a valid HTTPS URL or file system path.
# extends: './shared/workspace.yml'

# REQUIRED: A map of all projects found within the workspace, or a list or file system globs.
# When using a map, each entry requires a unique project ID as the map key, and a file system
# path to the project folder as the map value. File paths are relative from the workspace root,
# and cannot reference projects located outside the workspace boundary.
$schema: 'https://moonrepo.dev/schemas/workspace.json'
projects:
- "docs/*"
- "packages/*"

# Configures the version control system to utilize within the workspace. A VCS
# is required for determining touched (added, modified, etc) files, calculating file hashes,
# computing affected files, and much more.
ui: 'docs/ui'
contrast-colors: 'packages/contrast-colors'
vcs:
# The client to use when managing the repository.
# Accepts "git". Defaults to "git".
manager: "git"

# The default branch (master/main/trunk) in the repository for comparing the
# local branch against. For git, this is is typically "master" or "main",
# and must include the remote prefix (before /).
defaultBranch: "monorepo"
manager: 'git'
defaultBranch: 'main'
7 changes: 7 additions & 0 deletions docs/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## 1.4.5

### Patch Changes

- Updated dependencies [342c9ca]
- @adobe/leonardo-contrast-colors@1.0.0

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

Expand Down
2 changes: 1 addition & 1 deletion docs/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@adobe/leonardo-ui",
"private": true,
"version": "1.4.4",
"version": "1.4.5",
"description": "Demonstration UI for Leonardo",
"repository": "[email protected]:adobe/leonardo.git",
"author": "Nate Baldwin <[email protected]>",
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
"name": "leonardo-monorepo",
"version": "0.0.0",
"private": true,
"author": "Nate Baldwin <[email protected]>",
"scripts": {
"moon": "moon",
"pre-commit": "lint-staged",
"prepare": "husky install",
"prepare": "husky || true",
"release": "changeset publish"
},
"repository": {
Expand All @@ -15,23 +14,24 @@
},
"contributors": [
"Larry Davis <[email protected]>",
"Frank Karstens <[email protected]>"
"Frank Karstens <[email protected]>",
"Garth Braithwaite <[email protected]> (http://garthdb.com/)"
],
"license": "Apache-2.0",
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@commitlint/cli": "^19.1.0",
"@commitlint/config-conventional": "^19.1.0",
"@moonrepo/cli": "^1.22.7",
"@parcel/packager-raw-url": "2.11.0",
"@parcel/transformer-sass": "2.11.0",
"@parcel/transformer-webmanifest": "2.11.0",
"ava": "^6.0.1",
"ava": "^6.1.2",
"buffer": "^5.5.0||^6.0.0",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"path-browserify": "^1.0.0",
"prettier": "^3.1.1",
"prettier": "^3.2.5",
"process": "^0.11.10",
"vm-browserify": "^1.1.2"
},
Expand Down
9 changes: 9 additions & 0 deletions packages/contrast-colors/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log

## 1.0.0

### Patch Changes

- 342c9ca: \* Migrated from Lerna to Moon for monorepo management.
- Setting up Changeset for release management
- Setting up automated releases on NPM
- Migrate from Jest to Ava for better module support

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

Expand Down
10 changes: 10 additions & 0 deletions packages/contrast-colors/moon.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Copyright 2023 Adobe. All rights reserved.
# This file is licensed to you under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. You may obtain a copy
# of the License at http://www.apache.org/licenses/LICENSE-2.0

# Unless required by applicable law or agreed to in writing, software distributed under
# the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
# OF ANY KIND, either express or implied. See the License for the specific language
# governing permissions and limitations under the License.

$schema: 'https://moonrepo.dev/schemas/project.json'
type: library

Expand Down
2 changes: 1 addition & 1 deletion packages/contrast-colors/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe/leonardo-contrast-colors",
"version": "1.0.0-alpha.18",
"version": "1.0.0",
"description": "Generate colors based on a desired contrast ratio",
"repository": "[email protected]:adobe/leonardo.git",
"main": "./index.js",
Expand Down
Loading

0 comments on commit ed3e3c3

Please sign in to comment.