diff options
author | Miodec <[email protected]> | 2024-07-19 13:05:27 +0200 |
---|---|---|
committer | Miodec <[email protected]> | 2024-07-19 13:05:27 +0200 |
commit | 8483d8cd0b5f2c138daaed253cf85ec4c81c7424 (patch) | |
tree | b974e9864b951d37fb685371cd278c6132dccb8c | |
parent | 1efa59b4b4b9d2ead4426a0c00e792ed323477f6 (diff) | |
download | monkeytype-8483d8cd0b5f2c138daaed253cf85ec4c81c7424.tar.gz monkeytype-8483d8cd0b5f2c138daaed253cf85ec4c81c7424.zip |
clean rimraf type
-rw-r--r-- | frontend/package.json | 1 | ||||
-rw-r--r-- | package-lock.json | 54 | ||||
-rw-r--r-- | packages/shared-types/package.json | 14 | ||||
-rw-r--r-- | packages/shared-types/tsconfig.json | 4 |
4 files changed, 65 insertions, 8 deletions
diff --git a/frontend/package.json b/frontend/package.json index 915eef10a..66bbc6dbb 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -2,6 +2,7 @@ "name": "@monkeytype/frontend", "license": "GPL-3.0", "private": true, + "type": "module", "scripts": { "lint": "eslint \"./**/*.ts\"", "validate-json": "npx gulp validate-json-schema", diff --git a/package-lock.json b/package-lock.json index 60a0d72f0..5b1a02fc7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32739,9 +32739,63 @@ "name": "@monkeytype/shared-types", "devDependencies": { "@monkeytype/typescript-config": "*", + "rimraf": "5.0.9", "typescript": "5.5.3" } }, + "packages/shared-types/node_modules/glob": { + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "dev": true, + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "packages/shared-types/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "packages/shared-types/node_modules/rimraf": { + "version": "5.0.9", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.9.tgz", + "integrity": "sha512-3i7b8OcswU6CpU8Ej89quJD4O98id7TtVM5U4Mybh84zQXdrFmDLouWBEEaD/QfO3gDDfH+AGFCGsR7kngzQnA==", + "dev": true, + "dependencies": { + "glob": "^10.3.7" + }, + "bin": { + "rimraf": "dist/esm/bin.mjs" + }, + "engines": { + "node": "14 >=14.20 || 16 >=16.20 || >=18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "packages/shared-types/node_modules/typescript": { "version": "5.5.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz", diff --git a/packages/shared-types/package.json b/packages/shared-types/package.json index 38903bc41..448e38999 100644 --- a/packages/shared-types/package.json +++ b/packages/shared-types/package.json @@ -1,25 +1,25 @@ { "name": "@monkeytype/shared-types", - "type": "commonjs", "private": true, "scripts": { - "dev": "tsc --watch ", - "build": "tsc --build --clean", + "dev": "rimraf ./dist && tsc --watch ", + "build": "rimraf ./dist && tsc", "check-ts": "tsc --noEmit", "lint": "eslint \"./**/*.ts\"" }, "devDependencies": { - "typescript": "5.5.3", - "@monkeytype/typescript-config": "*" + "@monkeytype/typescript-config": "*", + "rimraf": "5.0.9", + "typescript": "5.5.3" }, "exports": { ".": { "default": "./dist/index.js", - "types": "./dist/index.ts" + "types": "./dist/index.d.ts" }, "./*": { "default": "./dist/*.js", - "types": "./dist/*.ts" + "types": "./dist/*.d.ts" } } } diff --git a/packages/shared-types/tsconfig.json b/packages/shared-types/tsconfig.json index c0e629adb..5130063ef 100644 --- a/packages/shared-types/tsconfig.json +++ b/packages/shared-types/tsconfig.json @@ -4,7 +4,9 @@ "outDir": "./dist", "rootDir": "./src", "declaration": true, - "declarationMap": true + "declarationMap": true, + "moduleResolution": "Node", + "module": "ES6" }, "include": ["src"], "exclude": ["node_modules", "dist"] |