Skip to content

Commit

Permalink
feat: change the naming of the package since the ownership has been t…
Browse files Browse the repository at this point in the history
…ransferred
  • Loading branch information
sneko committed Aug 6, 2024
1 parent f340407 commit ef25278
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ Prepare the minimal information:
Make sure to have [Node.js](https://nodejs.org/) installed and simply run:

```shell
npx figpot deps # required to have a 100% complete synchronization, if not wanted use `--no-hydrate` on the following command
npx figpot document synchronize -d CptbnRHeDv3pzOai91abcd:3d04e89b-bff0-8115-8004-bc14b0d50123
npx @betagouv/figpot deps # required to have a 100% complete synchronization, if not wanted use `--no-hydrate` on the following command
npx @betagouv/figpot document synchronize -d CptbnRHeDv3pzOai91abcd:3d04e89b-bff0-8115-8004-bc14b0d50123
```

The command will then ask you for tokens required to reach both Figma and Penpot. To avoid typing them each time, have a look at the `Usage > Advanced` section.
Expand Down Expand Up @@ -184,7 +184,7 @@ _If you feel confident that your Penpot file is not used as a dependency, you ma

## Contribute

If you didn't face a specific issue but you are willing to help, please have a look at the reported issues https://github.com/sneko/figpot/issues. I will do my best to address your work, but keep in mind the maintenance of this project is in my spare time or on the time of other contributors.
If you didn't face a specific issue but you are willing to help, please have a look at the reported issues https://github.com/betagouv/figpot/issues. I will do my best to address your work, but keep in mind the maintenance of this project is in my spare time or on the time of other contributors.

### Setup

Expand Down Expand Up @@ -226,14 +226,14 @@ If needed, you can reproduce a full `npm run cli document synchronize ...` comma
4. `npm run cli document debug set ...`
5. `npm run cli document hydrate ...`

[build-img]: https://github.com/sneko/figpot/actions/workflows/ci.yml/badge.svg?branch=main
[build-url]: https://github.com/sneko/figpot/actions/workflows/ci.yml
[build-img]: https://github.com/betagouv/figpot/actions/workflows/ci.yml/badge.svg?branch=main
[build-url]: https://github.com/betagouv/figpot/actions/workflows/ci.yml
[downloads-img]: https://img.shields.io/npm/dt/figpot
[downloads-url]: https://www.npmtrends.com/figpot
[npm-img]: https://img.shields.io/npm/v/figpot
[npm-url]: https://www.npmjs.com/package/figpot
[issues-img]: https://img.shields.io/github/issues/sneko/figpot
[issues-url]: https://github.com/sneko/figpot/issues
[issues-img]: https://img.shields.io/github/issues/betagouv/figpot
[issues-url]: https://github.com/betagouv/figpot/issues
[semantic-release-img]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
[semantic-release-url]: https://github.com/semantic-release/semantic-release
[commitizen-img]: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "figpot",
"name": "@betagouv/figpot",
"version": "0.0.0",
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/sneko/figpot.git"
"url": "git+https://github.com/betagouv/figpot.git"
},
"license": "MIT",
"publishConfig": {
Expand All @@ -19,7 +19,7 @@
"type": "module",
"module": "./dist/index.js",
"bin": {
"figpot": "./dist/cli/index.js"
"@betagouv/figpot": "./dist/cli/index.js"
},
"types": "./dist/index.d.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/cli/program.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { ensureAccessTokens, ensureCredentials } from '@figpot/src/utils/environ

export const program = new Command();

program.name('figpot').description('CLI to perform actions between Figma and Penpot').version('0.0.0');
program.name('@betagouv/figpot').description('CLI to perform actions between Figma and Penpot').version('0.0.0');

const deps = program.command('deps').description('install required dependencies to use the package');
const document = program.command('document').description('manage documents');
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export * from '@figpot/src/features/document';

//
// This package is more intented to be used through the CLI directly `npx figpot ...` instead
// This package is more intented to be used through the CLI directly `npx @betagouv/figpot ...` instead
// of imported to reuse functions, in the future we could add more exports
//

0 comments on commit ef25278

Please sign in to comment.