@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 +27 -8
- package/dist/boot/vite-register.js +5 -0
- package/dist/index.js +17 -0
- package/package.json +38 -26
- package/src/boot/vite-register.ts +6 -0
- package/src/index.ts +24 -0
- package/jsconfig.json +0 -9
- package/src/boot/register.js +0 -7
- package/src/index.js +0 -34
package/README.md
CHANGED
|
@@ -1,23 +1,42 @@
|
|
|
1
|
-
#
|
|
1
|
+
# QActivity App Extension
|
|
2
2
|
|
|
3
|
-
The QActivity app extension (
|
|
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
|

|
|
6
8
|
[](https://www.npmjs.com/package/@quasar/quasar-app-extension-qactivity)
|
|
7
9
|
|
|
8
|
-
|
|
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
|
-
|
|
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
|
-
|
|
20
|
-
|
|
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>
|
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": "
|
|
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
|
+
"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
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
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": "^
|
|
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": ">=
|
|
39
|
-
"
|
|
40
|
-
|
|
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
|
+
}
|
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
package/src/boot/register.js
DELETED
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
|
-
}
|