From f4bff143a2d2f433f70d1a679e54c3bffb35b124 Mon Sep 17 00:00:00 2001 From: Gogs Date: Wed, 2 Jun 2021 23:37:15 +0200 Subject: [PATCH] Initial commit --- .gitignore | 1 + .prettierignore | 1 + .prettierrc | 11 +++ .vscode/settings.json | 17 +++++ Plugin.php | 20 ++++++ config/config.php | 25 +++++++ controllers/AircraftManufacturers.php | 17 +++++ controllers/AircraftTypes.php | 17 +++++ .../aircraftmanufacturers/_list_toolbar.htm | 18 +++++ .../aircraftmanufacturers/config_form.yaml | 10 +++ .../aircraftmanufacturers/config_list.yaml | 12 ++++ controllers/aircraftmanufacturers/create.htm | 46 +++++++++++++ controllers/aircraftmanufacturers/index.htm | 1 + controllers/aircraftmanufacturers/preview.htm | 22 ++++++ controllers/aircraftmanufacturers/update.htm | 54 +++++++++++++++ controllers/aircrafttypes/_list_toolbar.htm | 18 +++++ controllers/aircrafttypes/config_form.yaml | 10 +++ controllers/aircrafttypes/config_list.yaml | 12 ++++ controllers/aircrafttypes/create.htm | 46 +++++++++++++ controllers/aircrafttypes/index.htm | 1 + controllers/aircrafttypes/preview.htm | 22 ++++++ controllers/aircrafttypes/update.htm | 54 +++++++++++++++ lang/en/lang.php | 13 ++++ models/AircraftManufacturer.php | 27 ++++++++ models/AircraftType.php | 31 +++++++++ models/aircraftmanufacturer/columns.yaml | 18 +++++ models/aircraftmanufacturer/fields.yaml | 14 ++++ models/aircrafttype/columns.yaml | 67 +++++++++++++++++++ models/aircrafttype/fields.yaml | 7 ++ models/aircrafttypes/fields.yaml | 7 ++ package.json | 15 +++++ plugin.yaml | 6 ++ ...er_table_create_aircraft_manufacturers.php | 26 +++++++ .../builder_table_create_aircraft_types.php | 45 +++++++++++++ updates/version.yaml | 7 ++ yarn.lock | 52 ++++++++++++++ 36 files changed, 770 insertions(+) create mode 100644 .gitignore create mode 100644 .prettierignore create mode 100644 .prettierrc create mode 100644 .vscode/settings.json create mode 100644 Plugin.php create mode 100644 config/config.php create mode 100644 controllers/AircraftManufacturers.php create mode 100644 controllers/AircraftTypes.php create mode 100644 controllers/aircraftmanufacturers/_list_toolbar.htm create mode 100644 controllers/aircraftmanufacturers/config_form.yaml create mode 100644 controllers/aircraftmanufacturers/config_list.yaml create mode 100644 controllers/aircraftmanufacturers/create.htm create mode 100644 controllers/aircraftmanufacturers/index.htm create mode 100644 controllers/aircraftmanufacturers/preview.htm create mode 100644 controllers/aircraftmanufacturers/update.htm create mode 100644 controllers/aircrafttypes/_list_toolbar.htm create mode 100644 controllers/aircrafttypes/config_form.yaml create mode 100644 controllers/aircrafttypes/config_list.yaml create mode 100644 controllers/aircrafttypes/create.htm create mode 100644 controllers/aircrafttypes/index.htm create mode 100644 controllers/aircrafttypes/preview.htm create mode 100644 controllers/aircrafttypes/update.htm create mode 100644 lang/en/lang.php create mode 100644 models/AircraftManufacturer.php create mode 100644 models/AircraftType.php create mode 100644 models/aircraftmanufacturer/columns.yaml create mode 100644 models/aircraftmanufacturer/fields.yaml create mode 100644 models/aircrafttype/columns.yaml create mode 100644 models/aircrafttype/fields.yaml create mode 100644 models/aircrafttypes/fields.yaml create mode 100644 package.json create mode 100644 plugin.yaml create mode 100644 updates/builder_table_create_aircraft_manufacturers.php create mode 100644 updates/builder_table_create_aircraft_types.php create mode 100644 updates/version.yaml create mode 100644 yarn.lock diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c3629e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..5657f6e --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +vendor \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..2a038b8 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,11 @@ +{ + "printWidth": 120, + "tabWidth": 2, + "singleQuote": true, + + "semi": true, + "trailingComma": "es5", + "arrowParens": "always", + + "phpVersion": "7.1" +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..4ad0103 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,17 @@ +{ + "editor.formatOnSave": true, + "editor.defaultFormatter": "esbenp.prettier-vscode", + "[php]": + { + "editor.formatOnSave": true, + "editor.defaultFormatter": "esbenp.prettier-vscode", + }, + "search.exclude": { + "**/vendor": true, + "**/node_modules": true, + "yarn.lock": true, + "package.json": true, + "tsconfig.json": true, + ".*": true, + }, +} \ No newline at end of file diff --git a/Plugin.php b/Plugin.php new file mode 100644 index 0000000..61148fd --- /dev/null +++ b/Plugin.php @@ -0,0 +1,20 @@ + [ + 'driver' => 'mysql', + 'url' => env('DATABASE_URL'), + 'host' => env('DB_HOST', '127.0.0.1'), + 'port' => env('DB_PORT', '3306'), + 'database' => 'germanairlinesva_fleet', + 'username' => env('DB_USERNAME', 'root'), + 'password' => env('DB_PASSWORD', ''), + 'unix_socket' => env('DB_SOCKET', ''), + 'charset' => 'utf8mb4', + 'collation' => 'utf8mb4_unicode_ci', + 'prefix' => '', + 'prefix_indexes' => true, + 'strict' => true, + 'engine' => 'InnoDB', + 'options' => extension_loaded('pdo_mysql') + ? array_filter([ + PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), + ]) + : [], + ], +]; diff --git a/controllers/AircraftManufacturers.php b/controllers/AircraftManufacturers.php new file mode 100644 index 0000000..cb0d540 --- /dev/null +++ b/controllers/AircraftManufacturers.php @@ -0,0 +1,17 @@ + + + + diff --git a/controllers/aircraftmanufacturers/config_form.yaml b/controllers/aircraftmanufacturers/config_form.yaml new file mode 100644 index 0000000..2a19b6b --- /dev/null +++ b/controllers/aircraftmanufacturers/config_form.yaml @@ -0,0 +1,10 @@ +name: AircraftManufacturers +form: $/germanairlinesva/fleet/models/aircraftmanufacturer/fields.yaml +modelClass: GermanAirlinesVa\Fleet\Models\AircraftManufacturer +defaultRedirect: germanairlinesva/fleet/aircraftmanufacturers +create: + redirect: 'germanairlinesva/fleet/aircraftmanufacturers/update/:id' + redirectClose: germanairlinesva/fleet/aircraftmanufacturers +update: + redirect: germanairlinesva/fleet/aircraftmanufacturers + redirectClose: germanairlinesva/fleet/aircraftmanufacturers diff --git a/controllers/aircraftmanufacturers/config_list.yaml b/controllers/aircraftmanufacturers/config_list.yaml new file mode 100644 index 0000000..0ca23b3 --- /dev/null +++ b/controllers/aircraftmanufacturers/config_list.yaml @@ -0,0 +1,12 @@ +list: $/germanairlinesva/fleet/models/aircraftmanufacturer/columns.yaml +modelClass: GermanAirlinesVa\Fleet\Models\AircraftManufacturer +title: AircraftManufacturers +noRecordsMessage: 'backend::lang.list.no_records' +showSetup: true +showCheckboxes: true +recordsPerPage: 20 +toolbar: + buttons: list_toolbar + search: + prompt: 'backend::lang.list.search_prompt' +recordUrl: 'germanairlinesva/fleet/aircraftmanufacturers/update/:id' diff --git a/controllers/aircraftmanufacturers/create.htm b/controllers/aircraftmanufacturers/create.htm new file mode 100644 index 0000000..98cff61 --- /dev/null +++ b/controllers/aircraftmanufacturers/create.htm @@ -0,0 +1,46 @@ + + + + +fatalError): ?> + + 'layout']) ?> + +
+ formRender() ?> +
+ +
+
+ + + + + +
+
+ + + + +

