Skip to content

Commit

Permalink
feat: update folder
Browse files Browse the repository at this point in the history
  • Loading branch information
nailiable committed Oct 30, 2024
1 parent b9c51f4 commit b697fc6
Show file tree
Hide file tree
Showing 124 changed files with 205 additions and 33 deletions.
5 changes: 3 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,10 @@
"rpc-protocol": "interface",
"jexl": "src",
"backend-node-adapter": "node",
"backend-adapter-packages": "packages",
"backend-adapter": "packages",
"backend-bun-adapter": "node",
"core-packages": "packages"
"logger": "log",
"logger-adapter": "packages"
},
"vite.autoStart": false
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
33 changes: 33 additions & 0 deletions packages/core/logger/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "@nailyjs/logger",
"type": "module",
"version": "0.0.4",
"description": "Logger package for naily.js",
"author": "Naily Zero <[email protected]> (https://naily.cc)",
"keywords": [
"es-project-template"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsup",
"watch": "tsup -w"
},
"dependencies": {
"@nailyjs/ioc": "workspace:*"
},
"devDependencies": {
"tsup": "^8.3.0"
}
}
1 change: 1 addition & 0 deletions packages/core/logger/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default 'Hello, world!'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 8 additions & 0 deletions packages/core/rpc-protocol/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "Bundler"
},
"include": ["src"]
}
11 changes: 11 additions & 0 deletions packages/core/rpc-protocol/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { defineConfig } from 'tsup'

export default defineConfig({
entry: {
index: './src/index.ts',
},
dts: true,
sourcemap: true,
clean: true,
format: ['cjs', 'esm'],
})
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit b697fc6

Please sign in to comment.