Skip to content

Commit 71d4f32

Browse files
committed
chore: rename Composer package vendor
1 parent ca4e6a4 commit 71d4f32

8 files changed

Lines changed: 25 additions & 16 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## 0.1.0-alpha.2
6+
7+
- Publish the Composer package as `typephp-org/native-core` to align with the
8+
GitHub organization and avoid a Packagist vendor-name collision.
9+
510
## 0.1.0-alpha.1
611

712
- Require PHP 8.4 or newer to match the TypePHP toolchain and generated programs.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Web MVC/API framework. An HTTP host can be built on top, but routing,
1616
request/response abstractions, middleware, and a production server are outside
1717
the current scope.
1818

19-
Current release line: `0.1.0-alpha.1`. Public APIs are still alpha.
19+
Current release line: `0.1.0-alpha.2`. Public APIs are still alpha.
2020

2121
## Why TypePHP?
2222

@@ -62,7 +62,7 @@ enter `src/`.
6262
Install from Packagist:
6363

6464
```bash
65-
composer require typephp/native-core:^0.1@alpha
65+
composer require typephp-org/native-core:^0.1@alpha
6666
```
6767

6868
The Composer package contains PHP source only. It does not bundle the TypePHP

README.zh-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Native Core 提供应用生命周期和可移植的服务契约,Host 负责进
1313
集成。它并不是现成的 Web MVC/API 框架:可以在 Core 之上实现 HTTP Host,
1414
但 Router、Request/Response、Middleware 和生产服务端不在当前范围内。
1515

16-
当前版本线:`0.1.0-alpha.1`。公共 API 仍处于 alpha 阶段。
16+
当前版本线:`0.1.0-alpha.2`。公共 API 仍处于 alpha 阶段。
1717

1818
## 为什么是 TypePHP?
1919

@@ -52,7 +52,7 @@ Application / Host adapter -> Native Core
5252
通过 Packagist 安装:
5353

5454
```bash
55-
composer require typephp/native-core:^0.1@alpha
55+
composer require typephp-org/native-core:^0.1@alpha
5656
```
5757

5858
Composer 包只包含 PHP 源码,不包含 TypePHP 编译器、PHPX、PHP Embed、原生

build/typephp/core.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: native-core-smoke
2-
version: 0.1.0-alpha.1
2+
version: 0.1.0-alpha.2
33
mode: bin
44
output: ../artifacts/native-core-smoke
55
build-dir: core

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "typephp/native-core",
2+
"name": "typephp-org/native-core",
33
"description": "AOT-first, host-neutral native application core for TypePHP and Zend PHP",
44
"type": "library",
55
"keywords": ["typephp", "aot", "native", "application", "daemon", "desktop"],

docs/releasing.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,24 @@ Create the optional project source archive with an explicit version matching
2222
the immutable Git tag:
2323

2424
```powershell
25-
php build/package.php 0.1.0-alpha.1
25+
php build/package.php 0.1.0-alpha.2
2626
```
2727

2828
This archive is a verification convenience, not an artifact Packagist needs.
2929
Composer/Packagist resolves the package from VCS tags.
3030

31-
## First alpha release
31+
## Next alpha release
32+
33+
`v0.1.0-alpha.1` was tagged before the Composer package changed from
34+
`typephp/native-core` to `typephp-org/native-core`. Keep that tag immutable;
35+
`v0.1.0-alpha.2` is the first tag intended for the new Packagist package name.
3236

3337
Keep version selection and tag creation as an explicit maintainer decision. Once
3438
the release gate is green:
3539

3640
```bash
37-
git tag -a v0.1.0-alpha.1 -m "TypePHP Native Core v0.1.0-alpha.1"
38-
git push origin v0.1.0-alpha.1
41+
git tag -a v0.1.0-alpha.2 -m "TypePHP Native Core v0.1.0-alpha.2"
42+
git push origin v0.1.0-alpha.2
3943
```
4044

4145
For the current source-only alpha, an annotated tag plus `CHANGELOG.md` is the
@@ -62,11 +66,11 @@ There is no release file to upload to Packagist.
6266
`https://github.com/typephp-org/native-core`.
6367
4. Grant the Packagist GitHub application access to the `typephp-org`
6468
organization, or configure Packagist's documented GitHub push webhook.
65-
5. Confirm that `typephp/native-core` exposes `0.1.0-alpha.1`.
69+
5. Confirm that `typephp-org/native-core` exposes `0.1.0-alpha.2`.
6670
6. Verify from a clean directory:
6771

6872
```bash
69-
composer require typephp/native-core:^0.1@alpha
73+
composer require typephp-org/native-core:^0.1@alpha
7074
```
7175

7276
The first repository submission is manual. With GitHub synchronization enabled,

template/native-app/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "app/native-app",
33
"type": "project",
44
"require": {
5-
"typephp/native-core": "^0.1@alpha"
5+
"typephp-org/native-core": "^0.1@alpha"
66
},
77
"autoload": {
88
"psr-4": {

template/native-app/project.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ build-dir: build/typephp
66
optimize: 2
77

88
sources:
9-
- vendor/typephp/native-core/src
10-
- vendor/typephp/native-core/hosts/console
9+
- vendor/typephp-org/native-core/src
10+
- vendor/typephp-org/native-core/hosts/console
1111
- main.php
1212

1313
ignore:
14-
- vendor/typephp/native-core/src/bootstrap.php
14+
- vendor/typephp-org/native-core/src/bootstrap.php

0 commit comments

Comments
 (0)