Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[examples][now-static-build] Add Ionic Angular framework #3970

Merged
merged 12 commits into from Apr 9, 2020

Conversation

coetry
Copy link
Contributor

@coetry coetry commented Mar 26, 2020

This PR adds framework config for Ionic Angular and also updates a mistake found in the dev script of Ionic React, which mistakenly was using the same dev script as Stencil.

@codecov
Copy link

codecov bot commented Mar 26, 2020

Codecov Report

Merging #3970 into master will increase coverage by 0.14%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3970      +/-   ##
==========================================
+ Coverage   13.12%   13.27%   +0.14%     
==========================================
  Files         291      291              
  Lines       10328    10339      +11     
  Branches     1348     1334      -14     
==========================================
+ Hits         1356     1372      +16     
  Misses       8879     8879              
+ Partials       93       88       -5     
Impacted Files Coverage Δ
src/util/dev/builder-cache.ts 83.76% <0.00%> (+3.91%) ⬆️
src/util/metrics.ts 72.22% <0.00%> (+4.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a861a8f...86be23f. Read the comment docs.

@styfle styfle changed the title Add Ionic Angular framework [examples][now-static-build] Add Ionic Angular framework Mar 27, 2020
@styfle
Copy link
Member

styfle commented Mar 27, 2020

@coetry You also need to add an entry to frameworks.ts and keep it in the same order as @now/frameworks

slug: 'ionic-react',
dependency: '@ionic/react',
buildCommand: 'react-scripts build',
getOutputDirName: async () => 'build',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it build or public because @now/frameworks has public.

cc @AndyBitz

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's build for ionic-react

Copy link
Member

@styfle styfle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@kodiakhq kodiakhq bot merged commit 0b75bf0 into master Apr 9, 2020
@kodiakhq kodiakhq bot deleted the add-ionic-ng-framework branch April 9, 2020 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants