@analogjs/content 3.0.0-alpha.7 → 3.0.0-alpha.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@analogjs/content",
3
- "version": "3.0.0-alpha.7",
3
+ "version": "3.0.0-alpha.9",
4
4
  "description": "Content Rendering for Analog",
5
5
  "type": "module",
6
6
  "author": "Brandon Roberts <robertsbt@gmail.com>",
@@ -56,6 +56,9 @@
56
56
  "dependencies": {
57
57
  "tslib": "^2.3.0"
58
58
  },
59
+ "devDependencies": {
60
+ "@analogjs/vite-plugin-angular": "workspace:^"
61
+ },
59
62
  "ng-update": {
60
63
  "packageGroup": [
61
64
  "@analogjs/platform",
@@ -3,9 +3,7 @@
3
3
  "version": "0.0.1",
4
4
  "main": "./src/index.js",
5
5
  "type": "commonjs",
6
- "dependencies": {
7
- "tslib": "^2.8.1"
8
- },
6
+ "dependencies": {},
9
7
  "peerDependencies": {
10
8
  "@nx/devkit": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^20.0.0 || ^21.0.0 || ^22.0.0 || ^22",
11
9
  "vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
@@ -17,6 +15,5 @@
17
15
  "vite": {
18
16
  "optional": true
19
17
  }
20
- },
21
- "types": "./src/index.d.ts"
22
- }
18
+ }
19
+ }
@@ -1,6 +1,6 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- // eslint-disable-next-line @typescript-eslint/no-inferrable-types
4
- const _default = void 0;
5
- exports.default = _default;
1
+ //#region packages/content-plugin/src/index.ts
2
+ var _default = void 0;
3
+ //#endregion
4
+ module.exports = _default;
5
+
6
6
  //# sourceMappingURL=index.js.map
package/plugin/README.md DELETED
@@ -1,11 +0,0 @@
1
- # content-plugin
2
-
3
- This library was generated with [Nx](https://nx.dev).
4
-
5
- ## Building
6
-
7
- Run `nx build content-plugin` to build the library.
8
-
9
- ## Running unit tests
10
-
11
- Run `nx test content-plugin` to execute the unit tests via [Vitest](https://vitest.dev).
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- const devkit_1 = require("@nx/devkit");
5
- const update_markdown_version_1 = tslib_1.__importDefault(require("./update-markdown-version"));
6
- const _default = (0, devkit_1.convertNxGenerator)(update_markdown_version_1.default);
7
- exports.default = _default;
8
- //# sourceMappingURL=compat.js.map
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = update;
4
- const devkit_1 = require("@nx/devkit");
5
- async function update(host) {
6
- // NOTE: we only add the dependency if the project is an Angular project
7
- // Nx projects can add the dependency from migrations.json
8
- let dependencyAdded = false;
9
- if (host.exists('/angular.json')) {
10
- (0, devkit_1.addDependenciesToPackageJson)(host, {
11
- marked: '^15.0.7',
12
- 'marked-mangle': '^1.1.10',
13
- 'marked-highlight': '^2.2.1',
14
- 'marked-gfm-heading-id': '^4.1.1',
15
- }, {});
16
- dependencyAdded = true;
17
- }
18
- await (0, devkit_1.formatFiles)(host);
19
- if (dependencyAdded) {
20
- return () => (0, devkit_1.installPackagesTask)(host);
21
- }
22
- }
23
- //# sourceMappingURL=update-markdown-version.js.map