remove lit

This commit is contained in:
Tasia Iso 2024-03-22 10:05:33 +01:00
parent 3bd827a9f7
commit d1f87a8fb4
8 changed files with 24 additions and 142 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@ out
deps/codemirror/cm6.js deps/codemirror/cm6.js
deps/prettier/standalone.mjs deps/prettier/standalone.mjs
deps/lit

View File

@ -5,17 +5,17 @@
"packages": { "packages": {
"": { "": {
"dependencies": { "dependencies": {
"@codemirror/lang-css": "^6.2.1", "@codemirror/lang-css": "6.2.1",
"@codemirror/lang-html": "^6.4.8", "@codemirror/lang-html": "6.4.8",
"@codemirror/lang-javascript": "^6.2.2", "@codemirror/lang-javascript": "6.2.2",
"@codemirror/lang-json": "^6.0.1", "@codemirror/lang-json": "6.0.1",
"@codemirror/theme-one-dark": "^6.1.2", "@codemirror/theme-one-dark": "6.1.2",
"@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-node-resolve": "15.2.3",
"codemirror": "^6.0.1", "codemirror": "6.0.1",
"rollup": "^4.13.0" "rollup": "4.13.0"
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-terser": "^0.4.4" "@rollup/plugin-terser": "0.4.4"
} }
}, },
"node_modules/@codemirror/autocomplete": { "node_modules/@codemirror/autocomplete": {

View File

@ -3,16 +3,16 @@
"build": "rollup --config rollup.config.mjs --input editor.mjs" "build": "rollup --config rollup.config.mjs --input editor.mjs"
}, },
"dependencies": { "dependencies": {
"@codemirror/lang-css": "^6.2.1", "@codemirror/lang-css": "6.2.1",
"@codemirror/lang-html": "^6.4.8", "@codemirror/lang-html": "6.4.8",
"@codemirror/lang-javascript": "^6.2.2", "@codemirror/lang-javascript": "6.2.2",
"@codemirror/lang-json": "^6.0.1", "@codemirror/lang-json": "6.0.1",
"@codemirror/theme-one-dark": "^6.1.2", "@codemirror/theme-one-dark": "6.1.2",
"@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-node-resolve": "15.2.3",
"codemirror": "^6.0.1", "codemirror": "6.0.1",
"rollup": "^4.13.0" "rollup": "4.13.0"
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-terser": "^0.4.4" "@rollup/plugin-terser": "0.4.4"
} }
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

3
package-lock.json generated
View File

@ -5,9 +5,10 @@
"packages": { "packages": {
"": { "": {
"name": "tildefriends", "name": "tildefriends",
"hasInstallScript": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"prettier": "^3.2.5" "prettier": "3.2.5"
} }
}, },
"node_modules/prettier": { "node_modules/prettier": {

View File

@ -7,6 +7,6 @@
"author": "Cory McWilliams", "author": "Cory McWilliams",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"prettier": "^3.2.5" "prettier": "3.2.5"
} }
} }

1
tools/install_dependencies.sh Normal file → Executable file
View File

@ -2,6 +2,7 @@
cp node_modules/prettier/standalone.mjs deps/prettier cp node_modules/prettier/standalone.mjs deps/prettier
mkdir -p deps/lit
wget -O deps/lit/lit-all.min.js https://cdn.jsdelivr.net/gh/lit/dist@3.1.2/all/lit-all.min.js wget -O deps/lit/lit-all.min.js https://cdn.jsdelivr.net/gh/lit/dist@3.1.2/all/lit-all.min.js
wget -O deps/lit/lit-all.min.js.map https://cdn.jsdelivr.net/gh/lit/dist@3.1.2/all/lit-all.min.js.map wget -O deps/lit/lit-all.min.js.map https://cdn.jsdelivr.net/gh/lit/dist@3.1.2/all/lit-all.min.js.map