Skip to content

Commit

Permalink
Merge branch 'main' of github.com:BuilderIO/builder into gatsby-updates
Browse files Browse the repository at this point in the history
* 'main' of github.com:BuilderIO/builder: (194 commits)
  chore(core-sdk): publish 1.1.26
  chore(deps): bump nanoid from 3.1.25 to 3.3.1 in /examples/vue/nuxt-2
  chore(deps): bump node-fetch from 2.6.1 to 2.6.7 in /examples/vue/nuxt-2
  chore(deps): bump node-fetch in /examples/vue/vue-storefront-2
  chore(deps): bump cached-path-relative in /examples/vue/vue-storefront-2
  chore(deps): bump nanoid in /examples/vue/vue-storefront-2
  fix(sdk): respect this.canTrack for cookie
  fix(sdk): respect this.canTrack for cookie
  example(vue): setup nuxt-2 example on old vue SDK
  chore(examples): move all Vue examples under vue/
  fix: contentful plugin undefined locate
  chore(deps): bump postcss in /examples/gatsby-minimal-starter
  chore(deps): bump postcss from 7.0.26 to 7.0.39 in /examples/storybook
  chore(deps): bump postcss from 7.0.35 to 7.0.39 in /examples/vue-nuxt
  chore(deps): bump postcss from 7.0.35 to 7.0.39 in /packages/gatsby
  chore(deps): bump postcss from 7.0.27 to 7.0.39 in /packages/storybook
  chore(deps): bump vm2 in /starters/create-builder/nextjs
  chore(deps): bump follow-redirects
  chore(deps): bump vm2 in /starters/create-builder/create-react-app
  chore(deps): bump ajv from 6.12.0 to 6.12.6 in /packages/codegen
  ...
  • Loading branch information
teleaziz committed Feb 25, 2022
2 parents 806871c + b6dde97 commit b29b326
Show file tree
Hide file tree
Showing 433 changed files with 148,547 additions and 139,747 deletions.
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

<!-- If you have a question or need help regarding how the Builder product works, then https://forum.builder.io is a much better place to ask your question. -->

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1.
2.
3.
4.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12.14.0
lts/erbium
10 changes: 8 additions & 2 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@

#### Project-specific groups

# Mitosis
/packages/sdks/ @BuilderIO/mitosis
# SDKs
## new-gen (Mitosis-built)
/packages/sdks/ @BuilderIO/sdks
## old-gen
/packages/react/ @BuilderIO/sdks
/packages/vue/ @BuilderIO/sdks
/packages/angular/ @BuilderIO/sdks
/packages/core/ @BuilderIO/sdks


# E-commerce plugins
Expand Down
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
<p align="center">
<img alt="BUILDER" src="https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fdcd545fcda9c4be796889bf072cf72e9" width="240" />
</p>
<br />
<h3 align="center">
Drag and drop page builder and CMS for React, Vue, Angular, and more
</h3>
<p align="center">
Use your code components and the stack of your choice. No more being pestered for HTML changes :)
Integrate with any site or app. Use your code components. High speed, full control, no compromises
</p>

<br />
<p align="center">
<a href="https://github.com/prettier/prettier"><img alt="code style: prettier" src="https://img.shields.io/badge/code_style-prettier-ff69b4.svg" /></a>
<a href="https://github.com/builderio/builder/pulls"><img alt="PRs Welcome" src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" /></a>
Expand Down Expand Up @@ -125,6 +123,20 @@ export let BuilderPage = () => {
</tr>
</table>

## Why Builder.io?

Hardcoding layouts for frequently changing content bottlenecks your team and makes releases messy

Using an API-driven UI allows you to:

- Decouple page updates from deploys
- Schedule, a/b test, and personalize via APIs
- Reduce code + increase composability

<br />
<img src="https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F5b4fb32baace4475b993f6361e75e1b2" />


## Who uses Builder.io?

<br />
Expand All @@ -136,11 +148,10 @@ export let BuilderPage = () => {

Use our CLI to get started with one command:

<p align="center">

<pre align="center" lang="bash">
npm init builder.io@latest
</pre>
</p>

Or try out:

Expand Down
5 changes: 5 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Security Policy

## Reporting a Vulnerability

Please report (suspected) security vulnerabilities to help@builder.io. If the issue is confirmed, we will release a patch as soon as possible depending on complexity. Thank you!
14 changes: 5 additions & 9 deletions examples/angular-universal/.browserslistrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,12 @@
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries

# For the full list of supported browsers by the Angular framework, please see:
# https://angular.io/guide/browser-support

# You can see what browsers were selected by your queries by running:
# npx browserslist

last 1 Chrome version
last 1 Firefox version
last 2 Edge major versions
last 2 Safari major versions
last 2 iOS major versions
> 0.5%
last 2 versions
Firefox ESR
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.
not dead
IE 11
not IE 9-10
13 changes: 11 additions & 2 deletions examples/angular-universal/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@

# compiled output
/dist
/dist-server
/tmp
/out-tsc

# Only exists if Bazel was run
/bazel-out

.angular

# dependencies
/node_modules

Expand All @@ -29,18 +33,23 @@ speed-measure-plugin*.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history/*

# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings

# e2e
/e2e/*.js
/e2e/*.map

# System Files
.DS_Store
Thumbs.db

firebase.json
.firebase*
50 changes: 8 additions & 42 deletions examples/angular-universal/README.md
Original file line number Diff line number Diff line change
@@ -1,54 +1,20 @@
# Builder.io Angular Universal example

Cloned from [https://github.com/enten/angular-universal](https://github.com/enten/angular-universal).
This is an example of using Builder.io for dynamic page building with Angular and Angular Universal for server side rendering.
This is an example of using Builder.io with Angular Universal for server side rendering. For an example with client side rendering using Angular see [here](/examples/angular)

See the full Angular SDK source code and docs over [here](/packages/angular)

## Running locally

This starter kit is **universal 100% which means you developing for both browser and server at the same time**.
### Development server

- `ng build` - Building bundles for both browser and server platforms in [same compilation][webpack-multicompiler-example] ;
- `ng serve` - Running universal dev server with [Hot Module Replacement (HMR)][webpack-concept-hmr] enabled on browser and server sides ;
- `ng serve -c spa` - Running universal dev server with Server Side Rendering (SSR) disabled for angular routes only.
Run `npm run dev:ssr` to run the Angular Universal server locally. Navigate to `http://localhost:4200/`.

In other words, this starter kit gives superpower for those who want develop universal application fastly with no pain. Just keep in mind with great power comes [great responsibility (Universal Gotcha's)][universal-gotchas].
### Build

## Development server
Run `npm run build:ssr` to build the project. The build artifacts will be stored in the `dist/` directory.
Run `npm run serve:ssr` to serve the built project. Navigate to `http://localhost:4000/` to see the running project.

Run `ng serve` to start universal dev server. Navigate to [http://localhost:4000/](http://localhost:4000/).
### Further help

The app will automatically hot-reload on server and browser sides if you change any of the source files.

The full compilation will automatically restart if a hot chunk can't be applied on server side.

## Code scaffolding

Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.

## Build

Run `ng build` to build the project. The build artifacts will be stored in the `dist/app` directory.

Run `ng build --prod` for a production build.

Run `node dist/app/server/main.js` to start application built.

## Running unit tests

Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Running end-to-end tests

Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.

[angulario-ssr]: https://angular.io/guide/universal
[angular-cli]: https://github.com/angular/angular-cli
[universal-gotchas]: https://github.com/angular/universal/blob/master/docs/gotchas.md
[webpack-concept-hmr]: https://webpack.js.org/concepts/hot-module-replacement/
[webpack-multicompiler-example]: https://github.com/webpack/webpack/tree/master/examples/multi-compiler
Questions, feedback? Let us know over in our [forum](https://forum.builder.io)!
Loading

0 comments on commit b29b326

Please sign in to comment.