Skip to content

Commit 3dd2e88

Browse files
committed
chore: Move ember integration tests to a monorepo package.
1 parent 334e5d8 commit 3dd2e88

File tree

110 files changed

+2487
-385
lines changed

Some content is hidden

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

110 files changed

+2487
-385
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"name": "css-blocks-monorepo",
33
"private": true,
44
"workspaces": [
5-
"packages/@css-blocks/*"
5+
"packages/@css-blocks/*",
6+
"private-packages/fixtures/*"
67
],
78
"scripts": {
89
"ci": "lerna run test",
Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,25 @@
1-
The MIT License (MIT)
2-
3-
Copyright (c) 2018
4-
5-
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:
6-
7-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8-
9-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1+
BSD 2-CLAUSE LICENSE
2+
3+
Copyright 2018 LinkedIn Corporation and Contributors.
4+
All Rights Reserved.
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, are permitted provided that the following conditions are met:
8+
9+
1. Redistributions of source code must retain the above copyright notice, this
10+
list of conditions and the following disclaimer.
11+
12+
2. Redistributions in binary form must reproduce the above copyright notice,
13+
this list of conditions and the following disclaimer in the documentation
14+
and/or other materials provided with the distribution.
15+
16+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
17+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

packages/@css-blocks/ember-cli/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ In the Ember + CSS Blocks build, the built-in `{{link-to}}` component receives s
4141

4242
```css
4343
/* stylesheet.block.css */
44-
.link { color: gray; }
44+
.link { color: blue; }
4545
.link[loading] { color: yellow; }
4646
.link[active] { color: green; }
47-
.link[disabled] { color: red; }
47+
.link[disabled] { color: gray; }
4848
```
4949

5050
```hbs
5151
{{!-- template.hbs --}}
52-
{{link-to "route-name" class="link"}}
52+
{{link-to "route-name" block:class="link"}}
5353
```

packages/@css-blocks/ember-cli/config/ember-try.js

Lines changed: 0 additions & 71 deletions
This file was deleted.

packages/@css-blocks/ember-cli/config/environment.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/@css-blocks/ember-cli/package.json

Lines changed: 2 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,12 @@
55
"keywords": [
66
"ember-addon"
77
],
8-
"license": "MIT",
8+
"license": "BSD-2-Clause",
99
"author": "Adam Miller <[email protected]>",
10-
"directories": {
11-
"doc": "doc",
12-
"test": "tests"
13-
},
1410
"repository": "https://github.com/linkedin/css-blocks/tree/master/packages/%40css-blocks/ember-cli",
1511
"homepage": "https://github.com/linkedin/css-blocks/tree/master/packages/%40css-blocks/ember-cli#readme",
1612
"scripts": {
17-
"build": "ember build",
18-
"lint:js": "eslint ./*.js addon addon-test-support app blueprints config lib server test-support tests",
19-
"start": "ember serve",
20-
"test": "ember test",
21-
"test:runner": "ember test",
22-
"test:all": "ember try:each"
13+
"test": "echo 'To test this package: cd ../../../private-packages/fixtures/ember-app && yarn test'"
2314
},
2415
"dependencies": {
2516
"@css-blocks/broccoli": "^1.0.0-alpha.7",
@@ -35,47 +26,17 @@
3526
"lodash.merge": "^4.6.2",
3627
"symlink-or-copy": "^1.2.0"
3728
},
38-
"devDependencies": {
39-
"@ember/jquery": "^0.6.1",
40-
"broccoli-asset-rev": "^3.0.0",
41-
"ember-ajax": "^5.0.0",
42-
"ember-cli": "~3.11",
43-
"ember-cli-eslint": "^5.1.0",
44-
"ember-cli-htmlbars": "^3.1.0",
45-
"ember-cli-htmlbars-inline-precompile": "^2.1.0",
46-
"ember-cli-inject-live-reload": "^2.0.1",
47-
"ember-cli-qunit": "^4.3.2",
48-
"ember-cli-sri": "^2.1.1",
49-
"ember-cli-uglify": "^3.0.0",
50-
"ember-disable-prototype-extensions": "^1.1.2",
51-
"ember-engines": "0.8.2",
52-
"ember-export-application-global": "^2.0.0",
53-
"ember-load-initializers": "^2.0.0",
54-
"ember-maybe-import-regenerator": "^0.1.6",
55-
"ember-resolver": "^5.0.0",
56-
"ember-source": "~3.11.0",
57-
"ember-try": "^1.1.0",
58-
"eslint-plugin-ember": "^7.0.0",
59-
"eslint-plugin-node": "^9.0.0",
60-
"loader.js": "^4.7.0"
61-
},
6229
"engines": {
6330
"node": "6.* || 8.* || >= 10.*"
6431
},
6532
"ember-addon": {
66-
"configPath": "tests/dummy/config",
6733
"before": [
6834
"ember-cli-babel",
6935
"ember-cli-htmlbars"
7036
],
7137
"after": [
7238
"ember-cli-sass",
7339
"ember-cli-eyeglass"
74-
],
75-
"paths": [
76-
"tests/dummy/lib/in-repo-addon",
77-
"tests/dummy/lib/in-repo-engine",
78-
"tests/dummy/lib/in-repo-lazy-engine"
7940
]
8041
},
8142
"volta": {

packages/@css-blocks/ember-cli/tests/dummy/config/targets.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

packages/@css-blocks/ember-cli/tests/dummy/lib/.eslintrc.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

packages/@css-blocks/ember-cli/tests/dummy/lib/in-repo-addon/app/components/addon-component.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/@css-blocks/ember-cli/tests/dummy/lib/in-repo-addon/package.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)