![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@golemio/cli
Advanced tools
Golemio CLI is a collection of executables intended to be used with Golemio projects and modules
Golemio CLI is a collection of executables intended to be used with Golemio projects and modules
$ cd my-project
# With Yarn
$ yarn add --dev @golemio/cli
# For Mongo support, run yarn add --dev install mongoose mongodb-restore-dump
# With npm
$ npm install --save-dev @golemio/cli
# For Mongo support, run npm install --save-dev mongoose mongodb-restore-dump
# Test it out
$ yarn golemio
$ npm exec golemio
# With Yarn
$ yarn global add @golemio/cli
# For Mongo support, run yarn global add mongoose mongodb-restore-dump
# With npm
$ npm install -g @golemio/cli
# For Mongo support, run npm install -g mongoose mongodb-restore-dump
# Test it out
$ golemio
Command | Description |
---|---|
golemio | Default command (welcome) |
golemio help | View available commands |
golemio migrate-db help | View available migration commands and flags |
golemio migrate-db create <name> | Create new migration scripts (--postgres or --mongo) |
golemio migrate-db up | Execute up migrations (--postgres and/or --mongo) |
golemio migrate-db down | Execute down migrations (--postgres and/or --mongo) |
golemio migrate-db reset | Reset all executed migrations (--postgres and/or --mongo) |
golemio import-db-data help | View available db data import commands and flags |
golemio import-db-data | Import db data (--postgres and/or --mongo) |
Variable | Example | Required |
---|---|---|
POSTGRES_CONN | postgres://oict:oict-pass@localhost/oict-test | :white_check_mark: (mdb and idd postgres) |
MONGO_CONN | mongodb://localhost:27017/oict-test | :white_check_mark: (mdb and idd mongo) |
POSTGRES_MIGRATIONS_DIR | db/migrations/postgresql (default) | :negative_squared_cross_mark: |
SQL_DUMP_FILES | db/example/*.sql | :white_check_mark: (idd postgres) |
MONGO_DATA_PATHS | db/example/**/mongo_data | :white_check_mark: (idd mongo) |
To set up your local development environment, install project dependencies and create .env file in the root of the project (see .env.template for reference)
$ yarn
$ cp .env.template .env
Now you can run the CLI in development mode, just type
$ ./bin/golemio.js
You don't need to compile the source code as the script automatically registers the ts-node loader in development mode
Unit tests are located at test/unit. You can run them by typing
$ yarn test-unit
Integration tests are located at test/integration. You can run them by typing
# Run local services, recommended
$ docker-compose up -d
$ yarn test-integration
[1.2.2] - 2022-05-02
FAQs
Collection of executables intended for use with Golemio services and modules
The npm package @golemio/cli receives a total of 675 weekly downloads. As such, @golemio/cli popularity was classified as not popular.
We found that @golemio/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers 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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.