Skip to content

Commit

Permalink
release: v1.0.0-beta.0
Browse files Browse the repository at this point in the history
  • Loading branch information
liaoruikang committed Dec 29, 2024
1 parent d76a6bc commit 391074e
Show file tree
Hide file tree
Showing 12 changed files with 607 additions and 23 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 1.0.0-beta.0 (2024-12-29)
### Features
- **bst:** The `remove()` method return the successfully deleted elements
- **bst:** Change the `order()` method name to `sequence()`
- **avl:** The `remove()` method return the successfully deleted elements
- **avl:** Change the `order()` method name to `sequence()`

# 1.0.0-alpha.0 and 1.0.0-alpha.1 (2024-12-13)
### Features
- **stack:** First-in-last-out data container
- **queue:** First-in-first-out data container
- **linklist:** Nonlinear data container
- **bst:** binary search tree
- **avl:** balanced binary search tree
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"version": "1.0.0-alpha.1",
"version": "1.0.0-beta.0",
"packageManager": "[email protected]",
"engines": {
"node": ">=20.15.1"
Expand All @@ -20,12 +20,10 @@
"lint-staged": {
"**/*.ts": [
"pnpm lint:fix",
"pnpm format",
"git add"
"pnpm format"
],
"**/package.json": [
"pnpm sync-version",
"git add"
"pnpm sync-version"
]
},
"devDependencies": {
Expand Down
5 changes: 3 additions & 2 deletions packages/avl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dstl-js/avl",
"version": "1.0.0-alpha.1",
"version": "1.0.0-beta.0",
"unpkg": "dist/index.js",
"files": [
"dist"
Expand Down Expand Up @@ -33,6 +33,7 @@
"license": "MIT",
"dependencies": {
"@dstl-js/bst": "workspace:^",
"@dstl-js/shared": "workspace:^"
"@dstl-js/shared": "workspace:^",
"package.json": "^2.0.1"
}
}
5 changes: 3 additions & 2 deletions packages/bst/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dstl-js/bst",
"version": "1.0.0-alpha.1",
"version": "1.0.0-beta.0",
"unpkg": "dist/index.js",
"files": [
"dist"
Expand Down Expand Up @@ -33,6 +33,7 @@
"dependencies": {
"@dstl-js/queue": "workspace:^",
"@dstl-js/shared": "workspace:^",
"@dstl-js/stack": "workspace:^"
"@dstl-js/stack": "workspace:^",
"package.json": "^2.0.1"
}
}
5 changes: 3 additions & 2 deletions packages/dstl-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dstl-js",
"version": "1.0.0-alpha.1",
"version": "1.0.0-beta.0",
"unpkg": "dist/index.js",
"description": "data structure tool lib for Javascript",
"files": [
Expand Down Expand Up @@ -38,6 +38,7 @@
"@dstl-js/bst": "workspace:^",
"@dstl-js/linklist": "workspace:^",
"@dstl-js/queue": "workspace:^",
"@dstl-js/stack": "workspace:^"
"@dstl-js/stack": "workspace:^",
"package.json": "^2.0.1"
}
}
7 changes: 5 additions & 2 deletions packages/linklist/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dstl-js/linklist",
"version": "1.0.0-alpha.1",
"version": "1.0.0-beta.0",
"unpkg": "dist/index.js",
"files": [
"dist"
Expand Down Expand Up @@ -28,5 +28,8 @@
"linklist"
],
"author": "Lrk",
"license": "MIT"
"license": "MIT",
"dependencies": {
"package.json": "^2.0.1"
}
}
7 changes: 5 additions & 2 deletions packages/queue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dstl-js/queue",
"version": "1.0.0-alpha.1",
"version": "1.0.0-beta.0",
"unpkg": "dist/index.js",
"files": [
"dist"
Expand Down Expand Up @@ -29,5 +29,8 @@
"queue"
],
"author": "Lrk",
"license": "MIT"
"license": "MIT",
"dependencies": {
"package.json": "^2.0.1"
}
}
5 changes: 4 additions & 1 deletion packages/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dstl-js/shared",
"version": "1.0.0-alpha.1",
"version": "1.0.0-beta.0",
"unpkg": "dist/index.js",
"author": "Lrk",
"license": "MIT",
Expand All @@ -24,5 +24,8 @@
"default": "./dist/index.cjs"
}
}
},
"dependencies": {
"package.json": "^2.0.1"
}
}
5 changes: 3 additions & 2 deletions packages/stack/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dstl-js/stack",
"version": "1.0.0-alpha.1",
"version": "1.0.0-beta.0",
"unpkg": "dist/index.js",
"repository": {
"type": "git",
Expand Down Expand Up @@ -31,6 +31,7 @@
"author": "Lrk",
"license": "MIT",
"dependencies": {
"@dstl-js/shared": "workspace:^"
"@dstl-js/shared": "workspace:^",
"package.json": "^2.0.1"
}
}
Loading

0 comments on commit 391074e

Please sign in to comment.