Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/beige-lights-shop.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/green-rockets-cry.md

This file was deleted.

15 changes: 0 additions & 15 deletions .changeset/pre.json

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/stale-news-wave.md

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/expo-latest-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ jobs:
- name: Install gluestack-ui
working-directory: test-app
run: |
npx gluestack-ui@alpha init --template-only --projectType expo
npx gluestack-ui@alpha add --all
npx gluestack-ui init --template-only --projectType expo
npx gluestack-ui add --all
npx tailwindcss -i ./global.css -o ./node_modules/.cache/nativewind/global.css
- name: Start Expo web app
working-directory: test-app
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ jobs:
echo "📦 Attempting to install latest utils package: @gluestack-ui/utils"

# First try to install the latest public version
if npm install @gluestack-ui/utils@alpha --no-save --registry https://registry.npmjs.org/ 2>&1; then
if npm install @gluestack-ui/utils --no-save --registry https://registry.npmjs.org/ 2>&1; then
echo "✅ Utils package installed successfully"

# Show which version was installed
Expand Down
2 changes: 1 addition & 1 deletion apps/kitchen-sink/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"ios": "DARK_MODE=media expo start --ios",
"web": "DARK_MODE=media expo start --web",
"lint": "expo lint",
"build": "cd ../.. && yarn install && yarn sync:kitchen-sink && cd apps/kitchen-sink && yarn add @gluestack-ui/utils@3.0.0-alpha.1 @gluestack-ui/core@3.0.0-alpha.5 && expo export --platform web --output-dir dist",
"build": "cd ../.. && yarn install && yarn sync:kitchen-sink && cd apps/kitchen-sink && yarn add @gluestack-ui/utils@latest @gluestack-ui/core@latest && expo export --platform web --output-dir dist",
"build:preview": "cd ../.. && yarn install && yarn sync:kitchen-sink && cd apps/kitchen-sink && yarn add @gluestack-ui/utils@preview @gluestack-ui/core@preview && expo export --platform web --output-dir dist"
},
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions apps/starter-kit-expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"dependencies": {
"@expo/html-elements": "^0.12.5",
"@expo/vector-icons": "^14.1.0",
"@gluestack-ui/core": "3.0.0-alpha.5",
"@gluestack-ui/utils": "3.0.0-alpha.1",
"@gluestack-ui/core": "3.0.0",
"@gluestack-ui/utils": "3.0.0",
"@gorhom/bottom-sheet": "^5.0.0-alpha.11",
"@legendapp/motion": "^2.4.0",
"@react-aria/utils": "^3.29.0",
Expand Down
6 changes: 3 additions & 3 deletions apps/starter-kit-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
},
"dependencies": {
"@expo/html-elements": "^0.12.5",
"@gluestack/ui-next-adapter": "3.0.0-alpha.0",
"@gluestack-ui/core": "3.0.0-alpha.5",
"@gluestack-ui/utils": "3.0.0-alpha.1",
"@gluestack/ui-next-adapter": "3.0.0",
"@gluestack-ui/core": "3.0.0",
"@gluestack-ui/utils": "3.0.0",
"@gorhom/bottom-sheet": "^5.0.0-alpha.11",
"@legendapp/motion": "^2.4.0",
"dom-helpers": "^5.2.1",
Expand Down
6 changes: 3 additions & 3 deletions apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "next dev",
"build": "cd ../.. && yarn install && yarn sync:website && cd apps/website && yarn add @gluestack-ui/core@3.0.0-alpha.5 @gluestack-ui/utils@3.0.0-alpha.1 && next build",
"build": "cd ../.. && yarn install && yarn sync:website && cd apps/website && yarn add @gluestack-ui/core@latest @gluestack-ui/utils@latest && next build",
"build:preview": "cd ../.. && yarn install && yarn sync:website && cd apps/website && yarn add @gluestack-ui/core@preview @gluestack-ui/utils@preview && next build",
"build:only": "next build",
"start": "next start",
Expand All @@ -14,8 +14,8 @@
"@docsearch/react": "^3.9.0",
"@expo/html-elements": "^0.12.5",
"@expo/next-adapter": "^6.0.0",
"@gluestack-ui/core": "3.0.0-alpha.5",
"@gluestack-ui/utils": "3.0.0-alpha.1",
"@gluestack-ui/core": "3.0.0",
"@gluestack-ui/utils": "3.0.0",
"@gorhom/bottom-sheet": "^5.0.0-alpha.11",
"@legendapp/motion": "^2.4.0",
"@mdx-js/loader": "^3.1.0",
Expand Down
2 changes: 2 additions & 0 deletions packages/create-gluestack/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# create-gluecode

## 3.0.0

## 2.0.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/create-gluestack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To use create-gluestack, you can run the following commands:
or

```bash
npx create-gluestack@alpha
npx create-gluestack
```

## Contributing
Expand Down
2 changes: 1 addition & 1 deletion packages/create-gluestack/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-gluestack",
"version": "3.0.0-alpha.0",
"version": "3.0.0",
"main": "./dist/index.js",
"bin": {
"create-gluestack": "./dist/index.js"
Expand Down
8 changes: 8 additions & 0 deletions packages/gluestack-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @gluestack-ui/core

## 3.0.0

### Patch Changes

- 292f5a3: chore: test
- 3f65e0b: chore: test
- 948a342: chore: test

## 3.0.0-alpha.4

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/gluestack-core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gluestack-ui/core",
"description": "Universal UI components for React Native, Expo, and Next.js",
"version": "3.0.0-alpha.4",
"version": "3.0.0",
"main": "./lib/esm/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
Expand Down Expand Up @@ -157,7 +157,7 @@
}
},
"dependencies": {
"@gluestack-ui/utils": "alpha",
"@gluestack-ui/utils": "^3.0.0",
"react-native-svg": "^15.12.0"
},
"peerDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions packages/gluestack-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## 0.4.9-alpha.0 (2023-07-21)

