Compare commits
No commits in common. "495217ecd5bd992890a4bcae23910807faf263e1" and "ea572070ef6e0aafed8f5187f1a70162cc998c66" have entirely different histories.
495217ecd5
...
ea572070ef
@ -28,7 +28,7 @@ body:
|
|||||||
- type: textarea
|
- type: textarea
|
||||||
id: reproduction
|
id: reproduction
|
||||||
attributes:
|
attributes:
|
||||||
label: Reproduction
|
label: Reproduction (Optional)
|
||||||
description: Steps to reproduce the bug, if applicable
|
description: Steps to reproduce the bug, if applicable
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
@ -57,7 +57,7 @@ body:
|
|||||||
- type: textarea
|
- type: textarea
|
||||||
id: additional_information
|
id: additional_information
|
||||||
attributes:
|
attributes:
|
||||||
label: Additional Information (Optional)
|
label: Additional Information
|
||||||
description: Add any other information that might be useful in diagnosing the issue
|
description: Add any other information that might be useful in diagnosing the issue
|
||||||
validations:
|
validations:
|
||||||
required: false
|
required: false
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
Custom Attribution-NoDerivs Software License
|
|
||||||
|
|
||||||
Copyright (c) 2024 Entity Seven Group
|
|
||||||
|
|
||||||
This license allows you to use, copy, and distribute the RageFW (the "Software"), including for commercial purposes, provided that the following conditions are met:
|
|
||||||
|
|
||||||
1. **Attribution:** You must give appropriate credit to the original author of the Software, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
|
|
||||||
|
|
||||||
2. **No Derivative Works:** You may not modify, transform, or build upon the Software.
|
|
||||||
|
|
||||||
3. **Usage and Commercial Use:** You are allowed to use, sell, and gain income from projects that utilize the Software, as long as you comply with the terms of this license.
|
|
||||||
|
|
||||||
4. **No Additional Restrictions:** You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@ -1,45 +1,32 @@
|
|||||||
{
|
{
|
||||||
"name": "@entityseven/rage-fw-browser",
|
"name": "@entityseven/rage-fw-browser",
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/src/index.d.ts",
|
"types": "dist/src/index.d.ts",
|
||||||
"files": [
|
"files": [
|
||||||
"dist/**/*",
|
"dist/**/*",
|
||||||
"readme.md",
|
"readme.md"
|
||||||
"LICENSE"
|
],
|
||||||
],
|
"scripts": {
|
||||||
"scripts": {
|
"build": "tsup"
|
||||||
"build": "tsup"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@entityseven/rage-fw-rpc": "0.2.5"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"@entityseven/rage-fw-shared-types": "0.2.0",
|
|
||||||
"@ragempcommunity/types-cef": "^2.1.8"
|
|
||||||
},
|
|
||||||
"description": "Package used on a browser-side of your Rage:MP Server",
|
|
||||||
"keywords": [
|
|
||||||
"ragefw",
|
|
||||||
"rage-fw",
|
|
||||||
"ragemp",
|
|
||||||
"rage:mp",
|
|
||||||
"rage",
|
|
||||||
"gta5"
|
|
||||||
],
|
|
||||||
"author": "Entity Seven Group",
|
|
||||||
"contributors": [
|
|
||||||
{
|
|
||||||
"name": "Danya H",
|
|
||||||
"email": "dev.rilaxik@gmail.com",
|
|
||||||
"url": "https://github.com/rilaxik/"
|
|
||||||
},
|
},
|
||||||
{
|
"dependencies": {
|
||||||
"name": "Oleksandr Honcharov",
|
"@entityseven/rage-fw-rpc": "latest"
|
||||||
"email": "0976053529@ukr.net",
|
},
|
||||||
"url": "https://github.com/SashaGoncharov19/"
|
"peerDependencies": {
|
||||||
}
|
"@entityseven/rage-fw-shared-types": "workspace:^",
|
||||||
],
|
"@ragempcommunity/types-cef": "^2.1.8"
|
||||||
"license": "Custom-Attribution-NoDerivs",
|
},
|
||||||
"gitHead": "ffd542c1deddb3033e16e0dae7557313ae09b05f"
|
"description": "RageFW CEF side",
|
||||||
|
"keywords": [],
|
||||||
|
"author": "SashaGoncharov19",
|
||||||
|
"contributors": [
|
||||||
|
{
|
||||||
|
"name": "rilaxik",
|
||||||
|
"email": "dev.rilaxik@gmail.com",
|
||||||
|
"url": "https://github.com/rilaxik"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"license": "MIT",
|
||||||
|
"gitHead": "ffd542c1deddb3033e16e0dae7557313ae09b05f"
|
||||||
}
|
}
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
# RageFW Browser
|
# RageFW CEF
|
||||||
[Read docs for details](https://git.entityseven.com/entityseven/rage-framework/wiki)
|
[Read docs for details](https://git.entityseven.com/entityseven/rage-framework/wiki/Docs)
|
21
cli/LICENSE
21
cli/LICENSE
@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) 2024 Entity Seven Group
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
@ -1,20 +1,19 @@
|
|||||||
{
|
{
|
||||||
"name": "@entityseven/create-rage-fw",
|
"name": "@entityseven/create-rage-fw",
|
||||||
"version": "0.1.2",
|
"version": "0.1.1",
|
||||||
"bin": {
|
"bin": {
|
||||||
"rage-fw": "dist/index.js"
|
"rage-fw": "dist/index.js"
|
||||||
},
|
},
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"files": [
|
|
||||||
"dist/**/*",
|
|
||||||
"readme.md",
|
|
||||||
"LICENSE"
|
|
||||||
],
|
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "tsc -w",
|
"watch": "tsc -w",
|
||||||
"build": "tsup",
|
"build": "tsup",
|
||||||
"start": "npx ./dist create"
|
"start": "npx ./dist create"
|
||||||
},
|
},
|
||||||
|
"files": [
|
||||||
|
"dist/**/*",
|
||||||
|
"readme.md"
|
||||||
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@inquirer/prompts": "^5.0.5",
|
"@inquirer/prompts": "^5.0.5",
|
||||||
"ky": "^1.7.2",
|
"ky": "^1.7.2",
|
||||||
@ -27,15 +26,11 @@
|
|||||||
"prettier": "^3.3.2",
|
"prettier": "^3.3.2",
|
||||||
"typescript": "^5.4.5"
|
"typescript": "^5.4.5"
|
||||||
},
|
},
|
||||||
"description": "CLI to scaffold a preview for Rage-FW",
|
"description": "CLI to scaffold a template project for RageFW",
|
||||||
"keywords": ["create-rage-fw","ragefw-cli", "ragefw", "rage-fw", "ragemp", "rage:mp", "rage", "gta5"],
|
"keywords": [],
|
||||||
"author": "Entity Seven Group",
|
"author": "rilaxik",
|
||||||
"contributors": [
|
"contributors": [{
|
||||||
{
|
"name": "SashaGoncharov19"
|
||||||
"name": "Danya H",
|
}],
|
||||||
"email": "dev.rilaxik@gmail.com",
|
|
||||||
"url": "https://github.com/rilaxik/"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
}
|
}
|
||||||
|
@ -1,41 +1,29 @@
|
|||||||
To make you life easier while using RageFW we created a basic CLI. At the moment automation we have only works via [pnpm](https://pnpm.io/) and [bun](https://bun.sh/)
|
# RageFW CLI
|
||||||
|
|
||||||
|
To make you life easier while using RageFW we created a basic CLI. At the moment automation we have only works via [pnpm](https://pnpm.io/)
|
||||||
|
|
||||||
``pnpm create @entityseven/rage-fw@latest``
|
``pnpm create @entityseven/rage-fw@latest``
|
||||||
|
|
||||||
``bun create @entityseven/rage-fw@latest``
|
## TL;DR
|
||||||
|
|
||||||
# TL;DR
|
|
||||||
- ``Initialize new project`` - create new template project
|
- ``Initialize new project`` - create new template project
|
||||||
- ``Test our RPC`` - scaffold an example for ``@entityseven/rage-fw-rpc``
|
|
||||||
- ``Install RAGE:MP updater`` - download and update RAGE:MP server files
|
- ``Install RAGE:MP updater`` - download and update RAGE:MP server files
|
||||||
|
|
||||||
# Options
|
## Options
|
||||||
For now, you will see a few available options. They are described in detail below
|
For now, you will see a few available options. They are described in detail below
|
||||||
|
|
||||||
- ``Initialize new project``
|
- ``Initialize new project``
|
||||||
- ``Test our RPC``
|
|
||||||
- ``Install RAGE:MP updater``
|
- ``Install RAGE:MP updater``
|
||||||
|
|
||||||
## Initialize new project
|
### Initialize new project
|
||||||
Using this option will forward you to common project creation menu
|
Using this options will forward you to common project-creation menu
|
||||||
|
|
||||||
- ``Enter project name``
|
- ``Enter project name``
|
||||||
This option will specify a name for your project which is used as a folder name too. Defaults to **rage-fw-example**
|
|
||||||
|
|
||||||
- ``Select front-end``
|
This option will specify a name for your project which is used as a folder name too. Defaults to **rage-fw**
|
||||||
Use selector menu to choose which front-end framework you want to use. We will do our best to expand this menu with various solutions
|
|
||||||
|
|
||||||
## Test our RPC
|
- ``Select frontend``
|
||||||
Using this option will forward you to common project creation menu
|
|
||||||
|
|
||||||
- ``Enter project name``
|
Use this selector menu to choose which frontend framework you want to use. We will do our best to expand this menu after some time.
|
||||||
This option will specify a name for your project which is used as a folder name too. Defaults to **rage-fw-rpc-example**
|
Defaults to **React + TypeScript (Vite)**
|
||||||
|
|
||||||
- ``Select front-end``
|
### Install Rage:MP updater
|
||||||
Use selector menu to choose which front-end framework you want to use. We will do our best to expand this menu with various solutions
|
This option will simplify installation process of Rage:MP server files required to start your server
|
||||||
|
|
||||||
## Install Rage:MP updater
|
|
||||||
This option will simplify installation and update process of Rage:MP server files required to start your server
|
|
||||||
|
|
||||||
# Contribution
|
|
||||||
If you wish to help us in expanding examples selection with different framework you are very welcome to open PRs and Issues
|
|
@ -18,19 +18,19 @@ export async function initProject() {
|
|||||||
|
|
||||||
if (!framework) {
|
if (!framework) {
|
||||||
framework = await select({
|
framework = await select({
|
||||||
message: c.gray('Select front-end:'),
|
message: c.gray('Select frontend:'),
|
||||||
default: 'react-18',
|
default: 'react-18',
|
||||||
loop: true,
|
loop: true,
|
||||||
choices: [
|
choices: [
|
||||||
{
|
{
|
||||||
name: 'React 18',
|
name: 'React + TypeScript (Vite)',
|
||||||
value: 'react-18',
|
value: 'react-18',
|
||||||
description: 'React 18 + TypeScript (Vite) as a front-end',
|
description: 'React + TypeScript (Vite) as a frontend',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
console.log(c.gray('Front-end:'), framework)
|
console.log(c.gray('Frontend:'), framework)
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(
|
console.log(
|
||||||
@ -38,7 +38,7 @@ export async function initProject() {
|
|||||||
folder,
|
folder,
|
||||||
c.gray('with'),
|
c.gray('with'),
|
||||||
framework,
|
framework,
|
||||||
c.gray('as a front-end..'),
|
c.gray('as a frontend..'),
|
||||||
)
|
)
|
||||||
|
|
||||||
cloneBranch(
|
cloneBranch(
|
||||||
@ -56,6 +56,5 @@ export async function initProject() {
|
|||||||
})
|
})
|
||||||
.catch(e => {
|
.catch(e => {
|
||||||
console.log(c.red('Error occured: \n', e))
|
console.log(c.red('Error occured: \n', e))
|
||||||
console.log(c.red('Please open an issue if you see this'))
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -5,14 +5,14 @@ import { cloneBranch } from '../utils/cloner'
|
|||||||
|
|
||||||
const choices = {
|
const choices = {
|
||||||
'rpc-react-18': {
|
'rpc-react-18': {
|
||||||
name: 'React 18',
|
name: 'Vite + React 18 + TypeScript',
|
||||||
value: 'rpc-react-18',
|
value: 'rpc-react-18',
|
||||||
description: 'Vite + React 18 + TypeScript as a front-end',
|
description: 'Vite + React 18 + TypeScript as a frontend',
|
||||||
},
|
},
|
||||||
'rpc-svelte-5': {
|
'rpc-svelte-5': {
|
||||||
name: 'Svelte 5',
|
name: 'Vite + Svelte 5 + TypeScript',
|
||||||
value: 'rpc-svelte-5',
|
value: 'rpc-svelte-5',
|
||||||
description: 'Vite + Svelte 5 + TypeScript as a front-end',
|
description: 'Vite + Svelte 5 + TypeScript as a frontend',
|
||||||
},
|
},
|
||||||
} as const
|
} as const
|
||||||
|
|
||||||
@ -31,13 +31,13 @@ export async function testRpc() {
|
|||||||
|
|
||||||
if (!framework) {
|
if (!framework) {
|
||||||
framework = await select({
|
framework = await select({
|
||||||
message: c.gray('Select front-end:'),
|
message: c.gray('Select frontend:'),
|
||||||
default: 'rpc-react-18',
|
default: 'rpc-react-18',
|
||||||
loop: true,
|
loop: true,
|
||||||
choices: Object.values(choices),
|
choices: Object.values(choices),
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
console.log(c.gray('Front-end:'), framework)
|
console.log(c.gray('Frontend:'), framework)
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(
|
console.log(
|
||||||
@ -63,6 +63,5 @@ export async function testRpc() {
|
|||||||
})
|
})
|
||||||
.catch(e => {
|
.catch(e => {
|
||||||
console.log(c.red('Error occured: \n', e))
|
console.log(c.red('Error occured: \n', e))
|
||||||
console.log(c.red('Please open an issue if you see this'))
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -12,19 +12,10 @@ enum Actions {
|
|||||||
UPDATER = 'UPDATER',
|
UPDATER = 'UPDATER',
|
||||||
}
|
}
|
||||||
|
|
||||||
process.on('exit', () => {
|
|
||||||
console.log(c.blueBright('\n\nRage FW CLI | Exiting..'))
|
|
||||||
process.exit(0)
|
|
||||||
})
|
|
||||||
|
|
||||||
process.on('SIGINT', () => {
|
|
||||||
console.log(c.blueBright('\n\nRage FW CLI | Exiting..'))
|
|
||||||
process.exit(0)
|
|
||||||
})
|
|
||||||
;(async () => {
|
;(async () => {
|
||||||
await checkForUpdates()
|
await checkForUpdates()
|
||||||
|
|
||||||
console.log(c.blueBright('Rage FW CLI | Powered by Entity Seven Group <3'))
|
console.log(c.blueBright('Rage FW CLI | Powered by Entity Seven Group ️<3'))
|
||||||
|
|
||||||
const action = await select({
|
const action = await select({
|
||||||
message: c.gray('Select action:'),
|
message: c.gray('Select action:'),
|
||||||
@ -35,16 +26,16 @@ process.on('SIGINT', () => {
|
|||||||
description: 'Initialize a new project and start developing',
|
description: 'Initialize a new project and start developing',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Test our Rpc',
|
name: 'Test our RPC',
|
||||||
value: Actions.TEST_RPC,
|
value: Actions.TEST_RPC,
|
||||||
description:
|
description:
|
||||||
'Initialize a new skeleton project with our Rpc all set',
|
'Initialize a new skeleton project with our RPC set up',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Install RAGE:MP updater',
|
name: 'Install RAGE:MP updater',
|
||||||
value: Actions.UPDATER,
|
value: Actions.UPDATER,
|
||||||
description:
|
description:
|
||||||
'Use our tool to download or update RAGE:MP server files in just two clicks',
|
'Use our tool to download or update RAGE:MP server files in two clicks',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
loop: true,
|
loop: true,
|
||||||
@ -62,6 +53,5 @@ process.on('SIGINT', () => {
|
|||||||
break
|
break
|
||||||
default:
|
default:
|
||||||
console.log(c.red('Something went wrong..'))
|
console.log(c.red('Something went wrong..'))
|
||||||
console.log(c.red('Please open an issue if you see this'))
|
|
||||||
}
|
}
|
||||||
})()
|
})()
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
Custom Attribution-NoDerivs Software License
|
|
||||||
|
|
||||||
Copyright (c) 2024 Entity Seven Group
|
|
||||||
|
|
||||||
This license allows you to use, copy, and distribute the RageFW (the "Software"), including for commercial purposes, provided that the following conditions are met:
|
|
||||||
|
|
||||||
1. **Attribution:** You must give appropriate credit to the original author of the Software, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
|
|
||||||
|
|
||||||
2. **No Derivative Works:** You may not modify, transform, or build upon the Software.
|
|
||||||
|
|
||||||
3. **Usage and Commercial Use:** You are allowed to use, sell, and gain income from projects that utilize the Software, as long as you comply with the terms of this license.
|
|
||||||
|
|
||||||
4. **No Additional Restrictions:** You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@ -5,34 +5,28 @@
|
|||||||
"types": "dist/src/index.d.ts",
|
"types": "dist/src/index.d.ts",
|
||||||
"files": [
|
"files": [
|
||||||
"dist/**/*",
|
"dist/**/*",
|
||||||
"readme.md",
|
"readme.md"
|
||||||
"LICENSE"
|
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsup"
|
"build": "tsup"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@entityseven/rage-fw-rpc": "0.2.5"
|
"@entityseven/rage-fw-rpc": "latest"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@entityseven/rage-fw-shared-types": "0.2.0",
|
"@entityseven/rage-fw-shared-types": "workspace:^",
|
||||||
"@ragempcommunity/types-client": "^2.1.8"
|
"@ragempcommunity/types-client": "^2.1.8"
|
||||||
},
|
},
|
||||||
"description": "Package used on a client-side of your Rage:MP Server",
|
"description": "RageFW Client side",
|
||||||
"keywords": ["rage-fw-client", "ragefw", "rage-fw", "ragemp", "rage:mp", "rage", "gta5"],
|
"keywords": [],
|
||||||
"author": "Entity Seven Group",
|
"author": "SashaGoncharov19",
|
||||||
"contributors": [
|
"contributors": [
|
||||||
{
|
{
|
||||||
"name": "Danya H",
|
"name": "rilaxik",
|
||||||
"email": "dev.rilaxik@gmail.com",
|
"email": "dev.rilaxik@gmail.com",
|
||||||
"url": "https://github.com/rilaxik/"
|
"url": "https://github.com/rilaxik"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Oleksandr Honcharov",
|
|
||||||
"email": "0976053529@ukr.net",
|
|
||||||
"url": "https://github.com/SashaGoncharov19/"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"license": "Custom-Attribution-NoDerivs",
|
"license": "MIT",
|
||||||
"gitHead": "ffd542c1deddb3033e16e0dae7557313ae09b05f"
|
"gitHead": "ffd542c1deddb3033e16e0dae7557313ae09b05f"
|
||||||
}
|
}
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
# RageFW Client
|
# RageFW Client
|
||||||
[Read docs for details](https://git.entityseven.com/entityseven/rage-framework/wiki)
|
[Read docs for details](https://git.entityseven.com/entityseven/rage-framework/wiki/Docs)
|
18
package.json
18
package.json
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"publish": "lerna publish --force-publish",
|
"publish": "lerna publish --force-publish",
|
||||||
"build": "lerna run build",
|
"build": "lerna run build",
|
||||||
@ -25,20 +26,5 @@
|
|||||||
"typescript": "^5.4.5",
|
"typescript": "^5.4.5",
|
||||||
"winston": "^3.13.0"
|
"winston": "^3.13.0"
|
||||||
},
|
},
|
||||||
"private": true,
|
"type": "module"
|
||||||
"type": "module",
|
|
||||||
"license": "SEE INDIVIDUALLY FOR EACH PACKAGE",
|
|
||||||
"author": "Entity Seven Group",
|
|
||||||
"contributors": [
|
|
||||||
{
|
|
||||||
"name": "Danya H",
|
|
||||||
"email": "dev.rilaxik@gmail.com",
|
|
||||||
"url": "https://github.com/rilaxik/"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Oleksandr Honcharov",
|
|
||||||
"email": "0976053529@ukr.net",
|
|
||||||
"url": "https://github.com/SashaGoncharov19/"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
@ -1,44 +1,42 @@
|
|||||||
{
|
{
|
||||||
"name": "@entityseven/rage-fw-rpc",
|
"name": "@entityseven/rage-fw-rpc",
|
||||||
"version": "0.2.5",
|
"description": "Rage FW RPC",
|
||||||
"main": "dist/index.js",
|
"version": "0.2.5",
|
||||||
"types": "dist/src/index.d.ts",
|
"scripts": {
|
||||||
"scripts": {
|
"build": "tsup",
|
||||||
"build": "tsup",
|
"start": "npx ./dist create"
|
||||||
"start": "npx ./dist create"
|
},
|
||||||
},
|
"files": [
|
||||||
"files": [
|
"dist/**/*"
|
||||||
"dist/**/*",
|
],
|
||||||
"readme.md",
|
"devDependencies": {
|
||||||
"LICENSE"
|
"@microsoft/api-extractor": "^7.47.9",
|
||||||
],
|
"prettier": "^3.3.2",
|
||||||
"devDependencies": {
|
"tsup": "^8.3.0"
|
||||||
"@microsoft/api-extractor": "^7.47.9",
|
},
|
||||||
"prettier": "^3.3.2",
|
"peerDependencies": {
|
||||||
"tsup": "^8.3.0"
|
"typescript": "^5"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"keywords": [
|
||||||
"typescript": "^5"
|
"ragemp",
|
||||||
},
|
"rage",
|
||||||
"description": "Rage-FW RPC (Remote procedure caller) for Rage:MP",
|
"rpc",
|
||||||
"keywords": [
|
"rage-rpc",
|
||||||
"ragefw",
|
"ragerpc"
|
||||||
"rage-fw",
|
],
|
||||||
"ragemp",
|
"main": "dist/index.js",
|
||||||
"rage",
|
"types": "dist/src/index.d.ts",
|
||||||
"rpc",
|
"author": {
|
||||||
"rage-rpc",
|
"name": "rilaxik",
|
||||||
"ragerpc",
|
"email": "dev.rilaxik@gmail.com",
|
||||||
"gta5"
|
"url": "https://github.com/rilaxik"
|
||||||
],
|
},
|
||||||
"author": "Entity Seven Group",
|
"contributors": [
|
||||||
"contributors": [
|
{
|
||||||
{
|
"name": "SashaGoncharov19",
|
||||||
"name": "Danya H",
|
"url": "https://github.com/SashaGoncharov19"
|
||||||
"email": "dev.rilaxik@gmail.com",
|
}
|
||||||
"url": "https://github.com/rilaxik/"
|
],
|
||||||
}
|
"license": "MIT",
|
||||||
],
|
"gitHead": "04eb7240735c4a0e4855ebabbe8d5b326819fa76"
|
||||||
"license": "MIT",
|
|
||||||
"gitHead": "04eb7240735c4a0e4855ebabbe8d5b326819fa76"
|
|
||||||
}
|
}
|
||||||
|
@ -3,13 +3,13 @@ is an all-in package with asynchronous RPC implementation for RageMP servers in
|
|||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
``` shell
|
``` shell
|
||||||
npm i @entityseven/rage-fw-rpc
|
npm i rage-fw-rpc
|
||||||
```
|
```
|
||||||
```shell
|
```shell
|
||||||
pnpm i @entityseven/rage-fw-rpc
|
pnpm i rage-fw-rpc
|
||||||
```
|
```
|
||||||
```shell
|
```shell
|
||||||
yarn add @entityseven/rage-fw-rpc
|
yarn add rage-fw-rpc
|
||||||
```
|
```
|
||||||
|
|
||||||
Import installed package and initialize rpc:
|
Import installed package and initialize rpc:
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
Custom Attribution-NoDerivs Software License
|
|
||||||
|
|
||||||
Copyright (c) 2024 Entity Seven Group
|
|
||||||
|
|
||||||
This license allows you to use, copy, and distribute the RageFW (the "Software"), including for commercial purposes, provided that the following conditions are met:
|
|
||||||
|
|
||||||
1. **Attribution:** You must give appropriate credit to the original author of the Software, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
|
|
||||||
|
|
||||||
2. **No Derivative Works:** You may not modify, transform, or build upon the Software.
|
|
||||||
|
|
||||||
3. **Usage and Commercial Use:** You are allowed to use, sell, and gain income from projects that utilize the Software, as long as you comply with the terms of this license.
|
|
||||||
|
|
||||||
4. **No Additional Restrictions:** You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@ -5,34 +5,28 @@
|
|||||||
"types": "dist/src/index.d.ts",
|
"types": "dist/src/index.d.ts",
|
||||||
"files": [
|
"files": [
|
||||||
"dist/**/*",
|
"dist/**/*",
|
||||||
"readme.md",
|
"readme.md"
|
||||||
"LICENSE"
|
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsup"
|
"build": "tsup"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@entityseven/rage-fw-rpc": "0.2.5"
|
"@entityseven/rage-fw-rpc": "latest"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@entityseven/rage-fw-shared-types": "0.2.0",
|
"@entityseven/rage-fw-shared-types": "workspace:^",
|
||||||
"@ragempcommunity/types-server": "^2.1.8"
|
"@ragempcommunity/types-server": "^2.1.8"
|
||||||
},
|
},
|
||||||
"description": "Package used on a server-side of your Rage:MP Server",
|
"description": "RageFW Server side",
|
||||||
"keywords": ["rage-fw-server", "ragefw", "rage-fw", "ragemp", "rage:mp", "rage", "gta5"],
|
"keywords": [],
|
||||||
"author": "Entity Seven Group",
|
"author": "SashaGoncharov19",
|
||||||
"contributors": [
|
"contributors": [
|
||||||
{
|
{
|
||||||
"name": "Danya H",
|
"name": "rilaxik",
|
||||||
"email": "dev.rilaxik@gmail.com",
|
"email": "dev.rilaxik@gmail.com",
|
||||||
"url": "https://github.com/rilaxik/"
|
"url": "https://github.com/rilaxik"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Oleksandr Honcharov",
|
|
||||||
"email": "0976053529@ukr.net",
|
|
||||||
"url": "https://github.com/SashaGoncharov19/"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"license": "Custom-Attribution-NoDerivs",
|
"license": "MIT",
|
||||||
"gitHead": "ffd542c1deddb3033e16e0dae7557313ae09b05f"
|
"gitHead": "ffd542c1deddb3033e16e0dae7557313ae09b05f"
|
||||||
}
|
}
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
# RageFW Server
|
# RageFW Server
|
||||||
[Read docs for details](https://git.entityseven.com/entityseven/rage-framework/wiki)
|
[Read docs for details](https://git.entityseven.com/entityseven/rage-framework/wiki/Docs)
|
@ -1,13 +0,0 @@
|
|||||||
# Custom Attribution-NoDerivs Software License
|
|
||||||
|
|
||||||
This license allows you to use, copy, and distribute the RageFW (the "Software"), including for commercial purposes, provided that the following conditions are met:
|
|
||||||
|
|
||||||
1. **Attribution:** You must give appropriate credit to the original author of the Software, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
|
|
||||||
|
|
||||||
2. **No Derivative Works:** You may not modify, transform, or build upon the Software.
|
|
||||||
|
|
||||||
3. **Usage and Commercial Use:** You are allowed to use, sell, and gain income from projects that utilize the Software, as long as you comply with the terms of this license.
|
|
||||||
|
|
||||||
4. **No Additional Restrictions:** You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@ -3,26 +3,10 @@
|
|||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"types": "types/types/index.d.ts",
|
"types": "types/types/index.d.ts",
|
||||||
"files": [
|
"files": [
|
||||||
"types/**/*",
|
"types/**/*"
|
||||||
"readme.md",
|
|
||||||
"LICENSE"
|
|
||||||
],
|
],
|
||||||
"description": "Package used among all environments of your Rage-FW based server",
|
"author": "SashaGoncharov19",
|
||||||
"keywords": ["rage-fw-shared-types", "rage-fw-shared","ragefw", "rage-fw", "ragemp", "rage:mp", "rage", "gta5"],
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"author": "Entity Seven Group",
|
|
||||||
"contributors": [
|
|
||||||
{
|
|
||||||
"name": "Danya H",
|
|
||||||
"email": "dev.rilaxik@gmail.com",
|
|
||||||
"url": "https://github.com/rilaxik/"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Oleksandr Honcharov",
|
|
||||||
"email": "0976053529@ukr.net",
|
|
||||||
"url": "https://github.com/SashaGoncharov19/"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"license": "Custom-Attribution-NoDerivs",
|
|
||||||
"gitHead": "ffd542c1deddb3033e16e0dae7557313ae09b05f"
|
"gitHead": "ffd542c1deddb3033e16e0dae7557313ae09b05f"
|
||||||
}
|
}
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
# RageFW Shared types
|
# RageFW Shared types
|
||||||
[Read docs for details](https://git.entityseven.com/entityseven/rage-framework/wiki)
|
[Read docs for details](https://git.entityseven.com/entityseven/rage-framework/wiki/Docs)
|
Loading…
Reference in New Issue
Block a user