ember-inspector 4.13.1-alpha.2025.9.9 → 4.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/.editorconfig +19 -0
  2. package/.ember-cli +7 -0
  3. package/.github/ISSUE_TEMPLATE/bug_report.md +30 -0
  4. package/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  5. package/.github/dependabot.yml +14 -0
  6. package/.github/pull_request_template.md +4 -0
  7. package/.github/workflows/build.yml +260 -0
  8. package/.github/workflows/plan-release.yml +61 -0
  9. package/.github/workflows/publish.yml +158 -0
  10. package/.prettierignore +14 -0
  11. package/.prettierrc.js +20 -0
  12. package/.release-plan.json +26 -0
  13. package/.stylelintignore +8 -0
  14. package/.stylelintrc.js +12 -0
  15. package/.template-lintrc.js +13 -0
  16. package/.tool-versions +2 -0
  17. package/.watchmanconfig +3 -0
  18. package/CHANGELOG.md +137 -0
  19. package/DEVELOPMENT.md +50 -0
  20. package/PRIVACY.md +3 -0
  21. package/README.md +6 -50
  22. package/RELEASE.md +15 -50
  23. package/app/components/.gitkeep +0 -0
  24. package/app/controllers/.gitkeep +0 -0
  25. package/app/controllers/model-types.js +7 -14
  26. package/app/helpers/.gitkeep +0 -0
  27. package/app/models/.gitkeep +0 -0
  28. package/app/routes/.gitkeep +0 -0
  29. package/app/routes/whats-new.js +6 -4
  30. package/app/services/storage.ts +17 -4
  31. package/app/templates/application.hbs +1 -0
  32. package/dist/bookmarklet/panes-3-16-0/assets/{chunk.524.497b4588088a7fe03056.js → chunk.524.aca67dc376e8cd35b522.js} +4 -4
  33. package/dist/{firefox/panes-3-16-0/assets/chunk.582.3f979b82d5ad515f2254.js → bookmarklet/panes-3-16-0/assets/chunk.582.d3d80e94c4f59dc3b65d.js} +5 -5
  34. package/dist/bookmarklet/panes-3-16-0/assets/ember-inspector.js +23 -24
  35. package/dist/{firefox/panes-3-16-0/basic-DfbgtngO.js → bookmarklet/panes-3-16-0/basic-B1dkgN3d.js} +6 -1
  36. package/dist/bookmarklet/panes-3-16-0/basic-debug.js +9 -5
  37. package/dist/bookmarklet/panes-3-16-0/bookmarklet-BZWtwuX-.js +32 -0
  38. package/dist/bookmarklet/panes-3-16-0/bookmarklet-debug.js +9 -33
  39. package/dist/bookmarklet/panes-3-16-0/chrome-P6FSEUf1.js +10 -0
  40. package/dist/bookmarklet/panes-3-16-0/chrome-debug.js +9 -11
  41. package/dist/bookmarklet/panes-3-16-0/ember.js +101 -50
  42. package/dist/bookmarklet/panes-3-16-0/ember_debug.js +9 -33
  43. package/dist/bookmarklet/panes-3-16-0/firefox-8F84zphP.js +30 -0
  44. package/dist/bookmarklet/panes-3-16-0/firefox-debug.js +9 -31
  45. package/dist/bookmarklet/panes-3-16-0/index.html +2 -2
  46. package/dist/bookmarklet/panes-3-16-0/load-ember-debug-in-webpage-DCWcJhQm.js +29 -0
  47. package/dist/bookmarklet/panes-3-16-0/main.js +11 -5
  48. package/dist/bookmarklet/panes-3-16-0/port.js +1 -1
  49. package/dist/{chrome/panes-3-16-0/runloop-CF-Qpqgy.js → bookmarklet/panes-3-16-0/runloop-6_0lpzTA.js} +1 -1
  50. package/dist/bookmarklet/panes-3-16-0/{start-inspector-BPAW_WLv.js → start-inspector-BIYQArZn.js} +32 -74
  51. package/dist/bookmarklet/panes-3-16-0/{web-extension-C3pMNVSY.js → web-extension-OWnXJ_XK.js} +2 -2
  52. package/dist/bookmarklet/panes-3-16-0/websocket-BSUvUqER.js +58 -0
  53. package/dist/bookmarklet/panes-3-16-0/websocket-debug.js +9 -59
  54. package/dist/chrome/devtools.js +1 -1
  55. package/dist/chrome/manifest.json +22 -23
  56. package/dist/{firefox/panes-3-16-0/assets/chunk.524.497b4588088a7fe03056.js → chrome/panes-3-16-0/assets/chunk.524.aca67dc376e8cd35b522.js} +4 -4
  57. package/dist/{bookmarklet/panes-3-16-0/assets/chunk.582.3f979b82d5ad515f2254.js → chrome/panes-3-16-0/assets/chunk.582.d3d80e94c4f59dc3b65d.js} +5 -5
  58. package/dist/chrome/panes-3-16-0/assets/ember-inspector.js +23 -24
  59. package/dist/chrome/panes-3-16-0/{basic-DfbgtngO.js → basic-B1dkgN3d.js} +6 -1
  60. package/dist/chrome/panes-3-16-0/basic-debug.js +9 -5
  61. package/dist/chrome/panes-3-16-0/bookmarklet-BZWtwuX-.js +32 -0
  62. package/dist/chrome/panes-3-16-0/bookmarklet-debug.js +9 -33
  63. package/dist/chrome/panes-3-16-0/chrome-P6FSEUf1.js +10 -0
  64. package/dist/chrome/panes-3-16-0/chrome-debug.js +9 -11
  65. package/dist/chrome/panes-3-16-0/ember.js +101 -50
  66. package/dist/chrome/panes-3-16-0/ember_debug.js +9 -11
  67. package/dist/chrome/panes-3-16-0/firefox-8F84zphP.js +30 -0
  68. package/dist/chrome/panes-3-16-0/firefox-debug.js +9 -31
  69. package/dist/chrome/panes-3-16-0/index.html +2 -2
  70. package/dist/chrome/panes-3-16-0/load-ember-debug-in-webpage-DCWcJhQm.js +29 -0
  71. package/dist/chrome/panes-3-16-0/main.js +11 -5
  72. package/dist/chrome/panes-3-16-0/port.js +1 -1
  73. package/dist/{firefox/panes-3-16-0/runloop-CF-Qpqgy.js → chrome/panes-3-16-0/runloop-6_0lpzTA.js} +1 -1
  74. package/dist/{firefox/panes-3-16-0/start-inspector-BPAW_WLv.js → chrome/panes-3-16-0/start-inspector-BIYQArZn.js} +32 -74
  75. package/dist/{firefox/panes-3-16-0/web-extension-C3pMNVSY.js → chrome/panes-3-16-0/web-extension-OWnXJ_XK.js} +2 -2
  76. package/dist/chrome/panes-3-16-0/websocket-BSUvUqER.js +58 -0
  77. package/dist/chrome/panes-3-16-0/websocket-debug.js +9 -59
  78. package/dist/firefox/devtools.js +1 -1
  79. package/dist/firefox/manifest.json +22 -23
  80. package/dist/{websocket/assets/chunk.524.497b4588088a7fe03056.js → firefox/panes-3-16-0/assets/chunk.524.aca67dc376e8cd35b522.js} +4 -4
  81. package/dist/{websocket/assets/chunk.582.3f979b82d5ad515f2254.js → firefox/panes-3-16-0/assets/chunk.582.d3d80e94c4f59dc3b65d.js} +5 -5
  82. package/dist/firefox/panes-3-16-0/assets/ember-inspector.js +23 -24
  83. package/dist/{bookmarklet/panes-3-16-0/basic-DfbgtngO.js → firefox/panes-3-16-0/basic-B1dkgN3d.js} +6 -1
  84. package/dist/firefox/panes-3-16-0/basic-debug.js +9 -5
  85. package/dist/firefox/panes-3-16-0/bookmarklet-BZWtwuX-.js +32 -0
  86. package/dist/firefox/panes-3-16-0/bookmarklet-debug.js +9 -33
  87. package/dist/firefox/panes-3-16-0/chrome-P6FSEUf1.js +10 -0
  88. package/dist/firefox/panes-3-16-0/chrome-debug.js +9 -11
  89. package/dist/firefox/panes-3-16-0/ember.js +101 -50
  90. package/dist/firefox/panes-3-16-0/ember_debug.js +9 -31
  91. package/dist/firefox/panes-3-16-0/firefox-8F84zphP.js +30 -0
  92. package/dist/firefox/panes-3-16-0/firefox-debug.js +9 -31
  93. package/dist/firefox/panes-3-16-0/index.html +2 -2
  94. package/dist/firefox/panes-3-16-0/load-ember-debug-in-webpage-DCWcJhQm.js +29 -0
  95. package/dist/firefox/panes-3-16-0/main.js +11 -5
  96. package/dist/firefox/panes-3-16-0/port.js +1 -1
  97. package/dist/{websocket/runloop-CF-Qpqgy.js → firefox/panes-3-16-0/runloop-6_0lpzTA.js} +1 -1
  98. package/dist/{chrome/panes-3-16-0/start-inspector-BPAW_WLv.js → firefox/panes-3-16-0/start-inspector-BIYQArZn.js} +32 -74
  99. package/dist/{websocket/web-extension-C3pMNVSY.js → firefox/panes-3-16-0/web-extension-OWnXJ_XK.js} +2 -2
  100. package/dist/firefox/panes-3-16-0/websocket-BSUvUqER.js +58 -0
  101. package/dist/firefox/panes-3-16-0/websocket-debug.js +9 -59
  102. package/dist/{chrome/panes-3-16-0/assets/chunk.524.497b4588088a7fe03056.js → websocket/assets/chunk.524.aca67dc376e8cd35b522.js} +4 -4
  103. package/dist/{chrome/panes-3-16-0/assets/chunk.582.3f979b82d5ad515f2254.js → websocket/assets/chunk.582.d3d80e94c4f59dc3b65d.js} +5 -5
  104. package/dist/websocket/assets/ember-inspector.js +23 -24
  105. package/dist/websocket/{basic-DfbgtngO.js → basic-B1dkgN3d.js} +6 -1
  106. package/dist/websocket/basic-debug.js +9 -5
  107. package/dist/websocket/bookmarklet-BZWtwuX-.js +32 -0
  108. package/dist/websocket/bookmarklet-debug.js +9 -33
  109. package/dist/websocket/chrome-P6FSEUf1.js +10 -0
  110. package/dist/websocket/chrome-debug.js +9 -11
  111. package/dist/websocket/ember.js +101 -50
  112. package/dist/websocket/ember_debug.js +9 -59
  113. package/dist/websocket/firefox-8F84zphP.js +30 -0
  114. package/dist/websocket/firefox-debug.js +9 -31
  115. package/dist/websocket/index.html +2 -2
  116. package/dist/websocket/load-ember-debug-in-webpage-DCWcJhQm.js +29 -0
  117. package/dist/websocket/main.js +11 -5
  118. package/dist/websocket/port.js +1 -1
  119. package/dist/{bookmarklet/panes-3-16-0/runloop-CF-Qpqgy.js → websocket/runloop-6_0lpzTA.js} +1 -1
  120. package/dist/websocket/{start-inspector-BPAW_WLv.js → start-inspector-BIYQArZn.js} +32 -74
  121. package/dist/{chrome/panes-3-16-0/web-extension-C3pMNVSY.js → websocket/web-extension-OWnXJ_XK.js} +2 -2
  122. package/dist/websocket/websocket-BSUvUqER.js +58 -0
  123. package/dist/websocket/websocket-debug.js +9 -59
  124. package/ember_debug/entrypoints/basic-debug.js +7 -3
  125. package/ember_debug/entrypoints/bookmarklet-debug.js +7 -3
  126. package/ember_debug/entrypoints/chrome-debug.js +7 -3
  127. package/ember_debug/entrypoints/firefox-debug.js +7 -3
  128. package/ember_debug/entrypoints/websocket-debug.js +7 -3
  129. package/ember_debug/lib/get-applications.js +6 -5
  130. package/ember_debug/lib/load-ember-debug-in-webpage.js +2 -0
  131. package/ember_debug/lib/send-version-miss.js +2 -3
  132. package/ember_debug/lib/setup-instance-initializer.js +4 -3
  133. package/ember_debug/lib/start-inspector.js +23 -39
  134. package/ember_debug/object-inspector.js +4 -1
  135. package/ember_debug/utils/ember/runloop.js +1 -1
  136. package/ember_debug/utils/ember-object-names.js +4 -1
  137. package/ember_debug/utils/ember.js +132 -56
  138. package/package.json +5 -5
  139. package/patches/ember-cli-inject-live-reload.patch +16 -0
  140. package/skeletons/web-extension/manifest.json +22 -23
  141. package/tests/acceptance/data-test.js +6 -1
  142. package/tests/acceptance/whats-new-test.js +9 -9
  143. package/tests/ember_debug/container-debug-test.js +1 -10
  144. package/tests/ember_debug/deprecation-debug-test.js +7 -1
  145. package/tests/ember_debug/ember-data-test.js +7 -1
  146. package/tests/ember_debug/ember-debug-test.js +12 -9
  147. package/tests/ember_debug/object-inspector-test.js +7 -1
  148. package/tests/ember_debug/profile-manager-test.js +13 -3
  149. package/tests/ember_debug/profile-node-test.js +6 -2
  150. package/tests/ember_debug/promise-assembler-test.js +6 -1
  151. package/tests/ember_debug/promise-debug-test.js +14 -9
  152. package/tests/ember_debug/render-debug-test.js +8 -1
  153. package/tests/ember_debug/route-debug-test.js +6 -1
  154. package/tests/ember_debug/view-debug-test.js +11 -2
  155. package/tests/helpers/setup-ember-debug-test.js +8 -2
  156. package/tests/integration/injection-test.js +26 -69
  157. package/tests/unit/.gitkeep +0 -0
  158. package/tests/unit/utils/type-check-test.js +7 -2
