-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
9,097 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import * as path from 'https://deno.land/[email protected]/path/mod.ts'; | ||
import { build } from 'https://deno.land/x/dnt@0.17.0/mod.ts'; | ||
import { build } from 'https://deno.land/x/dnt@0.40.0/mod.ts'; | ||
import hooksPackage from './hooks/package.json.ts'; | ||
|
||
const __dirname = new URL('.', import.meta.url).pathname; | ||
|
@@ -15,12 +15,14 @@ const buildModule = async (name: string) => { | |
test: false, | ||
shims: {}, | ||
compilerOptions: { | ||
importHelpers: false, | ||
importHelpers: false | ||
}, | ||
package: hooksPackage, | ||
package: hooksPackage | ||
}); | ||
|
||
filesToCopy.forEach((filename) => Deno.copyFileSync(path.join(inDir, filename), path.join(outDir, filename))); | ||
filesToCopy.forEach((filename) => | ||
Deno.copyFileSync(path.join(inDir, filename), path.join(outDir, filename)) | ||
); | ||
}; | ||
|
||
await buildModule('hooks'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,6 @@ npm: | |
rm -rf packages/ | ||
deno run -A main/build.ts | ||
npx lerna bootstrap | ||
|
||
publish: npm | ||
npx lerna publish |
Oops, something went wrong.