Skip to content

Commit

Permalink
fix(engines): remove old engines (vue, arc, marko)
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Oct 26, 2023
1 parent 9f93348 commit 6650695
Show file tree
Hide file tree
Showing 13 changed files with 964 additions and 4,635 deletions.
1 change: 0 additions & 1 deletion docs/docs/templating.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ If `dustjs-helpers` is installed, `dustjs-linkedin` will not be used by consolid
| [velocityjs](https://github.com/julianshapiro/velocity) | [BETA](https://www.npmjs.com/package/velocity-animate) | [(website)](http://velocityjs.org/) |
| [walrus](https://github.com/jeremyruppel/walrus) | [`npm install walrus`](https://www.npmjs.com/package/walrus) | [(website)](http://documentup.com/jeremyruppel/walrus/) |
| [whiskers](https://github.com/gsf/whiskers.js) | [`npm install whiskers`](https://www.npmjs.com/package/whiskers) | - |
| [vue](https://github.com/vuejs/vue) | `npm install vue vue-pronto` | [(website)](https://vuejs.org/) |

::: tip Note
You must still install the engines you wish to use, add them to your package.json dependencies.
Expand Down
2 changes: 1 addition & 1 deletion packages/core/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
coverageThreshold: {
global: {
statements: 98.99,
branches: 94.93,
branches: 94.98,
functions: 95.81,
lines: 98.99
}
Expand Down
2 changes: 1 addition & 1 deletion packages/engines/.nycrc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
],
"check-coverage": true,
"statements": 96.38,
"branches": 75.14,
"branches": 72.9,
"functions": 96.26,
"lines": 96.32
}
14 changes: 5 additions & 9 deletions packages/engines/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,11 @@
"@tsed/typescript": "7.39.1",
"@types/fs-extra": "^11.0.3",
"@types/semver": "^7.3.9",
"arc-templates": "^0.5.3",
"atpl": "^0.9.3",
"babel-core": "^6.26.3",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"@babel/core": "7.23.2",
"@babel/plugin-transform-runtime": "7.23.2",
"@babel/preset-env": "7.23.2",
"@babel/preset-react": "7.22.15",
"atpl": "0.9.3",
"bracket-template": "^1.1.5",
"coffee-script": "^1.12.7",
"dot": "^1.1.3",
Expand All @@ -60,7 +59,6 @@
"liquid-node": "^3.0.1",
"liquor": "^0.0.5",
"lodash": "^4.17.21",
"marko": "^5.20.3",
"mote": "^0.2.0",
"mustache": "^4.2.0",
"nunjucks": "^3.2.3",
Expand All @@ -73,7 +71,6 @@
"semver": "^7.3.2",
"slm": "^2.0.0",
"squirrelly": "^5.1.0",
"swig": "^1.4.2",
"swig-templates": "^2.0.3",
"teacup": "^2.0.0",
"templayed": ">=0.2.3",
Expand All @@ -84,7 +81,6 @@
"underscore": "^1.11.0",
"vash": "^0.13.0",
"velocityjs": "^2.0.1",
"vue-pronto": "^2.4.0",
"walrus": "^0.10.1",
"whiskers": "^0.4.0"
},
Expand Down
1 change: 0 additions & 1 deletion packages/engines/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ If `dustjs-helpers` is installed, `dustjs-linkedin` will not be used by consolid
| [velocityjs](https://github.com/julianshapiro/velocity) | [BETA](https://www.npmjs.com/package/velocity-animate) | [(website)](http://velocityjs.org/) |
| [walrus](https://github.com/jeremyruppel/walrus) | [`npm install walrus`](https://www.npmjs.com/package/walrus) | [(website)](http://documentup.com/jeremyruppel/walrus/) |
| [whiskers](https://github.com/gsf/whiskers.js) | [`npm install whiskers`](https://www.npmjs.com/package/whiskers) | - |
| [vue](https://github.com/vuejs/vue) | `npm install vue vue-pronto` | [(website)](https://vuejs.org/) |

> **NOTE**: you must still install the engines you wish to use, add them to your package.json dependencies.
Expand Down
28 changes: 0 additions & 28 deletions packages/engines/src/components/MarkoEngine.ts

This file was deleted.

40 changes: 0 additions & 40 deletions packages/engines/src/components/VueEngine.spec.ts

This file was deleted.

156 changes: 0 additions & 156 deletions packages/engines/src/components/VueEngine.ts

This file was deleted.

2 changes: 0 additions & 2 deletions packages/engines/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export * from "./components/JqtplEngine";
export * from "./components/JustEngine";
export * from "./components/LiquorEngine";
export * from "./components/LodashEngine";
export * from "./components/MarkoEngine";
export * from "./components/MoteEngine";
export * from "./components/MustacheEngine";
export * from "./components/NunjucksEngine";
Expand All @@ -38,7 +37,6 @@ export * from "./components/TwingEngine";
export * from "./components/UnderscoreEngine";
export * from "./components/VashEngine";
export * from "./components/VelocityEngine";
export * from "./components/VueEngine";
export * from "./components/WalrusEngine";
export * from "./decorators/viewEngine";
export * from "./registries/EnginesContainer";
Expand Down
2 changes: 0 additions & 2 deletions packages/engines/src/utils/getEngines.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ describe("getEngines", () => {
"just",
"liquor",
"lodash",
"marko",
"mote",
"mustache",
"nunjucks",
Expand All @@ -128,7 +127,6 @@ describe("getEngines", () => {
"underscore",
"vash",
"velocityjs",
"vue",
"walrus"
]);
});
Expand Down
1 change: 0 additions & 1 deletion packages/engines/test/fixtures/marko/user.marko

This file was deleted.

1 change: 0 additions & 1 deletion packages/engines/test/integration.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ describe("integration", () => {
sharedTest.test("vash");
sharedHelpersTest.test("vash");
sharedTest.test("slm");
sharedTest.test("marko");
sharedTest.test("bracket");
sharedTest.test("velocityjs");
sharedTest.test("squirrelly");
Expand Down
Loading

0 comments on commit 6650695

Please sign in to comment.