From 87b56a84b4fcb5e10f32ef798068a75760ca7ed5 Mon Sep 17 00:00:00 2001 From: David Schach <636977+dschach@users.noreply.github.com> Date: Thu, 9 Nov 2023 11:23:19 -0800 Subject: [PATCH] build: include cdn-assets in package (#35) build: use default npm registry --- .npmrc | 2 +- package-lock.json | 18 +++++++++--------- package.json | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.npmrc b/.npmrc index 402eeca..c109a8b 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1 @@ -@highlightjs:registry=https://npm.pkg.github.com \ No newline at end of file +#@highlightjs:registry=https://npm.pkg.github.com \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index c787e82..f71e17f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.3.2", "license": "MIT", "dependencies": { - "highlight.js": "11.9.0" + "@highlightjs/cdn-assets": "^11.9.0" }, "devDependencies": { "minimist": "^1.2.8", @@ -18,6 +18,14 @@ "should": "^13.2.3" } }, + "node_modules/@highlightjs/cdn-assets": { + "version": "11.9.0", + "resolved": "https://registry.npmjs.org/@highlightjs/cdn-assets/-/cdn-assets-11.9.0.tgz", + "integrity": "sha512-F1vJKVAkLwj2Uz2ik1PDc+mDbkrecLI6gcBlAxSRUjyDpMPJjeDBanT9Y2B+xpNe1MT6zSG204Ohm/+nUMCApQ==", + "engines": { + "node": ">=12.0.0" + } + }, "node_modules/ansi-colors": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", @@ -423,14 +431,6 @@ "he": "bin/he" } }, - "node_modules/highlight.js": { - "version": "11.9.0", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.9.0.tgz", - "integrity": "sha512-fJ7cW7fQGCYAkgv4CPfwFHrfd/cLS4Hau96JuJ+ZTOWhjnhoeN1ub1tFmALm/+lW5z4WCAuAV9bm05AP0mS6Gw==", - "engines": { - "node": ">=12.0.0" - } - }, "node_modules/inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", diff --git a/package.json b/package.json index 9449490..44dd38c 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ }, "homepage": "https://github.com/highlightjs/highlightjs-apex#readme", "dependencies": { - "highlight.js": "11.9.0" + "@highlightjs/cdn-assets": "^11.9.0" }, "devDependencies": { "minimist": "^1.2.8",