@quasar/quasar-app-extension-qactivity 2.0.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
@@ -1,23 +1,42 @@
1
- # Quasar App Extension QActivity
1
+ # QActivity App Extension
2
2
 
3
- The QActivity app extension (@quasar/quasar-app-extension-qactivity) installs and manages the [QActivity UI](https://github.com/quasarframework/quasar-ui-qactivity/tree/main/ui) component.
3
+ The QActivity app extension (`@quasar/quasar-app-extension-qactivity`) installs and registers the
4
+ [QActivity UI](https://github.com/quasarframework/quasar-ui-qactivity/tree/v3-beta/packages/ui)
5
+ components for Quasar CLI Vite applications.
4
6
 
5
7
  ![@quasar/quasar-app-extension-qactivity](https://img.shields.io/npm/v/@quasar/quasar-app-extension-qactivity?label=@quasar/quasar-app-extension-qactivity)
6
8
  [![npm](https://img.shields.io/npm/dt/@quasar/quasar-app-extension-qactivity.svg)](https://www.npmjs.com/package/@quasar/quasar-app-extension-qactivity)
7
9
 
8
- # Install
10
+ ## Install
11
+
9
12
  ```bash
10
13
  quasar ext add @quasar/qactivity
11
14
  ```
12
- Quasar CLI will retrieve it from NPM and install the extension.
13
15
 
14
- # Uninstall
16
+ While v3 is in beta:
17
+
18
+ ```bash
19
+ quasar ext add @quasar/qactivity@beta
20
+ ```
21
+
22
+ ## Requirements
23
+
24
+ - Quasar v2.
25
+ - `@quasar/app-vite` >=3.0.0-beta.36.
26
+
27
+ ## Uninstall
28
+
15
29
  ```bash
16
30
  quasar ext remove @quasar/qactivity
17
31
  ```
18
32
 
19
- # Donate
20
- If you appreciate the work that went into this, please consider donating to [Quasar](https://donate.quasar.dev) or [Jeff](https://github.com/sponsors/hawkeye64).
33
+ ## Support
34
+
35
+ If QActivity is useful in your workflow and you want to support ongoing maintenance:
36
+
37
+ GitHub Sponsors: https://github.com/sponsors/hawkeye64
38
+ PayPal: https://paypal.me/hawkeye64
39
+
40
+ ## License
21
41
 
22
- # License
23
42
  MIT (c) Jeff Galbraith <jeff@quasar.dev>
@@ -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,42 +1,54 @@
1
1
  {
2
2
  "name": "@quasar/quasar-app-extension-qactivity",
3
- "version": "2.0.0",
3
+ "version": "3.0.0-beta.2",
4
4
  "description": "QActivity is an app extension for Quasar for making an activity list",
5
- "author": "Jeff Galbraith <jeff@quasar.dev>",
5
+ "keywords": [
6
+ "activity",
7
+ "app",
8
+ "app extension",
9
+ "extension",
10
+ "list",
11
+ "quasar",
12
+ "quasarframework"
13
+ ],
14
+ "homepage": "https://github.com/quasarframework/quasar-ui-qactivity",
15
+ "bugs": "https://github.com/quasarframework/quasar-ui-qactivity/issues",
6
16
  "license": "MIT",
7
- "main": "src/index.js",
8
- "scripts": {
9
- "lint": "eslint --ext .js,.vue src",
10
- "lint-fix": "eslint --ext .js,.vue src --fix"
17
+ "author": "Jeff Galbraith <jeff@quasar.dev>",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/quasarframework/quasar-ui-qactivity.git"
11
21
  },
12
22
  "funding": {
13
23
  "type": "github",
14
24
  "url": "https://github.com/sponsors/hawkeye64"
15
25
  },
26
+ "files": [
27
+ "dist",
28
+ "src"
29
+ ],
30
+ "type": "module",
31
+ "main": "dist/index.js",
16
32
  "publishConfig": {
17
33
  "access": "public"
18
34
  },
19
- "bugs": "https://github.com/quasarframework/quasar-ui-qactivity/issues",
20
- "repository": {
21
- "type": "git",
22
- "url": "git+https://github.com/quasarframework/quasar-ui-qactivity.git"
23
- },
24
- "homepage": "https://github.com/quasarframework/quasar-ui-qactivity",
25
- "keywords": [
26
- "quasar",
27
- "quasarframework",
28
- "app",
29
- "app extension",
30
- "extension",
31
- "activity",
32
- "list"
33
- ],
34
35
  "dependencies": {
35
- "@quasar/quasar-ui-qactivity": "^2.0.0"
36
+ "@quasar/quasar-ui-qactivity": "^3.0.0-beta.2"
37
+ },
38
+ "devDependencies": {
39
+ "@quasar/app-vite": "3.0.0-beta.36",
40
+ "quasar": "^2.19.3",
41
+ "typescript": "~6.0.3"
42
+ },
43
+ "peerDependencies": {
44
+ "@quasar/app-vite": ">=3.0.0-beta.36"
36
45
  },
37
46
  "engines": {
38
- "node": ">= 10.0.0",
39
- "npm": ">= 5.6.0",
40
- "yarn": ">= 1.6.0"
47
+ "node": ">=22.13",
48
+ "pnpm": ">=11.5.0"
49
+ },
50
+ "scripts": {
51
+ "build": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\" && tsc -p tsconfig.build.json",
52
+ "lint": "oxlint src"
41
53
  }
42
- }
54
+ }
@@ -0,0 +1,6 @@
1
+ import { defineBoot } from "@quasar/app-vite";
2
+ import VuePlugin from "@quasar/quasar-ui-qactivity";
3
+
4
+ export default defineBoot(({ app }) => {
5
+ app.use(VuePlugin);
6
+ });
package/src/index.ts ADDED
@@ -0,0 +1,24 @@
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
+
8
+ import { defineIndexScript } from "@quasar/app-vite";
9
+
10
+ export default defineIndexScript((api) => {
11
+ api.compatibleWith("quasar", "^2.0.0");
12
+ api.compatibleWith("@quasar/app-vite", ">=3.0.0-beta.36");
13
+
14
+ api.registerDescribeApi("QActivity", "~@quasar/quasar-ui-qactivity/dist/api/QActivity.json");
15
+ api.registerDescribeApi(
16
+ "QActivityItem",
17
+ "~@quasar/quasar-ui-qactivity/dist/api/QActivityItem.json",
18
+ );
19
+
20
+ api.extendQuasarConf(() => ({
21
+ boot: ["~@quasar/quasar-app-extension-qactivity/dist/boot/vite-register.js"],
22
+ css: ["~@quasar/quasar-ui-qactivity/src/index.scss"],
23
+ }));
24
+ });
package/jsconfig.json DELETED
@@ -1,9 +0,0 @@
1
-
2
- {
3
- "compilerOptions": {
4
- "module": "commonjs",
5
- "target": "es6"
6
- },
7
- "exclude": ["node_modules"],
8
- "include": ["src/**/*"]
9
- }
@@ -1,7 +0,0 @@
1
- import { boot } from 'quasar/wrappers'
2
- import VuePlugin from '@quasar/quasar-ui-qactivity'
3
-
4
- export default boot(({ app }) => {
5
- app.use(VuePlugin)
6
- })
7
-
package/src/index.js DELETED
@@ -1,34 +0,0 @@
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
- * API: https://github.com/quasarframework/quasar/blob/master/app/lib/app-extension/IndexAPI.js
7
- */
8
-
9
- function extendConf (conf) {
10
- // register our boot file
11
- conf.boot.push('~@quasar/quasar-app-extension-qactivity/src/boot/register.js')
12
-
13
- // make sure app extension files & ui package gets transpiled
14
- conf.build.transpileDependencies.push(/quasar-app-extension-qactivity[\\/]src/)
15
- conf.build.transpileDependencies.push(/quasar-ui-qactivity[\\/]src/)
16
-
17
- // make sure the stylesheet goes through webpack to avoid SSR issues
18
- conf.css.push('~@quasar/quasar-ui-qactivity/src/index.sass')
19
- }
20
-
21
- module.exports = function (api) {
22
- // Quasar compatibility check; you may need
23
- // hard dependencies, as in a minimum version of the "quasar"
24
- // package or a minimum version of "@quasar/app" CLI
25
- api.compatibleWith('quasar', '^2.0.0')
26
- api.compatibleWith('@quasar/app', '^3.0.0')
27
-
28
- // Uncomment the line below if you provide a JSON API for your component
29
- api.registerDescribeApi('QActivity', '~@quasar/quasar-ui-qactivity/dist/api/QActivity.json')
30
- api.registerDescribeApi('QActivityItem', '~@quasar/quasar-ui-qactivity/dist/api/QActivityItem.json')
31
-
32
- // We extend /quasar.conf.js
33
- api.extendQuasarConf(extendConf)
34
- }