@danielx/civet 0.11.5 → 0.11.7

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.
Files changed (43) hide show
  1. package/CHANGELOG.md +306 -0
  2. package/README.md +2 -7
  3. package/dist/babel-plugin.js +7 -6
  4. package/dist/babel-plugin.mjs +3 -3
  5. package/dist/browser.js +807 -540
  6. package/dist/civet +24 -18
  7. package/dist/config.js +7313 -7
  8. package/dist/config.mjs +7338 -4
  9. package/dist/esbuild-plugin.js +7 -6
  10. package/dist/esm.mjs +10 -16
  11. package/dist/main.js +1787 -895
  12. package/dist/main.mjs +1782 -891
  13. package/dist/node-worker.mjs +1 -2
  14. package/dist/ts-diagnostic.js +5 -4
  15. package/dist/ts-diagnostic.mjs +1 -1
  16. package/dist/types.d.ts +11 -2
  17. package/dist/unplugin/astro.js +8 -7
  18. package/dist/unplugin/astro.mjs +6 -4
  19. package/dist/unplugin/esbuild.d.ts +1 -1
  20. package/dist/unplugin/esbuild.js +7 -6
  21. package/dist/unplugin/esbuild.mjs +5 -3
  22. package/dist/unplugin/farm.d.ts +3 -1
  23. package/dist/unplugin/farm.js +7 -6
  24. package/dist/unplugin/farm.mjs +6 -4
  25. package/dist/unplugin/rolldown.d.ts +1 -1
  26. package/dist/unplugin/rolldown.js +7 -6
  27. package/dist/unplugin/rolldown.mjs +5 -3
  28. package/dist/unplugin/rollup.d.ts +1 -1
  29. package/dist/unplugin/rollup.js +7 -6
  30. package/dist/unplugin/rollup.mjs +5 -3
  31. package/dist/unplugin/rspack.d.ts +1 -1
  32. package/dist/unplugin/rspack.js +7 -6
  33. package/dist/unplugin/rspack.mjs +5 -3
  34. package/dist/unplugin/unplugin.d.ts +27 -3
  35. package/dist/unplugin/unplugin.js +68 -42
  36. package/dist/unplugin/unplugin.mjs +53 -30
  37. package/dist/unplugin/vite.d.ts +1 -1
  38. package/dist/unplugin/vite.js +7 -6
  39. package/dist/unplugin/vite.mjs +5 -3
  40. package/dist/unplugin/webpack.d.ts +1 -1
  41. package/dist/unplugin/webpack.js +7 -6
  42. package/dist/unplugin/webpack.mjs +5 -3
  43. package/package.json +33 -17
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@danielx/civet",
3
3
  "type": "commonjs",
4
- "version": "0.11.5",
4
+ "version": "0.11.7",
5
5
  "description": "CoffeeScript style syntax for TypeScript",
6
6
  "main": "dist/main.js",
7
7
  "module": "dist/main.mjs",
@@ -95,46 +95,53 @@
95
95
  },
96
96
  "scripts": {
97
97
  "build": "bash ./build/build.sh",
98
- "build:self": "yarn build && bash ./build/build-self.sh",
99
- "docs:dev": "yarn build && vitepress dev civet.dev",
100
- "docs:build": "yarn build && vitepress build civet.dev",
101
- "docs:preview": "yarn build && vitepress preview civet.dev",
102
- "prepublishOnly": "yarn build && yarn test && yarn changelog --release",
98
+ "build:self": "pnpm build && bash ./build/build-self.sh",
99
+ "clean:cache": "rm -rf .cache",
100
+ "docs:dev": "pnpm build && vitepress dev civet.dev",
101
+ "docs:build": "pnpm build && vitepress build civet.dev",
102
+ "docs:preview": "pnpm build && vitepress preview civet.dev",
103
+ "prepublishOnly": "pnpm build && pnpm test:coverage && pnpm changelog --verify",
103
104
  "test": "bash ./build/test.sh",
104
- "test:self": "yarn build && mocha --config .mocharc-self.json",
105
- "changelog": "civet build/changelog.civet"
105
+ "test:coverage": "cross-env CIVET_COVERAGE=1 bash ./build/test.sh",
106
+ "test:self": "cross-env CIVET_SOURCE=./dist/main.js pnpm test",
107
+ "test:brk": "cross-env CIVET_THREADS=0 pnpm test --inspect-brk",
108
+ "changelog": "civet build/changelog.civet",
109
+ "release": "pnpm changelog --release"
106
110
  },
107
111
  "author": "Daniel X. Moore",
108
112
  "license": "MIT",
109
113
  "dependencies": {
110
114
  "@cspotcode/source-map-support": "^0.8.1",
111
- "unplugin": "^2.3.2"
115
+ "unplugin": "2.3.11"
112
116
  },
113
117
  "devDependencies": {
114
- "@danielx/civet": "0.9.4",
115
- "@danielx/hera": "^0.8.17",
118
+ "@babel/core": "^7.29.0",
119
+ "@babel/parser": "^7.29.2",
120
+ "@danielx/civet": "0.11.6",
121
+ "@danielx/hera": "0.8.20",
116
122
  "@prettier/sync": "^0.5.2",
117
123
  "@types/assert": "^1.5.6",
118
124
  "@types/mocha": "^10.0.8",
119
125
  "@types/node": "^22.10.2",
120
126
  "@typescript/vfs": "^1.6.4",
121
- "c8": "^7.12.0",
122
- "esbuild": "0.24.0",
127
+ "c8": "^11.0.0",
128
+ "cross-env": "7.0.3",
129
+ "esbuild": "0.27.5",
123
130
  "marked": "^4.2.4",
124
131
  "mocha": "^10.7.3",
125
132
  "prettier": "^3.2.5",
133
+ "shiki": "^3.0.0",
126
134
  "terser": "^5.16.1",
127
- "ts-node": "^10.9.2",
128
135
  "tslib": "^2.4.0",
129
136
  "typescript": "^5.5.2",
130
- "vite": "^4.4.12",
137
+ "vite": "^8.0.8",
131
138
  "vitepress": "^1.0.0-alpha.35",
132
139
  "vscode-languageserver": "^8.1.0",
133
140
  "vscode-languageserver-textdocument": "^1.0.8",
134
141
  "vue": "^3.2.45"
135
142
  },
136
143
  "peerDependencies": {
137
- "typescript": "^4.5 || ^5.0",
144
+ "typescript": ">=4.5",
138
145
  "yaml": "^2.4.5"
139
146
  },
140
147
  "peerDependenciesMeta": {
@@ -168,5 +175,14 @@
168
175
  "source/bun-civet.civet"
169
176
  ]
170
177
  },
171
- "packageManager": "yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72"
178
+ "packageManager": "pnpm@10.33.0",
179
+ "pnpm": {
180
+ "overrides": {
181
+ "serialize-javascript": "^7.0.3",
182
+ "tmp": "^0.2.5",
183
+ "lodash": "^4.18.0",
184
+ "esbuild": "0.27.5",
185
+ "diff": "^8.0.3"
186
+ }
187
+ }
172
188
  }