mirror of
https://github.com/marko-js/marko.git
synced 2025-12-08 19:26:05 +00:00
fix: incorrect filepath to marko folder in monorepo
This commit is contained in:
parent
1d4bc93cd2
commit
e60bd4fd25
8
.changeset/nine-sheep-build.md
Normal file
8
.changeset/nine-sheep-build.md
Normal 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
2
.gitattributes
vendored
@ -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
2
.gitignore
vendored
@ -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
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
__snapshots__
|
||||
!packages/marko/src/node_modules
|
||||
!packages/runtime-class/src/node_modules
|
||||
.cache
|
||||
.nvm
|
||||
.sizes
|
||||
|
||||
@ -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" }],
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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",
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user