This commit is contained in:
dusk 2024-09-01 11:53:27 +08:00
commit 71e6196d40
9 changed files with 3719 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
node_modules/
build/

5
.idea/.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
# Default ignored files
/shelf/
/workspace.xml
# Editor-based HTTP Client requests
/httpRequests/

12
.idea/alexandria.iml Normal file
View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
<excludeFolder url="file://$MODULE_DIR$/temp" />
<excludeFolder url="file://$MODULE_DIR$/tmp" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

8
.idea/modules.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/alexandria.iml" filepath="$PROJECT_DIR$/.idea/alexandria.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

3656
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

21
package.json Normal file
View File

@ -0,0 +1,21 @@
{
"name": "alexandria",
"version": "1.0.0",
"description": "",
"scripts": {
"test": "vitest",
"build": "npx swc ./src/index.ts -o build/index.js",
"dev": "node -r @swc-node/register src/index.ts"
},
"author": "",
"license": "ISC",
"dependencies": {
"discord.js": "^14.15.3"
},
"devDependencies": {
"@swc-node/register": "^1.10.9",
"@swc/cli": "^0.4.0",
"@swc/core": "^1.7.22",
"vitest": "^2.0.5"
}
}

8
src/index.js Normal file
View File

@ -0,0 +1,8 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.hello = hello;
const world = 'world';
function hello(who = world) {
return `Hello ${who}! `;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUVBLHNCQUVDO0FBSkQsTUFBTSxLQUFLLEdBQUcsT0FBTyxDQUFDO0FBRXRCLFNBQWdCLEtBQUssQ0FBQyxNQUFjLEtBQUs7SUFDckMsT0FBTyxTQUFTLEdBQUcsSUFBSSxDQUFDO0FBQzVCLENBQUMifQ==

1
src/index.ts Normal file
View File

@ -0,0 +1 @@
console.log('hello world')