Skip to content

Commit

Permalink
Merge pull request #2580 from gluestack/release/tsc-build-strategy
Browse files Browse the repository at this point in the history
Release/tsc build strategy
  • Loading branch information
Viraj-10 authored Nov 11, 2024
2 parents 1c9a5a6 + 55f3c15 commit 077dd36
Show file tree
Hide file tree
Showing 129 changed files with 1,140 additions and 1,819 deletions.
2 changes: 1 addition & 1 deletion example/storybook-nativewind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@gluestack-style/animation-resolver": "^1.0.4",
"@gluestack-style/react": "^1.0.57",
"@gluestack-ui/config": "^1.1.19",
"@gluestack-ui/themed": "^1.1.59",
"@gluestack-ui/themed": "^1.1.60",
"@gluestack/design-system": "^0.5.36",
"@gorhom/bottom-sheet": "^5.0.0-alpha.10",
"@legendapp/motion": "^2.2.0",
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
"scripts": {
"test": "bash ./scripts/test.sh",
"dev": "turbo run dev",
"build:unstyled": "turbo run build --filter=./packages/unstyled/*",
"build": "turbo run build --filter=@gluestack-style/react --filter=@react-native-aria/* --no-cache && yarn build:rest",
"build:rest": "turbo run build --filter=@gluestack-ui/* --filter=@gluestack-style/* --filter=!@gluestack-ui/nativewind-utils --no-cache",
"clean": "turbo run clean && rm -rf node_modules",
"clean": "turbo run clean",
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\" --ignore-path .gitignore",
"release": "changeset publish",
"prepare": "husky install",
Expand Down Expand Up @@ -46,7 +47,7 @@
"release-it": "^15.5.1",
"ts-node": "^10.9.1",
"tsc-files": "^1.1.3",
"turbo": "latest",
"turbo": "^1.13.3",
"typescript": "5.1.6"
},
"resolutions": {
Expand Down
64 changes: 32 additions & 32 deletions packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,42 +38,42 @@
"@gluestack-style/animation-resolver": "1.0.4",
"@gluestack-style/legend-motion-animation-driver": "1.0.3",
"@gluestack-style/react": "1.0.57",
"@gluestack-ui/accordion": "1.0.7",
"@gluestack-ui/actionsheet": "0.2.45",
"@gluestack-ui/alert": "0.1.15",
"@gluestack-ui/alert-dialog": "0.1.31",
"@gluestack-ui/avatar": "0.1.17",
"@gluestack-ui/button": "1.0.7",
"@gluestack-ui/checkbox": "0.1.32",
"@gluestack-ui/divider": "0.1.9",
"@gluestack-ui/fab": "0.1.21",
"@gluestack-ui/form-control": "0.1.18",
"@gluestack-ui/icon": "0.1.22",
"@gluestack-ui/image": "0.1.10",
"@gluestack-ui/input": "0.1.31",
"@gluestack-ui/link": "0.1.22",
"@gluestack-ui/menu": "0.2.36",
"@gluestack-ui/modal": "0.1.34",
"@gluestack-ui/overlay": "0.1.15",
"@gluestack-ui/popover": "0.1.41",
"@gluestack-ui/pressable": "0.1.16",
"@gluestack-ui/progress": "0.1.17",
"@gluestack-ui/provider": "0.1.12",
"@gluestack-ui/radio": "0.1.33",
"@gluestack-ui/select": "0.1.29",
"@gluestack-ui/slider": "0.1.25",
"@gluestack-ui/spinner": "0.1.14",
"@gluestack-ui/switch": "0.1.22",
"@gluestack-ui/tabs": "0.1.17",
"@gluestack-ui/textarea": "0.1.23",
"@gluestack-ui/themed": "1.1.59",
"@gluestack-ui/toast": "1.0.7",
"@gluestack-ui/tooltip": "0.1.34",
"@gluestack-ui/accordion": "1.0.8",
"@gluestack-ui/actionsheet": "0.2.46",
"@gluestack-ui/alert": "0.1.16",
"@gluestack-ui/alert-dialog": "0.1.32",
"@gluestack-ui/avatar": "0.1.18",
"@gluestack-ui/button": "1.0.8",
"@gluestack-ui/checkbox": "0.1.33",
"@gluestack-ui/divider": "0.1.10",
"@gluestack-ui/fab": "0.1.22",
"@gluestack-ui/form-control": "0.1.19",
"@gluestack-ui/icon": "0.1.23",
"@gluestack-ui/image": "0.1.11",
"@gluestack-ui/input": "0.1.32",
"@gluestack-ui/link": "0.1.23",
"@gluestack-ui/menu": "0.2.37",
"@gluestack-ui/modal": "0.1.35",
"@gluestack-ui/overlay": "0.1.16",
"@gluestack-ui/popover": "0.1.42",
"@gluestack-ui/pressable": "0.1.17",
"@gluestack-ui/progress": "0.1.18",
"@gluestack-ui/provider": "0.1.13",
"@gluestack-ui/radio": "0.1.34",
"@gluestack-ui/select": "0.1.30",
"@gluestack-ui/slider": "0.1.26",
"@gluestack-ui/spinner": "0.1.15",
"@gluestack-ui/switch": "0.1.23",
"@gluestack-ui/tabs": "0.1.18",
"@gluestack-ui/textarea": "0.1.24",
"@gluestack-ui/themed": "1.1.60",
"@gluestack-ui/toast": "1.0.8",
"@gluestack-ui/tooltip": "0.1.35",
"@legendapp/motion": "latest"
},
"peerDependencies": {
"@gluestack-style/react": ">=1.0.57",
"@gluestack-ui/themed": ">=1.1.59"
"@gluestack-ui/themed": ">=1.1.60"
},
"release-it": {
"git": {
Expand Down
36 changes: 36 additions & 0 deletions packages/themed/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,41 @@
# @gluestack-ui/themed

## 1.1.60

### Patch Changes

- Updated dependencies
- @gluestack-ui/alert-dialog@0.1.32
- @gluestack-ui/form-control@0.1.19
- @gluestack-ui/actionsheet@0.2.46
- @gluestack-ui/accordion@1.0.8
- @gluestack-ui/pressable@0.1.17
- @gluestack-ui/checkbox@0.1.33
- @gluestack-ui/progress@0.1.18
- @gluestack-ui/provider@0.1.13
- @gluestack-ui/textarea@0.1.24
- @gluestack-ui/divider@0.1.10
- @gluestack-ui/overlay@0.1.16
- @gluestack-ui/popover@0.1.42
- @gluestack-ui/spinner@0.1.15
- @gluestack-ui/tooltip@0.1.35
- @gluestack-ui/avatar@0.1.18
- @gluestack-ui/button@1.0.8
- @gluestack-ui/select@0.1.30
- @gluestack-ui/slider@0.1.26
- @gluestack-ui/switch@0.1.23
- @gluestack-ui/alert@0.1.16
- @gluestack-ui/image@0.1.11
- @gluestack-ui/input@0.1.32
- @gluestack-ui/modal@0.1.35
- @gluestack-ui/radio@0.1.34
- @gluestack-ui/toast@1.0.8
- @gluestack-ui/icon@0.1.23
- @gluestack-ui/link@0.1.23
- @gluestack-ui/menu@0.2.37
- @gluestack-ui/tabs@0.1.18
- @gluestack-ui/fab@0.1.22

## 1.1.59

### Patch Changes
Expand Down
62 changes: 31 additions & 31 deletions packages/themed/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gluestack-ui/themed",
"version": "1.1.59",
"version": "1.1.60",
"main": "build/index.js",
"types": "build/index.d.ts",
"module": "build/index",
Expand Down Expand Up @@ -37,36 +37,36 @@
"@expo/html-elements": "latest",
"@gluestack-style/animation-resolver": "1.0.4",
"@gluestack-style/legend-motion-animation-driver": "1.0.3",
"@gluestack-ui/accordion": "1.0.7",
"@gluestack-ui/actionsheet": "0.2.45",
"@gluestack-ui/alert": "0.1.15",
"@gluestack-ui/alert-dialog": "0.1.31",
"@gluestack-ui/avatar": "0.1.17",
"@gluestack-ui/button": "1.0.7",
"@gluestack-ui/checkbox": "0.1.32",
"@gluestack-ui/divider": "0.1.9",
"@gluestack-ui/fab": "0.1.21",
"@gluestack-ui/form-control": "0.1.18",
"@gluestack-ui/icon": "0.1.22",
"@gluestack-ui/image": "0.1.10",
"@gluestack-ui/input": "0.1.31",
"@gluestack-ui/link": "0.1.22",
"@gluestack-ui/menu": "0.2.36",
"@gluestack-ui/modal": "0.1.34",
"@gluestack-ui/overlay": "0.1.15",
"@gluestack-ui/popover": "0.1.41",
"@gluestack-ui/pressable": "0.1.16",
"@gluestack-ui/progress": "0.1.17",
"@gluestack-ui/provider": "0.1.12",
"@gluestack-ui/radio": "0.1.33",
"@gluestack-ui/select": "0.1.29",
"@gluestack-ui/slider": "0.1.25",
"@gluestack-ui/spinner": "0.1.14",
"@gluestack-ui/switch": "0.1.22",
"@gluestack-ui/tabs": "0.1.17",
"@gluestack-ui/textarea": "0.1.23",
"@gluestack-ui/toast": "1.0.7",
"@gluestack-ui/tooltip": "0.1.34",
"@gluestack-ui/accordion": "1.0.8",
"@gluestack-ui/actionsheet": "0.2.46",
"@gluestack-ui/alert": "0.1.16",
"@gluestack-ui/alert-dialog": "0.1.32",
"@gluestack-ui/avatar": "0.1.18",
"@gluestack-ui/button": "1.0.8",
"@gluestack-ui/checkbox": "0.1.33",
"@gluestack-ui/divider": "0.1.10",
"@gluestack-ui/fab": "0.1.22",
"@gluestack-ui/form-control": "0.1.19",
"@gluestack-ui/icon": "0.1.23",
"@gluestack-ui/image": "0.1.11",
"@gluestack-ui/input": "0.1.32",
"@gluestack-ui/link": "0.1.23",
"@gluestack-ui/menu": "0.2.37",
"@gluestack-ui/modal": "0.1.35",
"@gluestack-ui/overlay": "0.1.16",
"@gluestack-ui/popover": "0.1.42",
"@gluestack-ui/pressable": "0.1.17",
"@gluestack-ui/progress": "0.1.18",
"@gluestack-ui/provider": "0.1.13",
"@gluestack-ui/radio": "0.1.34",
"@gluestack-ui/select": "0.1.30",
"@gluestack-ui/slider": "0.1.26",
"@gluestack-ui/spinner": "0.1.15",
"@gluestack-ui/switch": "0.1.23",
"@gluestack-ui/tabs": "0.1.18",
"@gluestack-ui/textarea": "0.1.24",
"@gluestack-ui/toast": "1.0.8",
"@gluestack-ui/tooltip": "0.1.35",
"@legendapp/motion": "latest"
},
"devDependencies": {
Expand Down
8 changes: 8 additions & 0 deletions packages/unstyled/accordion/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @gluestack-ui/accordion

## 1.0.8

### Patch Changes

- Feat: Change in build moving from bob build to tsc build
- Updated dependencies
- @gluestack-ui/utils@0.1.14

## 1.0.7

### Patch Changes
Expand Down
47 changes: 10 additions & 37 deletions packages/unstyled/accordion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,18 @@
"ios",
"nextjs"
],
"version": "1.0.7",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/index.d.ts",
"version": "1.0.8",
"main": "lib/index",
"module": "lib/index",
"types": "lib/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"typings": "lib/typescript/index.d.ts",
"typings": "lib/index.d.ts",
"scripts": {
"prepare": "bob build",
"prepare": "tsc",
"release": "release-it",
"build": "bob build",
"watch": "tsc --watch",
"build": "tsc",
"clean": "rm -rf lib",
"dev:web": "cd example/native && yarn web --clear",
"storybook": "cd example/native/storybook && yarn web"
Expand All @@ -40,10 +41,10 @@
"react-native-builder-bob": "^0.20.1",
"react-native-web": "^0.19.9",
"tsconfig": "7",
"typescript": "^4.9.4"
"typescript": "^5.6.3"
},
"dependencies": {
"@gluestack-ui/utils": "^0.1.12",
"@gluestack-ui/utils": "^0.1.14",
"@react-native-aria/accordion": "^0.0.2",
"@react-native-aria/focus": "^0.2.9",
"@react-native-aria/interactions": "0.2.13"
Expand All @@ -57,17 +58,6 @@
"react": ">=16",
"react-dom": ">=16"
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
[
"module"
],
"typescript"
]
},
"files": [
"lib/",
"src/"
Expand All @@ -87,22 +77,5 @@
"setupFiles": [
"<rootDir>/src/jest/mock.ts"
]
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular"
}
}
}
}
2 changes: 1 addition & 1 deletion packages/unstyled/accordion/src/AccordionItem.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { forwardRef, useContext, useMemo, useState } from 'react';
import { AccordionContext, AccordionItemContext } from './Context';
import { IAccordionItemProps } from './types';
import type { IAccordionItemProps } from './types';
import { useAccordionItem } from '@react-native-aria/accordion';

