Skip to content

Commit c1be6c1

Browse files
committed
Move around things and make json-api example app
1 parent 87be93f commit c1be6c1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+217
-2703
lines changed

pnpm-lock.yaml

+204-405
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
File renamed without changes.

tests/incremental-json-api/app/index.html tests/example-json-api/app/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<title>EmberData JSON:API Incremental Setup</title>
6+
<title>EmberData JSON:API example Setup</title>
77
<meta name="description" content="">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99

1010
{{content-for "head"}}
1111

1212
<link rel="stylesheet" href="{{rootURL}}assets/vendor.css">
13-
<link rel="stylesheet" href="{{rootURL}}assets/incremental-json-api.css">
13+
<link rel="stylesheet" href="{{rootURL}}assets/example-json-api.css">
1414

1515
{{content-for "head-footer"}}
1616
</head>
1717
<body>
1818
{{content-for "body"}}
1919

2020
<script src="{{rootURL}}assets/vendor.js"></script>
21-
<script src="{{rootURL}}assets/incremental-json-api.js"></script>
21+
<script src="{{rootURL}}assets/example-json-api.js"></script>
2222

2323
{{content-for "body-footer"}}
2424
</body>
File renamed without changes.

tests/incremental-json-api/config/environment.js tests/example-json-api/config/environment.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
module.exports = function (environment) {
44
const ENV = {
5-
modulePrefix: 'incremental-json-api',
5+
modulePrefix: 'example-json-api',
66
environment,
77
rootURL: '/',
88
locationType: 'history',

tests/recommended-json-api/package.json tests/example-json-api/package.json

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"name": "recommended-json-api",
2+
"name": "example-json-api",
33
"version": "5.4.0-alpha.36",
44
"private": true,
5-
"description": "Demos the recommended experience for JSON:API with EmberData",
5+
"description": "Demos the incremental adoption of new EmberData for JSON:API",
66
"keywords": [],
77
"repository": {
88
"type": "git",
99
"url": "git+ssh://git@github.com:emberjs/data.git",
10-
"directory": "tests/recomended-json-api"
10+
"directory": "tests/example-json-api"
1111
},
1212
"license": "MIT",
1313
"author": "",
@@ -23,6 +23,9 @@
2323
"_syncPnpm": "bun run sync-dependencies-meta-injected"
2424
},
2525
"dependenciesMeta": {
26+
"ember-data": {
27+
"injected": true
28+
},
2629
"@ember-data/json-api": {
2730
"injected": true
2831
},
@@ -102,6 +105,7 @@
102105
"ember-cli-sri": "^2.1.1",
103106
"ember-cli-terser": "~4.0.2",
104107
"ember-cli-test-loader": "^3.1.0",
108+
"ember-data": "workspace:5.4.0-alpha.36",
105109
"ember-disable-prototype-extensions": "^1.1.3",
106110
"ember-inflector": "^4.0.2",
107111
"ember-load-initializers": "^2.1.2",
File renamed without changes.

tests/recommended-json-api/tests/index.html tests/example-json-api/tests/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
{{content-for "test-head"}}
1212

1313
<link rel="stylesheet" href="{{rootURL}}assets/vendor.css">
14-
<link rel="stylesheet" href="{{rootURL}}assets/recommended-json-api.css">
14+
<link rel="stylesheet" href="{{rootURL}}assets/example-json-api.css">
1515
<link rel="stylesheet" href="{{rootURL}}assets/test-support.css">
1616

1717
{{content-for "head-footer"}}
@@ -58,7 +58,7 @@
5858
</script>
5959
<script src="{{rootURL}}assets/vendor.js"></script>
6060
<script src="{{rootURL}}assets/test-support.js"></script>
61-
<script src="{{rootURL}}assets/recommended-json-api.js"></script>
61+
<script src="{{rootURL}}assets/example-json-api.js"></script>
6262
<script src="{{rootURL}}assets/tests.js"></script>
6363

6464
{{content-for "body-footer"}}
File renamed without changes.

tests/incremental-json-api/package.json

-143
This file was deleted.

tests/incremental-json-api/tests/index.html

-68
This file was deleted.

tests/recommended-json-api/.eslintrc.cjs

-45
This file was deleted.

tests/recommended-json-api/README.md

-3
This file was deleted.

tests/recommended-json-api/app/app.ts

-16
This file was deleted.

tests/recommended-json-api/app/components/.gitkeep

Whitespace-only changes.

tests/recommended-json-api/app/components/book-list.hbs

-22
This file was deleted.

0 commit comments

Comments
 (0)