Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cibernox/ember-power-select-with-create
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.0
Choose a base ref
...
head repository: cibernox/ember-power-select-with-create
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 6 commits
  • 89 files changed
  • 3 contributors

Commits on Aug 23, 2023

  1. Copy the full SHA
    06461a6 View commit details

Commits on Sep 6, 2023

  1. v2.0.0

    cibernox committed Sep 6, 2023
    Copy the full SHA
    56a6e0d View commit details

Commits on Jun 14, 2024

  1. Update ember-power-select to v8, switch to v2 addon & drop ember < …

    …3.28 (#163)
    
    * Update eps to v8
    
    * Modernize addon
    
    * Tests to pnpm
    
    * Convert to v2 addon
    
    * Fix tests
    
    * Allow ember source 3.28 in peerDependencies
    
    * remove ts from config
    mkszepp authored Jun 14, 2024
    Copy the full SHA
    fb97078 View commit details
  2. Copy the full SHA
    ccea82c View commit details
  3. Add missing changelog

    mkszepp committed Jun 14, 2024
    Copy the full SHA
    ae750bc View commit details
  4. Release 3.0.0

    mkszepp committed Jun 14, 2024
    Copy the full SHA
    dad9616 View commit details
Showing with 15,931 additions and 49,492 deletions.
  1. +0 −15 .ember-cli
  2. +35 −24 .github/workflows/ci.yml
  3. +35 −0 .github/workflows/push-dist.yml
  4. +10 −24 .gitignore
  5. +0 −40 .npmignore
  6. +3 −18 .prettierignore
  7. +6 −0 .prettierrc.cjs
  8. +0 −3 .watchmanconfig
  9. +14 −0 CHANGELOG.md
  10. +17 −11 CONTRIBUTING.md
  11. +1 −1 LICENSE.md
  12. +3 −4 README.md
  13. +0 −60 RELEASE.md
  14. +0 −1 app/components/power-select-multiple-with-create.js
  15. +0 −1 app/components/power-select-with-create.js
  16. +0 −1 app/components/power-select-with-create/suggested-option.js
  17. +0 −8 config/deploy.js
  18. +19 −0 config/ember-cli-update.json
  19. +0 −5 config/environment.js
  20. +0 −35 ember-cli-build.js
  21. +9 −0 ember-power-select-with-create/.eslintignore
  22. +50 −0 ember-power-select-with-create/.eslintrc.cjs
  23. +17 −0 ember-power-select-with-create/.gitignore
  24. +9 −0 ember-power-select-with-create/.prettierignore
  25. +6 −0 ember-power-select-with-create/.prettierrc.cjs
  26. +1 −1 .prettierrc.js → ember-power-select-with-create/.template-lintrc.cjs
  27. +4 −0 ember-power-select-with-create/addon-main.cjs
  28. +10 −0 ember-power-select-with-create/babel.config.json
  29. +83 −0 ember-power-select-with-create/package.json
  30. +67 −0 ember-power-select-with-create/rollup.config.mjs
  31. 0 {addon → ember-power-select-with-create/src}/.gitkeep
  32. +2 −2 {addon → ember-power-select-with-create/src}/components/power-select-multiple-with-create.js
  33. +1 −0 {addon → ember-power-select-with-create/src}/components/power-select-with-create.hbs
  34. +4 −4 {addon → ember-power-select-with-create/src}/components/power-select-with-create.js
  35. 0 ...on → ember-power-select-with-create/src}/components/power-select-with-create/suggested-option.hbs
  36. +0 −12 index.js
  37. +0 −48,997 package-lock.json
  38. +38 −82 package.json
  39. +15,098 −0 pnpm-lock.yaml
  40. +3 −0 pnpm-workspace.yaml
  41. +19 −0 test-app/.editorconfig
  42. +7 −0 test-app/.ember-cli
  43. +14 −0 test-app/.eslintignore
  44. +12 −10 { → test-app}/.eslintrc.js
  45. +10 −10 .eslintignore → test-app/.gitignore
  46. +13 −0 test-app/.prettierignore
  47. +12 −0 test-app/.prettierrc.js
  48. +8 −0 test-app/.stylelintignore
  49. +5 −0 test-app/.stylelintrc.js
  50. +0 −3 { → test-app}/.template-lintrc.js
  51. +3 −0 test-app/.watchmanconfig
  52. +56 −0 test-app/README.md
  53. +2 −1 {tests/dummy → test-app}/app/app.js
  54. 0 {app → test-app/app/components}/.gitkeep
  55. 0 {tests/dummy → test-app}/app/components/custom-suggested-option.hbs
  56. +4 −0 test-app/app/components/selected-country.hbs
  57. 0 {tests/dummy/app/components → test-app/app/controllers}/.gitkeep
  58. +2 −2 {tests/dummy → test-app}/app/controllers/application.js
  59. 0 {tests/dummy/app/controllers → test-app/app/helpers}/.gitkeep
  60. +2 −2 {tests/dummy → test-app}/app/index.html
  61. 0 {tests/dummy/app/helpers → test-app/app/models}/.gitkeep
  62. 0 {tests/dummy → test-app}/app/models/country.js
  63. +1 −1 {tests/dummy → test-app}/app/router.js
  64. 0 {tests/dummy/app/models → test-app/app/routes}/.gitkeep
  65. +1 −0 test-app/app/services/store.js
  66. +1 −0 test-app/app/styles/app.css
  67. +10 −8 {tests/dummy → test-app}/app/templates/application.hbs
  68. +21 −0 test-app/config/ember-cli-update.json
  69. +41 −20 { → test-app}/config/ember-try.js
  70. +3 −2 {tests/dummy → test-app}/config/environment.js
  71. +2 −1 {tests/dummy → test-app}/config/optional-features.json
  72. 0 {tests/dummy → test-app}/config/targets.js
  73. +14 −0 test-app/ember-cli-build.js
  74. +88 −0 test-app/package.json
  75. 0 {tests/dummy → test-app}/public/robots.txt
  76. 0 { → test-app}/testem.js
  77. +1 −1 { → test-app}/tests/helpers/index.js
  78. +2 −2 { → test-app}/tests/index.html
  79. 0 {tests/dummy/app/routes → test-app/tests/integration}/.gitkeep
  80. +3 −9 { → test-app}/tests/integration/components/power-select-multiple-with-create-test.js
  81. +9 −48 { → test-app}/tests/integration/components/power-select-with-create-test.js
  82. +1 −1 { → test-app}/tests/integration/components/power-select-with-create/suggested-option-test.js
  83. +17 −0 test-app/tests/integration/components/selected-country-test.js
  84. +2 −2 { → test-app}/tests/test-helper.js
  85. 0 {tests/integration → test-app/tests/unit}/.gitkeep
  86. 0 tests/dummy/app/styles/app.css
  87. +0 −20 tests/dummy/config/ember-cli-update.json
  88. 0 tests/unit/.gitkeep
  89. 0 vendor/.gitkeep
15 changes: 0 additions & 15 deletions .ember-cli

This file was deleted.

59 changes: 35 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -18,62 +18,73 @@ jobs:
timeout-minutes: 10

steps:
- uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
node-version: 14.x
cache: npm
version: 8
- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
- name: Install Dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: Lint
run: npm run lint
run: pnpm lint
- name: Run Tests
run: npm run test:ember
run: pnpm test

floating:
name: "Floating Dependencies"
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: 14.x
cache: npm
node-version: 18
cache: pnpm
- name: Install Dependencies
run: npm install --no-shrinkwrap
run: pnpm install --no-lockfile
- name: Run Tests
run: npm run test:ember
run: pnpm test

try-scenarios:
name: ${{ matrix.try-scenario }}
runs-on: ubuntu-latest
needs: "test"
needs: 'test'
timeout-minutes: 10

strategy:
fail-fast: false
matrix:
try-scenario:
- ember-lts-3.24
- ember-lts-3.28
- ember-lts-4.4
- ember-lts-4.8
- ember-lts-4.12
- ember-lts-5.4
- ember-lts-5.8
- ember-release
- ember-beta
- ember-canary
- ember-classic
- embroider-safe
- embroider-optimized

steps:
- uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: 14.x
cache: npm
node-version: 18
cache: pnpm
- name: Install Dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: Run Tests
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }} --skip-cleanup
working-directory: test-app
35 changes: 35 additions & 0 deletions .github/workflows/push-dist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Because this library needs to be built,
# we can't easily point package.json files at the git repo for easy cross-repo testing.
#
# This workflow brings back that capability by placing the compiled assets on a "dist" branch
# (configurable via the "branch" option below)
name: Push dist

