Skip to content

Commit 046ebf2

Browse files
authored
[TECH] Remise à jour de la lib (#139)
2 parents 854d520 + 736900a commit 046ebf2

26 files changed

+327
-1066
lines changed

.circleci/config.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@ workflows:
88
main:
99
jobs:
1010
- test
11-
- try-scenarios:
12-
matrix:
13-
parameters:
14-
try-scenario:
15-
- embroider-safe
16-
- embroider-optimized
1711

1812
jobs:
1913
test:
@@ -27,17 +21,3 @@ jobs:
2721
- run: npm ci
2822
- run: npm run lint
2923
- run: npm test
30-
31-
try-scenarios:
32-
parameters:
33-
try-scenario:
34-
type: string
35-
docker:
36-
- image: cimg/node:20.16.0
37-
resource_class: medium+
38-
steps:
39-
- checkout
40-
- browser-tools/install-chrome
41-
- browser-tools/install-chromedriver
42-
- run: npm ci
43-
- run: npx ember try:one << parameters.try-scenario >>

.ember-cli

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,11 @@
55

66
Setting `disableAnalytics` to true will prevent any data from being sent.
77
*/
8-
"disableAnalytics": false
8+
"disableAnalytics": false,
9+
10+
/**
11+
Setting `isTypeScriptProject` to true will force the blueprint generators to generate TypeScript
12+
rather than JavaScript by default, when a TypeScript version of a given blueprint is available.
13+
*/
14+
"isTypeScriptProject": false
915
}

.eslintignore

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,14 @@
11
# unconventional js
22
/blueprints/*/files/
3-
/vendor/
43

54
# compiled output
5+
/declarations/
66
/dist/
7-
/tmp/
8-
9-
# dependencies
10-
/bower_components/
11-
/node_modules/
127

138
# misc
149
/coverage/
1510
!.*
1611
.*/
17-
.eslintcache
1812

1913
# ember-try
2014
/.node_modules.ember-try/
21-
/bower.json.ember-try
22-
/npm-shrinkwrap.json.ember-try
23-
/package.json.ember-try
24-
/package-lock.json.ember-try
25-
/yarn.lock.ember-try

.eslintrc.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ module.exports = {
77
requireConfigFile: false,
88
ecmaVersion: 2018,
99
sourceType: 'module',
10-
ecmaFeatures: {
11-
legacyDecorators: true,
10+
babelOptions: {
11+
plugins: [['@babel/plugin-proposal-decorators', { decoratorsBeforeExport: true }]],
1212
},
1313
},
1414
plugins: ['ember'],

.gitignore

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,25 @@
1-
# See https://help.github.com/ignore-files/ for more about ignoring files.
2-
31
# compiled output
42
/dist/
5-
/tmp/
3+
/declarations/
64

75
# dependencies
8-
/bower_components/
96
/node_modules/
107

118
# misc
129
/.env*
1310
/.pnp*
14-
/.idea
15-
/.sass-cache
1611
/.eslintcache
17-
/connect.lock
1812
/coverage/
19-
/libpeerconnection.log
2013
/npm-debug.log*
2114
/testem.log
2215
/yarn-error.log
2316

2417
# ember-try
2518
/.node_modules.ember-try/
26-
/bower.json.ember-try
2719
/npm-shrinkwrap.json.ember-try
2820
/package.json.ember-try
2921
/package-lock.json.ember-try
3022
/yarn.lock.ember-try
23+
24+
# broccoli-debug
25+
/DEBUG/

.npmignore

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
/dist/
33
/tmp/
44

5-
# dependencies
6-
/bower_components/
7-
85
# misc
9-
/.bowerrc
106
/.editorconfig
117
/.ember-cli
128
/.env*
@@ -18,22 +14,23 @@
1814
/.gitignore
1915
/.prettierignore
2016
/.prettierrc.js
17+
/.stylelintignore
18+
/.stylelintrc.js
2119
/.template-lintrc.js
2220
/.travis.yml
2321
/.watchmanconfig
24-
/bower.json
25-
/config/ember-try.js
2622
/CONTRIBUTING.md
2723
/ember-cli-build.js
2824
/testem.js
2925
/tests/
26+
/tsconfig.declarations.json
27+
/tsconfig.json
3028
/yarn-error.log
3129
/yarn.lock
3230
.gitkeep
3331

3432
# ember-try
3533
/.node_modules.ember-try/
36-
/bower.json.ember-try
3734
/npm-shrinkwrap.json.ember-try
3835
/package.json.ember-try
3936
/package-lock.json.ember-try

.prettierignore

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,13 @@
11
# unconventional js
22
/blueprints/*/files/
3-
/vendor/
43

54
# compiled output
65
/dist/
7-
/tmp/
8-
9-
# dependencies
10-
/bower_components/
11-
/node_modules/
126

137
# misc
148
/coverage/
159
!.*
16-
.eslintcache
17-
.lint-todo/
10+
.*/
1811

1912
# ember-try
2013
/.node_modules.ember-try/
21-
/bower.json.ember-try
22-
/npm-shrinkwrap.json.ember-try
23-
/package.json.ember-try
24-
/package-lock.json.ember-try
25-
/yarn.lock.ember-try

.watchmanconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"ignore_dirs": ["tmp", "dist"]
2+
"ignore_dirs": ["dist"]
33
}

CONTRIBUTING.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,23 @@
22

33
## Installation
44

5-
* `git clone <repository-url>`
6-
* `cd @1024pix/ember-testing-library`
7-
* `npm install`
5+
- `git clone [email protected]:1024pix/ember-testing-library.git`
6+
- `cd ember-testing-library`
7+
- `npm ci`
88

99
## Linting
1010

11-
* `npm run lint`
12-
* `npm run lint:fix`
11+
- `npm run lint`
12+
- `npm run lint:fix`
1313

1414
## Running tests
1515

16-
* `ember test` – Runs the test suite on the current Ember version
17-
* `ember test --server` – Runs the test suite in "watch mode"
18-
* `ember try:each` – Runs the test suite against multiple Ember versions
16+
- `npm run test` – Runs the test suite on the current Ember version
17+
- `npm run test:ember-compatibility` – Runs the test suite against multiple Ember versions
1918

2019
## Running the dummy application
2120

22-
* `ember serve`
23-
* Visit the dummy application at [http://localhost:4200](http://localhost:4200).
21+
- `npm run start`
22+
- Visit the dummy application at [http://localhost:4200](http://localhost:4200).
2423

25-
For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).
24+
For more information on using ember-cli, visit [https://cli.emberjs.com/release/](https://cli.emberjs.com/release/).

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2021
3+
Copyright (c) 2024
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
66

0 commit comments

Comments
 (0)