{"id":15283990,"url":"https://github.com/shipshapecode/ember-cli-netlify","last_synced_at":"2025-04-12T23:20:45.654Z","repository":{"id":38272577,"uuid":"123605591","full_name":"shipshapecode/ember-cli-netlify","owner":"shipshapecode","description":"Ember addon to configure Netlify headers and redirects","archived":false,"fork":false,"pushed_at":"2023-03-04T03:17:01.000Z","size":2522,"stargazers_count":15,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T18:57:03.095Z","etag":null,"topics":["ember","ember-addon","emberjs","netlify"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shipshapecode.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-02T16:51:47.000Z","updated_at":"2024-05-30T03:03:24.000Z","dependencies_parsed_at":"2024-06-18T21:45:40.767Z","dependency_job_id":"0787ac92-110f-433a-994a-8efd449350a6","html_url":"https://github.com/shipshapecode/ember-cli-netlify","commit_stats":{"total_commits":57,"total_committers":5,"mean_commits":11.4,"dds":"0.49122807017543857","last_synced_commit":"a57964bdc7c1f0b90e8883316a1c845e9da163fa"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shipshapecode%2Fember-cli-netlify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shipshapecode%2Fember-cli-netlify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shipshapecode%2Fember-cli-netlify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shipshapecode%2Fember-cli-netlify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shipshapecode","download_url":"https://codeload.github.com/shipshapecode/ember-cli-netlify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248644026,"owners_count":21138544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ember","ember-addon","emberjs","netlify"],"created_at":"2024-09-30T14:48:32.291Z","updated_at":"2025-04-12T23:20:45.634Z","avatar_url":"https://github.com/shipshapecode.png","language":"JavaScript","readme":"ember-cli-netlify\n==============================================================================\n\n\u003ca href=\"https://shipshape.io/\"\u003e\u003cimg src=\"http://i.imgur.com/DWHQjA5.png\" alt=\"Ship Shape\" width=\"100\" height=\"100\"/\u003e\u003c/a\u003e\n\n**[ember-cli-netlify is built and maintained by Ship Shape. Contact us for Ember.js consulting, development, and training for your project](https://shipshape.io/ember-consulting/)**.\n\n[![npm version](https://badge.fury.io/js/ember-cli-netlify.svg)](http://badge.fury.io/js/ember-cli-netlify)\n![Download count all time](https://img.shields.io/npm/dt/ember-cli-netlify.svg)\n[![npm](https://img.shields.io/npm/dm/ember-cli-netlify.svg)]()\n[![Ember Observer Score](http://emberobserver.com/badges/ember-cli-netlify.svg)](http://emberobserver.com/addons/ember-cli-netlify)\n[![Build Status](https://travis-ci.org/shipshapecode/ember-cli-netlify.svg)](https://travis-ci.org/shipshapecode/ember-cli-netlify)\n\nThis addon allows you to configure your Netlify headers and redirects.\n\n\nCompatibility\n------------------------------------------------------------------------------\n\n* Ember.js v3.12 or above\n* Ember CLI v2.13 or above\n* Node.js v10 or above\n\n\nInstallation\n------------------------------------------------------------------------------\n\n```\nember install ember-cli-netlify\n```\n\nUsage\n------------------------------------------------------------------------------\n\n### .netlifyheaders and/or .netlifyredirects\n\nThere are a few ways to use this addon. The first one is to define a `.netlifyheaders` \nand/or a `.netlifyredirects` file in the root of your project and this\naddon will copy the output to `dist/_headers` and `dist/_redirects` respectively.\n\n### ember-cli-build.js\n\nThe second way is to define an `ember-cli-netlify` hash in your `ember-cli-build.js`.\nYou can combine these methods, and anything defined in the config hash will be\nappended to the existing files. Currently, only redirects are supported, not headers.\n\n```js\n'ember-cli-netlify': {\n  redirects: [\n    'https://blog.shipshape.io/* https://shipshape.io/blog/:splat 301!',\n    'https://blog.shipshape.io/* https://shipshape.io/blog/:splat 301!'\n  ]\n}\n```\n\n### Using in an addon\n\nThe final option, for addon authors, is to declare redirects for ember-cli-netlify during compilation. \nTo do so, you will want to:\n\n* Add `\"ember-cli-netlify-plugin\"` to your addon's package.json keywords array.\n* Define a `netlifyRedirects()` function in your addon's main file, that returns an array of redirects.\n* Advise your addon's users to install \u0026 configure `ember-cli-netlify` in the host application.\n\n\nContributing\n------------------------------------------------------------------------------\n\nSee the [Contributing](CONTRIBUTING.md) guide for details.\n\n\nLicense\n------------------------------------------------------------------------------\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshipshapecode%2Fember-cli-netlify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshipshapecode%2Fember-cli-netlify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshipshapecode%2Fember-cli-netlify/lists"}