Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move example up to top level
  • Loading branch information
jaredpalmer committed Jul 19, 2020
commit eb7ff55a80c1a825fdc20bf890b07e8c0fbca585
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Thing } from '@mono/react';
const App = () => {
return (
<div>
<Thing />
<Thing message="hello worldzz" />
</div>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"build": "parcel build index.html"
},
"dependencies": {
"react-app-polyfill": "^1.0.0",
"@mono/react": "^0.0.0"
"react-app-polyfill": "^1.0.0"
},
"alias": {
"react": "../../../node_modules/react",
"react-dom": "../../../node_modules/react-dom/profiling",
"scheduler/tracing": "../../../node_modules/scheduler/tracing-profiling"
"@mono/react": "../packages/react",
"react": "../node_modules/react",
"react-dom": "../node_modules/react-dom/profiling",
"scheduler/tracing": "../node_modules/scheduler/tracing-profiling"
},
"devDependencies": {
"@types/react": "^16.9.11",
Expand Down
2 changes: 2 additions & 0 deletions templates/monorepo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"@types/react": "^16.9.43",
"@types/react-dom": "^16.9.8",
"lerna": "^3.15.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"tsdx": "^0.13.2",
"typescript": "^3.9.7"
},
Expand Down
14 changes: 0 additions & 14 deletions templates/monorepo/packages/react/example/index.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion templates/monorepo/packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"directory": "packages/react"
},
"scripts": {
"start": "tsdx watch --verbose",
"start": "tsdx watch --verbose --noClean",
"build": "tsdx build --tsconfig tsconfig.build.json",
"test": "tsdx test",
"lint": "tsdx lint",
Expand Down
2 changes: 1 addition & 1 deletion templates/monorepo/packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Internal, shared utilities",
"author": "Jared Palmer <hello@formium.io>",
"scripts": {
"start": "tsdx watch --verbose",
"start": "tsdx watch --verbose --noClean",
"build": "tsdx build --tsconfig tsconfig.build.json",
"test": "tsdx test",
"lint": "tsdx lint",
Expand Down