Skip to content

Commit

Permalink
fix: incorrect filepath to marko folder in monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Dec 14, 2024
1 parent 1d4bc93 commit e60bd4f
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 7 deletions.
8 changes: 8 additions & 0 deletions .changeset/nine-sheep-build.md
Original file line number Diff line number Diff line change
@@ -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 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -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 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__snapshots__
!packages/marko/src/node_modules
!packages/runtime-class/src/node_modules
.cache
.nvm
.sizes
Expand Down
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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" }],
Expand Down
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime-class/docs/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e60bd4f

Please sign in to comment.