Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardocavazza committed Feb 9, 2024
1 parent 5a7c444 commit e2fb710
Show file tree
Hide file tree
Showing 7 changed files with 991 additions and 843 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ Arguments:
Options:
-V, --version output the version number
-e, --entrypoint <path> entrypoint to the package
-e, --entrypoint <path> module entrypoint
-o, --outdir <outdir> output directory
-f, --frameworks <frameworks...> the framework to convert to
-y, --yes convert all candidates to all available frameworks
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,16 @@
"license": "MIT",
"scripts": {
"clear": "rimraf 'dist' 'types' 'tsconfig.tsbuildinfo'",
"build": "yarn clear && tsc --project tsconfig.build.json && node scripts/build.js",
"build": "yarn clear && yarn types && node scripts/build.js",
"types": "tsc --project tsconfig.build.json",
"lint": "prettier --check . && eslint .",
"test:manifest": "custom-elements-manifest analyze --config ./test/cem.config.mjs --outdir test",
"test:generate": "./dist/cli.js test --outdir 'test/src/[framework]' -y",
"test": "vitest",
"prepack": "yarn build && publint"
},
"dependencies": {
"type-fest": "^4.8.2"
"custom-elements-manifest": "^2.0.0"
},
"devDependencies": {
"@changesets/cli": "^2.22.0",
Expand All @@ -59,11 +60,10 @@
"@types/react": "^18.2.39",
"@types/react-dom": "^18.2.17",
"chalk": "^5.3.0",
"commander": "^11.1.0",
"custom-elements-manifest": "^2.0.0",
"esbuild": "^0.19.8",
"commander": "^12.0.0",
"esbuild": "^0.20.0",
"eslint": "^8.0.0",
"jsdom": "^23.0.0",
"jsdom": "^24.0.0",
"listr2": "^7.0.2",
"preact": "^10.19.2",
"prettier": "^3.0.0",
Expand Down
3 changes: 1 addition & 2 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ program
.version(json.version)

.argument('[input]', 'custom elements manifest path')
.option('-e, --entrypoint <path>', 'entrypoint to the package')
.option('-e, --entrypoint <path>', 'module entrypoint')
.option('-o, --outdir <outdir>', 'output directory')
.option('-f, --frameworks <frameworks...>', 'the framework to convert to')
.option('-y, --yes', 'convert all candidates to all available frameworks')
Expand All @@ -57,7 +57,6 @@ program
manifest = JSON.parse(stdin);
} else {
sourceDir = sourceDir ? resolve(sourceDir) : process.cwd();

manifest = await findJson<Package>(sourceDir, 'custom-elements.json');
}
if (!manifest) {
Expand Down
2 changes: 1 addition & 1 deletion src/preact.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { Entry } from './walker';

export interface PreactTransformOptions {
/**
* The entrypoint to the package.
* The module entrypoint.
*/
entrypoint: string;

Expand Down
2 changes: 1 addition & 1 deletion src/react.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { Entry } from './walker';

export interface ReactTransformOptions {
/**
* The entrypoint to the package.
* The module entrypoint.
*/
entrypoint: string;

Expand Down
2 changes: 1 addition & 1 deletion src/svelte.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { Entry } from './walker';

export interface SvelteTransformOptions {
/**
* The entrypoint to the package.
* The module entrypoint.
*/
entrypoint: string;

Expand Down
1,811 changes: 980 additions & 831 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit e2fb710

Please sign in to comment.