chore(): add core.d.ts and core.json to gitignore but ensure they are published (#24911)

This commit is contained in:
Liam DeBeasi
2022-03-09 15:29:33 -05:00
committed by GitHub
parent 44a6f032e7
commit 3e7dfd5f73
6 changed files with 6 additions and 20326 deletions

View File

@@ -26,7 +26,7 @@ jobs:
# See https://github.com/lerna/lerna/issues/2840
- name: Create Dev Hash
run: |
echo "HASH=$(git log -1 --format=%H | cut -c 1-7)" >> $GITHUB_ENV
echo "HASH=1$(git log -1 --format=%H | cut -c 1-7)" >> $GITHUB_ENV
echo "TIMESTAMP=1$(date +%s)" >> $GITHUB_ENV
echo "CURRENT_VERSION=$(node ./.scripts/bump-version.js)" >> $GITHUB_ENV
shell: bash

2
docs/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
core.d.ts
core.json

0
docs/.npmignore Normal file
View File

121
docs/core.d.ts vendored
View File

@@ -1,121 +0,0 @@
/**
* This is an autogenerated file created by the Stencil compiler.
* DO NOT MODIFY IT MANUALLY
*/
export interface JsonDocs {
components: JsonDocsComponent[];
timestamp: string;
compiler: {
name: string;
version: string;
typescriptVersion: string;
};
}
export interface JsonDocsComponent {
dirPath?: string;
fileName?: string;
filePath?: string;
readmePath?: string;
usagesDir?: string;
encapsulation: 'shadow' | 'scoped' | 'none';
tag: string;
readme: string;
docs: string;
docsTags: JsonDocsTag[];
usage: JsonDocsUsage;
props: JsonDocsProp[];
methods: JsonDocsMethod[];
events: JsonDocsEvent[];
listeners: JsonDocsListener[];
styles: JsonDocsStyle[];
slots: JsonDocsSlot[];
parts: JsonDocsPart[];
dependents: string[];
dependencies: string[];
dependencyGraph: JsonDocsDependencyGraph;
deprecation?: string;
}
export interface JsonDocsDependencyGraph {
[tagName: string]: string[];
}
export interface JsonDocsTag {
name: string;
text?: string;
}
export interface JsonDocsValue {
value?: string;
type: string;
}
export interface JsonDocsUsage {
[key: string]: string;
}
export interface JsonDocsProp {
name: string;
type: string;
mutable: boolean;
attr?: string;
reflectToAttr: boolean;
docs: string;
docsTags: JsonDocsTag[];
default: string;
deprecation?: string;
values: JsonDocsValue[];
optional: boolean;
required: boolean;
}
export interface JsonDocsMethod {
name: string;
docs: string;
docsTags: JsonDocsTag[];
deprecation?: string;
signature: string;
returns: JsonDocsMethodReturn;
parameters: JsonDocMethodParameter[];
}
export interface JsonDocsMethodReturn {
type: string;
docs: string;
}
export interface JsonDocMethodParameter {
name: string;
type: string;
docs: string;
}
export interface JsonDocsEvent {
event: string;
bubbles: boolean;
cancelable: boolean;
composed: boolean;
docs: string;
docsTags: JsonDocsTag[];
deprecation?: string;
detail: string;
}
export interface JsonDocsStyle {
name: string;
docs: string;
annotation: string;
}
export interface JsonDocsListener {
event: string;
target?: string;
capture: boolean;
passive: boolean;
}
export interface JsonDocsSlot {
name: string;
docs: string;
}
export interface JsonDocsPart {
name: string;
docs: string;
}
export interface StyleDoc {
name: string;
docs: string;
annotation: 'prop';
}
declare const _default: JsonDocs;
export default _default;

View File

File diff suppressed because one or more lines are too long

View File

@@ -17,5 +17,8 @@
"bugs": {
"url": "https://github.com/ionic-team/ionic-docs/issues"
},
"scripts": {
"prepublishOnly": "echo noop"
},
"homepage": "https://ionicframework.com/docs"
}