Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pngwn committed Aug 17, 2024
1 parent e5148b7 commit 1109ea6
Show file tree
Hide file tree
Showing 8 changed files with 334 additions and 945 deletions.
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,21 @@
"devDependencies": {
"@changesets/changelog-github": "^0.4.0",
"@changesets/cli": "^2.16.0",
"@rollup/plugin-typescript": "^8.2.1",
"@rollup/plugin-typescript": "^11.1.6",
"@types/node": "^14.14.44",
"esm": "^3.2.25",
"prettier": "^2.2.1",
"rollup": "^2.77.4-1",
"rollup-plugin-dts": "^3.0.1",
"ts-node": "^9.1.1",
"rollup": "^4.20.0",
"rollup-plugin-dts": "^6.1.1",
"typescript": "^4.2.4",
"uvu": "^0.5.1",
"watchlist": "^0.2.3"
},
"dependencies": {
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^5.0.7",
"@rollup/plugin-sucrase": "^5.0.2",
"rollup-plugin-node-globals": "^1.4.0",
"tslib": "^2.3.1",
"vitest": "^2.0.5"
},
Expand Down
10 changes: 2 additions & 8 deletions packages/mdsvex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
".": {
"require": "./dist/main.cjs",
"default": "./dist/main.mjs"
}
},
"./package.json": "./package.json"
},
"main": "dist/main.cjs",
"module": "dist/main.mjs",
Expand All @@ -30,10 +31,6 @@
"author": "pngwn <[email protected]>",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-replace": "^2.4.2",
"@rollup/plugin-sucrase": "^5.0.2",
"@starptech/prettyhtml-hast-to-html": "^0.10.0",
"@types/acorn": "^4.0.5",
"@types/escape-html": "^1.0.0",
Expand All @@ -55,9 +52,6 @@
"remark-slug": "^6.0.0",
"retext": "^7.0.1",
"retext-smartypants": "^4.0.0",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-svelte": "^5.1.1",
"shiki": "^0.9.3",
"svelte": "^4.0.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/mdsvex/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import json from 'rollup-plugin-json';
import builtins from 'rollup-plugin-node-builtins';
import globals from 'rollup-plugin-node-globals';
import json from '@rollup/plugin-json';
// import builtins from 'rollup-plugin-node-builtins';
// import globals from 'rollup-plugin-node-globals';
import sucrase from '@rollup/plugin-sucrase';
import dts from 'rollup-plugin-dts';
import replace from '@rollup/plugin-replace';
// import replace from '@rollup/plugin-replace';

import pkg from './package.json';
import pkg from './package.json' assert { type: 'json' };

export default [
{
Expand Down
3 changes: 0 additions & 3 deletions packages/mdsvex/test/it/code_highlighting.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// import { suite } from 'uvu';
// import * as assert from 'uvu/assert';

import { test, expect } from 'vitest';
import { lines } from '../utils';
import * as shiki from 'shiki';
Expand Down
3 changes: 0 additions & 3 deletions packages/mdsvex/test/it/mdsvex.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// import { suite } from 'uvu';
// import * as assert from 'uvu/assert';

import { test, expect } from 'vitest';
import { Node, Parent } from 'unist';

Expand Down
2 changes: 1 addition & 1 deletion packages/svast-stringify/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import ts from '@rollup/plugin-typescript';
import dts from 'rollup-plugin-dts';

import pkg from './package.json';
import pkg from './package.json' assert { type: 'json' };

export default [
{
Expand Down
2 changes: 1 addition & 1 deletion packages/svast-utils/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import ts from '@rollup/plugin-typescript';
import dts from 'rollup-plugin-dts';

import pkg from './package.json';
import pkg from './package.json' assert { type: 'json' };

export default [
{
Expand Down
Loading

0 comments on commit 1109ea6

Please sign in to comment.