coralite-plugin-aggregation 0.4.0 → 0.5.0

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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +8 -8
package/lib/index.js CHANGED
@@ -5,7 +5,7 @@ import { pathToFileURL } from 'node:url'
5
5
 
6
6
  /**
7
7
  * @import {CoraliteAnyNode, CoraliteCollectionItem} from 'coralite/types'
8
- * @import {CoraliteAggregate} from '#types'
8
+ * @import {CoraliteAggregate} from '../types/index.js'
9
9
  */
10
10
 
11
11
  export default createPlugin({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coralite-plugin-aggregation",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "A Coralite plugin for dynamically collecting, filtering, sorting, and displaying content across multiple sources. Build database-free Coralite websites with automated content aggregation.",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -29,9 +29,6 @@
29
29
  "bugs": {
30
30
  "url": "https://codeberg.org/tjdavid/coralite-plugin-aggregation/issues"
31
31
  },
32
- "imports": {
33
- "#types": "./types/index.js"
34
- },
35
32
  "exports": {
36
33
  ".": {
37
34
  "types": "./types/index.js",
@@ -47,21 +44,24 @@
47
44
  "@playwright/test": "^1.52.0",
48
45
  "@stylistic/eslint-plugin-js": "^4.2.0",
49
46
  "@stylistic/eslint-plugin-plus": "^4.2.0",
50
- "coralite": "^0.18.1",
51
- "sirv-cli": "^3.0.1"
47
+ "coralite": "^0.18.2",
48
+ "premove": "^4.0.0",
49
+ "sirv-cli": "^3.0.1",
50
+ "typescript": "^5.9.2"
52
51
  },
53
52
  "dependencies": {
54
53
  "dom-serializer": "^2.0.0",
55
54
  "htmlparser2": "^10.0.0"
56
55
  },
57
56
  "peerDependencies": {
58
- "coralite": "^0.18.1"
57
+ "coralite": "^0.18.2"
59
58
  },
60
59
  "scripts": {
61
60
  "build": "coralite -t tests/fixtures/templates -p tests/fixtures/pages -o dist",
62
61
  "test-e2e": "playwright test",
63
62
  "test-e2e-report": "playwright show-report",
64
63
  "test-e2e-ui": "playwright test --ui",
65
- "server": "sirv dist --dev --port 3000"
64
+ "server": "sirv dist --dev --port 3000",
65
+ "build-types": "premove dist && tsc"
66
66
  }
67
67
  }