@danielx/civet 0.7.31 → 0.7.32
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/CHANGELOG.md +4 -0
- package/dist/civet +0 -0
- package/dist/config.js +6 -0
- package/dist/config.mjs +6 -0
- package/dist/types.d.ts +3 -3
- package/dist/unplugin/astro.js +1 -1
- package/dist/unplugin/astro.mjs +1 -1
- package/dist/unplugin/esbuild.js +1 -1
- package/dist/unplugin/esbuild.mjs +1 -1
- package/dist/unplugin/rollup.js +1 -1
- package/dist/unplugin/rollup.mjs +1 -1
- package/dist/unplugin/unplugin.js +2 -2
- package/dist/unplugin/unplugin.mjs +2 -2
- package/dist/unplugin/vite.js +1 -1
- package/dist/unplugin/vite.mjs +1 -1
- package/dist/unplugin/webpack.js +1 -1
- package/dist/unplugin/webpack.mjs +1 -1
- package/package.json +17 -17
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ This changelog is generated automatically by [`build/changelog.civet`](build/cha
|
|
|
4
4
|
For each version of Civet, it lists and links to all incorporated PRs,
|
|
5
5
|
as well as a full diff and commit list.
|
|
6
6
|
|
|
7
|
+
## 0.7.32 (2024-10-03, [diff](https://github.com/DanielXMoore/Civet/compare/v0.7.31...v0.7.32), [commits](https://github.com/DanielXMoore/Civet/commits/v0.7.32))
|
|
8
|
+
* Document how to use Civet Web Workers in Vite [[#1403](https://github.com/DanielXMoore/Civet/pull/1403)]
|
|
9
|
+
* change types order in package.json exports; default config exports [[#1405](https://github.com/DanielXMoore/Civet/pull/1405)]
|
|
10
|
+
|
|
7
11
|
## 0.7.31 (2024-09-18, [diff](https://github.com/DanielXMoore/Civet/compare/v0.7.30...v0.7.31), [commits](https://github.com/DanielXMoore/Civet/commits/v0.7.31))
|
|
8
12
|
* `--trace` fixes and documentation, cleanup of `getStateKey` [[#1399](https://github.com/DanielXMoore/Civet/pull/1399)]
|
|
9
13
|
* Run `<script type="text/civet">` in browser build [[#1400](https://github.com/DanielXMoore/Civet/pull/1400)]
|
package/dist/civet
CHANGED
|
File without changes
|
package/dist/config.js
CHANGED
|
@@ -30,6 +30,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
30
30
|
// source/config.civet
|
|
31
31
|
var config_exports = {};
|
|
32
32
|
__export(config_exports, {
|
|
33
|
+
default: () => config_default,
|
|
33
34
|
findConfig: () => findConfig,
|
|
34
35
|
findInDir: () => findInDir,
|
|
35
36
|
loadConfig: () => loadConfig
|
|
@@ -151,6 +152,11 @@ async function loadConfig(pathname) {
|
|
|
151
152
|
delete data?.parseOptions?.comptime;
|
|
152
153
|
return data;
|
|
153
154
|
}
|
|
155
|
+
var config_default = {
|
|
156
|
+
findConfig,
|
|
157
|
+
findInDir,
|
|
158
|
+
loadConfig
|
|
159
|
+
};
|
|
154
160
|
// Annotate the CommonJS export names for ESM import in node:
|
|
155
161
|
0 && (module.exports = {
|
|
156
162
|
findConfig,
|
package/dist/config.mjs
CHANGED
|
@@ -115,7 +115,13 @@ async function loadConfig(pathname) {
|
|
|
115
115
|
delete data?.parseOptions?.comptime;
|
|
116
116
|
return data;
|
|
117
117
|
}
|
|
118
|
+
var config_default = {
|
|
119
|
+
findConfig,
|
|
120
|
+
findInDir,
|
|
121
|
+
loadConfig
|
|
122
|
+
};
|
|
118
123
|
export {
|
|
124
|
+
config_default as default,
|
|
119
125
|
findConfig,
|
|
120
126
|
findInDir,
|
|
121
127
|
loadConfig
|
package/dist/types.d.ts
CHANGED
|
@@ -127,8 +127,8 @@ declare module "@danielx/civet/config" {
|
|
|
127
127
|
path: string
|
|
128
128
|
): Promise<import("@danielx/civet").CompileOptions>
|
|
129
129
|
export default {
|
|
130
|
-
findInDir
|
|
131
|
-
findConfig
|
|
132
|
-
loadConfig
|
|
130
|
+
findInDir,
|
|
131
|
+
findConfig,
|
|
132
|
+
loadConfig,
|
|
133
133
|
}
|
|
134
134
|
}
|
package/dist/unplugin/astro.js
CHANGED
|
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
));
|
|
27
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
28
|
|
|
29
|
-
// unplugin-civet
|
|
29
|
+
// unplugin-civet:/home/daniel/apps/Civet/source/unplugin/astro.civet.jsx
|
|
30
30
|
var astro_civet_exports = {};
|
|
31
31
|
__export(astro_civet_exports, {
|
|
32
32
|
default: () => astro_civet_default
|
package/dist/unplugin/astro.mjs
CHANGED
package/dist/unplugin/esbuild.js
CHANGED
|
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
));
|
|
27
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
28
|
|
|
29
|
-
// unplugin-civet
|
|
29
|
+
// unplugin-civet:/home/daniel/apps/Civet/source/unplugin/esbuild.civet.jsx
|
|
30
30
|
var esbuild_civet_exports = {};
|
|
31
31
|
__export(esbuild_civet_exports, {
|
|
32
32
|
default: () => esbuild_civet_default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// unplugin-civet
|
|
1
|
+
// unplugin-civet:/home/daniel/apps/Civet/source/unplugin/esbuild.civet.jsx
|
|
2
2
|
import civetUnplugin from "./unplugin.mjs";
|
|
3
3
|
var esbuild_civet_default = civetUnplugin.esbuild;
|
|
4
4
|
export {
|
package/dist/unplugin/rollup.js
CHANGED
|
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
));
|
|
27
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
28
|
|
|
29
|
-
// unplugin-civet
|
|
29
|
+
// unplugin-civet:/home/daniel/apps/Civet/source/unplugin/rollup.civet.jsx
|
|
30
30
|
var rollup_civet_exports = {};
|
|
31
31
|
__export(rollup_civet_exports, {
|
|
32
32
|
default: () => rollup_civet_default
|
package/dist/unplugin/rollup.mjs
CHANGED
|
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
));
|
|
27
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
28
|
|
|
29
|
-
// unplugin-civet
|
|
29
|
+
// unplugin-civet:/home/daniel/apps/Civet/source/unplugin/unplugin.civet.jsx
|
|
30
30
|
var unplugin_civet_exports = {};
|
|
31
31
|
__export(unplugin_civet_exports, {
|
|
32
32
|
default: () => unplugin_civet_default,
|
|
@@ -46,7 +46,7 @@ var import_os = __toESM(require("os"));
|
|
|
46
46
|
// source/unplugin/constants.mjs
|
|
47
47
|
var DEFAULT_EXTENSIONS = [".mjs", ".js", ".mts", ".ts", ".jsx", ".tsx", ".json"];
|
|
48
48
|
|
|
49
|
-
// unplugin-civet
|
|
49
|
+
// unplugin-civet:/home/daniel/apps/Civet/source/unplugin/unplugin.civet.jsx
|
|
50
50
|
var DiagnosticCategory = {};
|
|
51
51
|
DiagnosticCategory[DiagnosticCategory["Warning"] = 0] = "Warning";
|
|
52
52
|
DiagnosticCategory[DiagnosticCategory["Error"] = 1] = "Error";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// unplugin-civet
|
|
1
|
+
// unplugin-civet:/home/daniel/apps/Civet/source/unplugin/unplugin.civet.jsx
|
|
2
2
|
import { createUnplugin } from "unplugin";
|
|
3
3
|
import civet, { SourceMap } from "@danielx/civet";
|
|
4
4
|
import { findInDir, loadConfig } from "@danielx/civet/config";
|
|
@@ -14,7 +14,7 @@ import os from "os";
|
|
|
14
14
|
// source/unplugin/constants.mjs
|
|
15
15
|
var DEFAULT_EXTENSIONS = [".mjs", ".js", ".mts", ".ts", ".jsx", ".tsx", ".json"];
|
|
16
16
|
|
|
17
|
-
// unplugin-civet
|
|
17
|
+
// unplugin-civet:/home/daniel/apps/Civet/source/unplugin/unplugin.civet.jsx
|
|
18
18
|
var DiagnosticCategory = {};
|
|
19
19
|
DiagnosticCategory[DiagnosticCategory["Warning"] = 0] = "Warning";
|
|
20
20
|
DiagnosticCategory[DiagnosticCategory["Error"] = 1] = "Error";
|
package/dist/unplugin/vite.js
CHANGED
|
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
));
|
|
27
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
28
|
|
|
29
|
-
// unplugin-civet
|
|
29
|
+
// unplugin-civet:/home/daniel/apps/Civet/source/unplugin/vite.civet.jsx
|
|
30
30
|
var vite_civet_exports = {};
|
|
31
31
|
__export(vite_civet_exports, {
|
|
32
32
|
default: () => vite_civet_default
|
package/dist/unplugin/vite.mjs
CHANGED
package/dist/unplugin/webpack.js
CHANGED
|
@@ -26,7 +26,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
26
26
|
));
|
|
27
27
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
28
|
|
|
29
|
-
// unplugin-civet
|
|
29
|
+
// unplugin-civet:/home/daniel/apps/Civet/source/unplugin/webpack.civet.jsx
|
|
30
30
|
var webpack_civet_exports = {};
|
|
31
31
|
__export(webpack_civet_exports, {
|
|
32
32
|
default: () => webpack_civet_default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// unplugin-civet
|
|
1
|
+
// unplugin-civet:/home/daniel/apps/Civet/source/unplugin/webpack.civet.jsx
|
|
2
2
|
import civetUnplugin from "./unplugin.mjs";
|
|
3
3
|
var webpack_civet_default = civetUnplugin.webpack;
|
|
4
4
|
export {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@danielx/civet",
|
|
3
3
|
"type": "commonjs",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.32",
|
|
5
5
|
"description": "CoffeeScript style syntax for TypeScript",
|
|
6
6
|
"main": "dist/main.js",
|
|
7
7
|
"module": "dist/main.mjs",
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
},
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
|
+
"types": "./dist/types.d.ts",
|
|
14
15
|
"import": "./dist/main.mjs",
|
|
15
|
-
"require": "./dist/main.js"
|
|
16
|
-
"types": "./dist/types.d.ts"
|
|
16
|
+
"require": "./dist/main.js"
|
|
17
17
|
},
|
|
18
18
|
"./babel-plugin": {
|
|
19
19
|
"require": "./dist/babel-plugin.js",
|
|
@@ -24,39 +24,39 @@
|
|
|
24
24
|
"./esbuild-plugin": "./dist/esbuild-plugin.js",
|
|
25
25
|
"./register": "./register.js",
|
|
26
26
|
"./config": {
|
|
27
|
+
"types": "./dist/config.d.ts",
|
|
27
28
|
"require": "./dist/config.js",
|
|
28
|
-
"import": "./dist/config.mjs"
|
|
29
|
-
"types": "./dist/config.d.ts"
|
|
29
|
+
"import": "./dist/config.mjs"
|
|
30
30
|
},
|
|
31
31
|
"./unplugin": {
|
|
32
|
+
"types": "./dist/unplugin/unplugin.d.ts",
|
|
32
33
|
"require": "./dist/unplugin/unplugin.js",
|
|
33
|
-
"import": "./dist/unplugin/unplugin.mjs"
|
|
34
|
-
"types": "./dist/unplugin/unplugin.d.ts"
|
|
34
|
+
"import": "./dist/unplugin/unplugin.mjs"
|
|
35
35
|
},
|
|
36
36
|
"./vite": {
|
|
37
|
+
"types": "./dist/unplugin/vite.d.ts",
|
|
37
38
|
"require": "./dist/unplugin/vite.js",
|
|
38
|
-
"import": "./dist/unplugin/vite.mjs"
|
|
39
|
-
"types": "./dist/unplugin/vite.d.ts"
|
|
39
|
+
"import": "./dist/unplugin/vite.mjs"
|
|
40
40
|
},
|
|
41
41
|
"./webpack": {
|
|
42
|
+
"types": "./dist/unplugin/webpack.d.ts",
|
|
42
43
|
"require": "./dist/unplugin/webpack.js",
|
|
43
|
-
"import": "./dist/unplugin/webpack.mjs"
|
|
44
|
-
"types": "./dist/unplugin/webpack.d.ts"
|
|
44
|
+
"import": "./dist/unplugin/webpack.mjs"
|
|
45
45
|
},
|
|
46
46
|
"./rollup": {
|
|
47
|
+
"types": "./dist/unplugin/rollup.d.ts",
|
|
47
48
|
"require": "./dist/unplugin/rollup.js",
|
|
48
|
-
"import": "./dist/unplugin/rollup.mjs"
|
|
49
|
-
"types": "./dist/unplugin/rollup.d.ts"
|
|
49
|
+
"import": "./dist/unplugin/rollup.mjs"
|
|
50
50
|
},
|
|
51
51
|
"./esbuild": {
|
|
52
|
+
"types": "./dist/unplugin/esbuild.d.ts",
|
|
52
53
|
"require": "./dist/unplugin/esbuild.js",
|
|
53
|
-
"import": "./dist/unplugin/esbuild.mjs"
|
|
54
|
-
"types": "./dist/unplugin/esbuild.d.ts"
|
|
54
|
+
"import": "./dist/unplugin/esbuild.mjs"
|
|
55
55
|
},
|
|
56
56
|
"./astro": {
|
|
57
|
+
"types": "./dist/unplugin/astro.d.ts",
|
|
57
58
|
"require": "./dist/unplugin/astro.js",
|
|
58
|
-
"import": "./dist/unplugin/astro.mjs"
|
|
59
|
-
"types": "./dist/unplugin/astro.d.ts"
|
|
59
|
+
"import": "./dist/unplugin/astro.mjs"
|
|
60
60
|
},
|
|
61
61
|
"./ts-diagnostic": {
|
|
62
62
|
"require": "./dist/ts-diagnostic.js",
|