Skip to content

Commit

Permalink
rename package to prosemirror-details
Browse files Browse the repository at this point in the history
  • Loading branch information
MH4GF committed Oct 5, 2022
1 parent 1300d18 commit 1e35fdf
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion demo/demo.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { detailsNodes, DetailsView } from '@mh4gf/prosemirror-details-list'
import { detailsNodes, DetailsView } from '@mh4gf/prosemirror-details'
import { buildMenuItems, exampleSetup } from 'prosemirror-example-setup'
import { Dropdown, MenuItem } from 'prosemirror-menu'
import { Schema, DOMParser } from 'prosemirror-model'
Expand Down
4 changes: 2 additions & 2 deletions demo/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<meta charset="utf8" />
<title>prosemirror-details-list demo</title>
<title>prosemirror-details demo</title>

<link rel="stylesheet" href="node_modules/prosemirror-view/style/prosemirror.css" />
<link rel="stylesheet" href="node_modules/prosemirror-menu/style/menu.css" />
Expand All @@ -19,7 +19,7 @@
}
</style>

<h1>prosemirror-details-list demo</h1>
<h1>prosemirror-details demo</h1>

<div style="display: none" id="content">
<h2>Example content</h2>
Expand Down
6 changes: 3 additions & 3 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"build-prosemirror-details-list": "cd ./node_modules/@mh4gf/prosemirror-details-list/; yarn install --frozen-lockfile; yarn build",
"prepare": "yarn build-prosemirror-details-list"
"build-prosemirror-details": "cd ./node_modules/@mh4gf/prosemirror-details/; yarn install --frozen-lockfile; yarn build",
"prepare": "yarn build-prosemirror-details"
},
"devDependencies": {
"typescript": "^4.8.4",
"vite": "^3.1.4"
},
"dependencies": {
"@mh4gf/prosemirror-details-list": "file:..",
"@mh4gf/prosemirror-details": "file:..",
"prosemirror-example-setup": "^1.2.1",
"prosemirror-menu": "^1.2.1",
"prosemirror-model": "^1.18.1",
Expand Down
2 changes: 1 addition & 1 deletion demo/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.15.10.tgz#78a42897c2cf8db9fd5f1811f7590393b77774c7"
integrity sha512-w0Ou3Z83LOYEkwaui2M8VwIp+nLi/NA60lBLMvaJ+vXVMcsARYdEzLNE7RSm4+lSg4zq4d7fAVuzk7PNQ5JFgg==

"@mh4gf/prosemirror-details-list@file:..":
"@mh4gf/prosemirror-details@file:..":
version "1.0.0"

crelt@^1.0.0:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@mh4gf/prosemirror-details-list",
"name": "@mh4gf/prosemirror-details",
"version": "1.0.0",
"description": "ProseMirror's open/close details list component",
"type": "module",
Expand All @@ -18,7 +18,7 @@
"author": "MH4GF <[email protected]>",
"repository": {
"type": "git",
"url": "git://github.com/mh4gf/prosemirror-details-list.git"
"url": "git://github.com/mh4gf/prosemirror-details.git"
},
"license": "MIT",
"peerDependencies": {
Expand Down

1 comment on commit 1e35fdf

@vercel
Copy link

@vercel vercel bot commented on 1e35fdf Oct 5, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.