Skip to content

Commit

Permalink
organize things a little easier for development for now
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Mar 28, 2024
1 parent 73eff9a commit 97b8ac6
Show file tree
Hide file tree
Showing 529 changed files with 284 additions and 2,701 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "exercises__sep__01.start__sep__01.problem.ssr",
"name": "exercises__sep__01.exercises__sep__01.problem.ssr",
"version": "1.0.0",
"type": "module",
"private": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export function SearchResults({ shipId: currentShipId, shipResults, search }) {
h(
'a',
{
style: { fontWeight: ship.id === currentShipId ? 'bold' : 'normal' },
href,
style: { fontWeight: ship.id === currentShipId ? 'bold' : 'normal' },
},
h('img', {
src: getImageUrlForShip(ship.id, { size: 20 }),
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "exercises__sep__01.start__sep__01.solution.ssr",
"name": "exercises__sep__01.exercises__sep__01.solution.ssr",
"version": "1.0.0",
"type": "module",
"private": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export function SearchResults({ shipId: currentShipId, shipResults, search }) {
h(
'a',
{
style: { fontWeight: ship.id === currentShipId ? 'bold' : 'normal' },
href,
style: { fontWeight: ship.id === currentShipId ? 'bold' : 'normal' },
},
h('img', {
src: getImageUrlForShip(ship.id, { size: 20 }),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "exercises__sep__01.start__sep__02.solution.server-context",
"name": "exercises__sep__01.exercises__sep__02.problem.server-context",
"version": "1.0.0",
"type": "module",
"private": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ export function SearchResults({ shipId: currentShipId, shipResults, search }) {
h(
'a',
{
style: { fontWeight: ship.id === currentShipId ? 'bold' : 'normal' },
href,
style: { fontWeight: ship.id === currentShipId ? 'bold' : 'normal' },
},
h('img', {
src: getImageUrlForShip(ship.id, { size: 20 }),
Expand Down
34 changes: 34 additions & 0 deletions exercises/01.exercises/02.solution.server-context/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "exercises__sep__01.exercises__sep__02.solution.server-context",
"version": "1.0.0",
"type": "module",
"private": true,
"description": "Super simple implementation of RSCs with minimal deps",
"main": "index.js",
"scripts": {
"dev": "node dev.js"
},
"keywords": [],
"author": "Kent C. Dodds <[email protected]> (https://kentcdodds.com/)",
"license": "MIT",
"dependencies": {
"body-parser": "^1.20.2",
"busboy": "^1.6.0",
"chalk": "^5.3.0",
"close-with-grace": "^1.3.0",
"compression": "^1.7.4",
"express": "^4.19.1",
"get-port": "^7.1.0",
"react": "0.0.0-experimental-2b036d3f1-20240327",
"react-dom": "0.0.0-experimental-2b036d3f1-20240327",
"react-error-boundary": "^4.0.13",
"react-server-dom-esm": "npm:@kentcdodds/[email protected]"
},
"devDependencies": {
"@types/node": "^20.11.30",
"prettier": "^3.2.5"
},
"eslintIgnore": [
"node_modules"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function Document() {
)
}

export function App() {
function App() {
const { shipId, search } = shipDataStorage.getStore()
return h(
'div',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export function SearchResults() {
h(
'a',
{
style: { fontWeight: ship.id === currentShipId ? 'bold' : 'normal' },
href,
style: { fontWeight: ship.id === currentShipId ? 'bold' : 'normal' },
},
h('img', {
src: getImageUrlForShip(ship.id, { size: 20 }),
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "exercises__sep__01.start__sep__03.solution.url",
"name": "exercises__sep__01.exercises__sep__03.problem.url",
"version": "1.0.0",
"type": "module",
"private": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function Document() {
)
}

export function App() {
function App() {
const { shipId, search } = shipDataStorage.getStore()
return h(
'div',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export function SearchResults() {
h(
'a',
{
style: { fontWeight: ship.id === currentShipId ? 'bold' : 'normal' },
href,
style: { fontWeight: ship.id === currentShipId ? 'bold' : 'normal' },
},
h('img', {
src: getImageUrlForShip(ship.id, { size: 20 }),
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "exercises__sep__01.start__sep__03.problem.url",
"name": "exercises__sep__01.exercises__sep__03.solution.url",
"version": "1.0.0",
"type": "module",
"private": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function Document() {
)
}

export function App() {
function App() {
const { shipId, search } = shipDataStorage.getStore()
return h(
'div',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export function SearchResults() {
h(
'a',
{
style: { fontWeight: ship.id === currentShipId ? 'bold' : 'normal' },
href,
style: { fontWeight: ship.id === currentShipId ? 'bold' : 'normal' },
},
h('img', {
src: getImageUrlForShip(ship.id, { size: 20 }),
Expand Down
File renamed without changes.
34 changes: 34 additions & 0 deletions exercises/01.exercises/04.problem.stream/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "exercises__sep__01.exercises__sep__04.problem.stream",
"version": "1.0.0",
"type": "module",
"private": true,
"description": "Super simple implementation of RSCs with minimal deps",
"main": "index.js",
"scripts": {
"dev": "node dev.js"
},
"keywords": [],
"author": "Kent C. Dodds <[email protected]> (https://kentcdodds.com/)",
"license": "MIT",
"dependencies": {
"body-parser": "^1.20.2",
"busboy": "^1.6.0",
"chalk": "^5.3.0",
"close-with-grace": "^1.3.0",
"compression": "^1.7.4",
"express": "^4.19.1",
"get-port": "^7.1.0",
"react": "0.0.0-experimental-2b036d3f1-20240327",
"react-dom": "0.0.0-experimental-2b036d3f1-20240327",
"react-error-boundary": "^4.0.13",
"react-server-dom-esm": "npm:@kentcdodds/[email protected]"
},
"devDependencies": {
"@types/node": "^20.11.30",
"prettier": "^3.2.5"
},
"eslintIgnore": [
"node_modules"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function Document() {
)
}

export function App() {
function App() {
const { shipId, search } = shipDataStorage.getStore()
return h(
'div',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export function SearchResults() {
h(
'a',
{
style: { fontWeight: ship.id === currentShipId ? 'bold' : 'normal' },
href,
style: { fontWeight: ship.id === currentShipId ? 'bold' : 'normal' },
},
h('img', {
src: getImageUrlForShip(ship.id, { size: 20 }),
Expand Down
34 changes: 34 additions & 0 deletions exercises/01.exercises/04.solution.stream/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "exercises__sep__01.exercises__sep__04.solution.stream",
"version": "1.0.0",
"type": "module",
"private": true,
"description": "Super simple implementation of RSCs with minimal deps",
"main": "index.js",
"scripts": {
"dev": "node dev.js"
},
"keywords": [],
"author": "Kent C. Dodds <[email protected]> (https://kentcdodds.com/)",
"license": "MIT",
"dependencies": {
"body-parser": "^1.20.2",
"busboy": "^1.6.0",
"chalk": "^5.3.0",
"close-with-grace": "^1.3.0",
"compression": "^1.7.4",
"express": "^4.19.1",
"get-port": "^7.1.0",
"react": "0.0.0-experimental-2b036d3f1-20240327",
"react-dom": "0.0.0-experimental-2b036d3f1-20240327",
"react-error-boundary": "^4.0.13",
"react-server-dom-esm": "npm:@kentcdodds/[email protected]"
},
"devDependencies": {
"@types/node": "^20.11.30",
"prettier": "^3.2.5"
},
"eslintIgnore": [
"node_modules"
]
}
Loading

0 comments on commit 97b8ac6

Please sign in to comment.