chore(packages): move the packages to root

This commit is contained in:
Brandy Carney
2018-03-12 16:02:25 -04:00
parent 097f1a2cd3
commit d37623a2ca
1255 changed files with 38 additions and 38 deletions

4
.gitignore vendored
View File

@@ -18,8 +18,8 @@ dist/
node_modules/
tmp/
temp/
packages/core/theme-builder/
packages/core/test-components/
core/theme-builder/
core/test-components/
$RECYCLE.BIN/
.DS_Store

View File

@@ -8,8 +8,8 @@ Ionic is based on [Web Components](https://www.webcomponents.org/introduction) a
# Packages
- [Core](packages/core/README.md)
- [Ionic Angular](packages/angular/README.md)
- [Core](core/README.md)
- [Ionic Angular](angular/README.md)
### Getting Started

16
angular/scripts/README.md Normal file
View File

@@ -0,0 +1,16 @@
# npm link local development
`npm link` doesn't work as expected due to the `devDependency` on `@angular/core`. This is the work around...
npm run build.link ../ionic-conference-app
When the command above is ran from the `angular` directory, it will build `@ionic/angular` and copy the `dist` directory to the correct location of another local project. In the example above, the end result is that it copies the `dist` directory to `../ionic-conference-app/node_modules/@ionic/angular/dist`. The path given should be relative to the root of this mono repo.
# Deploy
1. `npm run prepare.deploy`
2. Review/update changelog
3. Commit updates using the package name and version number as the commit message.
4. `npm run deploy`
5. :tada:

View File

@@ -19,14 +19,14 @@ jobs:
paths:
- ~/ionic/node_modules/
- restore_cache:
key: node_modules_{{ checksum "packages/core/package.json" }}
key: node_modules_{{ checksum "core/package.json" }}
- run:
name: Install core node modules
command: npm --prefix packages/core/ i
command: npm --prefix core/ i
- save_cache:
key: node_modules_{{ checksum "packages/core/package.json" }}
key: node_modules_{{ checksum "core/package.json" }}
paths:
- ~/ionic/packages/core/node_modules/
- ~/ionic/core/node_modules/
- run:
name: Validate Core
command: npm --prefix packages/core/ run validate
command: npm --prefix core/ run validate

View File

View File

View File

View File

@@ -1,6 +1,6 @@
# End-To-End Testing Scripts
This document describes the process of installing the dependencies for, running, and writing end-to-end tests for ionic core. Your working directory is assumed to be `packages/core`.
This document describes the process of installing the dependencies for, running, and writing end-to-end tests for ionic core. Your working directory is assumed to be `core`.
---

View File

@@ -8,15 +8,15 @@
### 2. Run `npm install`
cd packages/core
cd core
npm install
Notice that `@ionic/core` lives in `packages/core`.
Notice that `@ionic/core` lives in `core`.
### 3. Run `npm run dev`
Make sure you are inside the `packages/core` directory.
Make sure you are inside the `core` directory.
npm run dev

View File

@@ -2,7 +2,7 @@
CD to core package:
cd packages/core
cd core
Pull latest:

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