Skip to content

Commit

Permalink
chore: bump deps in @fervid/napi
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenix-ru committed Dec 14, 2023
1 parent 7ae2cd7 commit d25696f
Show file tree
Hide file tree
Showing 5 changed files with 348 additions and 350 deletions.
Binary file modified crates/fervid_napi/.yarn/install-state.gz
Binary file not shown.
16 changes: 8 additions & 8 deletions crates/fervid_napi/__tests__/compileHelloWorld.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ const compilerName = ref('fervid')
test('should work', () => {
expect(compileSync(HELLO_WORLD)).toMatchInlineSnapshot(`
"import { ref } from 'vue';
import { createElementBlock as _createElementBlock, openBlock as _openBlock, toDisplayString as _toDisplayString } from \\"vue\\";
import { createElementBlock as _createElementBlock, openBlock as _openBlock, toDisplayString as _toDisplayString } from "vue";
export default {
render (_ctx, _cache, $props, $setup, $data, $options) {
return (_openBlock(), _createElementBlock(\\"div\\", {
class: \\"simple compiler input\\"
}, \\" Hello, \\" + _toDisplayString($setup.compilerName) + \\"! \\", 1));
return (_openBlock(), _createElementBlock("div", {
class: "simple compiler input"
}, " Hello, " + _toDisplayString($setup.compilerName) + "! ", 1));
},
setup () {
const compilerName = ref('fervid');
Expand All @@ -38,13 +38,13 @@ test('should work', () => {

expect(compileSync(HELLO_WORLD, { isProd: true })).toMatchInlineSnapshot(`
"import { ref } from 'vue';
import { createElementBlock as _createElementBlock, openBlock as _openBlock, toDisplayString as _toDisplayString } from \\"vue\\";
import { createElementBlock as _createElementBlock, openBlock as _openBlock, toDisplayString as _toDisplayString } from "vue";
export default {
setup () {
const compilerName = ref('fervid');
return (_ctx, _cache)=>(_openBlock(), _createElementBlock(\\"div\\", {
class: \\"simple compiler input\\"
}, \\" Hello, \\" + _toDisplayString(compilerName.value) + \\"! \\", 1));
return (_ctx, _cache)=>(_openBlock(), _createElementBlock("div", {
class: "simple compiler input"
}, " Hello, " + _toDisplayString(compilerName.value) + "! ", 1));
}
};
"
Expand Down
25 changes: 13 additions & 12 deletions crates/fervid_napi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "All-in-One Vue compiler written in Rust",
"main": "index.js",
"repository": "[email protected]:phoenix-ru/fervid.git",
"type": "module",
"license": "MIT",
"keywords": [
"napi-rs",
Expand Down Expand Up @@ -59,27 +60,27 @@
"version": "napi version"
},
"devDependencies": {
"@napi-rs/cli": "^2.16.5",
"@napi-rs/cli": "^2.17.0",
"@swc-node/register": "^1.6.8",
"@swc/core": "^1.3.99",
"@swc/core": "^1.3.100",
"@taplo/cli": "^0.5.2",
"@types/node": "^20.10.0",
"@typescript-eslint/eslint-plugin": "^6.13.0",
"@typescript-eslint/parser": "^6.13.0",
"@vue/compiler-sfc": "^3.3.9",
"@types/node": "^20.10.4",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vue/compiler-sfc": "^3.3.11",
"benny": "^3.7.1",
"chalk": "^5.3.0",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint": "^8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^8.0.3",
"kleur": "^4.1.5",
"lint-staged": "^14.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^3.1.0",
"typescript": "^5.3.2",
"vitest": "^0.34.6"
"prettier": "^3.1.1",
"typescript": "^5.3.3",
"vitest": "^1.0.4"
},
"lint-staged": {
"*.@(js|ts|tsx)": [
Expand Down
11 changes: 0 additions & 11 deletions crates/fervid_napi/simple-test.js

This file was deleted.

Loading

0 comments on commit d25696f

Please sign in to comment.