Skip to content

Commit

Permalink
feat(): split tooling (#465)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
mhartington committed Jan 18, 2022
1 parent 35dbfaa commit a8303ec
Show file tree
Hide file tree
Showing 58 changed files with 12,684 additions and 40,352 deletions.
Binary file added .DS_Store
Binary file not shown.
59 changes: 0 additions & 59 deletions .circleci/config.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: CD

on:
push:
branches:
- stable

jobs:
build:
name: Build, Test, and Deploy
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
- uses: actions/setup-node@v1
with:
node-version: 14.x
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Restore Dependency Cache
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.OS }}-dependency-cache-${{ hashFiles('**/package.json') }}
- run: npm install
- run: npm run bootstrap
- run: npm run publish:ci:testing
# - run: npm run publish:ci -- --yes
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GIT_AUTHOR_NAME: Ionitron
GIT_AUTHOR_EMAIL: [email protected]
GIT_COMMITTER_NAME: Ionitron
GIT_COMMITTER_EMAIL: [email protected]
34 changes: 34 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
push:
branches-ignore:
- stable
pull_request:
branches-ignore:
- stable

jobs:
build-and-test:
name: Build and Test (Node ${{ matrix.node }})
runs-on: ubuntu-latest
timeout-minutes: 30
strategy:
matrix:
node:
- 14.x
- 12.x
- 10.x
steps:
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- uses: actions/checkout@v2
- name: Restore Dependency Cache
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.OS }}-dependency-cache-${{ hashFiles('**/package.json') }}
- run: npm install
- run: npm run bootstrap
- run: npm run lint
8 changes: 5 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
node_modules
**/*.js
**/*.d.ts
!builders/**/schema.d.ts
!schematics/**/schema.d.ts
!schematics/*/files/**/*
!packages/cordova-builders/**/schema.d.ts
!packages/cordova-builders/assets/*
!packages/schematics/**/schema.d.ts
!packages/schematics/*/files/**/*
!packages/**/lint-staged.config.js
.vscode
16 changes: 0 additions & 16 deletions builders.json

This file was deleted.

16 changes: 16 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": "independent",
"packages": ["packages/*"],
"command": {
"bootstrap": {
"hoist": true
},
"version": {
"allowBranch": "stable",
"conventionalCommits": true,
"createRelease": "github",
"message": "chore(release): publish [skip ci]",
"tagVersionPrefix": ""
}
}
}
8 changes: 0 additions & 8 deletions lint-staged.config.js

This file was deleted.

Loading

0 comments on commit a8303ec

Please sign in to comment.