Skip to content

Commit ea83aa8

Browse files
committed
Add embroider telemetry option
1 parent ba73b08 commit ea83aa8

Some content is hidden

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

49 files changed

+2577
-52
lines changed

TODO.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
2. Look at second arg to `compatBuild`
1717
3. ...?
1818

19+
FIXME: Figure out how to pass no-babel option to jscodeshift via codemod-cli
20+
1921

2022
# TODO
2123

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@
5454
"zod": "^3.21.4"
5555
},
5656
"devDependencies": {
57+
"@embroider/compat": "^3.0.0",
58+
"@embroider/webpack": "^3.0.0",
5759
"@tsconfig/node16": "^1.0.4",
5860
"@tsconfig/strictest": "^2.0.1",
5961
"@types/chalk": "^2.2.0",
@@ -77,7 +79,8 @@
7779
"release-it-lerna-changelog": "^3.1.0",
7880
"ts-jest": "^29.1.0",
7981
"ts-node": "^10.9.1",
80-
"typescript": "~5.0.4"
82+
"typescript": "~5.0.4",
83+
"webpack": "^5.84.1"
8184
},
8285
"engines": {
8386
"node": "16.* || 18.* || >= 20"
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

test/fixtures/3.28/input/.ember-cli

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
/**
3+
Ember CLI sends analytics information by default. The data is completely
4+
anonymous, but there are times when you might want to disable this behavior.
5+
6+
Setting `disableAnalytics` to true will prevent any data from being sent.
7+
*/
8+
"disableAnalytics": false
9+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# unconventional js
2+
/blueprints/*/files/
3+
/vendor/
4+
5+
# compiled output
6+
/dist/
7+
/tmp/
8+
9+
# dependencies
10+
/bower_components/
11+
/node_modules/
12+
13+
# misc
14+
/coverage/
15+
!.*
16+
.*/
17+
.eslintcache
18+
19+
# ember-try
20+
/.node_modules.ember-try/
21+
/bower.json.ember-try
22+
/package.json.ember-try

test/fixtures/3.28/input/.gitignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
/dist/
5+
/tmp/
6+
7+
# dependencies
8+
/bower_components/
9+
/node_modules/
10+
11+
# misc
12+
/.env*
13+
/.pnp*
14+
/.sass-cache
15+
/.eslintcache
16+
/connect.lock
17+
/coverage/
18+
/libpeerconnection.log
19+
/npm-debug.log*
20+
/testem.log
21+
/yarn-error.log
22+
23+
# ember-try
24+
/.node_modules.ember-try/
25+
/bower.json.ember-try
26+
/package.json.ember-try
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# unconventional js
2+
/blueprints/*/files/
3+
/vendor/
4+
5+
# compiled output
6+
/dist/
7+
/tmp/
8+
9+
# dependencies
10+
/bower_components/
11+
/node_modules/
12+
13+
# misc
14+
/coverage/
15+
!.*
16+
.eslintcache
17+
18+
# ember-try
19+
/.node_modules.ember-try/
20+
/bower.json.ember-try
21+
/package.json.ember-try

test/fixtures/3.28/input/.travis.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
language: node_js
3+
node_js:
4+
- "12"
5+
6+
dist: xenial
7+
8+
addons:
9+
chrome: stable
10+
11+
cache:
12+
yarn: true
13+
14+
env:
15+
global:
16+
# See https://git.io/vdao3 for details.
17+
- JOBS=1
18+
19+
branches:
20+
only:
21+
- master
22+
23+
before_install:
24+
- curl -o- -L https://yarnpkg.com/install.sh | bash
25+
- export PATH=$HOME/.yarn/bin:$PATH
26+
27+
script:
28+
- yarn test
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"ignore_dirs": ["tmp", "dist"]
3+
}

test/fixtures/3.28/input/README.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# pyckle
2+
3+
This README outlines the details of collaborating on this Ember application.
4+
A short introduction of this app could easily go here.
5+
6+
## Prerequisites
7+
8+
You will need the following things properly installed on your computer.
9+
10+
* [Git](https://git-scm.com/)
11+
* [Node.js](https://nodejs.org/)
12+
* [Yarn](https://yarnpkg.com/)
13+
* [Ember CLI](https://ember-cli.com/)
14+
* [Google Chrome](https://google.com/chrome/)
15+
16+
## Installation
17+
18+
* `git clone <repository-url>` this repository
19+
* `cd pyckle`
20+
* `yarn install`
21+
22+
## Running / Development
23+
24+
* `ember serve`
25+
* Visit your app at [http://localhost:4200](http://localhost:4200).
26+
* Visit your tests at [http://localhost:4200/tests](http://localhost:4200/tests).
27+
28+
### Code Generators
29+
30+
Make use of the many generators for code, try `ember help generate` for more details
31+
32+
### Running Tests
33+
34+
* `ember test`
35+
* `ember test --server`
36+
37+
### Linting
38+
39+
* `yarn lint`
40+
* `yarn lint:fix`
41+
42+
### Building
43+
44+
* `ember build` (development)
45+
* `ember build --environment production` (production)
46+
47+
### Deploying
48+
49+
Specify what it takes to deploy your app.
50+
51+
## Further Reading / Useful Links
52+
53+
* [ember.js](https://emberjs.com/)
54+
* [ember-cli](https://ember-cli.com/)
55+
* Development Browser Extensions
56+
* [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi)
57+
* [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/)

0 commit comments

Comments
 (0)