Skip to content

Commit

Permalink
Remove lib (@hyperapp/*) scoped packages (#938)
Browse files Browse the repository at this point in the history
Now it's up to you to create your own effects and subscriptions.

The intention is to give you more freedom in exchange for some
initial user-friendliness and make Hyperapp easier to maintain
in the long term.

We still encourage you to create reusable effects and subscriptions,
rather than ad-hoc solutions to solve specific problems.
  • Loading branch information
jorgebucaran committed Apr 22, 2020
1 parent f30e70e commit 54ce62c
Show file tree
Hide file tree
Showing 13 changed files with 5 additions and 357 deletions.
13 changes: 0 additions & 13 deletions lib/dom/src/index.js

This file was deleted.

9 changes: 0 additions & 9 deletions lib/events/README.md

This file was deleted.

20 changes: 0 additions & 20 deletions lib/events/package.json

This file was deleted.

119 changes: 0 additions & 119 deletions lib/events/src/index.js

This file was deleted.

28 changes: 0 additions & 28 deletions lib/http/README.md

This file was deleted.

21 changes: 0 additions & 21 deletions lib/http/package.json

This file was deleted.

29 changes: 0 additions & 29 deletions lib/http/src/index.js

This file was deleted.

19 changes: 0 additions & 19 deletions lib/random/package.json

This file was deleted.

27 changes: 0 additions & 27 deletions lib/random/src/index.js

This file was deleted.

19 changes: 0 additions & 19 deletions lib/time/README.md

This file was deleted.

20 changes: 0 additions & 20 deletions lib/time/package.json

This file was deleted.

27 changes: 0 additions & 27 deletions lib/time/src/index.js

This file was deleted.

11 changes: 5 additions & 6 deletions package.json
Expand Up @@ -21,14 +21,13 @@
"virtual dom",
"vdom"
],
"scripts": {
"scripts": {
"test": "nyc -i esm -r lcov testmatrix test/*.test.js && nyc report",
"build": "export dir=${pkg:+lib/$pkg/} pkg=$npm_package_name$pkg; npm run bundle && npm run minify",
"bundle": "rollup -i ${dir}$npm_package_module -o ${dir}dist/$pkg.js --no-esModule -mf iife -n $pkg",
"minify": "terser ${dir}dist/$pkg.js -o ${dir}dist/$pkg.js -mc --source-map includeSources,url=$pkg.js.map",
"build": "export pkg=$npm_package_name; npm run bundle && npm run minify",
"bundle": "rollup -i $npm_package_module -o dist/$pkg.js --no-esModule -mf iife -n $pkg",
"minify": "terser dist/$pkg.js -o dist/$pkg.js -mc --source-map includeSources,url=$pkg.js.map",
"create": "npm run build && git commit -am $msg && git tag -s $msg -m $msg && git push && git push --tags",
"release": "env msg=$(npm run -s message) npm run create && cd ./${pkg:+lib/$pkg} && npm publish --access public",
"message": "echo ${pkg:+@$npm_package_name/$pkg@}$(node -p \"require('./${pkg:+lib/$pkg/}package').version\")",
"release": "env msg=$npm_package_version npm run create && npm publish",
"build-site": "cd docs && npm run build"
},
"devDependencies": {
Expand Down

0 comments on commit 54ce62c

Please sign in to comment.