vite-plugin-qingkuai 1.0.11 → 1.0.12
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/LICENSE +21 -0
- package/README.md +16 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/package.json +3 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024-present, all contributors to vite-plugin-qingkuai
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# vite-plugin-qingkuai
|
|
2
|
+
|
|
3
|
+
vite-plugin-qingkuai is a Vite plugin that transforms `.qk` component files into native JavaScript using the Qingkuai compiler. It enables fast and seamless development of web applications built with [QingKuai](https://qingkuai.dev)(a front-end framework).
|
|
4
|
+
|
|
5
|
+
[QingKuai Documentation](https://qingkuai.dev) | [VSCode extension For QingKuai Language Features](https://marketplace.visualstudio.com/items?itemName=qingkuai-tools.qingkuai-language-features) | [Issues]("https://github.com/qingkuai-js/vite-plugin/issues)
|
|
6
|
+
|
|
7
|
+
## Usage
|
|
8
|
+
|
|
9
|
+
```js
|
|
10
|
+
import { defineConfig } from "vite"
|
|
11
|
+
import qingkuai from "vite-plugin-qingkuai"
|
|
12
|
+
|
|
13
|
+
export default defineConfig({
|
|
14
|
+
plugins: [qingkuai()]
|
|
15
|
+
})
|
|
16
|
+
```
|
package/dist/index.cjs
CHANGED
|
@@ -95,7 +95,7 @@ async function getOriginalPosition(map, line, column) {
|
|
|
95
95
|
return new sourceMapJs.SourceMapConsumer(map).originalPositionFor({ line, column });
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
function
|
|
98
|
+
function qingkuai() {
|
|
99
99
|
let isDev;
|
|
100
100
|
let sourcemap;
|
|
101
101
|
let cssSourcemap;
|
|
@@ -352,4 +352,4 @@ function parseStyleId(id) {
|
|
|
352
352
|
};
|
|
353
353
|
}
|
|
354
354
|
|
|
355
|
-
module.exports =
|
|
355
|
+
module.exports = qingkuai;
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -93,7 +93,7 @@ async function getOriginalPosition(map, line, column) {
|
|
|
93
93
|
return new SourceMapConsumer(map).originalPositionFor({ line, column });
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
function
|
|
96
|
+
function qingkuai() {
|
|
97
97
|
let isDev;
|
|
98
98
|
let sourcemap;
|
|
99
99
|
let cssSourcemap;
|
|
@@ -350,5 +350,5 @@ function parseStyleId(id) {
|
|
|
350
350
|
};
|
|
351
351
|
}
|
|
352
352
|
|
|
353
|
-
export {
|
|
353
|
+
export { qingkuai as default };
|
|
354
354
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "vite-plugin-qingkuai",
|
|
3
3
|
"author": "mlgq",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.12",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"vite",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@types/fs-extra": "^11.0.4",
|
|
26
26
|
"@types/node": "^22.13.14",
|
|
27
27
|
"fs-extra": "^11.3.0",
|
|
28
|
-
"qingkuai": "^1.0.
|
|
28
|
+
"qingkuai": "^1.0.45",
|
|
29
29
|
"rimraf": "^6.0.1",
|
|
30
30
|
"rollup": "^4.38.0",
|
|
31
31
|
"rollup-plugin-dts": "^6.2.1",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"vite": "^6.2.4"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"qingkuai": "^1.0.
|
|
36
|
+
"qingkuai": "^1.0.45",
|
|
37
37
|
"vite": "^6.2.4"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|