on:
push:
branches:
- main
- master

jobs:
push-dist:
name: Push dist
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- uses: kategengler/put-built-npm-package-contents-on-branch@v2.0.0
with:
branch: dist
token: ${{ secrets.GITHUB_TOKEN }}
working-directory: 'ember-power-select-with-create'
34 changes: 10 additions & 24 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,36 +1,22 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist/
/tmp/

# dependencies
/bower_components/
/node_modules/
node_modules/

# misc
/.env*
/.pnp*
/.sass-cache
/.eslintcache
/connect.lock
/coverage/
/libpeerconnection.log
/npm-debug.log*
/testem.log
/yarn-error.log
.env*
.pnp*
.pnpm-debug.log
.sass-cache
.eslintcache
coverage/
npm-debug.log*
yarn-error.log

# ember-try
/.node_modules.ember-try/
/bower.json.ember-try
/npm-shrinkwrap.json.ember-try
/package.json.ember-try
/package-lock.json.ember-try
/yarn.lock.ember-try
/pnpm-lock.ember-try.yaml

# broccoli-debug
/DEBUG/

# intellij
/.idea/
ember-power-select-with-create.iml
40 changes: 0 additions & 40 deletions .npmignore

This file was deleted.

21 changes: 3 additions & 18 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,10 @@
# unconventional js
/blueprints/*/files/
/vendor/

# compiled output
/dist/
/tmp/

# dependencies
/bower_components/
/node_modules/
# Prettier is also run from each package, so the ignores here
# protect against files that may not be within a package

# misc
/coverage/
!.*
.eslintcache
.lint-todo/

# ember-try
/.node_modules.ember-try/
/bower.json.ember-try
/npm-shrinkwrap.json.ember-try
/package.json.ember-try
/package-lock.json.ember-try
/yarn.lock.ember-try
/pnpm-lock.ember-try.yaml
6 changes: 6 additions & 0 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
'use strict';

module.exports = {
plugins: ['prettier-plugin-ember-template-tag'],
singleQuote: true,
};
3 changes: 0 additions & 3 deletions .watchmanconfig

This file was deleted.

14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@


## v3.0.0 (2024-06-14)

#### :boom: Breaking Change
* [#163](https://github.com/cibernox/ember-power-select-with-create/pull/163) Update `ember-power-select` to v8, switch to v2 addon & drop ember < 3.28 ([@mkszepp](https://github.com/mkszepp))

#### Committers: 1
- Markus Sanin ([@mkszepp](https://github.com/mkszepp))

## v2.0.0 (2023-09-06)

#### :boom: Breaking Change
* [#155](https://github.com/cibernox/ember-power-select-with-create/pull/139) feat: upgrade ember power select version ([@gorzas](https://github.com/Gorzas))

## v1.0.0 (2022-08-05)

#### :boom: Breaking Change
28 changes: 17 additions & 11 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -2,24 +2,30 @@

## Installation

* `git clone <repository-url>`
* `cd my-addon`
* `npm install`
- `git clone <repository-url>`
- `cd ember-power-select-with-create`
- `pnpm install`

## Linting

* `npm run lint`
* `npm run lint:fix`
- `pnpm lint`
- `pnpm lint:fix`

## Building the addon

- `cd ember-power-select-with-create`
- `pnpm build`

## 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
- `cd test-app`
- `pnpm test` – Runs the test suite on the current Ember version
- `pnpm test:watch` – Runs the test suite in "watch mode"

## Running the dummy application
## Running the test application

* `ember serve`
* Visit the dummy application at [http://localhost:4200](http://localhost:4200).
- `cd test-app`
- `pnpm start`
- Visit the test application at [http://localhost:4200](http://localhost:4200).

For more information on using ember-cli, visit [https://cli.emberjs.com/release/](https://cli.emberjs.com/release/).
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2020
Copyright (c) 2024

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -9,10 +9,9 @@ ember install ember-power-select-with-create
```
## Compatibility

* Ember.js v3.24 or above
* Ember CLI v3.24 or above
* Node.js v14 or above
* Ember Power Select v4 or above
* Ember.js v3.28 or above
* Ember CLI v3.28 or above
* Ember Power Select v8 or above

Please also refer to [Ember Power Select documentation](https://github.com/cibernox/ember-power-select#ember-power-select) for it's compatibility notes.

Loading