Skip to content

Commit

Permalink
upgrade parcel
Browse files Browse the repository at this point in the history
  • Loading branch information
jdanyow committed Feb 9, 2022
1 parent 2efce23 commit 36695bf
Show file tree
Hide file tree
Showing 9 changed files with 277 additions and 112 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.cache
.parcel-cache
chrome
dist
node_modules
Expand Down
Binary file removed .parcel-cache/data.mdb
Binary file not shown.
Binary file removed .parcel-cache/lock.mdb
Binary file not shown.
7 changes: 0 additions & 7 deletions .postcssrc.js

This file was deleted.

20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

A lightweight comments widget built on GitHub issues. Use GitHub issues for blog comments, wiki pages and more!

* [Open source](https://github.com/utterance). 🙌
* No tracking, no ads, always free. 📡🚫
* No lock-in. All data stored in GitHub issues. 🔓
* Styled with [Primer](http://primer.style), the css toolkit that powers GitHub. 💅
* Dark theme. 🌘
* Lightweight. Vanilla TypeScript. No font downloads, JavaScript frameworks or polyfills for evergreen browsers. 🐦🌲
- [Open source](https://github.com/utterance). 🙌
- No tracking, no ads, always free. 📡🚫
- No lock-in. All data stored in GitHub issues. 🔓
- Styled with [Primer](http://primer.style), the css toolkit that powers GitHub. 💅
- Dark theme. 🌘
- Lightweight. Vanilla TypeScript. No font downloads, JavaScript frameworks or polyfills for evergreen browsers. 🐦🌲

## how it works

Expand All @@ -19,10 +19,10 @@ To comment, users must authorize the utterances app to post on their behalf usin

## sites using utterances

* Haxe [documentation](https://haxe.org/manual) and [cookbook](https://code.haxe.org/)
* [danyow.net](https://danyow.net)
* [os.phil-opp.com](https://os.phil-opp.com/second-edition)
* **[and many more...](https://github.com/topics/utterances)**
- Haxe [documentation](https://haxe.org/manual) and [cookbook](https://code.haxe.org/)
- [sadsloth.net](https://sadsloth.net/)
- [danyow.net](https://danyow.net)
- **[and many more...](https://github.com/topics/utterances)**

Are you using utterances? [Add the `utterances` topic on your repo](https://docs.github.com/en/github/administering-a-repository/classifying-your-repository-with-topics)!

Expand Down
166 changes: 152 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,27 @@
"type": "git",
"url": "https://github.com/utterance/utterances.git"
},
"browserslist": "last 3 Chrome versions,last 3 Safari versions,last 3 Firefox versions",
"targets": {
"main": false
},
"scripts": {
"preparcel": "rm -rf dist;mkdir dist",
"parcel": "parcel $RUN src/*.html src/client.ts src/stylesheets/themes/*/{index,utterances}.scss --no-autoinstall --no-cache",
"parcel": "parcel $RUN src/*.html src/client.ts src/stylesheets/themes/*/{index,utterances}.scss",
"build": "RUN=build npm run parcel --",
"start": "RUN=watch npm run parcel -- --port 4000",
"start": "RUN=serve npm run parcel -- --port 4000",
"predeploy": "npm run build && touch dist/.nojekyll && echo 'utteranc.es' > dist/CNAME",
"deploy": "gh-pages --dist dist",
"reinstall": "git clean -fxd -e .env && rm -f package-lock.json && npm install",
"update-deps": "npm exec --package npm-check-updates --call 'ncu -u -x @primer/css' && git clean -fxd -e .env && rm package-lock.json && npm install"
},
"devDependencies": {
"@parcel/packager-raw-url": "^2.2.1",
"@parcel/packager-xml": "^2.2.1",
"@parcel/transformer-sass": "^2.2.1",
"@parcel/transformer-typescript-tsc": "^2.2.1",
"@parcel/transformer-webmanifest": "^2.2.1",
"@parcel/transformer-xml": "^2.2.1",
"@primer/css": "^15.2.0",
"autoprefixer": "^10.4.2",
"gh-pages": "^3.2.3",
Expand Down
Loading

0 comments on commit 36695bf

Please sign in to comment.