Skip to content

Commit

Permalink
fix: upgrade deps, improve entry file detection (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey authored Dec 6, 2021
1 parent 19ce8da commit d85e82c
Show file tree
Hide file tree
Showing 28 changed files with 11,001 additions and 10,881 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [12.x, 14.x, 16.x]
node: [14.x, 16.x]
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -28,4 +28,4 @@ jobs:
- name: Run tests
run: npm run ci:test
- name: Report code coverage
run: npm run ci:report
uses: codecov/codecov-action@v2
2 changes: 1 addition & 1 deletion .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"*.ts": ["eslint -f codeframe --fix", "prettier --write"],
"*.ts": ["eslint -f visualstudio --fix", "prettier --write"],
"*{.js,.json,.md,.yml,rc}": ["prettier --write"],
"./package.json": ["fixpack"]
}
5,257 changes: 3,051 additions & 2,206 deletions package-lock.json

Large diffs are not rendered by default.

48 changes: 23 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,34 @@
"dependencies": {
"anymatch": "^3.1.2",
"domelementtype": "^2.2.0",
"domhandler": "^4.2.2",
"htmlparser2": "^7.1.1"
"domhandler": "^4.3.0",
"htmlparser2": "^7.2.0"
},
"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@marko/compiler": "^5.15.10",
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@marko/compiler": "^5.17.4",
"@types/mocha": "^9.0.0",
"@types/node": "^16.9.4",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"codecov": "^3.8.3",
"esbuild": "^0.12.28",
"esbuild-register": "^3.0.0",
"eslint": "^7.32.0",
"@types/node": "^16.11.11",
"@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.5.0",
"esbuild": "^0.14.2",
"esbuild-register": "^3.2.0",
"eslint": "^8.4.0",
"eslint-config-prettier": "^8.3.0",
"fast-glob": "^3.2.7",
"fixpack": "^4.0.0",
"husky": "^7.0.2",
"lint-staged": "^11.1.2",
"marko": "^5.15.10",
"mocha": "^9.1.1",
"mocha-snap": "^4.0.2",
"husky": "^7.0.4",
"lint-staged": "^12.1.2",
"marko": "^5.17.5",
"mocha": "^9.1.3",
"mocha-snap": "^4.2.1",
"nyc": "^15.1.0",
"prettier": "^2.4.1",
"semantic-release": "^18.0.0",
"typescript": "^4.4.3",
"vite": "^2.5.3"
"prettier": "^2.5.1",
"semantic-release": "^18.0.1",
"typescript": "^4.5.2",
"vite": "^2.6.14"
},
"files": [
"dist",
Expand All @@ -54,16 +53,15 @@
"main": "dist/index.js",
"module": "dist/index.mjs",
"peerDependencies": {
"@marko/compiler": "^5.15.10",
"vite": "^2.5.10"
"@marko/compiler": "^5",
"vite": "^2"
},
"repository": {
"type": "git",
"url": "https://github.com/marko-js/vite"
},
"scripts": {
"build": "tsc -b && node -r esbuild-register build",
"ci:report": "codecov",
"ci:test": "nyc npm run mocha -- --forbid-pending --forbid-only",
"format": "npm run lint:eslint -- --fix && npm run lint:prettier -- --write && (fixpack || true)",
"lint": "tsc -b && npm run lint:eslint && npm run lint:prettier -- -l && fixpack",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { t, v as vElement, r, a as renderer, d as defineComponent, b as renderTag } from "./vendor.d0fc20d1.js";
import { t, v as vElement, r, a as renderer, d as defineComponent, b as renderTag } from "./vendor.js";
const p = function polyfill() {
const relList = document.createElement("link").relList;
if (relList && relList.supports && relList.supports("modulepreload")) {
Expand Down Expand Up @@ -41,7 +41,7 @@ const p = function polyfill() {
}
};
p();
var template_marko = "\n div { color: green }\n";
var template_marko = "";
const _marko_componentType$2 = "NApEsAbr", _marko_template$2 = t(_marko_componentType$2);
const _marko_node = vElement("div", {
"id": "class"
Expand Down
Loading

0 comments on commit d85e82c

Please sign in to comment.