-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7fca581
commit 8ceddaa
Showing
246 changed files
with
4,740 additions
and
4,543 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npm exec lint-staged |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,47 +5,47 @@ | |
"author": "Dylan Piercey <[email protected]>", | ||
"bugs": "https://github.com/marko-js/tags-api-preview/issues", | ||
"dependencies": { | ||
"magic-string": "^0.30.0" | ||
"magic-string": "^0.30.7" | ||
}, | ||
"devDependencies": { | ||
"@changesets/cli": "^2.26.2", | ||
"@marko/compiler": "^5.30.2", | ||
"@changesets/cli": "^2.27.1", | ||
"@marko/compiler": "^5.34.7", | ||
"@marko/fixture-snapshots": "^2.2.0", | ||
"@marko/testing-library": "^6.1.4", | ||
"@marko/testing-library": "^6.2.0", | ||
"@testing-library/user-event": "^13.5.0", | ||
"@types/babel__code-frame": "^7.0.3", | ||
"@types/chai": "^4.3.5", | ||
"@types/chai-as-promised": "^7.1.5", | ||
"@types/chai-dom": "1.11.0", | ||
"@types/jsdom": "^21.1.1", | ||
"@types/mocha": "^10.0.1", | ||
"@types/node": "^20.3.2", | ||
"@types/sinon-chai": "^3.2.9", | ||
"@typescript-eslint/eslint-plugin": "^5.60.1", | ||
"@typescript-eslint/parser": "^5.60.1", | ||
"@types/babel__code-frame": "^7.0.6", | ||
"@types/chai": "^4.3.12", | ||
"@types/chai-as-promised": "^7.1.8", | ||
"@types/chai-dom": "1.11.3", | ||
"@types/jsdom": "^21.1.6", | ||
"@types/mocha": "^10.0.6", | ||
"@types/node": "^20.11.20", | ||
"@types/sinon-chai": "^3.2.12", | ||
"@typescript-eslint/eslint-plugin": "^7.0.2", | ||
"@typescript-eslint/parser": "^7.0.2", | ||
"chai": "^4.3.7", | ||
"chai-as-promised": "^7.1.1", | ||
"chai-dom": "^1.11.0", | ||
"chai-dom": "^1.12.0", | ||
"cross-env": "^7.0.3", | ||
"esbuild": "^0.18.10", | ||
"eslint": "^8.43.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"fast-glob": "^3.3.0", | ||
"esbuild": "^0.20.1", | ||
"eslint": "^8.57.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"fast-glob": "^3.3.2", | ||
"fixpack": "^4.0.0", | ||
"fs-monkey": "^1.0.4", | ||
"husky": "^8.0.3", | ||
"jsdom": "^22.1.0", | ||
"jsdom-context-require": "^4.0.8", | ||
"lint-staged": "^13.2.3", | ||
"marko": "^5.28.2", | ||
"memfs": "^4.2.0", | ||
"mocha": "^10.2.0", | ||
"fs-monkey": "^1.0.5", | ||
"husky": "^9.0.11", | ||
"jsdom": "^24.0.0", | ||
"jsdom-context-require": "^5.2.3", | ||
"lint-staged": "^15.2.2", | ||
"marko": "^5.32.13", | ||
"memfs": "^4.7.7", | ||
"mocha": "^10.3.0", | ||
"nyc": "^15.1.0", | ||
"prettier": "^2.8.8", | ||
"sinon": "^15.2.0", | ||
"prettier": "^3.2.5", | ||
"sinon": "^17.0.1", | ||
"sinon-chai": "^3.7.0", | ||
"tsx": "^3.12.7", | ||
"typescript": "^5.1.6", | ||
"tsx": "^4.7.1", | ||
"typescript": "^5.3.3", | ||
"unionfs": "^4.5.1" | ||
}, | ||
"files": [ | ||
|
@@ -79,7 +79,7 @@ | |
"lint:eslint": "eslint -f visualstudio .", | ||
"lint:prettier": "prettier \"./**/*{.ts,.js,.json,.md,.yml,rc}\"", | ||
"mocha": "cross-env NODE_ENV=test mocha \"./src/**/__tests__/**/*.test.ts\"", | ||
"prepare": "husky install", | ||
"prepare": "husky", | ||
"release": "npm run build && tsx publish.mts pre && changeset publish && tsx publish.mts post", | ||
"report": "open ./coverage/lcov-report/index.html", | ||
"test": "npm run mocha -- --watch", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/__tests__/fixtures/attrs/__snapshots__/attrs-error-args/node.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/__tests__/fixtures/attrs/__snapshots__/attrs-error-args/web.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/__tests__/fixtures/attrs/__snapshots__/attrs-error-attr/node.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/__tests__/fixtures/attrs/__snapshots__/attrs-error-attr/web.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s__/fixtures/attrs/__snapshots__/attrs-error-body-content/node.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ts__/fixtures/attrs/__snapshots__/attrs-error-body-content/web.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
.../fixtures/attrs/__snapshots__/attrs-error-body-parameters/node.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
..._/fixtures/attrs/__snapshots__/attrs-error-body-parameters/web.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...tests__/fixtures/attrs/__snapshots__/attrs-error-multiple/node.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
..._tests__/fixtures/attrs/__snapshots__/attrs-error-multiple/web.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...__tests__/fixtures/attrs/__snapshots__/attrs-error-nested/node.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/__tests__/fixtures/attrs/__snapshots__/attrs-error-nested/web.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...sts__/fixtures/attrs/__snapshots__/attrs-error-no-tag-var/node.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CompileError | ||
CompileError: | ||
> 1 | <attrs/> | ||
| ^^^^^ The <attrs> tag requires a tag variable to be assigned to. | ||
2 | |
2 changes: 1 addition & 1 deletion
2
...ests__/fixtures/attrs/__snapshots__/attrs-error-no-tag-var/web.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CompileError | ||
CompileError: | ||
> 1 | <attrs/> | ||
| ^^^^^ The <attrs> tag requires a tag variable to be assigned to. | ||
2 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/__tests__/fixtures/const/__snapshots__/const-args-error/node.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CompileError | ||
CompileError: | ||
> 1 | <const(y)/x=1/> | ||
| ^^^^^ The <const> tag does not support arguments. | ||
2 | |
2 changes: 1 addition & 1 deletion
2
src/__tests__/fixtures/const/__snapshots__/const-args-error/web.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CompileError | ||
CompileError: | ||
> 1 | <const(y)/x=1/> | ||
| ^^^^^ The <const> tag does not support arguments. | ||
2 | |
2 changes: 1 addition & 1 deletion
2
...sts__/fixtures/const/__snapshots__/const-assignment-error/node.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ests__/fixtures/const/__snapshots__/const-assignment-error/web.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...s__/fixtures/const/__snapshots__/const-body-content-error/node.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CompileError | ||
CompileError: | ||
> 1 | <const/x=1> | ||
| ^^^^^ The <const> tag does not support body content. | ||
2 | Hello! | ||
|
2 changes: 1 addition & 1 deletion
2
...ts__/fixtures/const/__snapshots__/const-body-content-error/web.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CompileError | ||
CompileError: | ||
> 1 | <const/x=1> | ||
| ^^^^^ The <const> tag does not support body content. | ||
2 | Hello! | ||
|
2 changes: 1 addition & 1 deletion
2
.../fixtures/const/__snapshots__/const-body-parameters-error/node.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CompileError | ||
CompileError: | ||
> 1 | <const/x|y|=1/> | ||
| ^^^^^ The <const> tag does not support tag body parameters. | ||
2 | |
2 changes: 1 addition & 1 deletion
2
..._/fixtures/const/__snapshots__/const-body-parameters-error/web.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CompileError | ||
CompileError: | ||
> 1 | <const/x|y|=1/> | ||
| ^^^^^ The <const> tag does not support tag body parameters. | ||
2 | |
2 changes: 1 addition & 1 deletion
2
.../fixtures/const/__snapshots__/const-extra-attribute-error/node.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CompileError | ||
CompileError: | ||
> 1 | <const/x=1 y=2/> | ||
| ^^^^^ The <const> tag only supports the 'value' attribute. | ||
2 | |
2 changes: 1 addition & 1 deletion
2
..._/fixtures/const/__snapshots__/const-extra-attribute-error/web.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CompileError | ||
CompileError: | ||
> 1 | <const/x=1 y=2/> | ||
| ^^^^^ The <const> tag only supports the 'value' attribute. | ||
2 | |
2 changes: 1 addition & 1 deletion
2
...const/__snapshots__/const-missing-default-attribute-error/node.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CompileError | ||
CompileError: | ||
> 1 | <const/x/> | ||
| ^^^^^ The <const> tag must be initialized with a value. | ||
2 | |
2 changes: 1 addition & 1 deletion
2
.../const/__snapshots__/const-missing-default-attribute-error/web.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CompileError | ||
CompileError: | ||
> 1 | <const/x/> | ||
| ^^^^^ The <const> tag must be initialized with a value. | ||
2 | |
2 changes: 1 addition & 1 deletion
2
...ts__/fixtures/const/__snapshots__/const-missing-var-error/node.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CompileError | ||
CompileError: | ||
> 1 | <const="Hello"/> | ||
| ^^^^^ The <const> tag requires a tag variable to be assigned to. | ||
2 | |
2 changes: 1 addition & 1 deletion
2
...sts__/fixtures/const/__snapshots__/const-missing-var-error/web.compile.error.expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
CompileError | ||
CompileError: | ||
> 1 | <const="Hello"/> | ||
| ^^^^^ The <const> tag requires a tag variable to be assigned to. | ||
2 | |
Oops, something went wrong.