@arox/framework 0.1.0-alpha.1 → 0.1.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +42 -40
- package/.github/dependabot.yml +0 -11
- package/.github/workflows/changelog.yml +0 -40
- package/.github/workflows/release.yml +0 -91
- package/.oxfmtrc.json +0 -16
- package/.swcrc +0 -17
- package/CHANGELOG.md +0 -34
- package/dist/index.d.ts.map +0 -1
- package/tsconfig.json +0 -55
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"version",{enumerable:true,get:function(){return version}});const version="v0.1.0-alpha.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"version",{enumerable:true,get:function(){return version}});const version="v0.1.0-alpha.2";
|
package/package.json
CHANGED
|
@@ -1,41 +1,43 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
2
|
+
"name": "@arox/framework",
|
|
3
|
+
"version": "0.1.0-alpha.2",
|
|
4
|
+
"description": "",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"discord.js",
|
|
7
|
+
"framework"
|
|
8
|
+
],
|
|
9
|
+
"homepage": "https://github.com/AroxBot/framework#readme",
|
|
10
|
+
"bugs": {
|
|
11
|
+
"url": "https://github.com/AroxBot/framework/issues"
|
|
12
|
+
},
|
|
13
|
+
"license": "Apache-2.0",
|
|
14
|
+
"author": "vrdons",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/AroxBot/framework.git"
|
|
18
|
+
},
|
|
19
|
+
"type": "commonjs",
|
|
20
|
+
"main": "dist/index.js",
|
|
21
|
+
"types": "dist/index.d.ts",
|
|
22
|
+
"scripts": {
|
|
23
|
+
"prepare": "node scripts/prepareHusky.js",
|
|
24
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
25
|
+
"check": "oxfmt --check && oxlint --type-aware --type-check",
|
|
26
|
+
"format": "oxfmt",
|
|
27
|
+
"build:js": "swc src -d dist --strip-leading-paths --copy-files",
|
|
28
|
+
"build:dts": "tsc --emitDeclarationOnly",
|
|
29
|
+
"build": "npm run build:js && node ./scripts/actions/patch.js && npm run build:dts",
|
|
30
|
+
"release:git": "node scripts/actions/github.js",
|
|
31
|
+
"release:npm": "node scripts/actions/npm.js"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@swc/cli": "^0.7.10",
|
|
35
|
+
"@types/node": "^25.0.8",
|
|
36
|
+
"husky": "^9.1.7",
|
|
37
|
+
"libnpmpack": "^9.0.12",
|
|
38
|
+
"oxfmt": "^0.24.0",
|
|
39
|
+
"oxlint": "^1.39.0",
|
|
40
|
+
"oxlint-tsgolint": "^0.11.0",
|
|
41
|
+
"typescript": "^5.9.3"
|
|
42
|
+
}
|
|
43
|
+
}
|
package/.github/dependabot.yml
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
name: Generate Changelog
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
schedule:
|
|
5
|
-
- cron: "0 3 * * 1"
|
|
6
|
-
workflow_dispatch:
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
changelog:
|
|
10
|
-
name: Generate changelog
|
|
11
|
-
runs-on: ubuntu-latest
|
|
12
|
-
permissions:
|
|
13
|
-
contents: write
|
|
14
|
-
|
|
15
|
-
steps:
|
|
16
|
-
- name: Checkout
|
|
17
|
-
uses: actions/checkout@v4
|
|
18
|
-
with:
|
|
19
|
-
fetch-depth: 0
|
|
20
|
-
ref: main
|
|
21
|
-
|
|
22
|
-
- name: Generate changelog
|
|
23
|
-
uses: orhun/git-cliff-action@v4
|
|
24
|
-
with:
|
|
25
|
-
config: cliff.toml
|
|
26
|
-
args: --verbose
|
|
27
|
-
env:
|
|
28
|
-
OUTPUT: CHANGELOG.md
|
|
29
|
-
GITHUB_REPO: ${{ github.repository }}
|
|
30
|
-
|
|
31
|
-
- name: Commit
|
|
32
|
-
run: |
|
|
33
|
-
git config user.name 'github-actions[bot]'
|
|
34
|
-
git config user.email 'github-actions[bot]@users.noreply.github.com'
|
|
35
|
-
|
|
36
|
-
git add CHANGELOG.md
|
|
37
|
-
git diff --cached --quiet && exit 0
|
|
38
|
-
|
|
39
|
-
git commit -m "Update changelog"
|
|
40
|
-
git push origin main
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
name: Push Code
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
branches:
|
|
6
|
-
- main
|
|
7
|
-
push:
|
|
8
|
-
branches:
|
|
9
|
-
- main
|
|
10
|
-
|
|
11
|
-
permissions:
|
|
12
|
-
contents: write
|
|
13
|
-
packages: write
|
|
14
|
-
|
|
15
|
-
jobs:
|
|
16
|
-
lint:
|
|
17
|
-
runs-on: ubuntu-latest
|
|
18
|
-
|
|
19
|
-
steps:
|
|
20
|
-
- name: Checkout code
|
|
21
|
-
uses: actions/checkout@v4.1.1
|
|
22
|
-
|
|
23
|
-
- name: Setup Node.js (with npm cache)
|
|
24
|
-
uses: actions/setup-node@v4.0.2
|
|
25
|
-
with:
|
|
26
|
-
node-version: "25"
|
|
27
|
-
cache: "npm"
|
|
28
|
-
|
|
29
|
-
- name: Install dependencies
|
|
30
|
-
run: npm install
|
|
31
|
-
|
|
32
|
-
- name: Check Compatibility
|
|
33
|
-
run: npm run check
|
|
34
|
-
|
|
35
|
-
release_git:
|
|
36
|
-
needs: lint
|
|
37
|
-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
|
38
|
-
runs-on: ubuntu-latest
|
|
39
|
-
|
|
40
|
-
steps:
|
|
41
|
-
- name: Checkout code
|
|
42
|
-
uses: actions/checkout@v4.1.1
|
|
43
|
-
with:
|
|
44
|
-
fetch-depth: 0
|
|
45
|
-
|
|
46
|
-
- name: Setup Node.js (with npm cache)
|
|
47
|
-
uses: actions/setup-node@v4.0.2
|
|
48
|
-
with:
|
|
49
|
-
node-version: "25"
|
|
50
|
-
cache: "npm"
|
|
51
|
-
|
|
52
|
-
- name: Install dependencies
|
|
53
|
-
run: npm install
|
|
54
|
-
|
|
55
|
-
- name: Install git-cliff
|
|
56
|
-
uses: taiki-e/install-action@git-cliff
|
|
57
|
-
|
|
58
|
-
- name: Run github release script
|
|
59
|
-
run: npm run release:git
|
|
60
|
-
env:
|
|
61
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
62
|
-
GITHUB_REPOSITORY: ${{ github.repository }}
|
|
63
|
-
GITHUB_SHA: ${{ github.sha }}
|
|
64
|
-
|
|
65
|
-
release_npm:
|
|
66
|
-
needs: lint
|
|
67
|
-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
|
68
|
-
runs-on: ubuntu-latest
|
|
69
|
-
|
|
70
|
-
steps:
|
|
71
|
-
- name: Checkout code
|
|
72
|
-
uses: actions/checkout@v4.1.1
|
|
73
|
-
with:
|
|
74
|
-
fetch-depth: 0
|
|
75
|
-
|
|
76
|
-
- name: Setup Node.js (with npm cache)
|
|
77
|
-
uses: actions/setup-node@v4.0.2
|
|
78
|
-
with:
|
|
79
|
-
node-version: "25"
|
|
80
|
-
cache: "npm"
|
|
81
|
-
|
|
82
|
-
- name: Install dependencies
|
|
83
|
-
run: npm install
|
|
84
|
-
|
|
85
|
-
- name: Run github release script
|
|
86
|
-
run: npm run release:npm
|
|
87
|
-
env:
|
|
88
|
-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
89
|
-
GITHUB_REPOSITORY: ${{ github.repository }}
|
|
90
|
-
GITHUB_SHA: ${{ github.sha }}
|
|
91
|
-
NPM_ORG: ${{ secrets.NPM_ORG }}
|
package/.oxfmtrc.json
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./node_modules/oxfmt/configuration_schema.json",
|
|
3
|
-
"ignorePatterns": ["dist", "node_modules", "build", "CHANGELOG.md"],
|
|
4
|
-
"tabWidth": 2,
|
|
5
|
-
"useTabs": true,
|
|
6
|
-
"printWidth": 80,
|
|
7
|
-
"semi": true,
|
|
8
|
-
"singleQuote": false,
|
|
9
|
-
"trailingComma": "es5",
|
|
10
|
-
"bracketSpacing": true,
|
|
11
|
-
"arrowParens": "always",
|
|
12
|
-
|
|
13
|
-
"jsxSingleQuote": false,
|
|
14
|
-
"quoteProps": "as-needed",
|
|
15
|
-
"embeddedLanguageFormatting": "auto"
|
|
16
|
-
}
|
package/.swcrc
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://swc.rs/schema.json",
|
|
3
|
-
"jsc": {
|
|
4
|
-
"parser": {
|
|
5
|
-
"syntax": "typescript",
|
|
6
|
-
"tsx": false,
|
|
7
|
-
"decorators": true
|
|
8
|
-
},
|
|
9
|
-
"externalHelpers": true,
|
|
10
|
-
"target": "esnext"
|
|
11
|
-
},
|
|
12
|
-
"module": {
|
|
13
|
-
"type": "commonjs"
|
|
14
|
-
},
|
|
15
|
-
"sourceMaps": false,
|
|
16
|
-
"minify": true
|
|
17
|
-
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
## Unreleased
|
|
6
|
-
|
|
7
|
-
### Miscellaneous Tasks
|
|
8
|
-
|
|
9
|
-
- Weekly update by github-actions[bot] (8e7f6b8)
|
|
10
|
-
- Update checkVersionExists script by vrdons (73eef8b)
|
|
11
|
-
|
|
12
|
-
## [0.1.0-alpha.1] - 2026-01-15
|
|
13
|
-
|
|
14
|
-
### Bug Fixes
|
|
15
|
-
|
|
16
|
-
- Npm build script by vrdons (6f235e3)
|
|
17
|
-
|
|
18
|
-
### Features
|
|
19
|
-
|
|
20
|
-
- Github Release by vrdons (80f4b1d)
|
|
21
|
-
|
|
22
|
-
### Miscellaneous Tasks
|
|
23
|
-
|
|
24
|
-
- Base template by vrdons (473e8a6)
|
|
25
|
-
- Dont ignore package-lock.json by vrdons (f6d2e9e)
|
|
26
|
-
- Add Error handling by vrdons (0525018)
|
|
27
|
-
|
|
28
|
-
### Ci
|
|
29
|
-
|
|
30
|
-
- Fix checking code by vrdons (310c4e1)
|
|
31
|
-
- Fix releasing github by vrdons (6b70d45)
|
|
32
|
-
- Move github-release to check by vrdons (9565461)
|
|
33
|
-
|
|
34
|
-
<!-- generated by git-cliff -->
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,OAAO,yBAAyB,CAAC"}
|
package/tsconfig.json
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compileOnSave": true,
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"typeRoots": ["./types", "./node_modules/@types"],
|
|
5
|
-
"outDir": "./dist",
|
|
6
|
-
"rootDir": "./src",
|
|
7
|
-
|
|
8
|
-
"module": "CommonJS",
|
|
9
|
-
"moduleResolution": "Node",
|
|
10
|
-
|
|
11
|
-
"target": "esnext",
|
|
12
|
-
|
|
13
|
-
"tsBuildInfoFile": "./dist/.tsbuildinfo",
|
|
14
|
-
|
|
15
|
-
"allowSyntheticDefaultImports": true,
|
|
16
|
-
"esModuleInterop": true,
|
|
17
|
-
|
|
18
|
-
"alwaysStrict": true,
|
|
19
|
-
"strictNullChecks": true,
|
|
20
|
-
|
|
21
|
-
"declaration": true,
|
|
22
|
-
"declarationMap": false,
|
|
23
|
-
|
|
24
|
-
"resolveJsonModule": true,
|
|
25
|
-
|
|
26
|
-
"allowJs": false,
|
|
27
|
-
"checkJs": false,
|
|
28
|
-
|
|
29
|
-
"emitDecoratorMetadata": true,
|
|
30
|
-
"experimentalDecorators": true,
|
|
31
|
-
|
|
32
|
-
"forceConsistentCasingInFileNames": true,
|
|
33
|
-
"importHelpers": true,
|
|
34
|
-
|
|
35
|
-
"lib": ["ESNext", "DOM"],
|
|
36
|
-
|
|
37
|
-
"noFallthroughCasesInSwitch": true,
|
|
38
|
-
"noImplicitReturns": false,
|
|
39
|
-
"noUnusedLocals": false,
|
|
40
|
-
"noUnusedParameters": false,
|
|
41
|
-
|
|
42
|
-
"preserveConstEnums": true,
|
|
43
|
-
"pretty": true,
|
|
44
|
-
"removeComments": false,
|
|
45
|
-
"stripInternal": true,
|
|
46
|
-
"skipLibCheck": true,
|
|
47
|
-
|
|
48
|
-
"composite": false,
|
|
49
|
-
"sourceMap": false,
|
|
50
|
-
|
|
51
|
-
"verbatimModuleSyntax": false
|
|
52
|
-
},
|
|
53
|
-
"include": ["src/**/*", "types/**/*"],
|
|
54
|
-
"exclude": ["node_modules/**/*", "dist/**/*", "scripts/**/*"]
|
|
55
|
-
}
|