[chore] preinstall,postinstall

This commit is contained in:
Anton Nesterov 2024-08-20 19:23:09 +02:00
parent b763c52867
commit c100564e0a
No known key found for this signature in database
GPG key ID: 59121E8AE2851FB5
9 changed files with 21 additions and 19 deletions

BIN
bun.lockb

Binary file not shown.

View file

@ -1,25 +1,26 @@
{
"name": "dal",
"module": "dal/index.ts",
"name": "@nesterow/dal",
"module": "dist/index.js",
"type": "module",
"devDependencies": {
"@types/bun": "latest",
"node-addon-api": "^8.1.0",
"node-gyp": "^10.2.0",
"prettier": "^3.3.3"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"dependencies": {
"@msgpack/msgpack": "^3.0.0-beta2"
"@msgpack/msgpack": "^3.0.0-beta2",
"node-addon-api": "^8.1.0",
"node-gyp": "^10.2.0"
},
"scripts": {
"test:client": "bun test:*",
"test:dal": "bun test dal/__test__",
"test:serve": "cd dal/__test__/srv && go run main.go",
"fmt": "prettier --write .",
"build": "tsc",
"preinstall": "cd binding && go build -buildmode=c-archive -o dal.a ./dal.go",
"cgo:build": "node-gyp configure build"
"postinstall": "node-gyp configure build"
}
}

View file

@ -1,4 +1,4 @@
module github.com/nesterow/dal/pkg/adapter
module github.com/nesterow/dal/pkg/adapter/v0.0.0
go 1.22.6

View file

@ -1,4 +1,4 @@
module github.com/nesterow/dal/pkg/builder
module github.com/nesterow/dal/pkg/builder/v0.0.0
go 1.22.6

View file

@ -1,4 +1,4 @@
module github.com/nesterow/dal/pkg/facade
module github.com/nesterow/dal/pkg/facade/v0.0.0
go 1.22.6

View file

@ -1,4 +1,4 @@
module github.com/nesterow/dal/pkg/filters
module github.com/nesterow/dal/pkg/filters/v0.0.0
go 1.22.6

View file

@ -1,4 +1,4 @@
module github.com/nesterow/dal/pkg/proto
module github.com/nesterow/dal/pkg/proto/v0.0.0
go 1.22.6

View file

@ -1,4 +1,4 @@
module github.com/nesterow/dal/pkg/utils
module github.com/nesterow/dal/pkg/utils/v0.0.0
go 1.22.6

View file

@ -1,18 +1,18 @@
{
"files": [
"dal/index.ts",
"dal/SQLite.ts",
],
"compilerOptions": {
// Enable latest features
"lib": ["ESNext", "DOM"],
"target": "ESNext",
"module": "ESNext",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": true,
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"moduleResolution": "node",
"verbatimModuleSyntax": true,
"noEmit": true,
"noEmit": false,
// Best practices
"strict": true,
@ -22,6 +22,7 @@
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noPropertyAccessFromIndexSignature": false
"noPropertyAccessFromIndexSignature": false,
"outDir": "dist",
}
}