@quasar/quasar-app-extension-qactivity 3.0.0-beta.0 → 3.0.0-beta.2

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
@@ -19,6 +19,11 @@ While v3 is in beta:
19
19
  quasar ext add @quasar/qactivity@beta
20
20
  ```
21
21
 
22
+ ## Requirements
23
+
24
+ - Quasar v2.
25
+ - `@quasar/app-vite` >=3.0.0-beta.36.
26
+
22
27
  ## Uninstall
23
28
 
24
29
  ```bash
@@ -0,0 +1,5 @@
1
+ import { defineBoot } from "@quasar/app-vite";
2
+ import VuePlugin from "@quasar/quasar-ui-qactivity";
3
+ export default defineBoot(({ app }) => {
4
+ app.use(VuePlugin);
5
+ });
package/dist/index.js ADDED
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Quasar App Extension index/runner script
3
+ * (runs on each dev/build)
4
+ *
5
+ * Docs: https://quasar.dev/app-extensions/development-guide/index-api
6
+ */
7
+ import { defineIndexScript } from "@quasar/app-vite";
8
+ export default defineIndexScript((api) => {
9
+ api.compatibleWith("quasar", "^2.0.0");
10
+ api.compatibleWith("@quasar/app-vite", ">=3.0.0-beta.36");
11
+ api.registerDescribeApi("QActivity", "~@quasar/quasar-ui-qactivity/dist/api/QActivity.json");
12
+ api.registerDescribeApi("QActivityItem", "~@quasar/quasar-ui-qactivity/dist/api/QActivityItem.json");
13
+ api.extendQuasarConf(() => ({
14
+ boot: ["~@quasar/quasar-app-extension-qactivity/dist/boot/vite-register.js"],
15
+ css: ["~@quasar/quasar-ui-qactivity/src/index.scss"],
16
+ }));
17
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quasar/quasar-app-extension-qactivity",
3
- "version": "3.0.0-beta.0",
3
+ "version": "3.0.0-beta.2",
4
4
  "description": "QActivity is an app extension for Quasar for making an activity list",
5
5
  "keywords": [
6
6
  "activity",
@@ -24,29 +24,31 @@
24
24
  "url": "https://github.com/sponsors/hawkeye64"
25
25
  },
26
26
  "files": [
27
+ "dist",
27
28
  "src"
28
29
  ],
29
30
  "type": "module",
30
- "main": "src/index.ts",
31
+ "main": "dist/index.js",
31
32
  "publishConfig": {
32
33
  "access": "public"
33
34
  },
34
35
  "dependencies": {
35
- "@quasar/quasar-ui-qactivity": "^3.0.0-beta.0"
36
+ "@quasar/quasar-ui-qactivity": "^3.0.0-beta.2"
36
37
  },
37
38
  "devDependencies": {
38
- "@quasar/app-vite": "3.0.0-beta.32",
39
+ "@quasar/app-vite": "3.0.0-beta.36",
39
40
  "quasar": "^2.19.3",
40
41
  "typescript": "~6.0.3"
41
42
  },
42
43
  "peerDependencies": {
43
- "@quasar/app-vite": ">=3.0.0-beta.30"
44
+ "@quasar/app-vite": ">=3.0.0-beta.36"
44
45
  },
45
46
  "engines": {
46
47
  "node": ">=22.13",
47
- "pnpm": ">=11.4.0"
48
+ "pnpm": ">=11.5.0"
48
49
  },
49
50
  "scripts": {
51
+ "build": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\" && tsc -p tsconfig.build.json",
50
52
  "lint": "oxlint src"
51
53
  }
52
54
  }
package/src/index.ts CHANGED
@@ -9,7 +9,7 @@ import { defineIndexScript } from "@quasar/app-vite";
9
9
 
10
10
  export default defineIndexScript((api) => {
11
11
  api.compatibleWith("quasar", "^2.0.0");
12
- api.compatibleWith("@quasar/app-vite", ">=3.0.0-beta.30");
12
+ api.compatibleWith("@quasar/app-vite", ">=3.0.0-beta.36");
13
13
 
14
14
  api.registerDescribeApi("QActivity", "~@quasar/quasar-ui-qactivity/dist/api/QActivity.json");
15
15
  api.registerDescribeApi(
@@ -18,7 +18,7 @@ export default defineIndexScript((api) => {
18
18
  );
19
19
 
20
20
  api.extendQuasarConf(() => ({
21
- boot: ["~@quasar/quasar-app-extension-qactivity/src/boot/vite-register.ts"],
21
+ boot: ["~@quasar/quasar-app-extension-qactivity/dist/boot/vite-register.js"],
22
22
  css: ["~@quasar/quasar-ui-qactivity/src/index.scss"],
23
23
  }));
24
24
  });