streamline package scripts
This commit is contained in:
Родитель
3207e80a8f
Коммит
367bfc8b37
|
@ -9,6 +9,7 @@ docsTemp/
|
|||
.turbo/
|
||||
.swc/
|
||||
stats.json
|
||||
deploy.zip
|
||||
|
||||
# Classic node deps
|
||||
node_modules/
|
||||
|
|
|
@ -49,17 +49,17 @@ export class BaseFile extends FileWithPath {
|
|||
// Warning: (ae-missing-release-tag) "createBaseFile" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export const createBaseFile: (content: Blob, options?: FileOptions | undefined) => BaseFile;
|
||||
export const createBaseFile: (content: Blob, options?: FileOptions) => BaseFile;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "createFile" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export const createFile: (content: Blob, options?: Omit<FileOptions, "path"> | undefined) => File;
|
||||
export const createFile: (content: Blob, options?: Omit<FileOptions, 'path'>) => File;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "createFileWithPath" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public (undocumented)
|
||||
export const createFileWithPath: (content: Blob, options?: FileOptions | undefined) => FileWithPath;
|
||||
export const createFileWithPath: (content: Blob, options?: FileOptions) => FileWithPath;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "createReader" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
|
@ -321,7 +321,7 @@ export function loadTable(file: BaseFile, options?: CSVParseOptions): Promise<Co
|
|||
// Warning: (ae-missing-release-tag) "num" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
// @public
|
||||
export const num: (value?: string | number | undefined) => number | undefined;
|
||||
export const num: (value?: string | number) => number | undefined;
|
||||
|
||||
// Warning: (ae-missing-release-tag) "renameDuplicatedFiles" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
||||
//
|
||||
|
|
|
@ -26,9 +26,8 @@
|
|||
"types": "dist/index.d.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "essex clean dist docs",
|
||||
"build:compile": "tsc --project tsconfig.build.json",
|
||||
"start": "yarn build",
|
||||
"clean": "essex clean dist",
|
||||
"prestart": "yarn build",
|
||||
"build": "essex build-md-index --include ../../docs/verbs",
|
||||
"release": "yarn npm publish --tolerate-republish --access public"
|
||||
},
|
||||
|
|
|
@ -25,10 +25,6 @@
|
|||
"clean": "essex clean build dist lib node_modules",
|
||||
"bundle": "essex bundle && shx cp -r public/* build/",
|
||||
"start": "essex serve",
|
||||
"start:webapp": "yarn start",
|
||||
"build:webapp": "yarn build && yarn archive",
|
||||
"archive": "essex zip --baseDir build deploy.zip '**/*'",
|
||||
"archive:webapp": "yarn archive",
|
||||
"lint": "essex lint --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
12
turbo.json
12
turbo.json
|
@ -22,15 +22,21 @@
|
|||
"dependsOn": ["build", "lint", "test", "bundle"],
|
||||
"outputs": ["dist/**", "docs/**", "build/**", "storybook-static/**"]
|
||||
},
|
||||
"prestart": {
|
||||
"dependsOn": ["^prestart"],
|
||||
"outputs": ["dist/**"]
|
||||
},
|
||||
"start": {
|
||||
"cache": false,
|
||||
"dependsOn": ["prestart"],
|
||||
"outputs": []
|
||||
},
|
||||
"clean": {
|
||||
"cache": false
|
||||
},
|
||||
"release": {
|
||||
"cache": false
|
||||
},
|
||||
"start": {
|
||||
"cache": false
|
||||
},
|
||||
"deploy": {
|
||||
"cache": false
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче