Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
dcd4e45
Fix for Ember v5
andsmedeiros Jan 18, 2024
591e23f
Moves runtime dependencies (as PouchDB) to from dev dependencies to d…
andsmedeiros Jan 18, 2024
45f7a5a
Re-add pouchdb-browser as a dependency
andsmedeiros Jan 18, 2024
d8398b5
Removes deprecated Embet.Snapshot#type from PouchAdapter#findHasMany
andsmedeiros Jan 18, 2024
55f57df
Updating addon to work with Ember >= 6.4.0 and EmberData >= 5.5.0
andsmedeiros Jun 13, 2025
94bb9d8
Modernizes syntax, corrects `snapshot.type` deprecation, removes use …
andsmedeiros Jun 14, 2025
b7460df
Removes .idea directory; adds it to .*ignore files
andsmedeiros Jun 14, 2025
bd4f406
Modernizes code
andsmedeiros Jun 15, 2025
cf79058
Satisfies deprecation ember-data:deprecate-legacy-imports
andsmedeiros Jun 15, 2025
5c4ccab
Modernizes syntax
andsmedeiros Jun 15, 2025
5b31175
Complies to ember-data:deprecate-store-extends-ember-object deprecation
andsmedeiros Jun 15, 2025
506eef4
Ditches EmberObject and modernizes syntax of `PouchAdapter`.
andsmedeiros Jun 15, 2025
f547ed4
Adds `inverse: null` to `ingredients`
andsmedeiros Jun 15, 2025
071f8f0
Modernizes syntax
andsmedeiros Jun 15, 2025
d3988ea
Modernizes syntax, mostly turning long promise chains into async func…
andsmedeiros Jun 15, 2025
b3d31f7
Still working out dependencies
andsmedeiros Jun 15, 2025
6d41a1b
Removes instances of `assert.expect()` becase the linter hates it and…
andsmedeiros Jun 15, 2025
ae01aa1
QUnit dislikes when tests have no assertions; assert that no exceptio…
andsmedeiros Jun 16, 2025
c9fe8d0
Removes useless `test-support.css` import
andsmedeiros Jun 16, 2025
57631d8
Prettier pass
andsmedeiros Jun 16, 2025
80ae9d2
Corrects nasty error messages in console when deleting indexes in par…
andsmedeiros Jun 16, 2025
403dc44
Modernizes syntax and ditches `EmberObject` wrappers in attachments. …
andsmedeiros Jun 16, 2025
b6810e2
Some cleanup and simplification so the code is clearer and easier to …
andsmedeiros Jun 16, 2025
b74f095
Refactors flag checking code for more clarity
andsmedeiros Jun 16, 2025
c67feae
Directly exports the extended `PouchDb` class returned by `.plugin()`…
andsmedeiros Jun 16, 2025
62a119a
Avoid defining `ApplicationSerializer` in `/app`; this should probabl…
andsmedeiros Jun 17, 2025
4ad3487
Small ESLing config corrections
andsmedeiros Jun 17, 2025
8b13d79
Better consistency of addon exports
andsmedeiros Jun 17, 2025
2b73905
Correctly adds decorator configuration in eslint.config.mjs
andsmedeiros Jun 17, 2025
dbc076e
Removes useless dummy app styles
andsmedeiros Jun 17, 2025
e4696c8
Extracts logic from `adapter:taco-salad` into `adapter:application` a…
andsmedeiros Jun 17, 2025
0825a49
Modernizes dummy app's model classes syntax
andsmedeiros Jun 17, 2025
792d108
Removes useless template file
andsmedeiros Jun 17, 2025
9474741
Modernizes syntax
andsmedeiros Jun 17, 2025
2d19540
Removes useless PouchDB export in the dummy ap
andsmedeiros Jun 17, 2025
dae9f7e
Removes old ember data feature `ds-references`
andsmedeiros Jun 17, 2025
7cfc3cb
Modernizes some more syntax and removes useless dependencies. This al…
andsmedeiros Jun 17, 2025
a78ad7a
Removes some old dependencies and normalizes some testing behavior.
andsmedeiros Jun 17, 2025
1dc84d8
Modernizes some syntax.
andsmedeiros Jun 17, 2025
56b4513
Ditches EmberObject, as that is not used anymore to create attachment…
andsmedeiros Jun 17, 2025
94bcea5
This seems it was only used to import PouchDB into broccoli's build p…
andsmedeiros Jun 17, 2025
b92f422
Major [unfinished] overhaul of `PouchAdapter`.
andsmedeiros Jun 18, 2025
3bf09f0
Adds .gitkeep to `dummy/app/styles` so build doesn't break.
andsmedeiros Jun 18, 2025
ff6cd7b
Some more code cleanup and modernization. Whole adapter is covered now.
andsmedeiros Jun 18, 2025
cdc48d0
Renames `module-for-pouch-acceptance.js` to `install-context.js` to m…
andsmedeiros Jun 18, 2025
5ecc682
Enables some rules tha had been manually disabled before. Corrected i…
andsmedeiros Jun 18, 2025
6e2d428
Removes unused CSS and HBS linting scripts
andsmedeiros Jun 18, 2025
ffe2b13
Adds scenarios for ember 4.x
andsmedeiros Jun 23, 2025
c9315a4
Removes useless `assets/dummy.css` import
andsmedeiros Jun 23, 2025
9aad7aa
Slightly refactors formatting
andsmedeiros Jun 23, 2025
b6b8378
Pins `@ember/test-helpers` to v3
andsmedeiros Jun 23, 2025
1946c26
Updates `getOwner` import path
andsmedeiros Jun 23, 2025
fd68f0a
Moves `unloadedDocumentChanged` from `adapter:application` to `adapte…
andsmedeiros Jun 23, 2025
ba47be8
Removes `StringTransform` as that breaks early v4 compatibility
andsmedeiros Jun 23, 2025
8e319d6
Corrects square bracket access in ArrayProxy returned by relationship
andsmedeiros Jun 23, 2025
96f8c51
Formatting
andsmedeiros Jun 23, 2025
59b21b9
Deletes old file
andsmedeiros Jun 23, 2025
3d2179f
Updates ember-try config file to only test for ember/data v4.x
andsmedeiros Jun 24, 2025
f09a182
Embroider won't build if `dummy.css` is absent -- add it back
andsmedeiros Jun 24, 2025
0b9479a
Remove useless test initialization. Also, it seems `loadTests()` was …
andsmedeiros Jun 24, 2025
e774b1d
Pins relevant versions to ember-v4 compatible dependencies. Removes u…
andsmedeiros Jun 24, 2025
7e4772d
Data v5 expects an object for error and deletions on eventual consist…
andsmedeiros Jun 26, 2025
98604a1
The `hasMany` relationship does not return an `ArrayProxy` anymore, s…
andsmedeiros Jun 26, 2025
916630e
Updates Ember and EmberData to v5
andsmedeiros Jun 26, 2025
9c22518
Implements test scenarios for Ember/EmberData >=5.0
andsmedeiros Jun 26, 2025
be20633
Imports `getOwner` from `@ember/owner` instead of `@ember/application`.
andsmedeiros Jun 26, 2025
c2ba028
Adds back default export from StringTransform to dummy app
andsmedeiros Jun 26, 2025
d0840bc
Since EmberData 5.3, non-strict types (model names empty, in the plur…
andsmedeiros Jun 26, 2025
538dc55
StringTransform does not have a public export before Data 5.3. This w…
andsmedeiros Jun 26, 2025
193cd74
Codemod addon v1 -> v2: `pnpx ember-codemod-v1-to-v2`
andsmedeiros Jun 27, 2025
32ec659
Adds default exports for attachment transforms in test app (as it pro…
andsmedeiros Jun 27, 2025
636a057
Moved `ember-try.js` config to `test-app/config`
andsmedeiros Jun 27, 2025
bc26982
Dependency regression reported by rollup
andsmedeiros Jun 27, 2025
6bacc2e
Pins Ember and Data verions to the minimum supported
andsmedeiros Jun 27, 2025
28346ba
Run of linter.
andsmedeiros Jun 28, 2025
84e9b80
Removes branch restriction on workflow file
andsmedeiros Jul 3, 2025
c261cdc
Properly define package exports
andsmedeiros Jul 3, 2025
f3fae7f
Removes unused artifact directives. Correctly defines entry points.
andsmedeiros Jul 3, 2025
d5b0a97
Updates pnpm
andsmedeiros Jul 3, 2025
8da0948
Removes trailing `.js` from exported transforms
andsmedeiros Jul 3, 2025
d18f543
Updates Github workflow config file
andsmedeiros Jul 3, 2025
ea4dcc5
Syncs lockfile
andsmedeiros Jul 3, 2025
cb34a4b
Updates blueprints
andsmedeiros Jul 3, 2025
7162750
Corrects syntax in linting task; adds ESLint node plugin
andsmedeiros Jul 3, 2025
e3d3b6f
Updates ESLint config file
andsmedeiros Jul 3, 2025
3214653
Corrects import paths
andsmedeiros Jul 3, 2025
5df045b
Makes linter happy
andsmedeiros Jul 3, 2025
dbf97e1
Prevents ESLint from complaining that this is empty
andsmedeiros Jul 3, 2025
cc23905
Updates ESLint and adds Babel config files
andsmedeiros Jul 3, 2025
647abf8
Corrects import path
andsmedeiros Jul 3, 2025
665533a
Linter pass
andsmedeiros Jul 3, 2025
d3ccd6f
Removes trailing quotes from script
andsmedeiros Jul 3, 2025
441d802
Updates workflow to correctly invoke tests
andsmedeiros Jul 3, 2025
94a1b13
Resolves store extending EmberObject deprecation
andsmedeiros Jul 5, 2025
872c8c7
Makes `ember-inflector` and `webpack` addon's peer dependencies
andsmedeiros Jul 5, 2025
2f32907
Properly pins test app's ember/data version to ~5.0.0.
andsmedeiros Jul 5, 2025
72699a9
Corects readme and license copy path
andsmedeiros Jul 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 0 additions & 22 deletions .eslintignore

This file was deleted.

75 changes: 0 additions & 75 deletions .eslintrc.js

This file was deleted.

93 changes: 48 additions & 45 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,92 +3,95 @@

name: Node.js CI

on:
push:
branches:
- master
pull_request: {}
on: [push, pull_request]

concurrency:
group: ci-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
test:
name: "Tests"
name: 'Tests'
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Install Nod
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Install Chrome
uses: browser-actions/setup-chrome@v1
with:
node-version: 14.x
# cache: npm
install-dependencies: true
- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
- name: Install dependencies
run: |
if [ -e yarn.lock ]; then
yarn install --frozen-lockfile
elif [ -e package-lock.json ]; then
npm ci
if [ -e pnpm-lock.yaml ]; then
pnpm install --frozen-lockfile
else
npm i
pnpm install
fi
- name: Lint
run: npm run lint
run: pnpm lint
- name: Run Tests
run: npm run test:ember
run: pnpm test

floating:
name: "Floating Dependencies"
name: 'Floating Dependencies'
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Install Chrome
uses: browser-actions/setup-chrome@v1
with:
install-dependencies: true
- 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: npm run test

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

strategy:
fail-fast: false
matrix:
try-scenario:
- ember-lts-3.16
- ember-lts-3.24
- ember-lts-3.28
- ember-lts-4.4
- ember-release
- ember-beta
- ember-canary
- ember-classic
- ember-5.0
- ember-lts-5.4
- ember-lts-5.8
- ember-lts-5.12
- ember-6.0
- ember-lts-6.4
- 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@v4
- name: Install Chrome
uses: browser-actions/setup-chrome@v1
with:
install-dependencies: true
- uses: actions/setup-node@v4
with:
node-version: 14.x
# cache: npm
node-version: 18
cache: pnpm
- name: Install dependencies
run: |
if [ -e yarn.lock ]; then
yarn install --frozen-lockfile
elif [ -e package-lock.json ]; then
npm ci
if [ -e pnpm-lock.yaml ]; then
pnpm install --frozen-lockfile
else
npm i
pnpm install
fi
- name: Run Tests
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}
run: pnpm --filter test-app test:ember-compatibility ${{ matrix.try-scenario }}
31 changes: 7 additions & 24 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,29 +1,12 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist/
/tmp/
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

/package-lock.json
/yarn.lock

# ember-try
/.node_modules.ember-try/
/bower.json.ember-try
/package.json.ember-try
.DS_Store
.env*
.eslintcache
pnpm-debug.log
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

88 changes: 88 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading