Skip to content

Commit

Permalink
chore: deprecates @dfinity/authentication (#661)
Browse files Browse the repository at this point in the history
* deprecates @dfinity/authentication and moves isDelegationValid check to @dfinity/identity

* deprecates identity-ledgerhq

* removes name field from jest configs

* deprecation instructions

* removes ledgerhq demo
  • Loading branch information
krpeacock committed Dec 6, 2022
1 parent 545fb13 commit eb69390
Show file tree
Hide file tree
Showing 52 changed files with 292 additions and 2,665 deletions.
11 changes: 11 additions & 0 deletions README.md
Expand Up @@ -66,6 +66,17 @@ Until we have an internal process and centrally owned canister, docs can be rele

Note - you may need to ask to be added as a controller for the wallet that owns the docs until this job is moved to CI

### Deprecation

We retain deprecated packages in the packages directory for historical purposes. To deprecate a package, follow these steps

- Remove all contents except the package.json, license, and readme
- Add a note to the README saying `**Warning** this package is deprecated`
- Remove unnecessary content, dependencies, and metadata from the package.json
- add a `"deprecation"` tag to the package.json with instructions you want users to follow in migrating
- remove the package as a workspace from the root `package.json`
- the next time that agent-js releases, manually publish a new version of newly deprecated packages by incrementing the patch version and running `npm publish`

### GitHub Actions

GitHub Actions for this repo are configured in [./.github/workflows](./.github/workflows).
Expand Down
1 change: 0 additions & 1 deletion demos/ledgerhq/.gitignore

This file was deleted.

9 changes: 0 additions & 9 deletions demos/ledgerhq/README.md

This file was deleted.

36 changes: 0 additions & 36 deletions demos/ledgerhq/package.json

This file was deleted.

163 changes: 0 additions & 163 deletions demos/ledgerhq/src/index.html

This file was deleted.

105 changes: 0 additions & 105 deletions demos/ledgerhq/src/main.js

This file was deleted.

57 changes: 0 additions & 57 deletions demos/ledgerhq/webpack.config.js

This file was deleted.

0 comments on commit eb69390

Please sign in to comment.