mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(): add core.d.ts and core.json to gitignore but ensure they are published (#24911)
This commit is contained in:
2
.github/workflows/dev-build.yml
vendored
2
.github/workflows/dev-build.yml
vendored
@@ -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
2
docs/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
core.d.ts
|
||||
core.json
|
||||
0
docs/.npmignore
Normal file
0
docs/.npmignore
Normal file
121
docs/core.d.ts
vendored
121
docs/core.d.ts
vendored
@@ -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;
|
||||
20204
docs/core.json
20204
docs/core.json
File diff suppressed because one or more lines are too long
@@ -17,5 +17,8 @@
|
||||
"bugs": {
|
||||
"url": "https://github.com/ionic-team/ionic-docs/issues"
|
||||
},
|
||||
"scripts": {
|
||||
"prepublishOnly": "echo noop"
|
||||
},
|
||||
"homepage": "https://ionicframework.com/docs"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user