fatalError)) ?>

+

+ \ No newline at end of file diff --git a/controllers/aircraftmanufacturers/index.htm b/controllers/aircraftmanufacturers/index.htm new file mode 100644 index 0000000..ea43a36 --- /dev/null +++ b/controllers/aircraftmanufacturers/index.htm @@ -0,0 +1 @@ +listRender() ?> diff --git a/controllers/aircraftmanufacturers/preview.htm b/controllers/aircraftmanufacturers/preview.htm new file mode 100644 index 0000000..972530f --- /dev/null +++ b/controllers/aircraftmanufacturers/preview.htm @@ -0,0 +1,22 @@ + + + + +fatalError): ?> + +
+ formRenderPreview() ?> +
+ + +

fatalError) ?>

+ + +

+ + + +

\ No newline at end of file diff --git a/controllers/aircraftmanufacturers/update.htm b/controllers/aircraftmanufacturers/update.htm new file mode 100644 index 0000000..d550e64 --- /dev/null +++ b/controllers/aircraftmanufacturers/update.htm @@ -0,0 +1,54 @@ + + + + +fatalError): ?> + + 'layout']) ?> + +
+ formRender() ?> +
+ +
+
+ + + + + + + +
+
+ + + +

fatalError)) ?>

+

+ \ No newline at end of file diff --git a/controllers/aircrafttypes/_list_toolbar.htm b/controllers/aircrafttypes/_list_toolbar.htm new file mode 100644 index 0000000..550ad6e --- /dev/null +++ b/controllers/aircrafttypes/_list_toolbar.htm @@ -0,0 +1,18 @@ +
+ + +
diff --git a/controllers/aircrafttypes/config_form.yaml b/controllers/aircrafttypes/config_form.yaml new file mode 100644 index 0000000..a6820d5 --- /dev/null +++ b/controllers/aircrafttypes/config_form.yaml @@ -0,0 +1,10 @@ +name: AircraftTypes +form: $/germanairlinesva/fleet/models/aircrafttype/fields.yaml +modelClass: GermanAirlinesVa\Fleet\Models\AircraftType +defaultRedirect: germanairlinesva/fleet/aircrafttypes +create: + redirect: 'germanairlinesva/fleet/aircrafttypes/update/:id' + redirectClose: germanairlinesva/fleet/aircrafttypes +update: + redirect: germanairlinesva/fleet/aircrafttypes + redirectClose: germanairlinesva/fleet/aircrafttypes diff --git a/controllers/aircrafttypes/config_list.yaml b/controllers/aircrafttypes/config_list.yaml new file mode 100644 index 0000000..8744d30 --- /dev/null +++ b/controllers/aircrafttypes/config_list.yaml @@ -0,0 +1,12 @@ +list: $/germanairlinesva/fleet/models/aircrafttype/columns.yaml +modelClass: GermanAirlinesVa\Fleet\Models\AircraftType +title: AircraftTypes +noRecordsMessage: 'backend::lang.list.no_records' +showSetup: true +showCheckboxes: true +recordsPerPage: 20 +toolbar: + buttons: list_toolbar + search: + prompt: 'backend::lang.list.search_prompt' +recordUrl: 'germanairlinesva/fleet/aircrafttypes/update/:id' diff --git a/controllers/aircrafttypes/create.htm b/controllers/aircrafttypes/create.htm new file mode 100644 index 0000000..1a9bf38 --- /dev/null +++ b/controllers/aircrafttypes/create.htm @@ -0,0 +1,46 @@ + + + + +fatalError): ?> + + 'layout']) ?> + +
+ formRender() ?> +
+ +
+
+ + + + + +
+
+ + + + +

