Skip to content

Commit 78c3be7

Browse files
committed
Refactor project structure and bump version to 1.5.0
1 parent 7bf8001 commit 78c3be7

21 files changed

+14
-17
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"description": "Distributed unique ID generator with encryption",
66
"workspaces": [
7-
"packages/*"
7+
"src/randflake-ts/*"
88
],
99
"scripts": {
1010
"test": "vitest",

pyproject.toml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[build-system]
2-
requires = ["setuptools"]
3-
build-backend = "setuptools.build_meta"
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
44

55
[project]
66
name = "randflake"
7-
version = "1.4.0"
7+
version = "1.5.0"
88
description = "A Python implementation the Randflake ID: a distributed, uniform, unpredictable, unique random ID generator."
99
authors = [
1010
{name = "GoSuda"}
@@ -27,13 +27,10 @@ classifiers = [
2727

2828
[project.urls]
2929
Repository = "https://github.com/gosuda/randflake"
30+
Issues = "https://github.com/gosuda/randflake/issues"
31+
Homepage = "https://gosuda.org/randflake"
3032

31-
[tool.setuptools]
32-
package-dir = {"" = "src"}
33+
[tool]
3334

34-
[tool.setuptools.packages.find]
35-
where = ["src"]
36-
37-
[tool.pytest.ini_options]
38-
testpaths = ["src"]
39-
python_files = ["*_test.py", "test_*.py"]
35+
[tool.hatch.build.targets.wheel]
36+
packages = ["src/randflake"]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@safe/randflake",
3-
"version": "1.4.0",
3+
"version": "1.5.0",
44
"exports": "./src/index.ts",
55
"publish": {
66
"include": [
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "randflake",
3-
"version": "1.4.0",
3+
"version": "1.5.0",
44
"description": "TypeScript implementation of randflake ID generator",
55
"type": "module",
66
"main": "./dist/index.js",
@@ -21,7 +21,7 @@
2121
"dist"
2222
],
2323
"dependencies": {
24-
"sparx64": "^1.4.0"
24+
"sparx64": "^1.5.0"
2525
},
2626
"devDependencies": {
2727
"typescript": "^5.2.2",
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@safe/sparx64",
3-
"version": "1.4.0",
3+
"version": "1.5.0",
44
"exports": "./src/index.ts",
55
"publish": {
66
"include": [

0 commit comments

Comments
 (0)