feat: yarn migration (#425)

* feat: yarn migration, added missing deps

* fix: updated ci

* fix: linter missing dependencies

* fix: using node lts version

* fix: use node current version

* fix: netlify deployment

* fix: update scripts

* fix: netlify build configuration

Co-authored-by: Xetera <[email protected]>
This commit is contained in:
Sagnik Pradhan
2021-10-09 19:31:09 +03:00
committed by GitHub
co-authored by Xetera
parent 762558a9f6
commit 2de078558e
24 changed files with 21623 additions and 23882 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env node
const {existsSync} = require(`fs`);
const {createRequire, createRequireFromPath} = require(`module`);
const {resolve} = require(`path`);
const relPnpApiPath = "../../../.pnp.cjs";
const absPnpApiPath = resolve(__dirname, relPnpApiPath);
const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath);
if (existsSync(absPnpApiPath)) {
if (!process.versions.pnp) {
// Setup the environment to be able to require prettier/index.js
require(absPnpApiPath).setup();
}
}
// Defer to the real prettier/index.js your application uses
module.exports = absRequire(`prettier/index.js`);
+6
View File
@@ -0,0 +1,6 @@
{
"name": "prettier",
"version": "2.4.1-sdk",
"main": "./index.js",
"type": "commonjs"
}