Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
Novout committed Oct 8, 2022
1 parent d0b5caf commit d80dcd0
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/better-write-contenteditable-ast/build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export default defineBuildConfig({
},
declaration: true,
entries: [{ input: 'src/index.ts', outDir: 'dist', name: 'index' }],
externals: ['hast', 'hast-util-from-html', 'better-write-types'],
externals: ['hast', 'hast-util-from-html'],
});
3 changes: 3 additions & 0 deletions packages/better-write-contenteditable-ast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"build": "rimraf ./dist && unbuild",
"lint": "prettier --write src/"
},
"dependencies": {
"better-write-types": "^0.17.6"
},
"files": [
"dist/**/*",
"package.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/better-write-extension/build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export default defineBuildConfig({
},
declaration: true,
entries: [{ input: 'src/index.ts', outDir: 'dist', name: 'index' }],
externals: ['@zip.js/zip.js', 'better-write-types', 'destr', 'xml-js'],
externals: ['@zip.js/zip.js', 'destr', 'xml-js'],
});
3 changes: 3 additions & 0 deletions packages/better-write-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"build": "rimraf ./dist && unbuild",
"lint": "prettier --write src/"
},
"dependencies": {
"better-write-types": "^0.17.6"
},
"files": [
"dist/**/*",
"package.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/better-write-google-fonts-api/build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export default defineBuildConfig({
},
declaration: true,
entries: [{ input: 'src/index.ts', outDir: 'dist', name: 'index' }],
externals: ['ohmyfetch', 'better-write-types'],
externals: ['ohmyfetch'],
});
3 changes: 3 additions & 0 deletions packages/better-write-google-fonts-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"build": "rimraf ./dist && unbuild",
"lint": "prettier --write src/"
},
"dependencies": {
"better-write-types": "^0.17.6"
},
"files": [
"dist/**/*",
"package.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/better-write-image-converter/build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export default defineBuildConfig({
},
declaration: true,
entries: [{ input: 'src/index.ts', outDir: 'dist', name: 'index' }],
externals: ['better-write-types'],
externals: [],
});
3 changes: 3 additions & 0 deletions packages/better-write-image-converter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
"build": "rimraf ./dist && unbuild",
"lint": "prettier --write src/"
},
"dependencies": {
"better-write-types": "^0.17.6"
},
"files": [
"dist/**/*",
"package.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/better-write-languages/build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export default defineBuildConfig({
},
declaration: true,
entries: [{ input: 'src/index.ts', outDir: 'dist', name: 'index' }],
externals: ['better-write-plugin-exporter-pdf', 'better-write-types'],
externals: [],
});
4 changes: 4 additions & 0 deletions packages/better-write-languages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
"build": "rimraf ./dist && unbuild",
"lint": "prettier --write src/"
},
"dependencies": {
"better-write-plugin-exporter-pdf": "^0.17.6",
"better-write-types": "^0.17.6"
},
"files": [
"dist/**/*",
"package.json",
Expand Down

0 comments on commit d80dcd0

Please sign in to comment.