Skip to content

Commit 44bc01e

Browse files
MichaelDeBoeyCompuIves
authored andcommitted
Add directory details to the package.json of all packages (#2167)
1 parent 67724b4 commit 44bc01e

File tree

15 files changed

+66
-4
lines changed

15 files changed

+66
-4
lines changed

package.json

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"version": "0.1.0",
44
"license": "GPL-3.0",
55
"private": true,
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/codesandbox/codesandbox-client"
9+
},
610
"scripts": {
711
"build": "cross-env NODE_OPTIONS=\"--max-old-space-size=4096\" yarn build:deps && yarn build:prod",
812
"build:prod": "cross-env NODE_OPTIONS=\"--max-old-space-size=4096\" lerna run build --scope homepage --stream && lerna run build --scope app --stream && lerna run copy-assets --scope app --stream",

packages/app/package.json

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
"version": "0.1.1",
44
"license": "MIT",
55
"private": true,
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/codesandbox/codesandbox-client",
9+
"directory": "packages/app"
10+
},
611
"scripts": {
712
"start": "cross-env LOCAL_SERVER=1 LOCAL_DEV=1 NODE_OPTIONS=\"--max-old-space-size=4096\" node scripts/start.js",
813
"start:sandbox": "cross-env SANDBOX_ONLY=true node scripts/start.js",

packages/codesandbox-api/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"author": "Ives van Hoorne <[email protected]>",
1313
"repository": {
1414
"type": "git",
15-
"url": ""
15+
"url": "https://github.com/codesandbox/codesandbox-client",
16+
"directory": "packages/codesandbox-api"
1617
},
1718
"license": "MIT",
1819
"engines": {

packages/common/package.json

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
22
"name": "@codesandbox/common",
33
"version": "1.0.5",
4+
"repository": {
5+
"type": "git",
6+
"url": "https://github.com/codesandbox/codesandbox-client",
7+
"directory": "packages/common"
8+
},
49
"source": true,
510
"files": [
611
"lib"

packages/deps/package.json

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
"version": "0.1.1",
44
"license": "MIT",
55
"private": true,
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/codesandbox/codesandbox-client",
9+
"directory": "packages/deps"
10+
},
611
"main": "dist/index.js",
712
"scripts": {
813
"build": "yarn build:clean && yarn build:rollup",

packages/dynamic-pages/package.json

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
"name": "dynamic-pages",
33
"version": "1.0.0",
44
"private": true,
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/codesandbox/codesandbox-client",
8+
"directory": "packages/dynamic-pages"
9+
},
510
"source": true,
611
"scripts": {
712
"dev": "cross-env LOCAL_SERVER=1 LOCAL_DEV=1 node server.js",

packages/executors/package.json

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
22
"name": "@codesandbox/executors",
33
"version": "0.1.0",
4+
"repository": {
5+
"type": "git",
6+
"url": "https://github.com/codesandbox/codesandbox-client",
7+
"directory": "packages/executors"
8+
},
49
"main": "dist/index.js",
510
"umd:main": "dist/codesandboxexecutors.umd.production.js",
611
"module": "dist/codesandboxexecutors.es.production.js",

packages/homepage/package.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
{
2-
"name": "homepage",
2+
"name": "codesandbox-homepage",
33
"description": "CodeSandbox Homepage",
44
"private": true,
55
"version": "1.0.0",
66
"author": "Ives van Hoorne <[email protected]>",
7+
"repository": {
8+
"type": "git",
9+
"url": "https://github.com/codesandbox/codesandbox-client",
10+
"directory": "packages/homepage"
11+
},
712
"dependencies": {
813
"@babel/preset-flow": "^7.0.0",
914
"@codesandbox/common": "^1.0.5",

packages/node-services/package.json

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
22
"name": "node-services",
33
"version": "0.0.0",
4+
"repository": {
5+
"type": "git",
6+
"url": "https://github.com/codesandbox/codesandbox-client",
7+
"directory": "packages/node-services"
8+
},
49
"dependencies": {
510
"constants-browserify": "^1.0.0",
611
"events": "^3.0.0",

packages/notifications/package.json

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
"version": "1.0.3",
44
"main": "lib/index.js",
55
"license": "MIT",
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/codesandbox/codesandbox-client",
9+
"directory": "packages/notifications"
10+
},
611
"scripts": {
712
"start": "tsc --watch",
813
"build": "rimraf lib && tsc",

packages/react-embed/package.json

+5
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
"version": "0.0.14",
44
"license": "MIT",
55
"private": false,
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/codesandbox/codesandbox-client",
9+
"directory": "packages/react-embed"
10+
},
611
"sideEffects": false,
712
"main": "dist/index",
813
"module": "dist-es/index",

packages/react-sandpack/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"author": "Ives van Hoorne <[email protected]>",
1717
"repository": {
1818
"type": "git",
19-
"url": ""
19+
"url": "https://github.com/codesandbox/codesandbox-client",
20+
"directory": "packages/react-sandpack"
2021
},
2122
"engines": {
2223
"node": ">=6.0.0"

packages/sandbox-hooks/package.json

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
"name": "sandbox-hooks",
33
"version": "0.1.0",
44
"private": true,
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/codesandbox/codesandbox-client",
8+
"directory": "packages/sandbox-hooks"
9+
},
510
"dependencies": {
611
"codesandbox-api": "^0.0.22",
712
"console-feed": "^2.8.5"

packages/sandpack/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"author": "Ives van Hoorne <[email protected]>",
1616
"repository": {
1717
"type": "git",
18-
"url": "https://github.com/codesandbox/codesandbox-client/tree/master/packages/sandpack"
18+
"url": "https://github.com/codesandbox/codesandbox-client",
19+
"directory": "packages/sandpack"
1920
},
2021
"engines": {
2122
"node": ">=6.0.0"

packages/sse-hooks/package.json

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
"name": "sse-hooks",
33
"version": "0.1.0",
44
"private": true,
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/codesandbox/codesandbox-client",
8+
"directory": "packages/sse-hooks"
9+
},
510
"main": "dist/index.js",
611
"source": "index.js",
712
"scripts": {

0 commit comments

Comments
 (0)