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 648f8a8
Show file tree
Hide file tree
Showing 7 changed files with 9,097 additions and 14 deletions.
3 changes: 1 addition & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2021 Feathers
Copyright (c) 2024 Feathers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

85 changes: 83 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');
3 changes: 1 addition & 2 deletions main/hooks/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2021 Feathers
Copyright (c) 2024 Feathers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ npm:
rm -rf packages/
deno run -A main/build.ts
npx lerna bootstrap

publish: npm
npx lerna publish
Loading

0 comments on commit 648f8a8

Please sign in to comment.