Skip to content

Commit ea939fe

Browse files
authored
Feat split tooling (#465)
* feat: split packages and create mono-repo this splits angular-toolkit into two packages. @ionic/angular-toolkit provides schematics for angular. @ionic/cordova-builders provides a collection of custom builders for ionic/angular + cordova app BREAKING CHANGE: ionic/angular + cordova users will now need to install @ionic/cordova-builders and update their angular.json to reflect the new package name * chore(): fix package description
1 parent 35dbfaa commit ea939fe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+12684
-40352
lines changed

.DS_Store

8 KB
Binary file not shown.

.circleci/config.yml

-59
This file was deleted.

.github/workflows/cd.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CD
2+
3+
on:
4+
push:
5+
branches:
6+
- stable
7+
8+
jobs:
9+
build:
10+
name: Build, Test, and Deploy
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 30
13+
steps:
14+
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
15+
- uses: actions/setup-node@v1
16+
with:
17+
node-version: 14.x
18+
- uses: actions/checkout@v2
19+
with:
20+
fetch-depth: 0
21+
- name: Restore Dependency Cache
22+
uses: actions/cache@v1
23+
with:
24+
path: ~/.npm
25+
key: ${{ runner.OS }}-dependency-cache-${{ hashFiles('**/package.json') }}
26+
- run: npm install
27+
- run: npm run bootstrap
28+
- run: npm run publish:ci:testing
29+
# - run: npm run publish:ci -- --yes
30+
env:
31+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
32+
GIT_AUTHOR_NAME: Ionitron
33+
GIT_AUTHOR_EMAIL: hi@ionicframework.com
34+
GIT_COMMITTER_NAME: Ionitron
35+
GIT_COMMITTER_EMAIL: hi@ionicframework.com

.github/workflows/ci.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- stable
7+
pull_request:
8+
branches-ignore:
9+
- stable
10+
11+
jobs:
12+
build-and-test:
13+
name: Build and Test (Node ${{ matrix.node }})
14+
runs-on: ubuntu-latest
15+
timeout-minutes: 30
16+
strategy:
17+
matrix:
18+
node:
19+
- 14.x
20+
- 12.x
21+
- 10.x
22+
steps:
23+
- uses: actions/setup-node@v1
24+
with:
25+
node-version: ${{ matrix.node }}
26+
- uses: actions/checkout@v2
27+
- name: Restore Dependency Cache
28+
uses: actions/cache@v1
29+
with:
30+
path: ~/.npm
31+
key: ${{ runner.OS }}-dependency-cache-${{ hashFiles('**/package.json') }}
32+
- run: npm install
33+
- run: npm run bootstrap
34+
- run: npm run lint

.gitignore

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
node_modules
22
**/*.js
33
**/*.d.ts
4-
!builders/**/schema.d.ts
5-
!schematics/**/schema.d.ts
6-
!schematics/*/files/**/*
4+
!packages/cordova-builders/**/schema.d.ts
5+
!packages/cordova-builders/assets/*
6+
!packages/schematics/**/schema.d.ts
7+
!packages/schematics/*/files/**/*
8+
!packages/**/lint-staged.config.js
79
.vscode

builders.json

-16
This file was deleted.

lerna.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"version": "independent",
3+
"packages": ["packages/*"],
4+
"command": {
5+
"bootstrap": {
6+
"hoist": true
7+
},
8+
"version": {
9+
"allowBranch": "stable",
10+
"conventionalCommits": true,
11+
"createRelease": "github",
12+
"message": "chore(release): publish [skip ci]",
13+
"tagVersionPrefix": ""
14+
}
15+
}
16+
}

lint-staged.config.js

-8
This file was deleted.

0 commit comments

Comments
 (0)