Skip to content

Commit

Permalink
Fix some issues with packages missing registries
Browse files Browse the repository at this point in the history
  • Loading branch information
outercloudstudio committed Nov 11, 2024
1 parent 1478ae5 commit d97488e
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 34 deletions.
38 changes: 8 additions & 30 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,50 +9,28 @@
},
"version": "1.0.0",
"tasks": {
"install": "deno install -A -f -n dash_compiler ./mod.ts",
"install:full": "deno install -A --reload -f -n dash_compiler ./mod.ts",
"install": "deno install --global -A -f -n dash_compiler ./mod.ts",
"install:full": "deno install --global -A --reload -f -n dash_compiler ./mod.ts",
"build": "deno task build:apple-x86 && deno task build:apple-aarch64 && deno task build:windows-x86",
"build:apple-x86": "deno compile --target x86_64-apple-darwin --output ./executables/dash-apple-x64 -A ./mod.ts",
"build:apple-aarch64": "deno compile --target aarch64-apple-darwin --output ./executables/dash-apple-aarch64 -A ./mod.ts",
"build:windows-x86": "deno compile --target x86_64-pc-windows-msvc --output ./executables/dash.exe -A ./mod.ts"
},
"fmt": {
"include": [
"*.json",
"*.ts",
"*.tsx",
"src/"
],
"exclude": [
"dist/",
".vscode/",
".github/",
"README.md",
"deno.lock"
],
"include": ["*.json", "*.ts", "*.tsx", "src/"],
"exclude": ["dist/", ".vscode/", ".github/", "README.md", "deno.lock"],
"useTabs": true,
"lineWidth": 80,
"semiColons": false,
"indentWidth": 4,
"singleQuote": true
},
"lint": {
"include": [
"*.ts",
"src/"
],
"exclude": [
"dist/",
".vscode/",
".github/"
],
"include": ["*.ts", "src/"],
"exclude": ["dist/", ".vscode/", ".github/"],
"rules": {
"tags": [
"recommended"
],
"include": [
"ban-untagged-todo"
],
"tags": ["recommended"],
"include": ["ban-untagged-todo"],
"exclude": []
}
}
Expand Down
33 changes: 32 additions & 1 deletion deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mod.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// deno-lint-ignore-file no-explicit-any
import { CLI } from './src/CLI.ts'
import yargs from 'https://deno.land/x/yargs@v17.7.2-deno/deno.ts'
import { parse as semverParse, compare as semverCompare } from '@std/semver'
import { parse as semverParse, compare as semverCompare } from 'jsr:@std/semver'
import { comMojangFolder } from './src/comMojangFolder.ts'
import { initRuntimes, swcVersion } from './src/deps.ts'

Expand Down
4 changes: 2 additions & 2 deletions src/deps.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
export * as path from '@std/path'
export * as path from 'jsr:@std/path'
export {
FileType,
PackType,
ProjectConfig,
type IFileType,
} from 'https://esm.sh/@bridge-editor/mc-project-core@0.4.0'
export { isMatch } from '@bridge-editor/common-utils'
export { isMatch } from 'npm:@bridge-editor/common-utils'
// @deno-types="https://esm.sh/@bridge-editor/dash-compiler@0.11.7"
export {
Dash,
Expand Down

0 comments on commit d97488e

Please sign in to comment.