fix: incorrect filepath to marko folder in monorepo

This commit is contained in:
dpiercey 2024-12-13 17:25:13 -07:00
parent 1d4bc93cd2
commit e60bd4fd25
No known key found for this signature in database
GPG Key ID: 8A959D84C57B3CE5
8 changed files with 15 additions and 7 deletions

View File

@ -0,0 +1,8 @@
---
"@marko/compiler": patch
"marko": patch
"@marko/runtime-tags": patch
"@marko/translator-interop-class-tags": patch
---
Fix incorrect filepath for marko babel transform.

2
.gitattributes vendored
View File

@ -1,2 +1,2 @@
package-lock.json -diff
packages/marko/src/node_modules/** linguist-generated=false
packages/runtime-class/src/node_modules/** linguist-generated=false

2
.gitignore vendored
View File

@ -28,7 +28,7 @@ coverage
# Dependency directories
node_modules
!packages/marko/src/node_modules
!packages/runtime-class/src/node_modules
# Optional npm cache directory
.npm

View File

@ -1,5 +1,5 @@
__snapshots__
!packages/marko/src/node_modules
!packages/runtime-class/src/node_modules
.cache
.nvm
.sizes

View File

@ -14,7 +14,7 @@ module.exports = (api) => ({
plugins: ["@babel/transform-runtime"],
overrides: [
{
test: "./packages/marko/src/**/*",
test: "./packages/runtime-class/src/**/*",
plugins: api.env("production")
? [
["babel-plugin-minprops", { matchPrefix: "___", context: "marko" }],

View File

@ -6,7 +6,7 @@ import tseslint from "typescript-eslint";
export default tseslint.config(
{
ignores: [
"!packages/marko/src/node_modules",
"!packages/runtime-class/src/node_modules",
".cache",
".sizes",
".vscode",

View File

@ -10,7 +10,7 @@
"parser",
"plugin"
],
"homepage": "https://github.com/marko-js/marko/blob/main/packages/marko/docs/compiler.md",
"homepage": "https://github.com/marko-js/marko/blob/main/packages/runtime-class/docs/compiler.md",
"bugs": "https://github.com/marko-js/marko/issues/new?template=Bug_report.md",
"repository": {
"type": "git",

View File

@ -106,7 +106,7 @@ $ const instanceFn = (val: T) => {
## Built-in Marko Types
Marko exposes [type definitions](https://github.com/marko-js/marko/blob/main/packages/marko/index.d.ts) you can reuse in [a TypeScript namespace](https://www.typescriptlang.org/docs/handbook/namespaces.html) called `Marko`:
Marko exposes [type definitions](https://github.com/marko-js/marko/blob/main/packages/runtime-class/index.d.ts) you can reuse in [a TypeScript namespace](https://www.typescriptlang.org/docs/handbook/namespaces.html) called `Marko`:
- **`Marko.Template<Input, Return>`**
- The type of a `.marko` file