mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(packages): move the packages to root
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -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
|
||||
|
||||
@@ -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
16
angular/scripts/README.md
Normal 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:
|
||||
10
circle.yml
10
circle.yml
@@ -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
|
||||
|
||||
@@ -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`.
|
||||
|
||||
---
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user