Skip to content

Commit

Permalink
patch: more package renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Dec 6, 2022
1 parent 9c35d8b commit 08a9ed5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cli/src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ import {
LogInfo,
DEVS_DBG_FILE,
prettySize,
} from "devicescript-compiler"
} from "@devicescript/compiler"
import { BINDIR, CmdOptions, debug, error, log } from "./command"
import { devtools } from "./devtools"

function jacsFactory() {
let d = require("devicescript-vm")
let d = require("@devicescript/vm")
try {
require("websocket-polyfill")
// @ts-ignore
Expand Down
2 changes: 1 addition & 1 deletion cli/src/devtools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import url from "url"
import net from "net"
import { CmdOptions, debug, error, log } from "./command"
import { readFileSync, readJSONSync, watch } from "fs-extra"
import { prettySize } from "devicescript-compiler"
import { prettySize } from "@devicescript/compiler"

const dasboardPath = "tools/devicescript-devtools"

Expand Down
2 changes: 1 addition & 1 deletion cli/src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
emptyDirSync,
readFileSync,
} from "fs-extra"
import { preludeFiles } from "devicescript-compiler"
import { preludeFiles } from "@devicescript/compiler"

const TSCONFIG = "tsconfig.json"
const MAIN = "main.ts"
Expand Down
2 changes: 1 addition & 1 deletion compiler/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ async function main() {
sourcemap: true,
outfile,
logLevel: "warning",
external: ["websocket-polyfill", "devicescript-compiler"],
external: ["websocket-polyfill", "@devicescript/compiler"],
platform: cjs ? "node" : "browser",
target: "es2019",
format: mjs ? "esm" : cjs ? "cjs" : "iife",
Expand Down

0 comments on commit 08a9ed5

Please sign in to comment.