Skip to content

Commit

Permalink
chore: add fixture for extends
Browse files Browse the repository at this point in the history
  • Loading branch information
yarastqt committed Jan 4, 2021
1 parent 438c7ad commit 8a4aa65
Show file tree
Hide file tree
Showing 20 changed files with 72 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/fixtures/external-global-extend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!node_modules

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions tests/fixtures/external-global-extend/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "extends-fixture",
"version": "0.0.0"
}
4 changes: 4 additions & 0 deletions tests/fixtures/external-global-extend/src/a.theme.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": "module-b/b.theme.json",
"sources": []
}
1 change: 1 addition & 0 deletions tests/fixtures/external-local-extend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!node_modules

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions tests/fixtures/external-local-extend/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "external-local-extend",
"version": "0.0.0"
}
4 changes: 4 additions & 0 deletions tests/fixtures/external-local-extend/src/a.theme.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": "module-a/src/b.theme.json",
"sources": []
}
4 changes: 4 additions & 0 deletions tests/fixtures/missing-extend/a.theme.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": "./missing.theme.json",
"sources": []
}
4 changes: 4 additions & 0 deletions tests/fixtures/missing-extend/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "missing-extend-fixture",
"version": "0.0.0"
}
4 changes: 4 additions & 0 deletions tests/fixtures/platforms-extend/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "platforms-extend",
"version": "0.0.0"
}
4 changes: 4 additions & 0 deletions tests/fixtures/platforms-extend/src/a.theme.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"sources": [],
"platforms": ["common", "desktop"]
}
5 changes: 5 additions & 0 deletions tests/fixtures/platforms-extend/src/b.theme.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": "./src/a.theme.json",
"sources": [],
"platforms": ["desktop"]
}
3 changes: 3 additions & 0 deletions tests/fixtures/simple/a.theme.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"sources": []
}
4 changes: 4 additions & 0 deletions tests/fixtures/simple/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "simple-fixture",
"version": "0.0.0"
}

0 comments on commit 8a4aa65

Please sign in to comment.