-
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1360611
commit 41f8f52
Showing
17 changed files
with
34 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { yellow } from "./deps/colors.ts"; | ||
const specifier = "https://cdn.jsdelivr.net/gh/lumeland/[email protected].4/"; | ||
const specifier = "https://cdn.jsdelivr.net/gh/lumeland/[email protected].5/"; | ||
|
||
throw new Error(` | ||
This module is not longer available. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,6 @@ | |
"update-deps": "deno run -A --quiet 'https://deno.land/x/[email protected]/cli.ts' update deps/*.ts cms.ts deno.json" | ||
}, | ||
"imports": { | ||
"lume/cms/": "https://cdn.jsdelivr.net/gh/lumeland/[email protected].4/" | ||
"lume/cms/": "https://cdn.jsdelivr.net/gh/lumeland/[email protected].5/" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from "jsr:@std/assert@0.226.0"; | ||
export * from "jsr:@std/assert@1.0.0"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from "jsr:@std/[email protected].0/base64"; | ||
export * from "jsr:@std/[email protected].1/base64"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from "jsr:@std/[email protected].5/colors"; | ||
export * from "jsr:@std/[email protected].6/colors"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from "jsr:@std/[email protected].0"; | ||
export * from "jsr:@std/[email protected].1"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export const decapUrl = | ||
"https://cdn.jsdelivr.net/npm/[email protected]/dist/decap-cms.js"; | ||
export const serverUrl = "npm:[email protected]"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from "jsr:@std/[email protected].0/hex"; | ||
export * from "jsr:@std/[email protected].1/hex"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import hljs from "npm:highlight.js@11.9.0"; | ||
export * from "npm:highlight.js@11.9.0"; | ||
import hljs from "npm:highlight.js@11.10.0"; | ||
export * from "npm:highlight.js@11.10.0"; | ||
export default hljs; | ||
|
||
export const themesPath = | ||
"https://cdn.jsdelivr.net/npm/highlight.js@11.9.0/styles/"; | ||
"https://cdn.jsdelivr.net/npm/highlight.js@11.10.0/styles/"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
export * from "npm:liquidjs@10.14.0"; | ||
export * from "npm:liquidjs@10.15.0"; | ||
|
||
export type { LiquidOptions, Template } from "npm:liquidjs@10.14.0"; | ||
export type { LiquidOptions, Template } from "npm:liquidjs@10.15.0"; | ||
export type { | ||
TagClass, | ||
TagImplOptions, | ||
} from "npm:liquidjs@10.14.0/dist/template"; | ||
} from "npm:liquidjs@10.15.0/dist/template"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from "npm:[email protected].6"; | ||
export * from "npm:[email protected].7"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export { minify } from "npm:[email protected].1"; | ||
export type { MinifyOptions } from "npm:[email protected].1"; | ||
export { minify } from "npm:[email protected].2"; | ||
export type { MinifyOptions } from "npm:[email protected].2"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,10 @@ export { | |
type SourceCodeTransformer, | ||
type UnocssPluginContext, | ||
type UserConfig, | ||
} from "npm:@unocss/[email protected].2"; | ||
export { presetUno } from "npm:@unocss/[email protected].2"; | ||
export { default as transformerVariantGroup } from "npm:@unocss/[email protected].2"; | ||
export { default as transformerDirectives } from "npm:@unocss/[email protected].2"; | ||
} from "npm:@unocss/[email protected].3"; | ||
export { presetUno } from "npm:@unocss/[email protected].3"; | ||
export { default as transformerVariantGroup } from "npm:@unocss/[email protected].3"; | ||
export { default as transformerDirectives } from "npm:@unocss/[email protected].3"; | ||
export { default as MagicString } from "npm:[email protected]"; | ||
|
||
export const resetUrl = "https://unpkg.com/@unocss/[email protected].2"; | ||
export const resetUrl = "https://unpkg.com/@unocss/[email protected].3"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from "https://deno.land/x/[email protected].9/mod.ts"; | ||
export * from "https://deno.land/x/[email protected].10/mod.ts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
import { decapUrl, serverUrl } from "../deps/decap.ts"; | ||
import { Page } from "../core/file.ts"; | ||
import { merge } from "../core/utils/object.ts"; | ||
import { posix } from "../deps/path.ts"; | ||
|
@@ -34,7 +35,7 @@ export const defaults: Options = { | |
configKey: "decap_cms", | ||
extraHTML: "", | ||
proxyCommand: | ||
"deno run --allow-read --allow-net=0.0.0.0 --allow-write --allow-env npm:decap-server", | ||
`deno run --allow-read --allow-net=0.0.0.0 --allow-write --allow-env ${serverUrl}`, | ||
}; | ||
|
||
/** A plugin to use Decap CMS in Lume easily */ | ||
|
@@ -85,7 +86,7 @@ export default function (userOptions?: Options) { | |
}" type="text/yaml" rel="cms-config-url">`, | ||
); | ||
code.push( | ||
`<script src="https://unpkg.com/[email protected]/dist/decap-cms.js"></script>`, | ||
`<script src="${decapUrl}"></script>`, | ||
); | ||
|
||
if (options.identity === "netlify") { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters