Clean up project directory structure, removing legacy packages folder
14
.gitignore
vendored
|
@ -9,19 +9,13 @@
|
|||
**/arclib
|
||||
|
||||
##### Client Private Plugins (symlinked)
|
||||
**/client-app/src/error-logger-extensions
|
||||
**/internal_packages/activity-list
|
||||
**/app/src/error-logger-extensions
|
||||
**/internal_packages/composer-mail-merge
|
||||
**/internal_packages/composer-scheduler
|
||||
**/internal_packages/link-tracking
|
||||
**/internal_packages/open-tracking
|
||||
**/internal_packages/send-later
|
||||
**/internal_packages/send-reminders
|
||||
**/internal_packages/thread-sharing
|
||||
|
||||
##### Node modules
|
||||
node_modules
|
||||
!packages/client-app/spec/fixtures/packages/package-with-incompatible-native-module/node_modules
|
||||
!app/spec/fixtures/packages/package-with-incompatible-native-module/node_modules
|
||||
**/npm-debug.log*
|
||||
**/lerna-debug.log*
|
||||
|
||||
|
@ -41,7 +35,7 @@ node_modules
|
|||
n1_cloud_dist
|
||||
|
||||
# Built Nylas Mail client
|
||||
packages/client-app/dist
|
||||
app/dist
|
||||
|
||||
# Tests
|
||||
spec-saved-state.json
|
||||
|
@ -66,5 +60,5 @@ scripts/venv
|
|||
|
||||
# OAuth client secret for talking to Google Sheets
|
||||
client_secret.json
|
||||
/packages/client-app/MailSync
|
||||
/app/MailSync
|
||||
/logfile.txt
|
||||
|
|
|
@ -39,10 +39,10 @@ before_install:
|
|||
-in packages/client-private-plugins/encrypted_certificates/travis/travis-files.tar.enc
|
||||
-out packages/client-private-plugins/encrypted_certificates/travis/travis-files.tar
|
||||
-d;
|
||||
- mkdir packages/client-app/build/resources/certs;
|
||||
- mkdir app/build/resources/certs;
|
||||
- tar xvf packages/client-private-plugins/encrypted_certificates/travis/travis-files.tar
|
||||
--directory=packages/client-app/build/resources/;
|
||||
- source packages/client-app/build/resources/certs/mac/set_unix_env.sh;
|
||||
--directory=app/build/resources/;
|
||||
- source app/build/resources/certs/mac/set_unix_env.sh;
|
||||
|
||||
install:
|
||||
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
# Configuration
|
||||
|
||||
This document outlines configuration options which aren't exposed via N1's
|
||||
preferences interface but may be useful.
|
||||
|
||||
## Other Config Options
|
||||
|
||||
- `core.workspace.interfaceZoom`: If you'd like the N1 interface to be smaller or larger, this option allows you to scale the UI globally. (Default: 1)
|
|
@ -12,7 +12,7 @@ module.exports = (grunt) => {
|
|||
* is designed to be run from the npm-build-client task whose repo root is
|
||||
* the main nylas-mail-all package.
|
||||
*/
|
||||
const appDir = path.resolve(path.join('packages', 'client-app'));
|
||||
const appDir = path.resolve(path.join('app'));
|
||||
const buildDir = path.join(appDir, 'build');
|
||||
const tasksDir = path.join(buildDir, 'tasks');
|
||||
const taskHelpers = require(path.join(tasksDir, 'task-helpers'))(grunt)
|
Before Width: | Height: | Size: 8 KiB After Width: | Height: | Size: 8 KiB |
Before Width: | Height: | Size: 521 B After Width: | Height: | Size: 521 B |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 68 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 161 KiB After Width: | Height: | Size: 161 KiB |
Before Width: | Height: | Size: 654 KiB After Width: | Height: | Size: 654 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
@ -6,7 +6,7 @@ module.exports = (grunt) => {
|
|||
eslint: {
|
||||
options: {
|
||||
ignore: false,
|
||||
configFile: '../../.eslintrc',
|
||||
configFile: '../.eslintrc',
|
||||
},
|
||||
target: grunt.config('source:es6'),
|
||||
},
|
|
@ -158,8 +158,6 @@ module.exports = (grunt) => {
|
|||
].join(',') + "}",
|
||||
},
|
||||
"ignore": [ // These are all relative to client-app
|
||||
/.*\.watchmanconfig.*/,
|
||||
|
||||
// top level dirs we never want
|
||||
/^\/build.*/,
|
||||
/^\/dist.*/,
|
|
@ -12,7 +12,6 @@
|
|||
"nylas-private-salesforce",
|
||||
"github-contact-card",
|
||||
"keybase",
|
||||
"thread-sharing",
|
||||
"composer-markdown",
|
||||
"composer-scheduler",
|
||||
"composer-mail-merge",
|
Before Width: | Height: | Size: 63 KiB After Width: | Height: | Size: 63 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
|
@ -14,7 +14,7 @@ class EmojiStore extends NylasStore {
|
|||
this._emoji = [];
|
||||
}
|
||||
|
||||
activate = () => {
|
||||
activate() {
|
||||
this._emoji = [];
|
||||
try {
|
||||
const txt = window.localStorage.getItem(EmojiJSONKey);
|