package/.editorconfig ADDED
@@ -0,0 +1,19 @@
1
+ # EditorConfig helps developers define and maintain consistent
2
+ # coding styles between different editors and IDEs
3
+ # editorconfig.org
4
+
5
+ root = true
6
+
7
+ [*]
8
+ end_of_line = lf
9
+ charset = utf-8
10
+ trim_trailing_whitespace = true
11
+ insert_final_newline = true
12
+ indent_style = space
13
+ indent_size = 2
14
+
15
+ [*.hbs]
16
+ insert_final_newline = false
17
+
18
+ [*.{diff,md}]
19
+ trim_trailing_whitespace = false
package/.ember-cli ADDED
@@ -0,0 +1,7 @@
1
+ {
2
+ /**
3
+ Setting `isTypeScriptProject` to true will force the blueprint generators to generate TypeScript
4
+ rather than JavaScript by default, when a TypeScript version of a given blueprint is available.
5
+ */
6
+ "isTypeScriptProject": true
7
+ }
@@ -0,0 +1,30 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: ''
5
+ labels: 'bug'
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Describe the bug**
11
+ A clear and concise description of what the bug is.
12
+
13
+ **To Reproduce**
14
+ Steps to reproduce the behavior:
15
+ 1. Go to '...'
16
+ 2. Click on '....'
17
+ 3. Scroll down to '....'
18
+ 4. See error
19
+
20
+ **Expected behavior**
21
+ A clear and concise description of what you expected to happen.
22
+
23
+ **Screenshots**
24
+ If applicable, add screenshots to help explain your problem.
25
+
26
+ **Environment**
27
+ Ember version, browser, etc.
28
+
29
+ **Additional context**
30
+ Add any other context about the problem here.
@@ -0,0 +1,20 @@
1
+ ---
2
+ name: Feature request
3
+ about: Suggest an idea for this project
4
+ title: ''
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ **Is your feature request related to a problem? Please describe.**
11
+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12
+
13
+ **Describe the solution you'd like**
14
+ A clear and concise description of what you want to happen.
15
+
16
+ **Describe alternatives you've considered**
17
+ A clear and concise description of any alternative solutions or features you've considered.
18
+
19
+ **Additional context**
20
+ Add any other context or screenshots about the feature request here.
@@ -0,0 +1,14 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: npm
4
+ directory: "/"
5
+ schedule:
6
+ interval: weekly
7
+ open-pull-requests-limit: 10
8
+ labels:
9
+ - dependencies
10
+ - internal
11
+ ignore:
12
+ - dependency-name: ember-cli
13
+ versions:
14
+ - ">= 0"
@@ -0,0 +1,4 @@
1
+ ## Description
2
+
3
+
4
+ ## Screenshots
@@ -0,0 +1,260 @@
1
+ name: Build and Publish
2
+ on:
3
+ pull_request: {}
4
+ push:
5
+ branches:
6
+ - main
7
+ - stable
8
+ - ember-2.7.0-3.4.0
9
+ - ember-0.0.0-2.7.0
10
+ tags:
11
+ - v*
12
+ schedule:
13
+ - cron: '0 0 * * *'
14
+
15
+ jobs:
16
+ test:
17
+ name: Test
18
+ runs-on: ubuntu-latest
19
+ env:
20
+ CI: 'true'
21
+ steps:
22
+ - uses: actions/checkout@v4
23
+ # Code Climate expects these variables to be set
24
+ - name: Set up commit metadata
25
+ if: github.event_name == 'push'
26
+ env:
27
+ GIT_COMMIT_SHA: ${{ github.sha }}
28
+ GIT_BRANCH: ${{ github.ref }}
29
+ run: |
30
+ echo "GIT_COMMIT_SHA=${GIT_COMMIT_SHA}" >> $GITHUB_ENV
31
+ echo "GIT_BRANCH=${GIT_BRANCH/refs\/heads\//}" >> $GITHUB_ENV
32
+ - name: Set up commit metadata
33
+ if: github.event_name == 'pull_request'
34
+ env:
35
+ GIT_COMMIT_SHA: ${{ github.event.pull_request.head.sha }}
36
+ GIT_BRANCH: ${{ github.event.pull_request.head.ref }}
37
+ run: |
38
+ echo "GIT_COMMIT_SHA=${GIT_COMMIT_SHA}" >> $GITHUB_ENV
39
+ echo "GIT_BRANCH=${GIT_BRANCH}" >> $GITHUB_ENV
40
+ - uses: pnpm/action-setup@v4
41
+ - uses: actions/setup-node@v4
42
+ with:
43
+ node-version: 22
44
+ cache: pnpm
45
+ - run: pnpm install
46
+ - name: Lint (hbs)
47
+ run: pnpm lint:hbs
48
+ - name: Lint (js)
49
+ run: pnpm lint:js
50
+ - name: Run test
51
+ run: pnpm test
52
+ env:
53
+ COVERAGE: 'true'
54
+ # Ideally, we would split up the test task into separate build and run
55
+ # steps to get better CI log output (folding and timing information).
56
+ # However, this is not currently possible with ember-cli-code-coverage.
57
+ #
58
+ # See https://github.com/kategengler/ember-cli-code-coverage/issues/210
59
+ #
60
+ # - name: Build
61
+ # run: pnpm ember build --environment test
62
+ # env:
63
+ # COVERAGE: 'true'
64
+ # - name: Run test
65
+ # run: COVERAGE pnpm ember test --path dist
66
+ # env:
67
+ # # Due to a bug in ember-cli, running `ember test` with `--path` doesn't set `EMBER_ENV=test`
68
+ # # See https://github.com/ember-cli/ember-cli/issues/8922
69
+ # EMBER_ENV: test
70
+ # COVERAGE: 'true'
71
+ - name: Report coverage
72
+ if: github.event_name != 'schedule'
73
+ run: pnpm codeclimate-test-reporter < coverage/lcov.info
74
+ env:
75
+ CODECLIMATE_REPO_TOKEN: 59edcfd1ffc778791af49ca594b503e7179f6bbe1991b2cc0c0a6987d103253d
76
+
77
+ ember-try:
78
+ name: ember-try (${{ matrix.scenario }})
79
+ needs: test
80
+ runs-on: ubuntu-latest
81
+ timeout-minutes: 10
82
+ env:
83
+ CI: 'true'
84
+ strategy:
85
+ fail-fast: false
86
+ matrix:
87
+ scenario:
88
+ - ember-lts-3.16
89
+ - ember-lts-3.20
90
+ - ember-lts-3.24
91
+ - ember-lts-3.28
92
+ - ember-lts-4.8
93
+ - ember-lts-4.12
94
+ - ember-lts-5.4
95
+ - ember-lts-5.8
96
+ - ember-lts-5.12
97
+ - ember-release
98
+ - ember-beta
99
+ - ember-canary
100
+ - ember-default-no-prototype-extensions
101
+
102
+ steps:
103
+ - uses: actions/checkout@v4
104
+ - uses: pnpm/action-setup@v4
105
+ - uses: actions/setup-node@v4
106
+ with:
107
+ node-version: 22
108
+ cache: pnpm
109
+ - run: pnpm install
110
+ - name: Set NO_EXTEND_PROTOTYPES
111
+ if: matrix.scenario == 'ember-default-no-prototype-extensions'
112
+ run: echo "NO_EXTEND_PROTOTYPES==true" >> .GITHUB_ENV
113
+ - name: Setup ember-try scenario
114
+ run: pnpm ember try:one ${{ matrix.scenario }} --skip-cleanup --- cat package.json
115
+ - name: Build
116
+ run: pnpm ember build --environment test
117
+ - name: Run test
118
+ # Due to a bug in ember-cli, running `ember test` with `--path` doesn't set `EMBER_ENV=test`
119
+ # See https://github.com/ember-cli/ember-cli/issues/8922
120
+ run: EMBER_ENV=test pnpm ember test --path dist --filter="Ember Debug"
121
+
122
+ build:
123
+ name: Build extensions
124
+ runs-on: ubuntu-latest
125
+ env:
126
+ CI: 'true'
127
+ steps:
128
+ - uses: actions/checkout@v4
129
+ - uses: pnpm/action-setup@v4
130
+ - uses: actions/setup-node@v4
131
+ with:
132
+ node-version: 22
133
+ cache: pnpm
134
+ - run: pnpm install
135
+ - name: Download panes
136
+ run: node scripts/download-panes.js
137
+ env:
138
+ EMBER_ENV: production
139
+ - name: Update manifest.json (nightly)
140
+ if: github.event_name == 'schedule'
141
+ run: |
142
+ DATE="$(date +"%Y.%-m.%-d")"
143
+ SHA="${GITHUB_SHA:0:7}"
144
+ VERSION="$(jq -r '.version' package.json)"
145
+ CONTENT="$(cat "$FILE")"
146
+
147
+ echo "$CONTENT" | jq --arg date "$DATE" --arg sha "$SHA" --arg version "$VERSION" "$FILTER" > $FILE
148
+ cat "$FILE"
149
+ env:
150
+ FILE: skeletons/web-extension/manifest.json
151
+ FILTER: >-
152
+ .name += " (Nightly)" |
153
+ .version = $date |
154
+ .version_name = "\($version) (nightly build \($date) / \($sha))"
155
+ - name: Update manifest.json (pull request)
156
+ if: github.event_name == 'pull_request'
157
+ run: |
158
+ SHA="${SHA:0:7}"
159
+ CONTENT="$(cat "$FILE")"
160
+
161
+ echo "$CONTENT" | jq --arg pr "$PR" --arg sha "$SHA" "$FILTER" > $FILE
162
+ cat "$FILE"
163
+ env:
164
+ FILE: skeletons/web-extension/manifest.json
165
+ FILTER: >-
166
+ .name += " (PR #\($pr))" |
167
+ .version = $pr |
168
+ .version_name = $sha
169
+ PR: ${{ github.event.pull_request.number }}
170
+ SHA: ${{ github.event.pull_request.head.sha }}
171
+ - name: Update package.json (nightly)
172
+ if: github.event_name == 'schedule'
173
+ run: |
174
+ DATE="$(date +"%Y.%-m.%-d")"
175
+ SHA="${GITHUB_SHA:0:7}"
176
+ CONTENT="$(cat "$FILE")"
177
+
178
+ echo "$CONTENT" | jq --arg date "$DATE" --arg sha "$SHA" "$FILTER" > $FILE
179
+ cat "$FILE"
180
+ env:
181
+ FILE: package.json
182
+ FILTER: .version += "-alpha.\($date)+\($sha)"
183
+ - name: Update package.json (pull request)
184
+ if: github.event_name == 'pull_request'
185
+ run: |
186
+ SHA="${SHA:0:7}"
187
+ CONTENT="$(cat "$FILE")"
188
+
189
+ echo "$CONTENT" | jq --arg pr "$PR" --arg sha "$SHA" "$FILTER" > $FILE
190
+ cat "$FILE"
191
+ env:
192
+ FILE: package.json
193
+ FILTER: .version += "-alpha.0.\($pr)+\($sha)"
194
+ PR: ${{ github.event.pull_request.number }}
195
+ SHA: ${{ github.event.pull_request.head.sha }}
196
+ - name: Set EMBER_INSPECTOR_TAB (nightly)
197
+ if: github.event_name == 'schedule'
198
+ run: echo "EMBER_INSPECTOR_TAB=Nightly" >> $GITHUB_ENV
199
+ - name: Set EMBER_INSPECTOR_TAB (pull request)
200
+ if: github.event_name == 'pull_request'
201
+ run: echo "EMBER_INSPECTOR_TAB=PR \#$PR" >> $GITHUB_ENV
202
+ env:
203
+ PR: ${{ github.event.pull_request.number }}
204
+ - name: Build
205
+ run: pnpm build:production
206
+ - name: Pack
207
+ run: |
208
+ VERSION="$(jq -r '.version' package.json)"
209
+
210
+ pnpm pack
211
+ mkdir -p dist/npm
212
+ tar xvzf "ember-inspector-$VERSION.tgz" -C dist/npm --strip-components 1
213
+ - name: Upload artifacts (bookmarklet)
214
+ uses: actions/upload-artifact@v4
215
+ with:
216
+ name: bookmarklet
217
+ path: dist/bookmarklet
218
+ - name: Upload artifacts (Chrome)
219
+ uses: actions/upload-artifact@v4
220
+ with:
221
+ name: chrome
222
+ path: dist/chrome
223
+ - name: Upload artifacts (Firefox)
224
+ uses: actions/upload-artifact@v4
225
+ with:
226
+ name: firefox
227
+ path: dist/firefox
228
+ - name: Upload artifacts (npm)
229
+ uses: actions/upload-artifact@v4
230
+ with:
231
+ name: npm
232
+ path: dist/npm
233
+
234
+ publish-chrome:
235
+ name: Publish Chrome extension
236
+ needs:
237
+ - test
238
+ - ember-try
239
+ - build
240
+ runs-on: ubuntu-latest
241
+ steps:
242
+ - name: Set up node
243
+ uses: actions/setup-node@v4
244
+ - name: Install dependencies (chrome-webstore-upload-cli)
245
+ run: npm install -g chrome-webstore-upload-cli
246
+ - name: Download artifacts (Chrome)
247
+ uses: actions/download-artifact@v4
248
+ with:
249
+ name: chrome
250
+ path: chrome
251
+ - name: Set Environment Variables
252
+ run: |
253
+ echo "EXTENSION_ID=ibdbkmdgflhglikhjdbogjjflkialpfi" >> $GITHUB_ENV
254
+ echo "CLIENT_ID=${{ secrets.GOOGLE_NIGHTLY_CLIENT_ID }}" >> $GITHUB_ENV
255
+ echo "CLIENT_SECRET=${{ secrets.GOOGLE_NIGHTLY_CLIENT_SECRET }}" >> $GITHUB_ENV
256
+ echo "REFRESH_TOKEN=${{ secrets.GOOGLE_NIGHTLY_REFRESH_TOKEN }}" >> $GITHUB_ENV
257
+ - name: Upload to Chrome Web Store
258
+ if: >-
259
+ github.event_name == 'schedule'
260
+ run: chrome-webstore-upload upload --source chrome --auto-publish
@@ -0,0 +1,61 @@
1
+ name: Plan Release
2
+ on:
3
+ workflow_dispatch:
4
+ push:
5
+ branches:
6
+ - main
7
+ - master
8
+ pull_request_target: # This workflow has permissions on the repo, do NOT run code from PRs in this workflow. See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
9
+ types:
10
+ - labeled
11
+ - unlabeled
12
+
13
+ concurrency:
14
+ group: plan-release # only the latest one of these should ever be running
15
+ cancel-in-progress: true
16
+
17
+ jobs:
18
+ should-run-release-plan-prepare:
19
+ name: Should we run release-plan prepare?
20
+ runs-on: ubuntu-latest
21
+ outputs:
22
+ should-prepare: ${{ steps.should-prepare.outputs.should-prepare }}
23
+ steps:
24
+ - uses: release-plan/actions/should-prepare-release@v1
25
+ with:
26
+ ref: 'main'
27
+ id: should-prepare
28
+
29
+ create-prepare-release-pr:
30
+ name: Create Prepare Release PR
31
+ runs-on: ubuntu-latest
32
+ timeout-minutes: 5
33
+ needs: should-run-release-plan-prepare
34
+ permissions:
35
+ contents: write
36
+ issues: read
37
+ pull-requests: write
38
+ if: needs.should-run-release-plan-prepare.outputs.should-prepare == 'true'
39
+ steps:
40
+ - uses: release-plan/actions/prepare@v1
41
+ name: Run release-plan prepare
42
+ with:
43
+ ref: 'main'
44
+ env:
45
+ GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
46
+ id: explanation
47
+
48
+ - uses: peter-evans/create-pull-request@v7
49
+ name: Create Prepare Release PR
50
+ with:
51
+ commit-message: "Prepare Release ${{ steps.explanation.outputs.new-version}} using 'release-plan'"
52
+ labels: "internal"
53
+ sign-commits: true
54
+ branch: release-preview
55
+ title: Prepare Release ${{ steps.explanation.outputs.new-version }}
56
+ body: |
57
+ This PR is a preview of the release that [release-plan](https://github.com/embroider-build/release-plan) has prepared. To release you should just merge this PR 👍
58
+
59
+ -----------------------------------------
60
+
61
+ ${{ steps.explanation.outputs.text }}
@@ -0,0 +1,158 @@
1
+ # For every push to the primary branch with .release-plan.json modified,
2
+ # runs release-plan.
3
+
4
+ name: Publish Stable
5
+
6
+ on:
7
+ workflow_dispatch:
8
+ push:
9
+ branches:
10
+ - main
11
+ - master
12
+ paths:
13
+ - '.release-plan.json'
14
+
15
+ concurrency:
16
+ group: publish-${{ github.head_ref || github.ref }}
17
+ cancel-in-progress: true
18
+
19
+ jobs:
20
+
21
+ build:
22
+ name: Build extensions
23
+ runs-on: ubuntu-latest
24
+ steps:
25
+ - uses: actions/checkout@v4
26
+ - uses: pnpm/action-setup@v4
27
+ - uses: actions/setup-node@v4
28
+ with:
29
+ node-version: 22
30
+ cache: pnpm
31
+ - run: pnpm install
32
+ - name: Download panes
33
+ run: node scripts/download-panes.js
34
+ env:
35
+ EMBER_ENV: production
36
+ - name: Build
37
+ run: pnpm build:production
38
+ - name: Pack
39
+ run: |
40
+ VERSION="$(jq -r '.version' package.json)"
41
+
42
+ pnpm pack
43
+ mkdir -p dist/npm
44
+ tar xvzf "ember-inspector-$VERSION.tgz" -C dist/npm --strip-components 1
45
+ - name: Upload artifacts (bookmarklet)
46
+ uses: actions/upload-artifact@v4
47
+ with:
48
+ name: bookmarklet
49
+ path: dist/bookmarklet
50
+ - name: Upload artifacts (Chrome)
51
+ uses: actions/upload-artifact@v4
52
+ with:
53
+ name: chrome
54
+ path: dist/chrome
55
+ - name: Upload artifacts (Firefox)
56
+ uses: actions/upload-artifact@v4
57
+ with:
58
+ name: firefox
59
+ path: dist/firefox
60
+ - name: Upload artifacts (npm)
61
+ uses: actions/upload-artifact@v4
62
+ with:
63
+ name: npm
64
+ path: dist/npm
65
+
66
+ publish-bookmarklet:
67
+ name: Publish bookmarklet
68
+ needs:
69
+ - build
70
+ runs-on: ubuntu-latest
71
+ steps:
72
+ - name: Download artifacts (bookmarklet)
73
+ uses: actions/download-artifact@v4
74
+ with:
75
+ name: bookmarklet
76
+ path: bookmarklet
77
+ - name: Upload to S3
78
+ uses: jakejarvis/s3-sync-action@v0.5.1
79
+ with:
80
+ args: --acl public-read --cache-control "max-age=86400000,public"
81
+ env:
82
+ AWS_S3_BUCKET: ember-extension
83
+ AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
84
+ AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
85
+ SOURCE_DIR: bookmarklet
86
+ DEST_DIR: dist_bookmarklet
87
+
88
+ publish-chrome:
89
+ name: Publish Chrome extension
90
+ needs:
91
+ - build
92
+ runs-on: ubuntu-latest
93
+ steps:
94
+ - name: Set up node
95
+ uses: actions/setup-node@v4
96
+ - name: Install dependencies (chrome-webstore-upload-cli)
97
+ run: npm install -g chrome-webstore-upload-cli
98
+ - name: Download artifacts (Chrome)
99
+ uses: actions/download-artifact@v4
100
+ with:
101
+ name: chrome
102
+ path: chrome
103
+ - name: Set Environment Variables
104
+ run: |
105
+ echo "EXTENSION_ID=bmdblncegkenkacieihfhpjfppoconhi" >> $GITHUB_ENV
106
+ echo "CLIENT_ID=${{ secrets.GOOGLE_NIGHTLY_CLIENT_ID }}" >> $GITHUB_ENV
107
+ echo "CLIENT_SECRET=${{ secrets.GOOGLE_NIGHTLY_CLIENT_SECRET }}" >> $GITHUB_ENV
108
+ echo "REFRESH_TOKEN=${{ secrets.GOOGLE_NIGHTLY_REFRESH_TOKEN }}" >> $GITHUB_ENV
109
+ - name: Upload to Chrome Web Store
110
+ run: chrome-webstore-upload upload --source chrome --auto-publish
111
+
112
+ publish-firefox:
113
+ name: Publish Firefox extension
114
+ needs:
115
+ - build
116
+ runs-on: ubuntu-latest
117
+ steps:
118
+ - name: Set up nod
119
+ uses: actions/setup-node@v4
120
+ - name: Install dependencies (web-ext)
121
+ run: |
122
+ npm install -g web-ext
123
+ # https://github.com/mozilla/web-ext/issues/804
124
+ npm install -g web-ext-submit
125
+ - name: Download artifacts (Firefox)
126
+ uses: actions/download-artifact@v4
127
+ with:
128
+ name: firefox
129
+ path: firefox
130
+ - name: Upload to AMO
131
+ working-directory: firefox
132
+ run: web-ext-submit --channel=listed
133
+ env:
134
+ WEB_EXT_API_KEY: ${{ secrets.FIREFOX_API_KEY }}
135
+ WEB_EXT_API_SECRET: ${{ secrets.FIREFOX_API_SECRET }}
136
+
137
+ publish:
138
+ name: "NPM Publish"
139
+ runs-on: ubuntu-latest
140
+ permissions:
141
+ contents: write
142
+ id-token: write
143
+ attestations: write
144
+
145
+ steps:
146
+ - uses: actions/checkout@v5
147
+ - uses: pnpm/action-setup@v4
148
+ - uses: actions/setup-node@v6
149
+ with:
150
+ node-version: 22
151
+ registry-url: 'https://registry.npmjs.org'
152
+ cache: pnpm
153
+ - run: pnpm install --frozen-lockfile
154
+ - run: npm install -g npm@latest # ensure that the globally installed npm is new enough to support OIDC
155
+ - name: Publish to NPM
156
+ run: NPM_CONFIG_PROVENANCE=true pnpm release-plan publish
157
+ env:
158
+ GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,14 @@
1
+ # unconventional js
2
+ /blueprints/*/files/
3
+
4
+ # compiled output
5
+ /dist/
6
+ /ember_debug/dist/
7
+
8
+ # misc
9
+ /coverage/
10
+ !.*
11
+ .*/
12
+
13
+ # ember-try
14
+ /.node_modules.ember-try/
package/.prettierrc.js ADDED
@@ -0,0 +1,20 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+ plugins: ['prettier-plugin-ember-template-tag'],
5
+ overrides: [
6
+ {
7
+ files: '*.{js,gjs,ts,gts,mjs,mts,cjs,cts}',
8
+ options: {
9
+ singleQuote: true,
10
+ },
11
+ },
12
+ {
13
+ files: '*.{gjs,gts}',
14
+ options: {
15
+ singleQuote: true,
16
+ templateSingleQuote: false,
17
+ },
18
+ },
19
+ ],
20
+ };
@@ -0,0 +1,26 @@
1
+ {
2
+ "solution": {
3
+ "ember-inspector": {
4
+ "impact": "minor",
5
+ "oldVersion": "4.14.2",
6
+ "newVersion": "4.15.0",
7
+ "tagName": "latest",
8
+ "constraints": [
9
+ {
10
+ "impact": "minor",
11
+ "reason": "Appears in changelog section :rocket: Enhancement"
12
+ },
13
+ {
14
+ "impact": "patch",
15
+ "reason": "Appears in changelog section :bug: Bug Fix"
16
+ },
17
+ {
18
+ "impact": "patch",
19
+ "reason": "Appears in changelog section :house: Internal"
20
+ }
21
+ ],
22
+ "pkgJSONPath": "./package.json"
23
+ }
24
+ },
25
+ "description": "## Release (2025-11-19)\n\n* ember-inspector 4.15.0 (minor)\n\n#### :rocket: Enhancement\n* `ember-inspector`\n * [#2694](https://github.com/emberjs/ember-inspector/pull/2694) link to legacy inspector support docs ([@patricklx](https://github.com/patricklx))\n\n#### :bug: Bug Fix\n* `ember-inspector`\n * [#2691](https://github.com/emberjs/ember-inspector/pull/2691) fix data tab not showing models ([@patricklx](https://github.com/patricklx))\n * [#2703](https://github.com/emberjs/ember-inspector/pull/2703) regression: fix _backburner access ([@patricklx](https://github.com/patricklx))\n * [#2705](https://github.com/emberjs/ember-inspector/pull/2705) fix whats new for nightly ([@patricklx](https://github.com/patricklx))\n * [#2689](https://github.com/emberjs/ember-inspector/pull/2689) fix loading race condition ([@patricklx](https://github.com/patricklx))\n * [#2700](https://github.com/emberjs/ember-inspector/pull/2700) add a optional chaining operator for accessing getOwner on application ([@mansona](https://github.com/mansona))\n * [#2702](https://github.com/emberjs/ember-inspector/pull/2702) add back iframe (without src) support ([@patricklx](https://github.com/patricklx))\n * [#2692](https://github.com/emberjs/ember-inspector/pull/2692) fix whats new ([@patricklx](https://github.com/patricklx))\n\n#### :house: Internal\n* `ember-inspector`\n * [#2708](https://github.com/emberjs/ember-inspector/pull/2708) update release-plan workflows to new format ([@mansona](https://github.com/mansona))\n\n#### Committers: 2\n- Chris Manson ([@mansona](https://github.com/mansona))\n- Patrick Pircher ([@patricklx](https://github.com/patricklx))\n"
26
+ }
@@ -0,0 +1,8 @@
1
+ # unconventional files
2
+ /blueprints/*/files/
3
+
4
+ # compiled output
5
+ /dist/
6
+
7
+ # addons
8
+ /.node_modules.ember-try/
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+ extends: ['stylelint-config-standard-scss', 'stylelint-prettier/recommended'],
5
+ rules: {
6
+ 'color-hex-length': null,
7
+ 'no-descending-specificity': null,
8
+ 'no-invalid-position-at-import-rule': null,
9
+ 'number-max-precision': null,
10
+ 'property-no-vendor-prefix': null,
11
+ },
12
+ };
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+ extends: 'recommended',
5
+ rules: {
6
+ 'no-at-ember-render-modifiers': false,
7
+ 'no-negated-condition': false,
8
+
9
+ // TODO: enable these rules
10
+ 'no-builtin-form-components': false,
11
+ 'no-positive-tabindex': false,
12
+ },
13
+ };
package/.tool-versions ADDED
@@ -0,0 +1,2 @@
1
+ nodejs 18.20.4
2
+ pnpm 9.12.1