Skip to content

Commit

Permalink
[@labs/gen-wrapper-react] TestOutput links to monorepo for dependenci…
Browse files Browse the repository at this point in the history
…es (#3310)

* test-output points to the same react dependency

* remove types from tsconfig in labs_react

* restore multiple react versions
  • Loading branch information
taylor-vann committed Sep 28, 2022
1 parent 55ae64a commit b225bd3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/curly-singers-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@lit-labs/gen-wrapper-react': patch
---

Test-output points to the same dependencies as monorepo.
13 changes: 9 additions & 4 deletions packages/labs/gen-wrapper-react/test-output/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,15 @@
"@esm-bundle/chai": "^4.1.5",
"@types/chai": "^4.0.1",
"@types/mocha": "^9.0.0",
"@types/react": "^18.0.9",
"@types/react-dom": "^18.0.3",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"@types/react": "file:../../../../node_modules/@types/react",
"@types/react-dom": "file:../../../../node_modules/@types/react-dom",
"react": "file:../../../../node_modules/react",
"react-dom": "file:../../../../node_modules/react-dom",
"@lit-labs/react": "file:../../react",
"lit": "file:../../../lit",
"lit-html": "file:../../../lit-html",
"lit-element": "file:../../../lit-element",
"@lit/reactive-element": "file:../../../reactive-element",
"@lit-internal/test-element-a": "file:../../test-projects/test-element-a/lit-internal-test-element-a-1.0.0.tgz",
"@lit-internal/test-element-a-react": "file:../gen-output/test-element-a-react/lit-internal-test-element-a-react-1.0.0.tgz"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/labs/react/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"jsx": "react",
"noImplicitOverride": true,
"types": ["react", "react-dom", "mocha"]
"noImplicitOverride": true
},
"include": ["src/**/*.ts", "src/**/*.tsx"],
"exclude": []
Expand Down

0 comments on commit b225bd3

Please sign in to comment.