Skip to content

Commit

Permalink
chore(packages): move the packages to root
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandy Carney committed Mar 12, 2018
1 parent 097f1a2 commit d37623a
Show file tree
Hide file tree
Showing 1,255 changed files with 38 additions and 38 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
16 changes: 16 additions & 0 deletions angular/scripts/README.md
@@ -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:
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions circle.yml
Expand Up @@ -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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -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`.

---

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions packages/core/scripts/readme.md → core/scripts/readme.md
Expand Up @@ -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

Expand Down
File renamed without changes.
Expand Up @@ -2,7 +2,7 @@

CD to core package:

cd packages/core
cd core


Pull latest:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit d37623a

Please sign in to comment.