Skip to content

Commit

Permalink
Remove ember-fetch add-on
Browse files Browse the repository at this point in the history
  • Loading branch information
bobisjan committed Jul 8, 2022
1 parent 24aba7b commit 639dd38
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 170 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ function initialize(instance) {
}

export default {
name: 'fastboot:fetch', // `ember-fetch` addon registers as `fetch`
initialize,
};
10 changes: 8 additions & 2 deletions packages/ember-cli-fastboot/test/request-details-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,14 @@ function injectMiddlewareAddon(app) {
pkg.devDependencies['body-parser'] =
process.env.npm_package_devDependencies_body_parser;
pkg.dependencies = pkg.dependencies || {};
pkg.dependencies['fastboot'] = `file:${path.resolve(__dirname, '../../fastboot')}`
pkg.dependencies['fastboot-express-middleware'] = `file:${path.resolve(__dirname, '../../fastboot-express-middleware')}`
pkg.dependencies['fastboot'] = `file:${path.resolve(
__dirname,
'../../fastboot'
)}`;
pkg.dependencies['fastboot-express-middleware'] = `file:${path.resolve(
__dirname,
'../../fastboot-express-middleware'
)}`;
pkg['ember-addon'] = {
paths: ['lib/post-middleware'],
};
Expand Down
3 changes: 1 addition & 2 deletions test-packages/basic-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"ember-cli-uglify": "^3.0.0",
"ember-data": "~3.19.0",
"ember-export-application-global": "^2.0.1",
"ember-fetch": "^8.0.1",
"ember-load-initializers": "^2.1.1",
"ember-maybe-import-regenerator": "^0.1.6",
"ember-qunit": "^4.6.0",
Expand Down Expand Up @@ -74,4 +73,4 @@
"ember": {
"edition": "octane"
}
}
}
3 changes: 1 addition & 2 deletions test-packages/custom-fastboot-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"ember-cli-uglify": "^3.0.0",
"ember-data": "~3.19.0",
"ember-export-application-global": "^2.0.1",
"ember-fetch": "^8.0.1",
"ember-load-initializers": "^2.1.1",
"ember-maybe-import-regenerator": "^0.1.6",
"ember-qunit": "^4.6.0",
Expand All @@ -64,4 +63,4 @@
"ember": {
"edition": "octane"
}
}
}
3 changes: 1 addition & 2 deletions test-packages/custom-sandbox-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"ember-cli-uglify": "^3.0.0",
"ember-data": "~3.19.0",
"ember-export-application-global": "^2.0.1",
"ember-fetch": "^8.0.1",
"ember-load-initializers": "^2.1.1",
"ember-maybe-import-regenerator": "^0.1.6",
"ember-qunit": "^4.6.0",
Expand All @@ -57,4 +56,4 @@
"ember": {
"edition": "octane"
}
}
}
3 changes: 1 addition & 2 deletions test-packages/ember-cli-fastboot-testing-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"ember-cli-uglify": "^3.0.0",
"ember-data": "~3.19.0",
"ember-export-application-global": "^2.0.1",
"ember-fetch": "^8.0.1",
"ember-load-initializers": "^2.1.1",
"ember-maybe-import-regenerator": "^0.1.6",
"ember-qunit": "^4.6.0",
Expand All @@ -57,4 +56,4 @@
"volta": {
"extends": "../../package.json"
}
}
}
3 changes: 1 addition & 2 deletions test-packages/hot-swap-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"ember-cli-uglify": "^3.0.0",
"ember-data": "~3.19.0",
"ember-export-application-global": "^2.0.1",
"ember-fetch": "^8.0.1",
"ember-load-initializers": "^2.1.1",
"ember-maybe-import-regenerator": "^0.1.6",
"ember-qunit": "^4.6.0",
Expand All @@ -57,4 +56,4 @@
"ember": {
"edition": "octane"
}
}
}
Loading

0 comments on commit 639dd38

Please sign in to comment.