@awesome.me/buildawesome 4.0.0-alpha.10 → 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 CHANGED
@@ -36,8 +36,7 @@ npm test
36
36
 
37
37
  We have a few test suites, for various reasons:
38
38
 
39
- - [ava JavaScript test runner](https://github.com/avajs/ava) ([assertions docs](https://github.com/avajs/ava/blob/main/docs/03-assertions.md)) (primary test suite in `test/`)
40
- - [Node.js Test runner](https://nodejs.org/api/test.html) (secondary test suite in `test_node/`)
39
+ - [Node.js Test runner](https://nodejs.org/api/test.html) (`test/`)
41
40
  - [Vitest (in Browser Mode)](https://vitest.dev/guide/browser/) (browser tests in `packages/browser/test/`)
42
41
  - [Benchmark for Performance Regressions](https://github.com/11ty/buildbenchmark)
43
42
 
package/package.json CHANGED
@@ -1,17 +1,32 @@
1
1
  {
2
2
  "name": "@awesome.me/buildawesome",
3
3
  "description": "A simpler way to build awesome web sites.",
4
- "version": "4.0.0-alpha.10",
4
+ "version": "4.0.0-alpha.11",
5
5
  "publishConfig": {
6
6
  "access": "public",
7
7
  "provenance": true
8
8
  },
9
9
  "type": "module",
10
10
  "exports": {
11
- ".": "./src/Core.js",
11
+ ".": {
12
+ "types": "./types/index.d.ts",
13
+ "default": "./src/Core.js"
14
+ },
12
15
  "./UserConfig": {
13
16
  "types": "./types/UserConfig.d.ts"
14
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",
15
30
  "./utils/git": "./src/Util/Git.js"
16
31
  },
17
32
  "scripts": {
@@ -30,9 +45,9 @@
30
45
  "bugs": "https://github.com/11ty/buildawesome/issues",
31
46
  "homepage": "https://build.awesome.me/",
32
47
  "dependencies": {
33
- "@11ty/eleventy": "4.0.0-alpha.10"
48
+ "@11ty/eleventy": "4.0.0-alpha.11"
34
49
  },
35
50
  "devDependencies": {
36
- "typescript": "^6.0.3"
51
+ "typescript": "^7.0.2"
37
52
  }
38
53
  }
package/src/Core.js CHANGED
@@ -1,2 +1,2 @@
1
1
  export * from "@11ty/eleventy";
2
- export { default } from "@11ty/eleventy";
2
+ export { default, default as BuildAwesome } from "@11ty/eleventy";
@@ -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";
@@ -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,2 @@
1
+ export * from "@11ty/eleventy";
2
+ export { default, default as BuildAwesome } from "@11ty/eleventy";