Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
design-system-leo
Advanced tools
Framer Bridge is a suite of tools:
This repository links together folder backed Framer projects with the Framer CLI and GitHub actions/CircleCI/Travis CI for an easy package publication flow.
Important: This project uses Shared Colors, a feature only available in Framer X26 or higher.
yarn
to install dependenciesInside the repository directory, you will find two key folders:
design-system
: contains example production components. Typically, this design system is consumed by multiple projects.design-system.framerfx
: a folder backed project that imports the components from design-system
and (optionally) adds interface properties to use in Framer. This is the project that gets published to the Framer store.From here, you can continue modifying the existing design-system.framerfx
file. If you edit any of the components in design-system
, they will automatically get updated in Framer too.
If you want to import your own design system, you can replace both files with your own. Make sure that your Framer project is folder backed.
npx framer-cli authenticate <your-framer-account-email>
env FRAMER_TOKEN=<token> npx framer-cli publish <package-name.framerfx> --new="<Display Name>"
If you have access to the GitHub actions beta, you can use this repository to automate the deployment of your Framer package to the store without needing any external services.
Modify the args
property in the Build
and Publish
actions inside .github/workflows/publish.yml
with the path of your Framer package, eg:
on:
push:
branches: master
name: Build and publish
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Build
uses: framer/bridge@master
with:
args: build design-system.framerfx
- name: Publish
uses: framer/bridge@master
env:
FRAMER_TOKEN: ${{ secrets.FRAMER_TOKEN }}
with:
args: publish design-system.framerfx --yes
In GitHub, navigate to the forked repository, and under your repository name, click Settings. Then, click Secrets in the left sidebar, and add the FRAMER_TOKEN
secret.
Push a commit to the master
branch and watch as the GitHub actions pick up the commit, build the package, publish it to the Framer Store.
As an example of integrating framer-cli
with an external CI service, there is a small CircleCI configuration and Travis CI configuration included in this repository that publishes the given package to the Framer store every time a commit is made to the master
branch.
To integrate with CircleCI:
Add the FRAMER_TOKEN
environment variable in the CI project settings.
Update the .circleci/config.yml
with your project path, e.g.:
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
publish:
docker:
- image: circleci/node:10
working_directory: ~/repo
steps:
- checkout
- run: yarn
- run: npx framer-cli publish <your-project-path.framerfx> --yes
workflows:
version: 2
publish:
jobs:
- build
- publish:
filters:
branches:
only: master
Publish a brand new version of your package to the Framer store by pushing a commit on the master
branch.
To integrate with Travis CI:
Add the FRAMER_TOKEN
environment variable in the CI project settings.
Update the .travis.yml
with your project path, e.g.:
language: node_js
node_js:
- 10.15.3
jobs:
include:
- stage: build
name: "Build"
if: branch = master
script:
- yarn
- npx framer-cli build <your-project-path.framerfx>
- stage: publish
name: "Publish"
if: branch = master
script:
- yarn
- npx framer-cli publish <your-project-path.framerfx> --yes
Publish a brand new version of your package to the Framer store by pushing a commit on the master
branch.
FAQs
Framer Bridge is a suite of tools:
We found that design-system-leo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.