update yarn sdks
This commit is contained in:
Родитель
c5274a7f1e
Коммит
1158da52a1
10
.eslintrc
10
.eslintrc
|
@ -14,13 +14,5 @@
|
|||
"@typescript-eslint/no-unsafe-argument": 0,
|
||||
"@typescript-eslint/no-unsafe-assignment": 0,
|
||||
"@typescript-eslint/no-unsafe-return": 0
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["packages/webapp/**"],
|
||||
"rules": {
|
||||
"import/extensions": "off"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"recommendations": [
|
||||
"arcanis.vscode-zipfs",
|
||||
"dbaeumer.vscode-eslint",
|
||||
"esbenp.prettier-vscode"
|
||||
]
|
||||
"recommendations": [
|
||||
"arcanis.vscode-zipfs",
|
||||
"dbaeumer.vscode-eslint",
|
||||
"esbenp.prettier-vscode"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
{
|
||||
"search.exclude": {
|
||||
"**/.yarn": true,
|
||||
"**/.pnp.*": true
|
||||
},
|
||||
"eslint.nodePath": ".yarn/sdks",
|
||||
"prettier.prettierPath": ".yarn/sdks/prettier/index.js",
|
||||
"typescript.tsdk": ".yarn/sdks/typescript/lib",
|
||||
"typescript.enablePromptUseWorkspaceTsdk": true,
|
||||
"explorer.fileNesting.enabled": true,
|
||||
"explorer.fileNesting.patterns": {
|
||||
"*.tsx": "${capture}.ts, ${capture}.hooks.ts, ${capture}.hooks.tsx, ${capture}.stories.tsx, ${capture}.spec.tsx, ${capture}.base.ts, ${capture}.base.tsx, ${capture}.types.ts, ${capture}.styles.ts, ${capture}.styles.tsx, ${capture}.utils.ts, ${capture}.utils.tsx, ${capture}.module.scss, ${capture}.module.css, ${capture}.md, ${capture}.css",
|
||||
"*.ts": "${capture}.ts, ${capture}.hooks.ts, ${capture}.hooks.tsx, ${capture}.stories.tsx, ${capture}.spec.tsx, ${capture}.base.ts, ${capture}.base.tsx, ${capture}.types.ts, ${capture}.styles.ts, ${capture}.styles.tsx, ${capture}.utils.ts, ${capture}.utils.tsx, ${capture}.module.scss, ${capture}.module.css, ${capture}.md",
|
||||
"*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts",
|
||||
"*.jsx": "${capture}.js",
|
||||
"package.json": ".npmignore, turbo.json, tsconfig.json, tsconfig.*.json, jest.config.js, .huskyrc.json, .lintstagedrc.json, .editorconfig",
|
||||
".yarnrc.yml": "yarn.lock, .pnp.cjs, .pnp.loader.mjs",
|
||||
".eslintrc": ".eslintignore",
|
||||
".gitignore": ".gitattributes",
|
||||
".prettierrc": ".prettierignore",
|
||||
"README.md": "SECURITY.md, SUPPORT.md, CODE_OF_CONDUCT.md, LICENSE"
|
||||
}
|
||||
"search.exclude": {
|
||||
"**/.yarn": true,
|
||||
"**/.pnp.*": true
|
||||
},
|
||||
"eslint.nodePath": ".yarn/sdks",
|
||||
"prettier.prettierPath": ".yarn/sdks/prettier/index.js",
|
||||
"typescript.tsdk": ".yarn/sdks/typescript/lib",
|
||||
"typescript.enablePromptUseWorkspaceTsdk": true,
|
||||
"explorer.fileNesting.enabled": true,
|
||||
"explorer.fileNesting.patterns": {
|
||||
"*.tsx": "${capture}.ts, ${capture}.hooks.ts, ${capture}.hooks.tsx, ${capture}.stories.tsx, ${capture}.spec.tsx, ${capture}.base.ts, ${capture}.base.tsx, ${capture}.types.ts, ${capture}.styles.ts, ${capture}.styles.tsx, ${capture}.utils.ts, ${capture}.utils.tsx, ${capture}.module.scss, ${capture}.module.css, ${capture}.md, ${capture}.css",
|
||||
"*.ts": "${capture}.ts, ${capture}.hooks.ts, ${capture}.hooks.tsx, ${capture}.stories.tsx, ${capture}.spec.tsx, ${capture}.base.ts, ${capture}.base.tsx, ${capture}.types.ts, ${capture}.styles.ts, ${capture}.styles.tsx, ${capture}.utils.ts, ${capture}.utils.tsx, ${capture}.module.scss, ${capture}.module.css, ${capture}.md",
|
||||
"*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts",
|
||||
"*.jsx": "${capture}.js",
|
||||
"package.json": ".npmignore, turbo.json, tsconfig.json, tsconfig.*.json, jest.config.js, .huskyrc.json, .lintstagedrc.json, .editorconfig",
|
||||
".yarnrc.yml": "yarn.lock, .pnp.cjs, .pnp.loader.mjs",
|
||||
".eslintrc": ".eslintignore",
|
||||
".gitignore": ".gitattributes",
|
||||
".prettierrc": ".prettierignore",
|
||||
"README.md": "SECURITY.md, SUPPORT.md, CODE_OF_CONDUCT.md, LICENSE"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,10 +11,10 @@ const absRequire = (createRequire || createRequireFromPath)(absPnpApiPath);
|
|||
|
||||
if (existsSync(absPnpApiPath)) {
|
||||
if (!process.versions.pnp) {
|
||||
// Setup the environment to be able to require eslint/lib/api.js
|
||||
// Setup the environment to be able to require eslint
|
||||
require(absPnpApiPath).setup();
|
||||
}
|
||||
}
|
||||
|
||||
// Defer to the real eslint/lib/api.js your application uses
|
||||
module.exports = absRequire(`eslint/lib/api.js`);
|
||||
// Defer to the real eslint your application uses
|
||||
module.exports = absRequire(`eslint`);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "eslint",
|
||||
"version": "7.28.0-sdk",
|
||||
"version": "8.16.0-sdk",
|
||||
"main": "./lib/api.js",
|
||||
"type": "commonjs"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# This file is automatically generated by @yarnpkg/sdks.
|
||||
# Manual changes might be lost!
|
||||
|
||||
integrations:
|
||||
- vscode
|
||||
# This file is automatically generated by @yarnpkg/sdks.
|
||||
# Manual changes might be lost!
|
||||
|
||||
integrations:
|
||||
- vscode
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "prettier",
|
||||
"version": "2.3.1-sdk",
|
||||
"version": "2.6.2-sdk",
|
||||
"main": "./index.js",
|
||||
"type": "commonjs"
|
||||
}
|
||||
|
|
|
@ -18,6 +18,7 @@ const moduleWrapper = tsserver => {
|
|||
const pnpApi = require(`pnpapi`);
|
||||
|
||||
const isVirtual = str => str.match(/\/(\$\$virtual|__virtual__)\//);
|
||||
const isPortal = str => str.startsWith("portal:/");
|
||||
const normalize = str => str.replace(/\\/g, `/`).replace(/^\/?/, `/`);
|
||||
|
||||
const dependencyTreeRoots = new Set(pnpApi.getDependencyTreeRoots().map(locator => {
|
||||
|
@ -30,7 +31,7 @@ const moduleWrapper = tsserver => {
|
|||
|
||||
function toEditorPath(str) {
|
||||
// We add the `zip:` prefix to both `.zip/` paths and virtual paths
|
||||
if (isAbsolute(str) && !str.match(/^\^zip:/) && (str.match(/\.zip\//) || isVirtual(str))) {
|
||||
if (isAbsolute(str) && !str.match(/^\^?(zip:|\/zip\/)/) && (str.match(/\.zip\//) || isVirtual(str))) {
|
||||
// We also take the opportunity to turn virtual paths into physical ones;
|
||||
// this makes it much easier to work with workspaces that list peer
|
||||
// dependencies, since otherwise Ctrl+Click would bring us to the virtual
|
||||
|
@ -44,7 +45,7 @@ const moduleWrapper = tsserver => {
|
|||
const resolved = isVirtual(str) ? pnpApi.resolveVirtual(str) : str;
|
||||
if (resolved) {
|
||||
const locator = pnpApi.findPackageLocator(resolved);
|
||||
if (locator && dependencyTreeRoots.has(`${locator.name}@${locator.reference}`)) {
|
||||
if (locator && (dependencyTreeRoots.has(`${locator.name}@${locator.reference}`) || isPortal(locator.reference))) {
|
||||
str = resolved;
|
||||
}
|
||||
}
|
||||
|
@ -60,10 +61,26 @@ const moduleWrapper = tsserver => {
|
|||
//
|
||||
// Ref: https://github.com/microsoft/vscode/issues/105014#issuecomment-686760910
|
||||
//
|
||||
case `vscode`: {
|
||||
// Update 2021-10-08: VSCode changed their format in 1.61.
|
||||
// Before | ^zip:/c:/foo/bar.zip/package.json
|
||||
// After | ^/zip//c:/foo/bar.zip/package.json
|
||||
//
|
||||
// Update 2022-04-06: VSCode changed the format in 1.66.
|
||||
// Before | ^/zip//c:/foo/bar.zip/package.json
|
||||
// After | ^/zip/c:/foo/bar.zip/package.json
|
||||
//
|
||||
case `vscode <1.61`: {
|
||||
str = `^zip:${str}`;
|
||||
} break;
|
||||
|
||||
case `vscode <1.66`: {
|
||||
str = `^/zip/${str}`;
|
||||
} break;
|
||||
|
||||
case `vscode`: {
|
||||
str = `^/zip${str}`;
|
||||
} break;
|
||||
|
||||
// To make "go to definition" work,
|
||||
// We have to resolve the actual file system path from virtual path
|
||||
// and convert scheme to supported by [vim-rzip](https://github.com/lbrayner/vim-rzip)
|
||||
|
@ -77,7 +94,7 @@ const moduleWrapper = tsserver => {
|
|||
// everything else is up to neovim
|
||||
case `neovim`: {
|
||||
str = normalize(resolved).replace(/\.zip\//, `.zip::`);
|
||||
str = `zipfile:${str}`;
|
||||
str = `zipfile://${str}`;
|
||||
} break;
|
||||
|
||||
default: {
|
||||
|
@ -91,9 +108,30 @@ const moduleWrapper = tsserver => {
|
|||
}
|
||||
|
||||
function fromEditorPath(str) {
|
||||
return process.platform === `win32`
|
||||
? str.replace(/^\^?zip:\//, ``)
|
||||
: str.replace(/^\^?zip:/, ``);
|
||||
switch (hostInfo) {
|
||||
case `coc-nvim`: {
|
||||
str = str.replace(/\.zip::/, `.zip/`);
|
||||
// The path for coc-nvim is in format of /<pwd>/zipfile:/<pwd>/.yarn/...
|
||||
// So in order to convert it back, we use .* to match all the thing
|
||||
// before `zipfile:`
|
||||
return process.platform === `win32`
|
||||
? str.replace(/^.*zipfile:\//, ``)
|
||||
: str.replace(/^.*zipfile:/, ``);
|
||||
} break;
|
||||
|
||||
case `neovim`: {
|
||||
str = str.replace(/\.zip::/, `.zip/`);
|
||||
// The path for neovim is in format of zipfile:///<pwd>/.yarn/...
|
||||
return str.replace(/^zipfile:\/\//, ``);
|
||||
} break;
|
||||
|
||||
case `vscode`:
|
||||
default: {
|
||||
return process.platform === `win32`
|
||||
? str.replace(/^\^?(zip:|\/zip)\/+/, ``)
|
||||
: str.replace(/^\^?(zip:|\/zip)\/+/, `/`);
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
||||
// Force enable 'allowLocalPluginLoads'
|
||||
|
@ -119,8 +157,9 @@ const moduleWrapper = tsserver => {
|
|||
let hostInfo = `unknown`;
|
||||
|
||||
Object.assign(Session.prototype, {
|
||||
onMessage(/** @type {string} */ message) {
|
||||
const parsedMessage = JSON.parse(message)
|
||||
onMessage(/** @type {string | object} */ message) {
|
||||
const isStringMessage = typeof message === 'string';
|
||||
const parsedMessage = isStringMessage ? JSON.parse(message) : message;
|
||||
|
||||
if (
|
||||
parsedMessage != null &&
|
||||
|
@ -129,11 +168,23 @@ const moduleWrapper = tsserver => {
|
|||
typeof parsedMessage.arguments.hostInfo === `string`
|
||||
) {
|
||||
hostInfo = parsedMessage.arguments.hostInfo;
|
||||
if (hostInfo === `vscode` && process.env.VSCODE_IPC_HOOK) {
|
||||
if (/(\/|-)1\.([1-5][0-9]|60)\./.test(process.env.VSCODE_IPC_HOOK)) {
|
||||
hostInfo += ` <1.61`;
|
||||
} else if (/(\/|-)1\.(6[1-5])\./.test(process.env.VSCODE_IPC_HOOK)) {
|
||||
hostInfo += ` <1.66`;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return originalOnMessage.call(this, JSON.stringify(parsedMessage, (key, value) => {
|
||||
return typeof value === `string` ? fromEditorPath(value) : value;
|
||||
}));
|
||||
const processedMessageJSON = JSON.stringify(parsedMessage, (key, value) => {
|
||||
return typeof value === 'string' ? fromEditorPath(value) : value;
|
||||
});
|
||||
|
||||
return originalOnMessage.call(
|
||||
this,
|
||||
isStringMessage ? processedMessageJSON : JSON.parse(processedMessageJSON)
|
||||
);
|
||||
},
|
||||
|
||||
send(/** @type {any} */ msg) {
|
||||
|
|
|
@ -18,6 +18,7 @@ const moduleWrapper = tsserver => {
|
|||
const pnpApi = require(`pnpapi`);
|
||||
|
||||
const isVirtual = str => str.match(/\/(\$\$virtual|__virtual__)\//);
|
||||
const isPortal = str => str.startsWith("portal:/");
|
||||
const normalize = str => str.replace(/\\/g, `/`).replace(/^\/?/, `/`);
|
||||
|
||||
const dependencyTreeRoots = new Set(pnpApi.getDependencyTreeRoots().map(locator => {
|
||||
|
@ -30,7 +31,7 @@ const moduleWrapper = tsserver => {
|
|||
|
||||
function toEditorPath(str) {
|
||||
// We add the `zip:` prefix to both `.zip/` paths and virtual paths
|
||||
if (isAbsolute(str) && !str.match(/^\^zip:/) && (str.match(/\.zip\//) || isVirtual(str))) {
|
||||
if (isAbsolute(str) && !str.match(/^\^?(zip:|\/zip\/)/) && (str.match(/\.zip\//) || isVirtual(str))) {
|
||||
// We also take the opportunity to turn virtual paths into physical ones;
|
||||
// this makes it much easier to work with workspaces that list peer
|
||||
// dependencies, since otherwise Ctrl+Click would bring us to the virtual
|
||||
|
@ -44,7 +45,7 @@ const moduleWrapper = tsserver => {
|
|||
const resolved = isVirtual(str) ? pnpApi.resolveVirtual(str) : str;
|
||||
if (resolved) {
|
||||
const locator = pnpApi.findPackageLocator(resolved);
|
||||
if (locator && dependencyTreeRoots.has(`${locator.name}@${locator.reference}`)) {
|
||||
if (locator && (dependencyTreeRoots.has(`${locator.name}@${locator.reference}`) || isPortal(locator.reference))) {
|
||||
str = resolved;
|
||||
}
|
||||
}
|
||||
|
@ -60,10 +61,26 @@ const moduleWrapper = tsserver => {
|
|||
//
|
||||
// Ref: https://github.com/microsoft/vscode/issues/105014#issuecomment-686760910
|
||||
//
|
||||
case `vscode`: {
|
||||
// Update 2021-10-08: VSCode changed their format in 1.61.
|
||||
// Before | ^zip:/c:/foo/bar.zip/package.json
|
||||
// After | ^/zip//c:/foo/bar.zip/package.json
|
||||
//
|
||||
// Update 2022-04-06: VSCode changed the format in 1.66.
|
||||
// Before | ^/zip//c:/foo/bar.zip/package.json
|
||||
// After | ^/zip/c:/foo/bar.zip/package.json
|
||||
//
|
||||
case `vscode <1.61`: {
|
||||
str = `^zip:${str}`;
|
||||
} break;
|
||||
|
||||
case `vscode <1.66`: {
|
||||
str = `^/zip/${str}`;
|
||||
} break;
|
||||
|
||||
case `vscode`: {
|
||||
str = `^/zip${str}`;
|
||||
} break;
|
||||
|
||||
// To make "go to definition" work,
|
||||
// We have to resolve the actual file system path from virtual path
|
||||
// and convert scheme to supported by [vim-rzip](https://github.com/lbrayner/vim-rzip)
|
||||
|
@ -77,7 +94,7 @@ const moduleWrapper = tsserver => {
|
|||
// everything else is up to neovim
|
||||
case `neovim`: {
|
||||
str = normalize(resolved).replace(/\.zip\//, `.zip::`);
|
||||
str = `zipfile:${str}`;
|
||||
str = `zipfile://${str}`;
|
||||
} break;
|
||||
|
||||
default: {
|
||||
|
@ -91,9 +108,30 @@ const moduleWrapper = tsserver => {
|
|||
}
|
||||
|
||||
function fromEditorPath(str) {
|
||||
return process.platform === `win32`
|
||||
? str.replace(/^\^?zip:\//, ``)
|
||||
: str.replace(/^\^?zip:/, ``);
|
||||
switch (hostInfo) {
|
||||
case `coc-nvim`: {
|
||||
str = str.replace(/\.zip::/, `.zip/`);
|
||||
// The path for coc-nvim is in format of /<pwd>/zipfile:/<pwd>/.yarn/...
|
||||
// So in order to convert it back, we use .* to match all the thing
|
||||
// before `zipfile:`
|
||||
return process.platform === `win32`
|
||||
? str.replace(/^.*zipfile:\//, ``)
|
||||
: str.replace(/^.*zipfile:/, ``);
|
||||
} break;
|
||||
|
||||
case `neovim`: {
|
||||
str = str.replace(/\.zip::/, `.zip/`);
|
||||
// The path for neovim is in format of zipfile:///<pwd>/.yarn/...
|
||||
return str.replace(/^zipfile:\/\//, ``);
|
||||
} break;
|
||||
|
||||
case `vscode`:
|
||||
default: {
|
||||
return process.platform === `win32`
|
||||
? str.replace(/^\^?(zip:|\/zip)\/+/, ``)
|
||||
: str.replace(/^\^?(zip:|\/zip)\/+/, `/`);
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
||||
// Force enable 'allowLocalPluginLoads'
|
||||
|
@ -119,8 +157,9 @@ const moduleWrapper = tsserver => {
|
|||
let hostInfo = `unknown`;
|
||||
|
||||
Object.assign(Session.prototype, {
|
||||
onMessage(/** @type {string} */ message) {
|
||||
const parsedMessage = JSON.parse(message)
|
||||
onMessage(/** @type {string | object} */ message) {
|
||||
const isStringMessage = typeof message === 'string';
|
||||
const parsedMessage = isStringMessage ? JSON.parse(message) : message;
|
||||
|
||||
if (
|
||||
parsedMessage != null &&
|
||||
|
@ -129,11 +168,23 @@ const moduleWrapper = tsserver => {
|
|||
typeof parsedMessage.arguments.hostInfo === `string`
|
||||
) {
|
||||
hostInfo = parsedMessage.arguments.hostInfo;
|
||||
if (hostInfo === `vscode` && process.env.VSCODE_IPC_HOOK) {
|
||||
if (/(\/|-)1\.([1-5][0-9]|60)\./.test(process.env.VSCODE_IPC_HOOK)) {
|
||||
hostInfo += ` <1.61`;
|
||||
} else if (/(\/|-)1\.(6[1-5])\./.test(process.env.VSCODE_IPC_HOOK)) {
|
||||
hostInfo += ` <1.66`;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return originalOnMessage.call(this, JSON.stringify(parsedMessage, (key, value) => {
|
||||
return typeof value === `string` ? fromEditorPath(value) : value;
|
||||
}));
|
||||
const processedMessageJSON = JSON.stringify(parsedMessage, (key, value) => {
|
||||
return typeof value === 'string' ? fromEditorPath(value) : value;
|
||||
});
|
||||
|
||||
return originalOnMessage.call(
|
||||
this,
|
||||
isStringMessage ? processedMessageJSON : JSON.parse(processedMessageJSON)
|
||||
);
|
||||
},
|
||||
|
||||
send(/** @type {any} */ msg) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "typescript",
|
||||
"version": "4.1.5-sdk",
|
||||
"version": "4.7.2-sdk",
|
||||
"main": "./lib/typescript.js",
|
||||
"type": "commonjs"
|
||||
}
|
||||
|
|
35
package.json
35
package.json
|
@ -9,35 +9,36 @@
|
|||
"ci": "turbo run ci",
|
||||
"prettify": "essex prettify",
|
||||
"deploy": "essex deploy --type azure-blob-storage --storageAccount $STORAGE_ACCOUNT --storageAccountKey $STORAGE_KEY --verbose",
|
||||
"is_clean": "git diff-index HEAD --quiet || git status"
|
||||
"is_clean": "git diff-index HEAD --quiet || git status",
|
||||
"update_sdks": "yarn dlx @yarnpkg/sdks vscode"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@essex/eslint-config": "^20.3.4",
|
||||
"@essex/eslint-plugin": "^20.3.5",
|
||||
"@essex/jest-config": "^21.0.10",
|
||||
"@essex/eslint-config": "^20.3.5",
|
||||
"@essex/eslint-plugin": "^20.3.7",
|
||||
"@essex/jest-config": "^21.0.12",
|
||||
"@essex/prettier-config": "^18.0.2",
|
||||
"@essex/scripts": "^22.0.1",
|
||||
"@fluentui/font-icons-mdl2": "^8.3.2",
|
||||
"@fluentui/react": "^8.67.2",
|
||||
"@fluentui/react-hooks": "^8.5.4",
|
||||
"@fluentui/utilities": "^8.8.2",
|
||||
"@types/jest": "^27.5.0",
|
||||
"@types/node": "^17.0.31",
|
||||
"@types/react": "^18.0.8",
|
||||
"@types/react-dom": "^18.0.3",
|
||||
"@essex/scripts": "^22.0.4",
|
||||
"@fluentui/font-icons-mdl2": "^8.4.0",
|
||||
"@fluentui/react": "^8.70.0",
|
||||
"@fluentui/react-hooks": "^8.5.5",
|
||||
"@fluentui/utilities": "^8.8.3",
|
||||
"@types/jest": "^27.5.1",
|
||||
"@types/node": "^17.0.35",
|
||||
"@types/react": "^18.0.9",
|
||||
"@types/react-dom": "^18.0.5",
|
||||
"@types/react-rnd": "^8.0.0",
|
||||
"@types/react-router-dom": "^5.3.3",
|
||||
"core-js": "^3.22.4",
|
||||
"eslint": "^8.14.0",
|
||||
"core-js": "^3.22.7",
|
||||
"eslint": "^8.16.0",
|
||||
"eslint-import-resolver-node": "^0.3.6",
|
||||
"husky": "^7.0.4",
|
||||
"lint-staged": "^11.2.6",
|
||||
"ncp": "^2.0.0",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"office-ui-fabric-react": "^7.185.3",
|
||||
"office-ui-fabric-react": "^7.185.7",
|
||||
"prettier": "^2.6.2",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
|
@ -46,7 +47,7 @@
|
|||
"regenerator-runtime": "^0.13.9",
|
||||
"tslib": "^2.4.0",
|
||||
"turbo": "^1.2.14",
|
||||
"typescript": "^4.6.4"
|
||||
"typescript": "^4.7.2"
|
||||
},
|
||||
"browserslist": [
|
||||
">0.2%",
|
||||
|
|
|
@ -20,17 +20,17 @@
|
|||
"lint": "essex lint --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"@essex/toolbox": "3.0.7",
|
||||
"@essex/toolbox": "3.0.8",
|
||||
"@graph-drilldown/types": "workspace:packages/types",
|
||||
"arquero": "^4.8.8",
|
||||
"d3-format": "^3.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@essex/scripts": "^22.0.1",
|
||||
"@essex/scripts": "^22.0.4",
|
||||
"@essex/tsconfig-base": "^1.0.2",
|
||||
"@types/d3-format": "^3.0.1",
|
||||
"@types/node": "^17.0.31",
|
||||
"@types/react": "^18.0.8",
|
||||
"@types/node": "^17.0.35",
|
||||
"@types/react": "^18.0.9",
|
||||
"react": "^18.1.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
|
|
@ -20,20 +20,20 @@
|
|||
"lint": "essex lint --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"@essex/hooks": "^4.0.11",
|
||||
"@essex/hooks": "^4.0.12",
|
||||
"@graph-drilldown/arquero": "workspace:packages/arquero",
|
||||
"@graph-drilldown/hooks": "workspace:packages/hooks",
|
||||
"@graph-drilldown/types": "workspace:packages/types",
|
||||
"ahooks": "^3.3.10",
|
||||
"ahooks": "^3.4.0",
|
||||
"d3-brush": "3.0.0",
|
||||
"d3-format": "^3.1.0",
|
||||
"d3-scale": "^4.0.2",
|
||||
"d3-selection": "3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@essex/scripts": "^22.0.1",
|
||||
"@essex/scripts": "^22.0.4",
|
||||
"@essex/tsconfig-base": "^1.0.2",
|
||||
"@fluentui/react": "^8.67.2",
|
||||
"@fluentui/react": "^8.70.0",
|
||||
"@thematic/color": "^2.0.8",
|
||||
"@thematic/core": "^2.1.1",
|
||||
"@thematic/d3": "^2.0.9",
|
||||
|
@ -43,8 +43,8 @@
|
|||
"@types/d3-format": "^3.0.1",
|
||||
"@types/d3-scale": "^4.0.2",
|
||||
"@types/d3-selection": "^3.0.2",
|
||||
"@types/node": "^17.0.31",
|
||||
"@types/react": "^18.0.8",
|
||||
"@types/node": "^17.0.35",
|
||||
"@types/react": "^18.0.9",
|
||||
"arquero": "^4.8.8",
|
||||
"react": "^18.1.0",
|
||||
"styled-components": "^5.3.5"
|
||||
|
|
|
@ -20,21 +20,21 @@
|
|||
"lint": "essex lint --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"@essex/hooks": "^4.0.11",
|
||||
"@essex/hooks": "^4.0.12",
|
||||
"@graph-drilldown/types": "workspace:packages/types",
|
||||
"d3-scale": "^4.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@essex/scripts": "^22.0.1",
|
||||
"@essex/scripts": "^22.0.4",
|
||||
"@essex/tsconfig-base": "^1.0.2",
|
||||
"@fluentui/react": "^8.67.2",
|
||||
"@fluentui/react": "^8.70.0",
|
||||
"@thematic/color": "^2.0.8",
|
||||
"@thematic/core": "^2.1.1",
|
||||
"@thematic/fluent": "^3.0.9",
|
||||
"@thematic/react": "^2.0.9",
|
||||
"@types/d3-scale": "^4.0.2",
|
||||
"@types/node": "^17.0.31",
|
||||
"@types/react": "^18.0.8",
|
||||
"@types/node": "^17.0.35",
|
||||
"@types/react": "^18.0.9",
|
||||
"react": "^18.1.0",
|
||||
"styled-components": "^5.3.5"
|
||||
},
|
||||
|
|
|
@ -20,11 +20,11 @@
|
|||
"lint": "essex lint --fix"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@essex/scripts": "^22.0.1",
|
||||
"@essex/scripts": "^22.0.4",
|
||||
"@essex/tsconfig-base": "^1.0.2",
|
||||
"@thematic/core": "^2.1.1",
|
||||
"@types/node": "^17.0.31",
|
||||
"@types/react": "^18.0.8",
|
||||
"@types/node": "^17.0.35",
|
||||
"@types/react": "^18.0.9",
|
||||
"arquero": "^4.8.8",
|
||||
"react": "^18.1.0"
|
||||
},
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
"allowSyntheticDefaultImports": true,
|
||||
"strict": true,
|
||||
"declaration": true,
|
||||
"incremental": true,
|
||||
"noImplicitAny": false,
|
||||
"target": "ESNext",
|
||||
"allowJs": false,
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
{
|
||||
"extends": "../../.eslintrc"
|
||||
}
|
||||
{
|
||||
"extends": "../../.eslintrc",
|
||||
"rules": {
|
||||
"@essex/extensions": "off"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,15 +12,15 @@
|
|||
"lint": "essex lint --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"@essex/arquero-react": "^1.0.5",
|
||||
"@essex/hierarchy-browser": "4.0.10",
|
||||
"@essex/hooks": "^4.0.11",
|
||||
"@essex/themed-components": "^2.2.5",
|
||||
"@essex/toolbox": "3.0.7",
|
||||
"@fluentui/font-icons-mdl2": "^8.3.2",
|
||||
"@fluentui/react": "^8.67.2",
|
||||
"@fluentui/react-hooks": "^8.5.4",
|
||||
"@fluentui/utilities": "^8.8.2",
|
||||
"@essex/arquero-react": "^1.0.6",
|
||||
"@essex/hierarchy-browser": "4.0.11",
|
||||
"@essex/hooks": "^4.0.12",
|
||||
"@essex/themed-components": "^2.2.7",
|
||||
"@essex/toolbox": "3.0.8",
|
||||
"@fluentui/font-icons-mdl2": "^8.4.0",
|
||||
"@fluentui/react": "^8.70.0",
|
||||
"@fluentui/react-hooks": "^8.5.5",
|
||||
"@fluentui/utilities": "^8.8.3",
|
||||
"@graph-drilldown/arquero": "workspace:packages/arquero",
|
||||
"@graph-drilldown/components": "workspace:packages/components",
|
||||
"@graph-drilldown/hooks": "workspace:packages/hooks",
|
||||
|
@ -36,13 +36,13 @@
|
|||
"@thematic/d3": "^2.0.9",
|
||||
"@thematic/fluent": "^3.0.9",
|
||||
"@thematic/react": "^2.0.9",
|
||||
"ahooks": "^3.3.10",
|
||||
"ahooks": "^3.4.0",
|
||||
"arquero": "^4.8.8",
|
||||
"core-js": "^3.22.4",
|
||||
"core-js": "^3.22.7",
|
||||
"d3-dsv": "^3.0.1",
|
||||
"d3-format": "^3.1.0",
|
||||
"d3-scale": "^4.0.2",
|
||||
"office-ui-fabric-react": "^7.185.3",
|
||||
"office-ui-fabric-react": "^7.185.7",
|
||||
"prop-types": "^15.8.1",
|
||||
"query-string": "^7.1.1",
|
||||
"react": "^18.1.0",
|
||||
|
@ -53,36 +53,36 @@
|
|||
"react-infinite-scroller": "^1.2.6",
|
||||
"react-rnd": "^10.3.7",
|
||||
"react-router-dom": "^5.3.1",
|
||||
"recoil": "^0.7.2",
|
||||
"recoil": "^0.7.3-alpha.2",
|
||||
"regenerator-runtime": "^0.13.9",
|
||||
"styled-components": "^5.3.5",
|
||||
"tslib": "^2.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@essex/scripts": "^22.0.1",
|
||||
"@essex/webpack-config": "^21.0.2",
|
||||
"@essex/scripts": "^22.0.4",
|
||||
"@essex/webpack-config": "^21.0.4",
|
||||
"@types/d3-dsv": "^3.0.0",
|
||||
"@types/d3-format": "^3.0.1",
|
||||
"@types/d3-scale": "^4.0.2",
|
||||
"@types/dotenv-webpack": "^7.0.3",
|
||||
"@types/node": "^17.0.31",
|
||||
"@types/prettier": "^2.6.0",
|
||||
"@types/node": "^17.0.35",
|
||||
"@types/prettier": "^2.6.1",
|
||||
"@types/prop-types": "^15.7.5",
|
||||
"@types/query-string": "^6.3.0",
|
||||
"@types/react": "^18.0.8",
|
||||
"@types/react-dom": "^18.0.3",
|
||||
"@types/react": "^18.0.9",
|
||||
"@types/react-dom": "^18.0.5",
|
||||
"@types/react-infinite-scroller": "^1.2.3",
|
||||
"@types/react-rnd": "^8.0.0",
|
||||
"@types/react-router-dom": "^5.3.3",
|
||||
"@types/styled-components": "^5.1.25",
|
||||
"@typescript-eslint/eslint-plugin": "^4.33.0",
|
||||
"@typescript-eslint/parser": "^4.33.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.26.0",
|
||||
"@typescript-eslint/parser": "^5.26.0",
|
||||
"dotenv": "^10.0.0",
|
||||
"file-loader": "^6.2.0",
|
||||
"ncp": "^2.0.0",
|
||||
"raw-loader": "^4.0.2",
|
||||
"shx": "^0.3.4",
|
||||
"typescript": "^4.6.4",
|
||||
"typescript": "^4.7.2",
|
||||
"url-loader": "^4.1.1"
|
||||
},
|
||||
"browserslist": [
|
||||
|
|
2151
yarn.lock
2151
yarn.lock
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче