Skip to content

Commit 642183e

Browse files
committed
chore: restructure npm package and revert version to 0.4.9
- Move npm package files from npm/ directory to project root - Rename release.yml workflow to publish.yml - Revert version from 0.4.10 to 0.4.9 in package.json, main.go, and RELEASE.md - Remove npm/README.md (redundant with root README) - Add homepage field and publishConfig to package.json
1 parent a0486a9 commit 642183e

File tree

10 files changed

+10
-52
lines changed

10 files changed

+10
-52
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release
1+
name: Publish
22

33
on:
44
push:

RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## OpenCore CLI v0.4.10
1+
## OpenCore CLI v0.4.9
22

33
### Highlights
44
- New Sass/CSS support with integrated alias resolution for cleaner and more flexible imports
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
)
1313

1414
var (
15-
version = "0.4.10"
15+
version = "0.4.9"
1616
)
1717

1818
func main() {

npm/README.md

Lines changed: 0 additions & 46 deletions
This file was deleted.

npm/package.json renamed to package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@open-core/cli",
3-
"version": "0.4.10",
3+
"version": "0.4.9",
44
"description": "Official CLI tool for OpenCore Framework",
55
"main": "index.js",
66
"types": "index.d.ts",
@@ -19,6 +19,7 @@
1919
"type": "git",
2020
"url": "https://github.com/newcore-network/opencore-cli.git"
2121
},
22+
"homepage": "https://opencorejs.dev",
2223
"keywords": [
2324
"opencore",
2425
"fivem",
@@ -38,8 +39,11 @@
3839
"files": [
3940
"index.js",
4041
"index.d.ts",
41-
"install.js",
4242
"binary.js",
43+
"install.js",
4344
"config-helper.js"
44-
]
45+
],
46+
"publishConfig": {
47+
"access": "public"
48+
}
4549
}

0 commit comments

Comments
 (0)