Skip to content

Commit

Permalink
chore: Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
daffl committed Feb 25, 2024
1 parent 92a342e commit a76bf98
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 7 deletions.
78 changes: 76 additions & 2 deletions deno.lock

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

10 changes: 6 additions & 4 deletions main/build.ts
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;
Expand All @@ -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');
1 change: 0 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ coverage: format lint
npm:
rm -rf packages/
deno run -A main/build.ts
npx lerna bootstrap

publish: npm
npx lerna publish

0 comments on commit a76bf98

Please sign in to comment.