Skip to content

Commit 94fe2f8

Browse files
committed
Prepare for npm publish: v0.0.1
- Update package.json with author and homepage - Fix import statements to use 'front-js' package name - Remove TypeScript types reference (to be added later) - Clean up deployment docs - Update website examples and documentation
1 parent 9df000b commit 94fe2f8

File tree

9 files changed

+578
-652
lines changed

9 files changed

+578
-652
lines changed

DEPLOYMENT-SUMMARY.md

Lines changed: 0 additions & 124 deletions
This file was deleted.

DNS-SETUP.md

Lines changed: 0 additions & 120 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ hydrate();
7777
## Why front.js?
7878

7979
[![License: ISC](https://img.shields.io/badge/License-ISC-blue.svg)](https://opensource.org/licenses/ISC)
80-
[![CI](https://github.com/front-js/front-js/actions/workflows/ci.yml/badge.svg)](https://github.com/front-js/front-js/actions/workflows/ci.yml)
80+
[![CI](https://github.com/watthem/front-js/actions/workflows/ci.yml/badge.svg)](https://github.com/watthem/front-js/actions/workflows/ci.yml)
8181

8282
* 🏝 **Islands Architecture:** Hydrate only what needs interaction.
8383
* 🔒 **Secure by Default:** Data flows via JSON only. No server closures.
@@ -254,4 +254,4 @@ See [`DEVELOPMENT.md`](./DEVELOPMENT.md) for how to run the website and KB local
254254

255255
## License
256256

257-
ISC
257+
ISC

package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@
66
"main": "./src/index.js",
77
"repository": {
88
"type": "git",
9-
"url": "git+https://github.com/front-js/front-js.git"
9+
"url": "git+https://github.com/watthem/front-js.git"
1010
},
1111
"bugs": {
12-
"url": "https://github.com/front-js/front-js/issues"
12+
"url": "https://github.com/watthem/front-js/issues"
1313
},
1414
"exports": {
1515
".": {
16-
"import": "./src/index.js",
17-
"types": "./dist/index.d.ts"
16+
"import": "./src/index.js"
1817
}
1918
},
2019
"files": [
@@ -37,6 +36,8 @@
3736
"validate:filenames": "node scripts/validate-filenames.js",
3837
"validate": "npm run lint && npm run validate:filenames",
3938
"pretest": "npm run validate:filenames",
39+
"deploy:cf": "wrangler pages deploy website --project-name=frontjs-dev --commit-dirty=true",
40+
"deploy:cf:prod": "wrangler pages deploy website --project-name=frontjs-dev --branch=master",
4041
"repomix": "npx repomix",
4142
"repomix:dev": "npx repomix --config .repomix/developer.config.json",
4243
"repomix:pm": "npx repomix --config .repomix/pm.config.json",
@@ -53,7 +54,8 @@
5354
"hydration",
5455
"esm"
5556
],
56-
"author": "",
57+
"author": "Matthew Hendricks <matthew.scott.hendricks@gmail.com>",
58+
"homepage": "https://frontjs.dev",
5759
"license": "ISC",
5860
"devDependencies": {
5961
"esbuild": "^0.19.0",
@@ -66,4 +68,4 @@
6668
"peerDependencies": {
6769
"uhtml": "^4.5.11"
6870
}
69-
}
71+
}

website/KB/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
{"label": "Home", "url": "/"},
1515
{"label": "Examples", "url": "/examples/index.html"},
1616
{"label": "Docs", "url": "/KB/"},
17-
{"label": "GitHub", "url": "https://github.com/front-js/front-js"}
17+
{"label": "GitHub", "url": "https://github.com/watthem/front-js"}
1818
]
1919
}'></div>
2020
<div class="container" style="padding-top: 60px;">
@@ -168,4 +168,4 @@ <h3>"Component not registered" Error</h3>
168168
<script type="module" src="../app.js"></script>
169169
</body>
170170

171-
</html>
171+
</html>

0 commit comments

Comments
 (0)