Wq-create

Latest version: v1.3.0b1

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

1.3

wq.start 1.3 | wq.app 1.3 & 2.0 (future)

1.3.0b1

**wq.create 1.3.0b1** is the beta of the next version of wq.create (formerly wq.start), as part of the [wq 1.3 beta](https://github.com/wq/wq/releases/v1.3.0b1) release. The beta builds on [wq.start 1.3 alpha](https://github.com/wq/wq.create/releases/v1.3.0a1) with the following improvements.

Improved wq.app integration
* New [wq/rollup-plugin](https://wq.io/wq/rollup-plugin) package to support lightweight builds for reusable apps (45a5b5b)
* Update imports to track wq/mapbox => [wq/map-gl](https://wq.io/wq/map-gl) rename (wq/wq.app#128)
* Update default extent to track [wq/map](https://wq.io/wq/map) coordinate order change from [lat, lng] to [lng, lat] (fee29c2)
* When using `npm start` with [wq/cra-template](https://wq.io/wq/cra-template), requests are proxied to the local `./manage.py runserver` instance (429f34e)

Improved wq.db integration
* Auto-regenerate data/config.js on startup (see wq/wq.app120)
* Fix database engine name in settings/prod.py (e545fe7)

Other Changes
* Rename package from wq.start to wq.create. Similarly, the `wq start` command is now `wq create`. (c8f10ce)
* Allow specifying site title via `wq create` (954c4ce)
* Move to Github Actions (c3a86c9)

1.3.0a1

**wq.start 1.3 alpha** is a preview of the next version of wq.start, as part of the [wq 1.3 alpha](https://github.com/wq/wq/releases/v1.3.0a1) release. Most of the the changes are described in the release notes for [wq-django-template 1.3 alpha](https://github.com/wq/wq-django-template/releases/v1.3.0a1). In addition, the following commands have changed (c68524f):

* `wq start` no longer accepts the `--with-pgb` or `--app-id` options, as PhoneGap Build support is deprecated (see wq/wq.app121).
* `wq start --with-npm` now calls `npx create-react-app [name] --template wq` internally. Thus, the `--skip-npm-install` option is no longer supported.
* `wq addform` still works to generate a Django app from an XLSForm, but it will not generate corresponding Mustache templates unless the project was created with wq.start 1.2 or earlier.
* `wq maketemplates` is deprecated and will be removed in wq.start 2.0.

While new projects created with `wq start` no longer use these features, wq.app will continue to support them until version 2.0. The compatibility table is as follows:

Projects generated with... | ...are compatible with
--|--

1.2.1

**wq.start 1.2.1** includes updates to [xlsconv](https://github.com/wq/xlsform-converter/releases/tag/v1.2.0) and [wq-django-template](https://github.com/wq/wq-django-template/releases/tag/v1.2.1) that fix various action buttons that cannot use `require()` in npm-based projects (#6).

1.2.0

**wq.start 1.2.0** incorporates [wq-django-template 1.2.0](https://github.com/wq/wq-django-template/releases/tag/v1.2.0) and introduces another command-line flag, `--with-pgb/--without-pgb`, which controls whether PhoneGap Build integration is included in the generated project.

1.2.0b1

**wq.start 1.2.0b1** introduces a new command-line flag, `--with-npm/--without-npm`, that toggles an alternative project layout based on [Create React App (CRA)](https://create-react-app.dev/) (see wq/wq#44). Other template changes are documented in the release notes for [wq-django-template 1.2 beta](https://github.com/wq/wq-django-template/releases/v1.2.0b1).

Since the number of potentially useful flags is increasing, the `wq start` command now includes an interactive mode that prompts for each choice if not provided explicitly. Type `wq start` without any arguments to go through the full process.

bash
Interactive
> wq start
Project codename: myapp
Directory [./myapp/]:
Web domain [myapp.example.org]:
Application Bundle ID [org.example.myapp]:
Enable GIS? (Requires PostGIS or SpatialLite) [y/N]: y
Enable NPM / Create React App? (Requires Node.js) [y/N]: y

Project "myapp" created successfully in ./myapp/ with GIS and NPM support.
Run npm install now? [y/N]: y
^C

One-line
> wq start myapp ./myapp -d myapp.example.org -i org.example.myapp --with-gis --with-npm --npm-install

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.