Skip to content

Commit 0423f21

Browse files
committed
Removed lit-html and preact subpackages
1 parent afb93e4 commit 0423f21

File tree

13 files changed

+6
-86
lines changed

13 files changed

+6
-86
lines changed

lit-html/index.js

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

lit-html/package.json

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

package.json

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "js-elements",
3-
"version": "0.0.63",
3+
"version": "0.0.64",
44
"description": "",
55
"main": "index.js",
66
"module": "dist/js-elements.esm.producion.js",
@@ -10,9 +10,7 @@
1010
"files": [
1111
"index.js",
1212
"dist",
13-
"ext",
14-
"lit-html",
15-
"preact"
13+
"ext"
1614
],
1715
"scripts": {
1816
"clean": "shx rm -rf ./build ./dist",
@@ -55,10 +53,6 @@
5553
"dot-dom": "^0.3.1",
5654
"dyo": "^2.0.4",
5755
"eslint": "^7.6.0",
58-
"js-elements.preact": "file:preact",
59-
"js-spec": "^0.1.79",
60-
"lit-html": "^1.2.1",
61-
"preact": "^10.4.7",
6256
"rollup": "^2.23.1",
6357
"rollup-plugin-commonjs": "^10.1.0",
6458
"rollup-plugin-gzip": "^2.5.0",
@@ -68,7 +62,6 @@
6862
"rollup-plugin-typescript2": "^0.27.2",
6963
"rollup-plugin-uglify": "^6.0.4",
7064
"shx": "^0.3.2",
71-
"superfine": "^8.0.10",
7265
"terser-webpack-plugin": "^4.0.0",
7366
"ts-loader": "^8.0.2",
7467
"ts-node": "^8.10.2",
@@ -78,9 +71,5 @@
7871
"webpack-cleanup-plugin": "^0.5.1",
7972
"webpack-cli": "^3.3.12",
8073
"zip-webpack-plugin": "^3.0.0"
81-
},
82-
"dependencies": {
83-
"@bikeshaving/crank": "^0.3.2",
84-
"@types/superfine": "^7.0.1"
8574
}
8675
}

preact/index.js

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

preact/package.json

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

rollup.config.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import gzip from 'rollup-plugin-gzip'
88

99
const configs = []
1010

11-
for (const pkg of ['root', 'lit-html', 'ext', 'preact']) {
11+
for (const pkg of ['root', 'ext']) {
1212
for (const format of ['umd', 'cjs', 'amd', 'esm']) {
1313
for (const productive of [false, true]) {
1414
configs.push(createConfig(pkg, format, productive))
@@ -37,15 +37,9 @@ function createConfig(pkg, moduleFormat, productive) {
3737

3838
format: moduleFormat,
3939
sourcemap: false, // productive ? false : 'inline', // TODO
40-
name: pkg === 'root' ? 'jsElements' : 'jsElements.' + pkg,
41-
42-
globals: {
43-
'lit-html': 'litHtml'
44-
}
40+
name: pkg === 'root' ? 'jsElements' : 'jsElements.' + pkg
4541
},
4642

47-
external: ['lit-html', 'preact'],
48-
4943
plugins: [
5044
resolve(),
5145
commonjs(),

src/main/js-elements-lit-html.ts

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

src/main/js-elements-preact.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/main/js-elements.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import { h as createElement, text, patch } from './libs/superfine'
2020

2121
export {
2222
component,
23-
createAdaption, // TODO - has to be removed later
2423
provision,
2524
propConfigBuilder as prop,
2625
h,

src/main/libs/lit-html.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)