fatalError)) ?>

+

+ \ No newline at end of file diff --git a/controllers/aircrafttypes/index.htm b/controllers/aircrafttypes/index.htm new file mode 100644 index 0000000..ea43a36 --- /dev/null +++ b/controllers/aircrafttypes/index.htm @@ -0,0 +1 @@ +listRender() ?> diff --git a/controllers/aircrafttypes/preview.htm b/controllers/aircrafttypes/preview.htm new file mode 100644 index 0000000..17be2ef --- /dev/null +++ b/controllers/aircrafttypes/preview.htm @@ -0,0 +1,22 @@ + + + + +fatalError): ?> + +
+ formRenderPreview() ?> +
+ + +

fatalError) ?>

+ + +

+ + + +

\ No newline at end of file diff --git a/controllers/aircrafttypes/update.htm b/controllers/aircrafttypes/update.htm new file mode 100644 index 0000000..b28bc62 --- /dev/null +++ b/controllers/aircrafttypes/update.htm @@ -0,0 +1,54 @@ + + + + +fatalError): ?> + + 'layout']) ?> + +
+ formRender() ?> +
+ +
+
+ + + + + + + +
+
+ + + +

fatalError)) ?>

+

+ \ No newline at end of file diff --git a/lang/en/lang.php b/lang/en/lang.php new file mode 100644 index 0000000..4a31790 --- /dev/null +++ b/lang/en/lang.php @@ -0,0 +1,13 @@ + [ + 'name' => 'Fleet', + 'description' => '', + ], + 'aircraft' => [ + 'manufacturers' => [ + 'name' => 'Name', + 'link' => 'Link', + 'history' => 'History', + ], + ], +]; diff --git a/models/AircraftManufacturer.php b/models/AircraftManufacturer.php new file mode 100644 index 0000000..f9208f6 --- /dev/null +++ b/models/AircraftManufacturer.php @@ -0,0 +1,27 @@ + 'GermanAirlinesVa\Fleet\Models\AircraftManufacturer', + ]; +} diff --git a/models/aircraftmanufacturer/columns.yaml b/models/aircraftmanufacturer/columns.yaml new file mode 100644 index 0000000..a4d3217 --- /dev/null +++ b/models/aircraftmanufacturer/columns.yaml @@ -0,0 +1,18 @@ +columns: + id: + label: id + type: text + name: + label: name + type: text + searchable: true + sortable: true + history: + label: history + type: text + searchable: false + link: + label: link + type: text + searchable: false + sortable: false diff --git a/models/aircraftmanufacturer/fields.yaml b/models/aircraftmanufacturer/fields.yaml new file mode 100644 index 0000000..1742274 --- /dev/null +++ b/models/aircraftmanufacturer/fields.yaml @@ -0,0 +1,14 @@ +fields: + name: + label: 'germanairlinesva.fleet::lang.aircraft.manufacturers.name' + span: auto + type: text + link: + label: 'germanairlinesva.fleet::lang.aircraft.manufacturers.link' + span: auto + type: text + history: + label: 'germanairlinesva.fleet::lang.aircraft.manufacturers.history' + size: '' + span: auto + type: textarea diff --git a/models/aircrafttype/columns.yaml b/models/aircrafttype/columns.yaml new file mode 100644 index 0000000..98038d6 --- /dev/null +++ b/models/aircrafttype/columns.yaml @@ -0,0 +1,67 @@ +columns: + id: + label: id + type: text + aircraft_manufacturers_id: + label: aircraft_manufacturers_id + type: number + typerating_id: + label: typerating_id + type: number + type: + label: type + type: text + description: + label: description + type: text + simbrief_type: + label: simbrief_type + type: text + wingspan: + label: wingspan + type: text + length: + label: length + type: text + cruise_speed: + label: cruise_speed + type: text + range: + label: range + type: text + engines: + label: engines + type: text + dom: + label: dom + type: number + mpld: + label: mpld + type: number + mzfm: + label: mzfm + type: number + fuel_capacity: + label: fuel_capacity + type: number + mtom: + label: mtom + type: number + mlam: + label: mlam + type: number + max_fl: + label: max_fl + type: number + capacity_flight_crew: + label: capacity_flight_crew + type: number + capacity_cabin_crew: + label: capacity_cabin_crew + type: number + capacity_passengers: + label: capacity_passengers + type: number + capacity_cargo: + label: capacity_cargo + type: number diff --git a/models/aircrafttype/fields.yaml b/models/aircrafttype/fields.yaml new file mode 100644 index 0000000..55e241c --- /dev/null +++ b/models/aircrafttype/fields.yaml @@ -0,0 +1,7 @@ +fields: + aircraft_manufacturer: + label: Relation + nameFrom: name + descriptionFrom: description + span: auto + type: relation diff --git a/models/aircrafttypes/fields.yaml b/models/aircrafttypes/fields.yaml new file mode 100644 index 0000000..e972d33 --- /dev/null +++ b/models/aircrafttypes/fields.yaml @@ -0,0 +1,7 @@ +fields: + manufacturer: + label: Relation + nameFrom: name + descriptionFrom: description + span: auto + type: relation diff --git a/package.json b/package.json new file mode 100644 index 0000000..4919751 --- /dev/null +++ b/package.json @@ -0,0 +1,15 @@ +{ + "name": "graphql", + "version": "1.0.0", + "main": "Plugin.php", + "repository": "https://git.hofmannnet.myhome-server.de/GermanAirlines/GermanAirlinesVA-GraphQL.git", + "author": "German Airlines VA", + "license": "MIT", + "devDependencies": { + "@prettier/plugin-php": "^0.16.3", + "prettier": "^2.3.0" + }, + "scripts": { + "format": "prettier --write './**/*.{php,html}'" + } +} diff --git a/plugin.yaml b/plugin.yaml new file mode 100644 index 0000000..cfc39bf --- /dev/null +++ b/plugin.yaml @@ -0,0 +1,6 @@ +plugin: + name: 'germanairlinesva.fleet::lang.plugin.name' + description: 'germanairlinesva.fleet::lang.plugin.description' + author: 'German Airlines VA' + icon: oc-icon-plane + homepage: '' diff --git a/updates/builder_table_create_aircraft_manufacturers.php b/updates/builder_table_create_aircraft_manufacturers.php new file mode 100644 index 0000000..58ae390 --- /dev/null +++ b/updates/builder_table_create_aircraft_manufacturers.php @@ -0,0 +1,26 @@ +create('ga_aircraft_manufacturers', function ($table) { + //Schema::create('ga_aircraft_manufacturers', function ($table) { + $table->engine = 'InnoDB'; + $table->bigIncrements('id')->unsigned(); + $table->string('name'); + $table->text('history'); + $table->string('link'); + }); + } + + public function down() + { + Schema::connection('germanairlinesva_fleet')->dropIfExists('ga_aircraft_manufacturers'); + //Schema::dropIfExists('ga_aircraft_manufacturers'); + } +} diff --git a/updates/builder_table_create_aircraft_types.php b/updates/builder_table_create_aircraft_types.php new file mode 100644 index 0000000..77fb39a --- /dev/null +++ b/updates/builder_table_create_aircraft_types.php @@ -0,0 +1,45 @@ +create('ga_aircraft_types', function ($table) { + //Schema::create('ga_aircraft_types', function ($table) { + $table->engine = 'InnoDB'; + $table->bigIncrements('id')->unsigned(); + $table->bigInteger('aircraft_manufacturer_id')->unsigned(); + $table->bigInteger('typerating_id')->unsigned(); + $table->enum('only_charter', ['yes', 'no']); + $table->string('type'); + $table->text('description'); + $table->string('simbrief_type'); + $table->string('wingspan'); + $table->string('length'); + $table->string('cruise_speed'); + $table->string('range'); + $table->string('engines'); + $table->integer('dom')->unsigned(); + $table->integer('mpld')->unsigned(); + $table->integer('mzfm')->unsigned(); + $table->integer('fuel_capacity')->unsigned(); + $table->integer('mtom')->unsigned(); + $table->integer('mlam')->unsigned(); + $table->integer('max_fl')->unsigned(); + $table->integer('capacity_flight_crew')->unsigned(); + $table->integer('capacity_cabin_crew')->unsigned(); + $table->integer('capacity_passengers')->unsigned(); + $table->integer('capacity_cargo')->unsigned(); + }); + } + + public function down() + { + Schema::connection('germanairlinesva_fleet')->dropIfExists('ga_aircraft_types'); + //Schema::dropIfExists('ga_aircraft_types'); + } +} diff --git a/updates/version.yaml b/updates/version.yaml new file mode 100644 index 0000000..24273b8 --- /dev/null +++ b/updates/version.yaml @@ -0,0 +1,7 @@ +1.0.1: + - 'Initialize plugin.' +1.0.2: + - 'Created table aircraft_manufacturers' + - builder_table_create_aircraft_manufacturers.php + - 'Created table aircraft_types' + - builder_table_create_aircraft_types.php diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000..c7729da --- /dev/null +++ b/yarn.lock @@ -0,0 +1,52 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@prettier/plugin-php@^0.16.3": + version "0.16.3" + resolved "https://registry.yarnpkg.com/@prettier/plugin-php/-/plugin-php-0.16.3.tgz#74867210079ba3c0c3ae843029d76e25ff0aadf3" + integrity sha512-DNidzeGpP+/wmcCAZNSHxgoAnhEosYG+no4jJRqln19e1o3Okpuir/2JMxb07VCwdG50IWjtNgVwNPVl4uj0Hg== + dependencies: + linguist-languages "^7.5.1" + mem "^8.0.0" + php-parser "3.0.2" + +linguist-languages@^7.5.1: + version "7.15.0" + resolved "https://registry.yarnpkg.com/linguist-languages/-/linguist-languages-7.15.0.tgz#a93bed6b93015d8133622cb05da6296890862bfa" + integrity sha512-qkSSNDjDDycZ2Wcw+GziNBB3nNo3ddYUInM/PL8Amgwbd9RQ/BKGj2/1d6mdxKgBFnUqZuaDbkIwkE4KUwwmtQ== + +map-age-cleaner@^0.1.3: + version "0.1.3" + resolved "https://registry.yarnpkg.com/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz#7d583a7306434c055fe474b0f45078e6e1b4b92a" + integrity sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w== + dependencies: + p-defer "^1.0.0" + +mem@^8.0.0: + version "8.1.1" + resolved "https://registry.yarnpkg.com/mem/-/mem-8.1.1.tgz#cf118b357c65ab7b7e0817bdf00c8062297c0122" + integrity sha512-qFCFUDs7U3b8mBDPyz5EToEKoAkgCzqquIgi9nkkR9bixxOVOre+09lbuH7+9Kn2NFpm56M3GUWVbU2hQgdACA== + dependencies: + map-age-cleaner "^0.1.3" + mimic-fn "^3.1.0" + +mimic-fn@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-3.1.0.tgz#65755145bbf3e36954b949c16450427451d5ca74" + integrity sha512-Ysbi9uYW9hFyfrThdDEQuykN4Ey6BuwPD2kpI5ES/nFTDn/98yxYNLZJcgUAKPT/mcrLLKaGzJR9YVxJrIdASQ== + +p-defer@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c" + integrity sha1-n26xgvbJqozXQwBKfU+WsZaw+ww= + +php-parser@3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/php-parser/-/php-parser-3.0.2.tgz#a86dbbc110e57378cba71ab4cd9b0d18f3872ac3" + integrity sha512-a7y1+odEGsceLDLpu7oNyspZ0pK8FMWJOoim4/yd82AtnEZNLdCLZ67arnOQZ9K0lHJiSp4/7lVUpGELVxE14w== + +prettier@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.0.tgz#b6a5bf1284026ae640f17f7ff5658a7567fc0d18" + integrity sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==