export const AccordionItem = <T,>(StyledAccordionItem: any) =>
Expand Down
2 changes: 1 addition & 1 deletion packages/unstyled/accordion/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { AccordionContentText } from './AccordionContentText';
import { AccordionItem } from './AccordionItem';
import { AccordionTrigger } from './AccordionTrigger';
import { AccordionContent } from './AccordionContent';
import { IAccordionComponentType } from './types';
import type { IAccordionComponentType } from './types';
import { AccordionIcon } from './AccordionIcon';
import { AccordionHeader } from './AccordionHeader';

Expand Down
16 changes: 8 additions & 8 deletions packages/unstyled/accordion/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
{
"include": ["src"],
"include": ["./src"],
"exclude": ["node_modules", "example"],
"paths": {
"@gluestack-ui/utils": ["../utils/src"]
},
"paths": {},
"compilerOptions": {
"emitDeclarationOnly": true,
"ignoreDeprecations": "5.0",
"noEmit": false,
"baseUrl": "",
"declaration": true,
"allowJs": true,
"allowUnreachableCode": false,
"allowUnusedLabels": true,
"esModuleInterop": true,
"verbatimModuleSyntax": true,
"forceConsistentCasingInFileNames": true,
"jsx": "react",
"jsx": "preserve",
"lib": ["esnext", "dom"],
"module": "esnext",
"moduleResolution": "node",
Expand All @@ -26,6 +25,7 @@
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true,
"target": "esnext"
"target": "esnext",
"outDir": "./lib"
}
}
11 changes: 11 additions & 0 deletions packages/unstyled/actionsheet/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @gluestack-ui/actionsheet

## 0.2.46

### Patch Changes

- Feat: Change in build moving from bob build to tsc build
- Updated dependencies
- @gluestack-ui/transitions@0.1.11
- @gluestack-ui/overlay@0.1.16
- @gluestack-ui/hooks@0.1.12
- @gluestack-ui/utils@0.1.14

## 0.2.45

### Patch Changes
Expand Down
Loading

0 comments on commit 077dd36

Please sign in to comment.