## 3.0.0

## 0.7.40

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/gluestack-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gluestack-ui",
"version": "3.0.0-alpha.0",
"version": "3.0.0",
"main": "dist/index.js",
"bin": {
"gluestack-ui": "./dist/index.js"
Expand Down
6 changes: 3 additions & 3 deletions packages/gluestack-ui/src/commands/upgrade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ function installPackages(packageManager: string): void {
const cmd = cmds[packageManager];
if (!cmd) throw new Error('Unsupported package manager');
const pkgs = [
'@gluestack-ui/core@3.0.0-alpha.5',
'@gluestack-ui/utils@3.0.0-alpha.1',
'@gluestack-ui/core@3.0.0',
'@gluestack-ui/utils@3.0.0',
'react-native-svg@15.12.0',
'@gluestack/ui-next-adapter@3.0.0-alpha.0',
'@gluestack/ui-next-adapter@3.0.0',
];
const result = spawnSync(cmd, pkgs, {
cwd: process.cwd(),
Expand Down
14 changes: 7 additions & 7 deletions packages/gluestack-ui/src/dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ const projectBasedDependencies: Dependencies = {
'react-native-svg': '^15.2.0',
'dom-helpers': '^5.2.1',
'react-stately': '^3.39.0',
'@gluestack-ui/core': 'alpha',
'@gluestack-ui/utils': 'alpha',
'@gluestack/ui-next-adapter': 'alpha',
'@gluestack-ui/core': '^3.0.0',
'@gluestack-ui/utils': '^3.0.0',
'@gluestack/ui-next-adapter': '^3.0.0',
},
devDependencies: {
'@types/react-native': '0.72.8',
Expand All @@ -54,8 +54,8 @@ const projectBasedDependencies: Dependencies = {
'@legendapp/motion': '^2.3.0',
'react-native-svg': '^15.2.0',
'react-stately': '^3.39.0',
'@gluestack-ui/core': 'alpha',
'@gluestack-ui/utils': 'alpha',
'@gluestack-ui/core': '^3.0.0',
'@gluestack-ui/utils': '^3.0.0',
},
},
'react-native-cli': {
Expand All @@ -70,8 +70,8 @@ const projectBasedDependencies: Dependencies = {
'react-native-svg': '^15.2.0',
'react-stately': '^3.39.0',
'react-native-reanimated': '^3.17.4',
'@gluestack-ui/core': 'alpha',
'@gluestack-ui/utils': 'alpha',
'@gluestack-ui/core': '^3.0.0',
'@gluestack-ui/utils': '^3.0.0',
},
devDependencies: {
'babel-plugin-module-resolver': '^5.0.0',
Expand Down
2 changes: 2 additions & 0 deletions packages/gluestack-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @gluestack-ui/utils

## 3.0.0

## 1.0.20

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/gluestack-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gluestack-ui/utils",
"version": "3.0.0-alpha.1",
"version": "3.0.0",
"description": "Utility functions and hooks for gluestack-ui",
"main": "./lib/esm/index.js",
"module": "./lib/esm/index.js",
Expand Down
2 changes: 2 additions & 0 deletions packages/ui-next-adapter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @gluestack/ui-next-adapter

## 3.0.0

## 1.0.48

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-next-adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gluestack/ui-next-adapter",
"author": "gluestack",
"version": "3.0.0-alpha.1",
"version": "3.0.0",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/docs-components/quick-start-components/Card1.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function Card1() {
const [showCopy, setShowCopy] = useState(false);

const copyToClipboard = async () => {
const text = 'npm create gluestack@alpha';
const text = 'npm create gluestack@latest';
await navigator.clipboard.writeText(text);
setCopied(true);
setTimeout(() => {
Expand Down Expand Up @@ -56,7 +56,7 @@ function Card1() {
<Text className="text-xl leading-sm mx-3 font-code font-medium text-typography-900 md:text-xl md:leading-md tracking-tighter">
npm create{' '}
<Text className="text-xl leading-sm font-medium text-primary-300 font-code md:text-xl md:leading-md tracking-tighter">
gluestack@alpha
gluestack@latest
</Text>
</Text>
{showCopy ? (
Expand Down
2 changes: 1 addition & 1 deletion src/docs/guides/more/upgrade-to-v3/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { InlineCode } from '@/docs-components/inline-code';
# Manual Migration to gluestack-ui v3
<br/>
If you have a simple Next.js or Expo project using Gluestack, you can upgrade directly by running:
<CodeBlock code="npx gluestack-ui@alpha upgrade" language="bash" />
<CodeBlock code="npx gluestack-ui@latest upgrade" language="bash" />

For monorepos, please follow the manual installation guide instead.

Expand Down
8 changes: 4 additions & 4 deletions src/docs/home/overview/introduction/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ gluestack-ui v3 uses a sophisticated source-to-destination system:

### Migration Benefits

- **Seamless Upgrade**: Simple upgrade process with `npx gluestack-ui@alpha upgrade` command.
- **Seamless Upgrade**: Simple upgrade process with `npx gluestack-ui@latest upgrade` command.
- **Minimal code changes** (only import paths)
- **Enhanced stability** and bug fixes
- **Future-ready foundation**
Expand Down Expand Up @@ -132,13 +132,13 @@ Rather than maintaining separate web and mobile component libraries:

#### Step 1: **Initialize a new project**:
```bash
npx create-gluestack@alpha my-app
npx create-gluestack@latest my-app
```

#### Step 2: **Add components to existing project**:
```bash
npx gluestack-ui@alpha init
npx gluestack-ui@alpha add button
npx gluestack-ui init
npx gluestack-ui add button
```

#### Step 3: **Start building**:
Expand Down
Loading