Skip to content

Commit

Permalink
Scope npm package
Browse files Browse the repository at this point in the history
  • Loading branch information
richardTowers committed Sep 13, 2024
1 parent f18b487 commit 709037d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "remark-abbr",
"version": "1.0.0",
"main": "dev/index.js",
"name": "@richardtowers/remark-abbr",
"version": "0.0.0",
"main": "index.js",
"scripts": {
"build": "tsc --build --clean && tsc --build && type-coverage && micromark-build",
"format": "prettier . -w --log-level warn && xo --fix",
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {unified} from 'unified'
import remarkParse from 'remark-parse'
import remarkRehype from 'remark-rehype'
import rehypeStringify from 'rehype-stringify'
import remarkAbbr, {micromarkAbbrTypes} from 'remark-abbr'
import remarkAbbr, {micromarkAbbrTypes} from '@richardtowers/remark-abbr'

test('fixtures', async function (t) {
const base = new URL('fixtures/', import.meta.url)
Expand Down
2 changes: 1 addition & 1 deletion test/lib/mdast-util-abbr/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {fromMarkdown} from 'mdast-util-from-markdown'
import {
micromarkAbbr as abbr,
mdastUtilAbbrFromMarkdown as abbrFromMarkdown,
} from 'remark-abbr'
} from '@richardtowers/remark-abbr'

test('abbrFromMarkdown', async function (t) {
await t.test('should support an abbreviation definition', async function () {
Expand Down
2 changes: 1 addition & 1 deletion test/lib/micromark-extension-abbr/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import assert from 'node:assert/strict'
import test from 'node:test'
import {preprocess, parse, postprocess} from 'micromark'
import {micromarkAbbr, micromarkAbbrTypes} from 'remark-abbr'
import {micromarkAbbr, micromarkAbbrTypes} from '@richardtowers/remark-abbr'

await test('micromark-extension-abbr', async (t) => {
await t.test('parses definitions', async () => {
Expand Down

0 comments on commit 709037d

Please sign in to comment.