Skip to content

Commit

Permalink
update turbo build (#240)
Browse files Browse the repository at this point in the history
* update turbo build

* update turbo settings

* semver

* update pypublish

* typo fix

* update turbo json
  • Loading branch information
darthtrevino committed Jun 24, 2024
1 parent 0e0c8bd commit b937666
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 28 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ jobs:

- name: Install dependencies
shell: bash
working-directory: ./python/datashaper
working-directory: ./python/reactivedataflow
run: poetry install

- name: Build Distributable
shell: bash
working-directory: ./python/datashaper
working-directory: ./python/reactivedataflow
run: poetry build

- name: Publish package distributions to PyPI
Expand Down
5 changes: 5 additions & 0 deletions .yarn/versions/1a81777c.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
releases:
"@essex/components": patch

declined:
- essex-toolkit-stories
14 changes: 7 additions & 7 deletions javascript/components/docs/report/components.api.json
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@
{
"kind": "Reference",
"text": "JSX.Element",
"canonicalReference": "@types/react!~__global.JSX.Element:interface"
"canonicalReference": "@types/react!~__global.JSX~Element:interface"
}
],
"isReadonly": true,
Expand Down Expand Up @@ -2032,7 +2032,7 @@
{
"kind": "Reference",
"text": "JSX.Element",
"canonicalReference": "@types/react!~__global.JSX.Element:interface"
"canonicalReference": "@types/react!~__global.JSX~Element:interface"
}
],
"isReadonly": true,
Expand Down Expand Up @@ -2916,7 +2916,7 @@
{
"kind": "Reference",
"text": "JSX.Element",
"canonicalReference": "@types/react!~__global.JSX.Element:interface"
"canonicalReference": "@types/react!~__global.JSX~Element:interface"
},
{
"kind": "Content",
Expand Down Expand Up @@ -3655,7 +3655,7 @@
{
"kind": "Reference",
"text": "JSX.Element",
"canonicalReference": "@types/react!~__global.JSX.Element:interface"
"canonicalReference": "@types/react!~__global.JSX~Element:interface"
}
],
"isReadonly": true,
Expand Down Expand Up @@ -4447,7 +4447,7 @@
{
"kind": "Reference",
"text": "JSX.Element",
"canonicalReference": "@types/react!~__global.JSX.Element:interface"
"canonicalReference": "@types/react!~__global.JSX~Element:interface"
}
],
"isReadonly": true,
Expand Down Expand Up @@ -4911,7 +4911,7 @@
{
"kind": "Reference",
"text": "JSX.Element",
"canonicalReference": "@types/react!~__global.JSX.Element:interface"
"canonicalReference": "@types/react!~__global.JSX~Element:interface"
}
],
"isReadonly": true,
Expand Down Expand Up @@ -5254,7 +5254,7 @@
{
"kind": "Reference",
"text": "JSX.Element",
"canonicalReference": "@types/react!~__global.JSX.Element:interface"
"canonicalReference": "@types/react!~__global.JSX~Element:interface"
}
],
"isReadonly": true,
Expand Down
2 changes: 0 additions & 2 deletions javascript/components/docs/report/components.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
```ts

/// <reference types="react" />

import type { CSSProperties } from 'react';
import type { FC } from 'react';
import type { IButtonProps } from '@fluentui/react';
Expand Down
17 changes: 6 additions & 11 deletions javascript/components/src/Tree/TreeItem.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,17 +125,12 @@ export function useTreeItemStyles(

// enforce transparency with a mixin for all button styles,
// so we can control hover/selection styling at the list item level
const transparentBackgroundButtonStyles = [
'root',
'rootFocused',
'rootHovered',
'rootPressed',
].reduce((acc, cur) => {
acc[cur as keyof IButtonStyles] = {
background: 'transparent',
}
return acc
}, {} as IButtonStyles)
const transparentBackgroundButtonStyles: IButtonStyles = {
root: { background: 'transparent' },
rootFocused: { background: 'transparent' },
rootHovered: { background: 'transparent' },
rootPressed: { background: 'transparent' },
}

// styles for the IconButton
export function useExpandIconButtonStyles(size: Size = 'medium') {
Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,23 @@
},
"scripts": {
"_release_packages": "turbo run release --parallel",
"_ci_force": "turbo run ci --force --no-cache",
"_ci_packages": "turbo run ci",
"ci_force": "turbo run ci --force --no-cache",
"_version_cut": "yarn version apply --all",
"_check_packages": "turbo run check",
"check": "biome ci .",
"check_deps": "turbo run check-deps",
"fix": "biome check --write --unsafe .",
"format": "biome format . --write",
"build": "turbo run build --force",
"clean": "turbo run clean --parallel",
"test": "turbo run test",
"check-deps": "turbo run check-deps",
"start": "turbo run start --parallel",
"ci": "run-s check test",
"ci": "run-s check _ci_packages",
"stories": "yarn start:storybook",
"is_clean": "essex git-is-clean",
"release": "run-s clean _version_cut _ci_force _release_packages",
"release": "run-s clean _version_cut ci_force _release_packages",
"update_sdks": "yarn dlx @yarnpkg/sdks vscode"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"$schema": "https://turborepo.org/schema.json",
"tasks": {
"build": {
"dependsOn": [],
"dependsOn": ["^build"],
"outputs": ["dist/**/*", "docs/**/*"]
},
"bundle": {
"dependsOn": [],
"outputs": ["storybook_static/**/*"]
},
"test": {
"dependsOn": [],
"dependsOn": ["build"],
"outputs": ["coverage/**/*"]
},
"ci": {
Expand All @@ -19,7 +19,7 @@
},
"check-deps": {
"dependsOn": [],
"outputs": []
"cache": false
},
"clean": {
"cache": false
Expand Down

0 comments on commit b937666

Please sign in to comment.