2022-02-15 02:10:47 +00:00
|
|
|
{
|
|
|
|
"version": "2.0.0",
|
|
|
|
// https://code.visualstudio.com/docs/editor/tasks
|
|
|
|
// https://gist.github.com/deadalusai/9e13e36d61ec7fb72148
|
|
|
|
// ${workspaceRoot}: the root folder of the team
|
|
|
|
// ${file}: the current opened file
|
|
|
|
// ${fileBasename}: the current opened file's basename
|
|
|
|
// ${fileDirname}: the current opened file's dirname
|
|
|
|
// ${fileExtname}: the current opened file's extension
|
|
|
|
// ${cwd}: the current working directory of the spawned process
|
|
|
|
"tasks": [
|
|
|
|
{
|
2022-06-19 02:40:55 +00:00
|
|
|
"label": "AF: Clean + Rebuild All",
|
2022-06-10 01:38:20 +00:00
|
|
|
"type": "shell",
|
|
|
|
"dependsOrder": "sequence",
|
|
|
|
"dependsOn": [
|
2023-01-18 03:22:13 +00:00
|
|
|
"AF: Dart Clean",
|
2022-06-17 01:05:31 +00:00
|
|
|
"AF: Flutter Clean",
|
2023-02-03 06:13:33 +00:00
|
|
|
"AF: Build Appflowy Core",
|
2022-06-11 00:16:15 +00:00
|
|
|
"AF: Flutter Pub Get",
|
2022-06-10 01:38:20 +00:00
|
|
|
"AF: Flutter Package Get",
|
|
|
|
"AF: Generate Language Files",
|
2023-01-24 06:01:30 +00:00
|
|
|
"AF: Generate Freezed Files"
|
2022-06-10 01:38:20 +00:00
|
|
|
],
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new"
|
|
|
|
}
|
|
|
|
},
|
2022-09-01 04:27:09 +00:00
|
|
|
{
|
|
|
|
"label": "AF: Clean + Rebuild All (Android)",
|
|
|
|
"type": "shell",
|
|
|
|
"dependsOrder": "sequence",
|
|
|
|
"dependsOn": [
|
2023-01-18 03:22:13 +00:00
|
|
|
"AF: Dart Clean",
|
2022-09-01 04:27:09 +00:00
|
|
|
"AF: Flutter Clean",
|
2023-02-03 06:13:33 +00:00
|
|
|
"AF: Build Appflowy Core_for_android",
|
2022-09-01 04:27:09 +00:00
|
|
|
"AF: Flutter Pub Get",
|
|
|
|
"AF: Flutter Package Get",
|
|
|
|
"AF: Generate Language Files",
|
2023-01-24 06:01:30 +00:00
|
|
|
"AF: Generate Freezed Files"
|
2022-09-01 04:27:09 +00:00
|
|
|
],
|
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
2023-01-24 06:01:30 +00:00
|
|
|
"panel": "new"
|
|
|
|
}
|
2022-09-01 04:27:09 +00:00
|
|
|
},
|
|
|
|
{
|
2023-02-03 06:13:33 +00:00
|
|
|
"label": "AF: Build Appflowy Core_for_android",
|
2022-09-01 04:27:09 +00:00
|
|
|
"type": "shell",
|
2023-02-02 15:02:49 +00:00
|
|
|
"command": "cargo make --profile development-android appflowy-core-dev-android",
|
2022-09-01 04:27:09 +00:00
|
|
|
"group": "build",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}"
|
|
|
|
}
|
|
|
|
},
|
2022-06-10 01:38:20 +00:00
|
|
|
{
|
2023-02-03 06:13:33 +00:00
|
|
|
"label": "AF: Build Appflowy Core",
|
2022-02-15 02:10:47 +00:00
|
|
|
"type": "shell",
|
|
|
|
"windows": {
|
2023-02-06 07:59:30 +00:00
|
|
|
"command": "cargo make --profile development-windows-x86 appflowy-core-dev"
|
2022-02-15 02:10:47 +00:00
|
|
|
},
|
|
|
|
"linux": {
|
2023-02-03 06:13:33 +00:00
|
|
|
"command": "cargo make --profile \"development-linux-$(uname -m)\" appflowy-core-dev"
|
2022-02-15 02:10:47 +00:00
|
|
|
},
|
|
|
|
"osx": {
|
2023-02-03 06:13:33 +00:00
|
|
|
"command": "cargo make --profile \"development-mac-$(uname -m)\" appflowy-core-dev"
|
2022-02-15 02:10:47 +00:00
|
|
|
},
|
|
|
|
"group": "build",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}"
|
2022-06-10 01:38:20 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "AF: Code Gen",
|
|
|
|
"type": "shell",
|
|
|
|
"dependsOrder": "sequence",
|
|
|
|
"dependsOn": [
|
2022-06-17 01:05:31 +00:00
|
|
|
"AF: Flutter Clean",
|
2022-06-11 00:16:15 +00:00
|
|
|
"AF: Flutter Pub Get",
|
2022-06-10 01:38:20 +00:00
|
|
|
"AF: Flutter Package Get",
|
|
|
|
"AF: Generate Language Files",
|
|
|
|
"AF: Generate Freezed Files"
|
|
|
|
],
|
|
|
|
"group": {
|
|
|
|
"kind": "build",
|
2022-06-11 00:16:15 +00:00
|
|
|
"isDefault": true
|
2022-02-15 02:10:47 +00:00
|
|
|
},
|
2022-06-10 01:38:20 +00:00
|
|
|
"presentation": {
|
|
|
|
"reveal": "always",
|
|
|
|
"panel": "new"
|
|
|
|
}
|
|
|
|
},
|
2022-06-17 01:05:31 +00:00
|
|
|
{
|
|
|
|
"label": "AF: Flutter Clean",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "flutter clean",
|
|
|
|
"options": {
|
2023-02-26 08:27:17 +00:00
|
|
|
"cwd": "${workspaceFolder}/appflowy_flutter"
|
2022-06-17 01:05:31 +00:00
|
|
|
}
|
|
|
|
},
|
2022-06-10 01:38:20 +00:00
|
|
|
{
|
2022-06-11 00:16:15 +00:00
|
|
|
"label": "AF: Flutter Pub Get",
|
2022-06-10 01:38:20 +00:00
|
|
|
"type": "shell",
|
|
|
|
"command": "flutter pub get",
|
|
|
|
"options": {
|
2023-02-26 08:27:17 +00:00
|
|
|
"cwd": "${workspaceFolder}/appflowy_flutter"
|
2022-06-10 01:38:20 +00:00
|
|
|
}
|
2022-02-15 02:10:47 +00:00
|
|
|
},
|
|
|
|
{
|
2022-06-10 01:38:20 +00:00
|
|
|
"label": "AF: Flutter Package Get",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "flutter packages pub get",
|
|
|
|
"options": {
|
2023-02-26 08:27:17 +00:00
|
|
|
"cwd": "${workspaceFolder}/appflowy_flutter"
|
2022-06-10 01:38:20 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "AF: Generate Freezed Files",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "flutter pub run build_runner build --delete-conflicting-outputs",
|
|
|
|
"options": {
|
2023-02-26 08:27:17 +00:00
|
|
|
"cwd": "${workspaceFolder}/appflowy_flutter"
|
2022-06-10 01:38:20 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "AF: Generate Language Files",
|
2022-02-15 02:10:47 +00:00
|
|
|
"type": "shell",
|
|
|
|
"command": "sh ./scripts/generate_language_files.sh",
|
|
|
|
"windows": {
|
|
|
|
"options": {
|
|
|
|
"shell": {
|
|
|
|
"executable": "cmd.exe",
|
|
|
|
"args": [
|
|
|
|
"/d",
|
|
|
|
"/c",
|
|
|
|
".\\scripts\\generate_language_files.cmd"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"group": "build",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}"
|
2022-06-10 01:38:20 +00:00
|
|
|
}
|
2022-02-17 08:32:10 +00:00
|
|
|
},
|
|
|
|
{
|
2023-01-26 07:40:23 +00:00
|
|
|
"label": "AF: Flutter Clean",
|
2022-02-17 08:32:10 +00:00
|
|
|
"type": "shell",
|
2023-01-26 07:40:23 +00:00
|
|
|
"command": "cargo make flutter_clean",
|
2022-02-17 08:32:10 +00:00
|
|
|
"group": "build",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}"
|
2022-06-10 01:38:20 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "AF: flutter build aar",
|
|
|
|
"type": "flutter",
|
|
|
|
"command": "flutter",
|
|
|
|
"args": [
|
|
|
|
"build",
|
|
|
|
"aar"
|
|
|
|
],
|
|
|
|
"group": "build",
|
|
|
|
"problemMatcher": [],
|
2023-02-26 08:27:17 +00:00
|
|
|
"detail": "appflowy_flutter"
|
2023-01-17 13:54:25 +00:00
|
|
|
},
|
|
|
|
{
|
2023-01-24 06:01:30 +00:00
|
|
|
"label": "AF: Tauri UI Dev",
|
2023-01-17 13:54:25 +00:00
|
|
|
"type": "shell",
|
|
|
|
"isBackground": true,
|
Feat/appflowy tauri 2 (#1902)
* chore: rename classes to models
* refactor: add effects and reducers folder
* chore: update user data storage path
* chore: subscribe callback
* chore: nav items persist, board layout (#1879)
* chore: load workspace items, load folders and pages from workspace, load raw document data, load raw grid data
* chore: clear folders and pages before load, new folder event
* chore: update folder name backend call
* chore: folder expand animation
* chore: hide arrow on empty folder
* chore: Board page layout, board store, board sample data
* chore: board block item
* chore: test db id
* chore: persist new page, persist page rename, create workspace on read error
* chore: boardblockitem details btn
* chore: boardblockitem multiselect data and colors
* chore: board item drag
* chore: drag start on move
* chore: remove databaseId
* chore: remove databaseId
* chore: import service classes into auth hook
* chore: sign out option
* chore: login page event
* chore: signup event
* chore: make workspace hook to use service
* chore: page and folder hooks use backend services
* chore: new folder use backend service
* chore: error handler page
* chore: try catch hooks to show error page
* chore: install i18n package and use flutters i18n files
* fix: signin signup margin
* chore: fix compile errors
* chore: remove unused codes
* chore: open workspace after user register
* chore: open workspace after user register
* chore: add create grid demo
* chore: load the cell data
* chore: print the cell data
* chore: fix project errors
* fix: tauri UI issues (#1899)
* chore: load workspace items, load folders and pages from workspace, load raw document data, load raw grid data
* chore: clear folders and pages before load, new folder event
* chore: update folder name backend call
* chore: folder expand animation
* chore: hide arrow on empty folder
* chore: Board page layout, board store, board sample data
* chore: board block item
* chore: test db id
* chore: persist new page, persist page rename, create workspace on read error
* chore: boardblockitem details btn
* chore: boardblockitem multiselect data and colors
* chore: board item drag
* chore: drag start on move
* chore: remove databaseId
* chore: remove databaseId
* chore: import service classes into auth hook
* chore: sign out option
* chore: login page event
* chore: signup event
* chore: make workspace hook to use service
* chore: page and folder hooks use backend services
* chore: new folder use backend service
* chore: error handler page
* chore: try catch hooks to show error page
* chore: install i18n package and use flutters i18n files
* fix: signin signup margin
* fix: new page overflow with folder
* fix: sign out button
* fix: sign out icon
* chore: floating navigation panel
* refactor: notify with error
* chore: config window size
* fix: test demo error
* chore: update tests
---------
Co-authored-by: Askarbek Zadauly <ascarbek@gmail.com>
2023-02-28 14:42:41 +00:00
|
|
|
"command": "yarn",
|
|
|
|
"args": ["dev"],
|
2023-01-27 09:17:51 +00:00
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/appflowy_tauri"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "AF: Tauri UI Build",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "npm run build",
|
2023-01-24 06:01:30 +00:00
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/appflowy_tauri"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "AF: Tauri Dev",
|
|
|
|
"type": "shell",
|
Feat/appflowy tauri 2 (#1902)
* chore: rename classes to models
* refactor: add effects and reducers folder
* chore: update user data storage path
* chore: subscribe callback
* chore: nav items persist, board layout (#1879)
* chore: load workspace items, load folders and pages from workspace, load raw document data, load raw grid data
* chore: clear folders and pages before load, new folder event
* chore: update folder name backend call
* chore: folder expand animation
* chore: hide arrow on empty folder
* chore: Board page layout, board store, board sample data
* chore: board block item
* chore: test db id
* chore: persist new page, persist page rename, create workspace on read error
* chore: boardblockitem details btn
* chore: boardblockitem multiselect data and colors
* chore: board item drag
* chore: drag start on move
* chore: remove databaseId
* chore: remove databaseId
* chore: import service classes into auth hook
* chore: sign out option
* chore: login page event
* chore: signup event
* chore: make workspace hook to use service
* chore: page and folder hooks use backend services
* chore: new folder use backend service
* chore: error handler page
* chore: try catch hooks to show error page
* chore: install i18n package and use flutters i18n files
* fix: signin signup margin
* chore: fix compile errors
* chore: remove unused codes
* chore: open workspace after user register
* chore: open workspace after user register
* chore: add create grid demo
* chore: load the cell data
* chore: print the cell data
* chore: fix project errors
* fix: tauri UI issues (#1899)
* chore: load workspace items, load folders and pages from workspace, load raw document data, load raw grid data
* chore: clear folders and pages before load, new folder event
* chore: update folder name backend call
* chore: folder expand animation
* chore: hide arrow on empty folder
* chore: Board page layout, board store, board sample data
* chore: board block item
* chore: test db id
* chore: persist new page, persist page rename, create workspace on read error
* chore: boardblockitem details btn
* chore: boardblockitem multiselect data and colors
* chore: board item drag
* chore: drag start on move
* chore: remove databaseId
* chore: remove databaseId
* chore: import service classes into auth hook
* chore: sign out option
* chore: login page event
* chore: signup event
* chore: make workspace hook to use service
* chore: page and folder hooks use backend services
* chore: new folder use backend service
* chore: error handler page
* chore: try catch hooks to show error page
* chore: install i18n package and use flutters i18n files
* fix: signin signup margin
* fix: new page overflow with folder
* fix: sign out button
* fix: sign out icon
* chore: floating navigation panel
* refactor: notify with error
* chore: config window size
* fix: test demo error
* chore: update tests
---------
Co-authored-by: Askarbek Zadauly <ascarbek@gmail.com>
2023-02-28 14:42:41 +00:00
|
|
|
"command": "npm run tauri:dev",
|
2023-01-17 13:54:25 +00:00
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/appflowy_tauri"
|
|
|
|
}
|
|
|
|
},
|
2023-01-18 03:22:13 +00:00
|
|
|
{
|
|
|
|
"label": "AF: Tauri Clean",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "cargo make tauri_clean",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}"
|
Feat/appflowy tauri 2 (#1902)
* chore: rename classes to models
* refactor: add effects and reducers folder
* chore: update user data storage path
* chore: subscribe callback
* chore: nav items persist, board layout (#1879)
* chore: load workspace items, load folders and pages from workspace, load raw document data, load raw grid data
* chore: clear folders and pages before load, new folder event
* chore: update folder name backend call
* chore: folder expand animation
* chore: hide arrow on empty folder
* chore: Board page layout, board store, board sample data
* chore: board block item
* chore: test db id
* chore: persist new page, persist page rename, create workspace on read error
* chore: boardblockitem details btn
* chore: boardblockitem multiselect data and colors
* chore: board item drag
* chore: drag start on move
* chore: remove databaseId
* chore: remove databaseId
* chore: import service classes into auth hook
* chore: sign out option
* chore: login page event
* chore: signup event
* chore: make workspace hook to use service
* chore: page and folder hooks use backend services
* chore: new folder use backend service
* chore: error handler page
* chore: try catch hooks to show error page
* chore: install i18n package and use flutters i18n files
* fix: signin signup margin
* chore: fix compile errors
* chore: remove unused codes
* chore: open workspace after user register
* chore: open workspace after user register
* chore: add create grid demo
* chore: load the cell data
* chore: print the cell data
* chore: fix project errors
* fix: tauri UI issues (#1899)
* chore: load workspace items, load folders and pages from workspace, load raw document data, load raw grid data
* chore: clear folders and pages before load, new folder event
* chore: update folder name backend call
* chore: folder expand animation
* chore: hide arrow on empty folder
* chore: Board page layout, board store, board sample data
* chore: board block item
* chore: test db id
* chore: persist new page, persist page rename, create workspace on read error
* chore: boardblockitem details btn
* chore: boardblockitem multiselect data and colors
* chore: board item drag
* chore: drag start on move
* chore: remove databaseId
* chore: remove databaseId
* chore: import service classes into auth hook
* chore: sign out option
* chore: login page event
* chore: signup event
* chore: make workspace hook to use service
* chore: page and folder hooks use backend services
* chore: new folder use backend service
* chore: error handler page
* chore: try catch hooks to show error page
* chore: install i18n package and use flutters i18n files
* fix: signin signup margin
* fix: new page overflow with folder
* fix: sign out button
* fix: sign out icon
* chore: floating navigation panel
* refactor: notify with error
* chore: config window size
* fix: test demo error
* chore: update tests
---------
Co-authored-by: Askarbek Zadauly <ascarbek@gmail.com>
2023-02-28 14:42:41 +00:00
|
|
|
}
|
2023-01-18 03:22:13 +00:00
|
|
|
},
|
2023-01-24 06:01:30 +00:00
|
|
|
{
|
|
|
|
"label": "AF: Tauri Clean + Dev",
|
|
|
|
"type": "shell",
|
|
|
|
"dependsOrder": "sequence",
|
|
|
|
"dependsOn": [
|
|
|
|
"AF: Tauri Clean",
|
|
|
|
"AF: Tauri UI Dev"
|
|
|
|
],
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}"
|
|
|
|
}
|
2023-02-13 11:24:16 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "AF: Tauri ESLint",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "npx eslint --fix src",
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/appflowy_tauri"
|
|
|
|
}
|
|
|
|
},
|
2022-02-15 02:10:47 +00:00
|
|
|
]
|
2022-06-11 00:16:15 +00:00
|
|
|
}
|