File tree Expand file tree Collapse file tree 6 files changed +81
-0
lines changed
Expand file tree Collapse file tree 6 files changed +81
-0
lines changed Original file line number Diff line number Diff line change 55 "version" : " 0.0.0" ,
66 "packageManager" : " yarn@4.12.0" ,
77 "workspaces" : [
8+ " packages/core" ,
89 " packages/javascript" ,
910 " packages/sveltekit" ,
1011 " packages/sveltekit/playground"
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " @hawk.so/core" ,
3+ "version" : " 1.0.0" ,
4+ "description" : " Base implementation for all Hawk.so JavaScript SDKs" ,
5+ "files" : [
6+ " dist"
7+ ],
8+ "main" : " ./dist/hawk-core.umd.js" ,
9+ "module" : " ./dist/hawk-core.mjs" ,
10+ "types" : " dist/index.d.ts" ,
11+ "exports" : {
12+ "." : {
13+ "source" : " ./src/index.ts" ,
14+ "types" : " ./dist/index.d.ts" ,
15+ "import" : " ./dist/hawk-core.mjs" ,
16+ "require" : " ./dist/hawk-core.umd.js"
17+ }
18+ },
19+ "scripts" : {
20+ "build" : " vite build"
21+ },
22+ "repository" : {
23+ "type" : " git" ,
24+ "url" : " git+https://github.com/codex-team/hawk.javascript.git" ,
25+ "directory" : " packages/core"
26+ },
27+ "author" : {
28+ "name" : " CodeX" ,
29+ "email" : " team@codex.so"
30+ },
31+ "license" : " AGPL-3.0-only" ,
32+ "bugs" : {
33+ "url" : " https://github.com/codex-team/hawk.javascript/issues"
34+ },
35+ "homepage" : " https://github.com/codex-team/hawk.javascript#readme" ,
36+ "devDependencies" : {
37+ "vite" : " ^7.3.1" ,
38+ "vite-plugin-dts" : " ^4.2.4"
39+ }
40+ }
Original file line number Diff line number Diff line change 1+ {
2+ "extends" : " ../../tsconfig.json" ,
3+ "compilerOptions" : {
4+ "outDir" : " dist" ,
5+ "rootDir" : " src"
6+ },
7+ "include" : [
8+ " src/**/*"
9+ ]
10+ }
Original file line number Diff line number Diff line change 1+ import dts from 'vite-plugin-dts' ;
2+ import { defineConfig } from 'vite' ;
3+
4+ export default defineConfig ( ( ) => {
5+ return {
6+ build : {
7+ copyPublicDir : false ,
8+ lib : {
9+ entry : 'src/index.ts' ,
10+ name : 'HawkCore' ,
11+ fileName : 'hawk-core' ,
12+ } ,
13+ } ,
14+
15+ plugins : [
16+ dts ( {
17+ tsconfigPath : './tsconfig.json' ,
18+ } ) ,
19+ ] ,
20+ } ;
21+ } ) ;
Original file line number Diff line number Diff line change @@ -576,6 +576,15 @@ __metadata:
576576 languageName : node
577577 linkType : hard
578578
579+ " @hawk.so/core@workspace:packages/core " :
580+ version : 0.0.0-use.local
581+ resolution : " @hawk.so/core@workspace:packages/core"
582+ dependencies :
583+ vite : " npm:^7.3.1"
584+ vite-plugin-dts : " npm:^4.2.4"
585+ languageName : unknown
586+ linkType : soft
587+
579588" @hawk.so/javascript@npm:^3.0.0, @hawk.so/javascript@workspace:packages/javascript " :
580589 version : 0.0.0-use.local
581590 resolution : " @hawk.so/javascript@workspace:packages/javascript"
You can’t perform that action at this time.
0 commit comments