Skip to content

Commit

Permalink
feat: add deprecation warning to use forest cli instead (#582)
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-moncel committed Jul 19, 2021
1 parent 63646dc commit 694f099
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
<img src="https://github.com/ForestAdmin/lumber/blob/master/assets/logo-forestadmin.png?raw=true" alt="Forest Admin logo">
</p>

> ⚠️ Lumber is now deprecated. Please use [Forest CLI](https://github.com/ForestAdmin/toolbelt) instead. ⚠️
Lumber is the CLI tool used to install [Forest Admin](https://www.forestadmin.com), the Admin Panel framework.
Forest Admin has been designed with scalability in mind to fit requirements from small projects to mature companies.

Expand Down
2 changes: 2 additions & 0 deletions lumber-generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ program
.parse(process.argv);

(async () => {
logger.warn('Lumber is now deprecated. Please use Forest CLI, https://github.com/ForestAdmin/toolbelt, instead.');

const { database } = context.inject();

eventSender.command = 'generate';
Expand Down
2 changes: 2 additions & 0 deletions lumber-update.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ const {
} = context.inject();

(async () => {
logger.warn('Lumber is now deprecated. Please use Forest CLI, https://github.com/ForestAdmin/toolbelt, instead.');

const options = {
dbSchema: env.DATABASE_SCHEMA,
appName: program.outputDirectory,
Expand Down

0 comments on commit 694f099

Please sign in to comment.