mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
chore(monorepo/client): set up commons package
This commit is contained in:
parent
25160a23a6
commit
42744acbb3
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
node_modules
|
@ -1,17 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "trilium",
|
|
||||||
"productName": "TriliumNext Notes",
|
|
||||||
"description": "Build your personal knowledge base with TriliumNext Notes",
|
|
||||||
"version": "0.93.0",
|
|
||||||
"license": "AGPL-3.0-only",
|
|
||||||
"main": "./electron-main.js",
|
"main": "./electron-main.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
"trilium": "src/main.js"
|
"trilium": "src/main.js"
|
||||||
},
|
},
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/TriliumNext/Notes.git"
|
|
||||||
},
|
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"server:start": "cross-env TRILIUM_DATA_DIR=./data TRILIUM_ENV=dev nodemon src/main.ts",
|
"server:start": "cross-env TRILIUM_DATA_DIR=./data TRILIUM_ENV=dev nodemon src/main.ts",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "triliumnext.notes.client",
|
"name": "@triliumnext/client",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"description": "JQuery-based client for TriliumNext, used for both web and desktop (via Electron)",
|
"description": "JQuery-based client for TriliumNext, used for both web and desktop (via Electron)",
|
||||||
"homepage": "https://github.com/TriliumNext/Notes#readme",
|
"homepage": "https://github.com/TriliumNext/Notes#readme",
|
||||||
|
6886
package-lock.json
generated
Normal file
6886
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
15
package.json
Normal file
15
package.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"name": "trilium",
|
||||||
|
"productName": "TriliumNext Notes",
|
||||||
|
"description": "Build your personal knowledge base with TriliumNext Notes",
|
||||||
|
"version": "0.93.0",
|
||||||
|
"license": "AGPL-3.0-only",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/TriliumNext/Notes.git"
|
||||||
|
},
|
||||||
|
"workspaces": [
|
||||||
|
"apps/*",
|
||||||
|
"packages/*"
|
||||||
|
]
|
||||||
|
}
|
24
packages/commons/package.json
Normal file
24
packages/commons/package.json
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"name": "@triliumnext/commons",
|
||||||
|
"version": "0.0.1",
|
||||||
|
"description": "Shared library between the clients (e.g. browser, Electron) and the server, mostly for type definitions and utility methods.",
|
||||||
|
"homepage": "https://github.com/TriliumNext/Notes#readme",
|
||||||
|
"bugs": {
|
||||||
|
"url": "https://github.com/TriliumNext/Notes/issues"
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "git+https://github.com/TriliumNext/Notes.git"
|
||||||
|
},
|
||||||
|
"license": "AGPL-3.0-only",
|
||||||
|
"author": {
|
||||||
|
"name": "TriliumNext Notes Team",
|
||||||
|
"email": "contact@eliandoran.me",
|
||||||
|
"url": "https://github.com/TriliumNext/Notes"
|
||||||
|
},
|
||||||
|
"type": "module",
|
||||||
|
"main": "index.js",
|
||||||
|
"scripts": {
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user