Skip to content

Commit

Permalink
Update to latest cpx2
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Oct 23, 2023
1 parent d1a7b85 commit f912f60
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion index.js
@@ -1,6 +1,6 @@
import process from 'process'
import { once } from 'events'
import assert from 'webassert'
import assert from 'node:assert'
import chokidar from 'chokidar'
import { basename, relative } from 'path'
import makeArray from 'make-array'
Expand Down
2 changes: 1 addition & 1 deletion lib/build-pages/page-builders/html/index.js
@@ -1,4 +1,4 @@
import assert from 'webassert'
import assert from 'node:assert'
import { readFile } from 'fs/promises'

export async function htmlBuilder ({ page }) {
Expand Down
2 changes: 1 addition & 1 deletion lib/build-pages/page-builders/js/index.js
@@ -1,4 +1,4 @@
import assert from 'webassert'
import assert from 'node:assert'

export async function jsBuilder ({ page }) {
assert(page.type === 'js', 'js page builder requries "js" page type')
Expand Down
2 changes: 1 addition & 1 deletion lib/build-pages/page-builders/md/index.js
@@ -1,4 +1,4 @@
import assert from 'webassert'
import assert from 'node:assert'
import { readFile } from 'fs/promises'
import yaml from 'js-yaml'
import markdownIt from 'markdown-it'
Expand Down
2 changes: 1 addition & 1 deletion lib/identify-pages.js
@@ -1,5 +1,5 @@
import { asyncFolderWalker } from 'async-folder-walker'
import assert from 'webassert'
import assert from 'node:assert'
import desm from 'desm'
import { resolve, relative, join } from 'path'
import { stat } from 'fs/promises'
Expand Down
7 changes: 3 additions & 4 deletions package.json
Expand Up @@ -22,7 +22,7 @@
"chokidar": "^3.5.2",
"clean-deep": "^3.4.0",
"cliclopts": "^1.1.1",
"cpx2": "^5.0.0",
"cpx2": "^6.0.0",
"desm": "^1.1.0",
"esbuild": "^0.19.0",
"ignore": "^5.1.8",
Expand All @@ -45,14 +45,13 @@
"p-map": "^6.0.0",
"pretty": "^2.0.0",
"pretty-tree": "^1.0.0",
"uhtml-isomorphic": "^2.0.0",
"webassert": "^3.0.2"
"uhtml-isomorphic": "^2.0.0"
},
"devDependencies": {
"@types/node": "^20.8.4",
"auto-changelog": "^2.0.0",
"browser-sync": "^2.26.7",
"dependency-cruiser": "^14.0.0",
"dependency-cruiser": "^15.0.0",
"gh-release": "^7.0.0",
"npm-run-all2": "^6.0.0",
"snazzy": "^9.0.0",
Expand Down

0 comments on commit f912f60

Please sign in to comment.