Skip to content

Commit

Permalink
⬆️ Ember-Cli 3.0...3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nadnoslen committed Apr 6, 2022
1 parent 3ede267 commit a246cff
Show file tree
Hide file tree
Showing 6 changed files with 144 additions and 125 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
**/*{.,-}min.js
/blueprints/*/files/**/*.js
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ module.exports = {
'ember-cli-build.js',
'index.js',
'testem.js',
'blueprints/*/index.js',
'config/**/*.js',
'tests/dummy/config/**/*.js'
],
Expand Down
81 changes: 29 additions & 52 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# ember-cli-date-textbox

[![npm version](http://badge.fury.io/js/ember-cli-date-textbox.svg)](http://badge.fury.io/js/ember-cli-date-textbox) ![downloads](https://img.shields.io/npm/dy/ember-cli-date-textbox.svg) [![CircleCI](http://circleci.com/gh/cybertoothca/ember-cli-date-textbox.svg?style=shield)](http://circleci.com/gh/cybertoothca/ember-cli-date-textbox) [![Code Climate](http://codeclimate.com/github/cybertoothca/ember-cli-date-textbox/badges/gpa.svg)](http://codeclimate.com/github/cybertoothca/ember-cli-date-textbox)
[![npm version](http://badge.fury.io/js/ember-cli-date-textbox.svg)](http://badge.fury.io/js/ember-cli-date-textbox) ![downloads](https://img.shields.io/npm/dy/ember-cli-date-textbox.svg) [![Code Climate](http://codeclimate.com/github/cybertoothca/ember-cli-date-textbox/badges/gpa.svg)](http://codeclimate.com/github/cybertoothca/ember-cli-date-textbox)

![Dependencies](http://david-dm.org/cybertoothca/ember-cli-date-textbox.svg) [![ember-observer-badge](http://emberobserver.com/badges/ember-cli-date-textbox.svg)](http://emberobserver.com/addons/ember-cli-date-textbox) [![License](http://img.shields.io/npm/l/ember-cli-date-textbox.svg)](LICENSE.md)
[![ember-observer-badge](http://emberobserver.com/badges/ember-cli-date-textbox.svg)](http://emberobserver.com/addons/ember-cli-date-textbox)

A textbox that will guess the date you want and assign it to your model or query-params.

Expand All @@ -14,12 +14,6 @@ The following will install this add-on:
ember install ember-cli-date-textbox
```

### Upgrading

When working through the Ember upgrade process, I recommend
invoking the `ember install ember-cli-date-textbox` command once
you are done to get the latest version of the add-on.

### JQuery

JQuery is still required as of 1.2.x of this addon.
Expand Down Expand Up @@ -208,27 +202,35 @@ in the form of a date that is swiftly parsed and formatted.

([Check out the demo...](http://ember-cli-date-textbox.cybertooth.io/))

### Troubleshooting And Tips

_None...at least that I can think of._

---

# Ember Add-on Building And Testing

## Setup

### Checkout

```bash
git clone git@github.com:cybertoothca/ember-cli-date-textbox.git
cd ember-cli-date-textbox
yarn install
```

### With Yarn
### Linting

```bash
yarn
```
- `yarn lint:js`
- `yarn lint:js -- --fix`

### Running tests

- `ember test` – Runs the test suite on the current Ember version
- `ember test --server` – Runs the test suite in "watch mode"
- `ember try:each` – Runs the test suite against multiple Ember versions

### Running the dummy application

- `ember serve`
- Visit the dummy application at [http://localhost:4200](http://localhost:4200).

For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).

## Running The Dummy Application

Expand All @@ -247,6 +249,14 @@ yarn

For more information on using ember-cli, visit [http://ember-cli.com/](http://ember-cli.com/).

```
ember install my-addon
```

# License

This project is licensed under the [MIT License](LICENSE.md).

# Linking This Add-on For Local Testing

## Linking
Expand Down Expand Up @@ -289,41 +299,8 @@ Confirm your changes are showing up in our S3 container: http://ember-cli-date-t
# Releasing & Publishing To NPM

```bash
npm version x.y.z-sub.#
yarn publish
git push
git push --tags
npm publish
ember deploy production
```

```
ember install my-addon
```

### Installation

- `git clone <repository-url>`
- `cd my-addon`
- `npm install`

### Linting

- `npm run lint:js`
- `npm run lint:js -- --fix`

### Running tests

- `ember test` – Runs the test suite on the current Ember version
- `ember test --server` – Runs the test suite in "watch mode"
- `npm test` – Runs `ember try:each` to test your addon against multiple Ember versions

### Running the dummy application

- `ember serve`
- Visit the dummy application at [http://localhost:4200](http://localhost:4200).

For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).

# License

This project is licensed under the [MIT License](LICENSE.md).
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@
},
"scripts": {
"build": "ember build",
"lint:js": "eslint ./*.js addon addon-test-support app config lib server test-support tests",
"lint:js": "eslint ./*.js addon addon-test-support app blueprints config lib server test-support tests",
"start": "ember serve",
"test": "ember try:each"
"test": "ember test",
"test:all": "ember try:each"
},
"dependencies": {
"ember-cli-babel": "^6.6.0",
Expand All @@ -54,7 +55,7 @@
"bootswatch": "^3.3.7",
"broccoli-asset-rev": "^2.4.5",
"ember-ajax": "^3.0.0",
"ember-cli": "~3.0.4",
"ember-cli": "~3.1.4",
"ember-cli-dependency-checker": "^2.0.0",
"ember-cli-deploy": "^1.0.2",
"ember-cli-deploy-build": "^1.1.1",
Expand All @@ -80,7 +81,7 @@
"ember-resolver": "^4.0.0",
"ember-route-action-helper": "^2.0.6",
"ember-sinon": "^2.2.0",
"ember-source": "~3.0.0",
"ember-source": "~3.1.0",
"ember-source-channel-url": "^1.0.1",
"ember-try": "^0.2.23",
"ember-welcome-page": "^3.0.0",
Expand Down
72 changes: 55 additions & 17 deletions tests/dummy/app/templates/application.hbs
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<button
type="button"
class="navbar-toggle collapsed"
data-toggle="collapse"
data-target="#bs-example-navbar-collapse-1"
aria-expanded="false"
>
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
Expand All @@ -23,54 +28,86 @@
</a>
</li>
<li>
<a href="https://github.com/cybertoothca/ember-cli-date-textbox" target="_blank">
<a
href="https://github.com/cybertoothca/ember-cli-date-textbox"
target="_blank"
>
<i class="fa fa-github"></i>
GitHub
</a>
</li>
<li>
<a href="https://www.npmjs.com/package/ember-cli-date-textbox" target="_blank">
<a
href="https://www.npmjs.com/package/ember-cli-date-textbox"
target="_blank"
>
npm
</a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"
aria-expanded="false">
Other Projects <span class="caret"></span>
<a
href="#"
class="dropdown-toggle"
data-toggle="dropdown"
aria-expanded="false"
>
Other Projects
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li>
<a href="http://ember-cli-bootstrap3-carousel.cybertooth.io/" target="_blank">
<a
href="http://ember-cli-bootstrap3-carousel.cybertooth.io/"
target="_blank"
>
ember-cli-bootstrap3-carousel
</a>
</li>
<li>
<a href="http://ember-cli-bootstrap3-popover.cybertooth.io/" target="_blank">
<a
href="http://ember-cli-bootstrap3-popover.cybertooth.io/"
target="_blank"
>
ember-cli-bootstrap3-popover
</a>
</li>
<li>
<a href="http://ember-cli-date-textbox.cybertooth.io/" target="_blank">
<a
href="http://ember-cli-date-textbox.cybertooth.io/"
target="_blank"
>
ember-cli-date-textbox
</a>
</li>
<li>
<a href="http://ember-cli-marked-down.cybertooth.io/" target="_blank">
<a
href="http://ember-cli-marked-down.cybertooth.io/"
target="_blank"
>
ember-cli-marked-down
</a>
</li>
<li>
<a href="http://ember-cli-text-support-mixins.cybertooth.io/" target="_blank">
<a
href="http://ember-cli-text-support-mixins.cybertooth.io/"
target="_blank"
>
ember-cli-text-support-mixins
</a>
</li>
<li>
<a href="http://ember-cli-textarea-autosize.cybertooth.io/" target="_blank">
<a
href="http://ember-cli-textarea-autosize.cybertooth.io/"
target="_blank"
>
ember-cli-textarea-autosize
</a>
</li>
<li>
<a href="http://ember-data-bootstrap3-forms.cybertooth.io/" target="_blank">
<a
href="http://ember-data-bootstrap3-forms.cybertooth.io/"
target="_blank"
>
ember-data-bootstrap3-forms
</a>
</li>
Expand All @@ -84,9 +121,10 @@
<section class="container">
<div class="page-header">
<h1>Demo</h1>
<img src="http://badge.fury.io/gh/cybertoothca%2Fember-cli-date-textbox.svg"
alt="ember-cli-date-textbox version">
<img src="https://badge.fury.io/js/ember-cli-date-textbox.svg" alt="ember-cli-date-textbox npm"/>
<img
src="https://badge.fury.io/js/ember-cli-date-textbox.svg"
alt="ember-cli-date-textbox npm"
/>
</div>
</section>

Expand Down
Loading

0 comments on commit a246cff

Please sign in to comment.