@awesome.me/buildawesome 0.0.3 → 4.0.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +54 -2
- package/cmd.js +5 -1
- package/package.json +43 -6
- package/src/Core.js +2 -0
- package/src/Plugins/HtmlBasePlugin.js +1 -0
- package/src/Plugins/I18nPlugin.js +1 -0
- package/src/Plugins/IdAttributePlugin.js +1 -0
- package/src/Plugins/InputPathToUrl.js +1 -0
- package/src/Plugins/PreserveClosingTagsPlugin.js +1 -0
- package/src/Plugins/RenderPlugin.js +1 -0
- package/src/UserConfig.js +4 -0
- package/src/Util/Git.js +4 -0
- package/types/Plugins/HtmlBasePlugin.d.ts +1 -0
- package/types/Plugins/InputPathToUrl.d.ts +1 -0
- package/types/UserConfig.d.ts +1 -0
- package/types/Util/Git.d.ts +1 -0
- package/types/index.d.ts +2 -0
- package/index.js +0 -1
package/README.md
CHANGED
|
@@ -1,3 +1,55 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center"><img src="./docs/ba-11ty-logo.png" width="200" height="200" alt="Build Awesome (balloon) and 11ty Logo"></p>
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# Build Awesome (Eleventy) 🕚⚡️🎈🐀
|
|
4
|
+
|
|
5
|
+
A simpler static site generator. An alternative to Jekyll. Written in JavaScript. Transforms a directory of templates (of varying types) into HTML.
|
|
6
|
+
|
|
7
|
+
Works with HTML, Markdown, JavaScript, Liquid, Nunjucks, with addons for WebC, Sass, Vue, Svelte, TypeScript, JSX, and many others!
|
|
8
|
+
|
|
9
|
+
## ➡ [Documentation](https://www.11ty.dev/docs/)
|
|
10
|
+
|
|
11
|
+
- Star [this repo on GitHub](https://github.com/11ty/buildawesome/)!
|
|
12
|
+
- Follow us [on Mastodon `@11ty@neighborhood.11ty.dev`](https://neighborhood.11ty.dev/@11ty)
|
|
13
|
+
- Follow us [on Bluesky `@11ty.dev`](https://bsky.app/profile/11ty.dev)
|
|
14
|
+
- Install [from npm](https://www.npmjs.com/org/11ty)
|
|
15
|
+
- Follow [on GitHub](https://github.com/11ty)
|
|
16
|
+
- Watch us [on YouTube](https://www.youtube.com/c/EleventyVideo)
|
|
17
|
+
- Chat on [Discord](https://www.11ty.dev/blog/discord/)
|
|
18
|
+
- Latest: [](https://www.npmjs.com/package/@11ty/eleventy)
|
|
19
|
+
|
|
20
|
+
## Installation
|
|
21
|
+
|
|
22
|
+
```
|
|
23
|
+
npm install @awesome.me/buildawesome --save-dev
|
|
24
|
+
|
|
25
|
+
# Backwards compatible here too:
|
|
26
|
+
npm install @11ty/eleventy --save-dev
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Read our [Getting Started guide](https://www.11ty.dev/docs/getting-started/).
|
|
30
|
+
|
|
31
|
+
## Tests
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
npm test
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
We have a few test suites, for various reasons:
|
|
38
|
+
|
|
39
|
+
- [Node.js Test runner](https://nodejs.org/api/test.html) (`test/`)
|
|
40
|
+
- [Vitest (in Browser Mode)](https://vitest.dev/guide/browser/) (browser tests in `packages/browser/test/`)
|
|
41
|
+
- [Benchmark for Performance Regressions](https://github.com/11ty/buildbenchmark)
|
|
42
|
+
|
|
43
|
+
These run in various environments:
|
|
44
|
+
|
|
45
|
+
- [Continuous Integration on GitHub Actions](https://github.com/11ty/buildawesome/actions/workflows/ci.yml)
|
|
46
|
+
- [Code Coverage Statistics](https://github.com/11ty/buildawesome/blob/master/docs/coverage.md)
|
|
47
|
+
|
|
48
|
+
## Community Roadmap
|
|
49
|
+
|
|
50
|
+
- [Top Feature Requests](https://github.com/11ty/buildawesome/discussions/categories/enhancement-queue?discussions_q=is%3Aopen+category%3A%22Enhancement+Queue%22+sort%3Atop) (Vote for your favorites!)
|
|
51
|
+
- [Top Bugs 😱](https://github.com/11ty/buildawesome/issues?q=is%3Aissue+is%3Aopen+label%3Abug+sort%3Areactions) (Add your own votes using the 👍 reaction)
|
|
52
|
+
|
|
53
|
+
## Plugins
|
|
54
|
+
|
|
55
|
+
See the [official docs on plugins](https://www.11ty.dev/docs/plugins/).
|
package/cmd.js
CHANGED
package/package.json
CHANGED
|
@@ -1,16 +1,53 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awesome.me/buildawesome",
|
|
3
3
|
"description": "A simpler way to build awesome web sites.",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "4.0.0-alpha.11",
|
|
5
5
|
"publishConfig": {
|
|
6
|
-
"access": "public"
|
|
6
|
+
"access": "public",
|
|
7
|
+
"provenance": true
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./types/index.d.ts",
|
|
13
|
+
"default": "./src/Core.js"
|
|
14
|
+
},
|
|
15
|
+
"./UserConfig": {
|
|
16
|
+
"types": "./types/UserConfig.d.ts"
|
|
17
|
+
},
|
|
18
|
+
"./plugins/html-base": {
|
|
19
|
+
"types": "./types/Plugins/HtmlBasePlugin.d.ts",
|
|
20
|
+
"default": "./src/Plugins/HtmlBasePlugin.js"
|
|
21
|
+
},
|
|
22
|
+
"./plugins/i18n": "./src/Plugins/I18nPlugin.js",
|
|
23
|
+
"./plugins/id-attribute": "./src/Plugins/IdAttributePlugin.js",
|
|
24
|
+
"./plugins/input-path-to-url": {
|
|
25
|
+
"types": "./types/Plugins/InputPathToUrl.d.ts",
|
|
26
|
+
"default": "./src/Plugins/InputPathToUrl.js"
|
|
27
|
+
},
|
|
28
|
+
"./plugins/preserve-closing-tags": "./src/Plugins/PreserveClosingTagsPlugin.js",
|
|
29
|
+
"./plugins/render": "./src/Plugins/RenderPlugin.js",
|
|
30
|
+
"./utils/git": "./src/Util/Git.js"
|
|
31
|
+
},
|
|
32
|
+
"scripts": {
|
|
33
|
+
"test": "",
|
|
34
|
+
"typescript": "tsc"
|
|
7
35
|
},
|
|
8
|
-
"main": "index.js",
|
|
9
36
|
"bin": {
|
|
10
37
|
"buildawesome": "cmd.js"
|
|
11
38
|
},
|
|
12
|
-
"type": "module",
|
|
13
39
|
"license": "MIT",
|
|
14
40
|
"author": "Zach Leatherman (https://zachleat.com/)",
|
|
15
|
-
"
|
|
16
|
-
|
|
41
|
+
"repository": {
|
|
42
|
+
"type": "git",
|
|
43
|
+
"url": "git://github.com/11ty/buildawesome.git"
|
|
44
|
+
},
|
|
45
|
+
"bugs": "https://github.com/11ty/buildawesome/issues",
|
|
46
|
+
"homepage": "https://build.awesome.me/",
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"@11ty/eleventy": "4.0.0-alpha.11"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"typescript": "^7.0.2"
|
|
52
|
+
}
|
|
53
|
+
}
|
package/src/Core.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@11ty/eleventy/plugins/html-base";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@11ty/eleventy/plugins/i18n";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@11ty/eleventy/plugins/id-attribute";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@11ty/eleventy/plugins/input-path-to-url";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@11ty/eleventy/plugins/preserve-closing-tags";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@11ty/eleventy/plugins/render";
|
package/src/Util/Git.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@11ty/eleventy/plugins/html-base";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@11ty/eleventy/plugins/input-path-to-url";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "@11ty/eleventy/UserConfig";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@11ty/eleventy/utils/git";
|
package/types/index.d.ts
ADDED
package/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
throw new Error("There is not yet a stable release of Build Awesome @awesome.me/buildawesome (as much as npm might want there to be). To try out a Build Awesome prerelease, install from the alpha channel using npm install @awesome.me/buildawesome@alpha");
|