adonis-ally-figma
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Adonis Ally Figma Driver

NPM version

A Figma driver for AdonisJS Ally

Getting started

1. Install the package

Install the package from your command line.

npm install --save adonis-ally-figma

or

yarn add adonis-ally-figma

2. Configure the package

node ace configure adonis-ally-figma

3. Validate environment variables

FIGMA_CLIENT_ID: Env.schema.string(),
FIGMA_CLIENT_SECRET: Env.schema.string(),

4. Add variables to your ally configuration

const allyConfig: AllyConfig = {
  // ... other drivers
  figma: {
    driver: 'figma',
    clientId: Env.get('FIGMA_CLIENT_ID'),
    clientSecret: Env.get('FIGMA_CLIENT_SECRET'),
    callbackUrl: 'http://localhost:3333/figma/callback',
  },
}

How it works

You can learn more about AdonisJS Ally in the documentation. And learn about the implementation in the ally-driver-boilerplate repository.

Contributing

  1. Fork the repo
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'feat: Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i adonis-ally-figma

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

21.5 kB

Total Files

13

Last publish

Collaborators

  • phicoder