Clean up project directory structure, removing legacy packages folder

This commit is contained in:
Ben Gotow 2017-08-10 19:23:40 -07:00
parent b75aa778c7
commit 7f3731bc10
5033 changed files with 86 additions and 1818 deletions

14
.gitignore vendored
View file

@ -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

View file

@ -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

View file

@ -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)

View file

@ -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)

View file

Before

Width:  |  Height:  |  Size: 8 KiB

After

Width:  |  Height:  |  Size: 8 KiB

View file

Before

Width:  |  Height:  |  Size: 521 B

After

Width:  |  Height:  |  Size: 521 B

View file

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 20 KiB

View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

Before

Width:  |  Height:  |  Size: 68 KiB

After

Width:  |  Height:  |  Size: 68 KiB

View file

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View file

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View file

Before

Width:  |  Height:  |  Size: 161 KiB

After

Width:  |  Height:  |  Size: 161 KiB

View file

Before

Width:  |  Height:  |  Size: 654 KiB

After

Width:  |  Height:  |  Size: 654 KiB

View file

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View file

Before

Width:  |  Height:  |  Size: 26 KiB

After

Width:  |  Height:  |  Size: 26 KiB

View file

@ -6,7 +6,7 @@ module.exports = (grunt) => {
eslint: {
options: {
ignore: false,
configFile: '../../.eslintrc',
configFile: '../.eslintrc',
},
target: grunt.config('source:es6'),
},

View file

@ -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.*/,

View file

@ -12,7 +12,6 @@
"nylas-private-salesforce",
"github-contact-card",
"keybase",
"thread-sharing",
"composer-markdown",
"composer-scheduler",
"composer-mail-merge",

View file

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View file

@ -14,7 +14,7 @@ class EmojiStore extends NylasStore {
this._emoji = [];
}
activate = () => {
activate() {
this._emoji = [];
try {
const txt = window.localStorage.getItem(EmojiJSONKey);

Some files were not shown because too many files have changed in this diff Show more