chore: add inner desktop as workspace so version gets bumped automatically

This commit is contained in:
Mo
2022-06-15 20:55:05 -05:00
parent 05c56a5235
commit 6758c82b99
11 changed files with 28 additions and 30 deletions

View File

@@ -82,14 +82,12 @@ You can then access the app at `http://localhost:3001` (please check Docker cont
### Running Locally ### Running Locally
This repo contains the core code used in the web app, as well as the Electron-based [desktop application](https://github.com/standardnotes/desktop).
**Instructions:** **Instructions:**
1. Ensure you have [Yarn](https://classic.yarnpkg.com) installed 1. Ensure you have [Yarn](https://classic.yarnpkg.com) installed
1. Clone the repo 2. Clone the repo
1. `yarn install` 3. `yarn install`
1. `yarn start` 4. `yarn start`
Then open your browser to `http://localhost:3001`. Then open your browser to `http://localhost:3001`.
@@ -101,14 +99,6 @@ You can also set the `DEFAULT_SYNC_SERVER` environment variable to set the defau
DEFAULT_SYNC_SERVER=https://sync.myserver DEFAULT_SYNC_SERVER=https://sync.myserver
``` ```
---
### Other repositories:
- Desktop app: https://github.com/standardnotes/desktop
- Mobile (iOS & Android): https://github.com/standardnotes/mobile
- Extensions: https://github.com/sn-extensions
## Contributing ## Contributing
For contributing we highly recommend you use our docker-compose setup that is provided in this repository. For contributing we highly recommend you use our docker-compose setup that is provided in this repository.

View File

@@ -5,6 +5,7 @@
"workspaces": { "workspaces": {
"packages": [ "packages": [
"packages/*", "packages/*",
"packages/desktop/app",
"packages/components/src/*" "packages/components/src/*"
] ]
}, },

View File

@@ -2,8 +2,6 @@
<div align="center"> <div align="center">
[![latest release version](https://img.shields.io/github/v/release/standardnotes/desktop)](https://github.com/standardnotes/desktop/releases)
[![License](https://img.shields.io/github/license/standardnotes/desktop?color=blue)](https://github.com/standardnotes/desktop/blob/master/LICENSE)
[![Slack](https://img.shields.io/badge/slack-standardnotes-CC2B5E.svg?style=flat&logo=slack)](https://standardnotes.com/slack) [![Slack](https://img.shields.io/badge/slack-standardnotes-CC2B5E.svg?style=flat&logo=slack)](https://standardnotes.com/slack)
[![Twitter Follow](https://img.shields.io/badge/follow-%40standardnotes-blue.svg?style=flat&logo=twitter)](https://twitter.com/standardnotes) [![Twitter Follow](https://img.shields.io/badge/follow-%40standardnotes-blue.svg?style=flat&logo=twitter)](https://twitter.com/standardnotes)
@@ -76,6 +74,6 @@ Followed by
## Installation ## Installation
On Linux, download the latest AppImage from the [Releases](https://github.com/standardnotes/desktop/releases/latest) page, and give it executable permission: On Linux, download the latest AppImage from the [Releases](https://github.com/standardnotes/app/releases/latest) page, and give it executable permission:
`chmod u+x standard-notes*.AppImage` `chmod u+x standard-notes*.AppImage`

View File

@@ -238,8 +238,9 @@ const Urls = {
Website: 'https://standardnotes.com', Website: 'https://standardnotes.com',
GitHub: 'https://github.com/standardnotes', GitHub: 'https://github.com/standardnotes',
Slack: 'https://standardnotes.com/slack', Slack: 'https://standardnotes.com/slack',
Discord: 'https://standardnotes.com/discord',
Twitter: 'https://twitter.com/StandardNotes', Twitter: 'https://twitter.com/StandardNotes',
GitHubReleases: 'https://github.com/standardnotes/desktop/releases', GitHubReleases: 'https://github.com/standardnotes/app/releases',
} }
function macAppMenu(appName: string): MenuItemConstructorOptions { function macAppMenu(appName: string): MenuItemConstructorOptions {
@@ -596,6 +597,12 @@ function helpMenu(window: Electron.BrowserWindow, shell: Electron.Shell) {
void shell.openExternal(Urls.GitHub) void shell.openExternal(Urls.GitHub)
}, },
}, },
{
label: str().discord,
click() {
void shell.openExternal(Urls.Discord)
},
},
{ {
label: str().slack, label: str().slack,
click() { click() {

View File

@@ -18,6 +18,7 @@ export function createEnglishStrings(): Strings {
emailSupport: 'Email Support', emailSupport: 'Email Support',
website: 'Website', website: 'Website',
gitHub: 'GitHub', gitHub: 'GitHub',
discord: 'Discord',
slack: 'Slack', slack: 'Slack',
twitter: 'Twitter', twitter: 'Twitter',
toggleErrorConsole: 'Toggle Error Console', toggleErrorConsole: 'Toggle Error Console',

View File

@@ -23,6 +23,7 @@ interface AppMenuStrings {
emailSupport: string emailSupport: string
website: string website: string
gitHub: string gitHub: string
discord: string
slack: string slack: string
twitter: string twitter: string
toggleErrorConsole: string toggleErrorConsole: string

View File

@@ -144,7 +144,7 @@ export function setupUpdates(window: BrowserWindow, appState: AppState, backupsM
} }
export function openChangelog(state: UpdateState): void { export function openChangelog(state: UpdateState): void {
const url = 'https://github.com/standardnotes/desktop/releases' const url = 'https://github.com/standardnotes/app/releases'
if (state.latestVersion) { if (state.latestVersion) {
void shell.openExternal(`${url}/tag/v${state.latestVersion}`) void shell.openExternal(`${url}/tag/v${state.latestVersion}`)
} else { } else {

View File

@@ -1,10 +1,10 @@
{ {
"name": "standard-notes", "name": "@standardnotes/inner-desktop",
"productName": "Standard Notes", "productName": "Standard Notes",
"private": true, "private": true,
"description": "An end-to-end encrypted notes app for digitalists and professionals.", "description": "An end-to-end encrypted notes app for digitalists and professionals.",
"author": "Standard Notes <help@standardnotes.com>", "author": "Standard Notes <help@standardnotes.com>",
"version": "3.20.2", "version": "3.22.3-alpha.18",
"main": "./dist/index.js", "main": "./dist/index.js",
"installConfig": { "installConfig": {
"selfReferences": true "selfReferences": true

View File

@@ -94,7 +94,7 @@ module.exports = function ({ onlyTranspileTypescript = false, experimentalFeatur
from: 'app/node_modules', from: 'app/node_modules',
to: 'node_modules', to: 'node_modules',
globOptions: { globOptions: {
ignore: ['**/standard-notes/**'], ignore: ['**/@standardnotes/inner-desktop/**'],
}, },
}, },
{ {

View File

@@ -2,7 +2,7 @@
"name": "@standardnotes/mobile", "name": "@standardnotes/mobile",
"version": "3.23.1-alpha.8", "version": "3.23.1-alpha.8",
"user-version": "3.23.0", "user-version": "3.23.0",
"author": "Standard Notes", "author": "Standard Notes.",
"private": true, "private": true,
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"scripts": { "scripts": {

View File

@@ -5459,6 +5459,14 @@ __metadata:
languageName: unknown languageName: unknown
linkType: soft linkType: soft
"@standardnotes/inner-desktop@workspace:packages/desktop/app":
version: 0.0.0-use.local
resolution: "@standardnotes/inner-desktop@workspace:packages/desktop/app"
dependencies:
keytar: ^7.9.0
languageName: unknown
linkType: soft
"@standardnotes/markdown-basic@workspace:packages/components/src/org.standardnotes.simple-markdown-editor": "@standardnotes/markdown-basic@workspace:packages/components/src/org.standardnotes.simple-markdown-editor":
version: 0.0.0-use.local version: 0.0.0-use.local
resolution: "@standardnotes/markdown-basic@workspace:packages/components/src/org.standardnotes.simple-markdown-editor" resolution: "@standardnotes/markdown-basic@workspace:packages/components/src/org.standardnotes.simple-markdown-editor"
@@ -30379,14 +30387,6 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"standard-notes@workspace:packages/desktop/app":
version: 0.0.0-use.local
resolution: "standard-notes@workspace:packages/desktop/app"
dependencies:
keytar: ^7.9.0
languageName: unknown
linkType: soft
"stat-mode@npm:^1.0.0": "stat-mode@npm:^1.0.0":
version: 1.0.0 version: 1.0.0
resolution: "stat-mode@npm:1.0.0" resolution: "stat-mode@npm:1.0.0"