-
Notifications
You must be signed in to change notification settings - Fork 324
Expand file tree
/
Copy pathpackage.json
More file actions
136 lines (136 loc) · 7.18 KB
/
package.json
File metadata and controls
136 lines (136 loc) · 7.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"private": true,
"name": "@influxdata/docs-site",
"version": "1.0.0",
"description": "InfluxDB documentation",
"license": "MIT",
"exports": {
"./markdown-converter": "./scripts/lib/markdown-converter.cjs",
"./product-mappings": "./dist/utils/product-mappings.js"
},
"bin": {
"docs": "scripts/docs-cli/docs-cli.js"
},
"resolutions": {
"serialize-javascript": "^6.0.2",
"tar": "7.5.11",
"lodash-es": "^4.17.23",
"dompurify": ">=3.3.2"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@evilmartians/lefthook": "^1.7.1",
"@types/js-yaml": "^4.0.9",
"autoprefixer": ">=10.2.5",
"cypress": "^14.0.1",
"eslint": "^10.0.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsdoc": "^50.6.17",
"eslint-plugin-jsx-a11y": "^6.10.2",
"globals": "^15.14.0",
"hugo-extended": ">=0.101.0",
"pixelmatch": "^6.0.0",
"pngjs": "^7.0.0",
"postcss": ">=8.4.31",
"postcss-cli": ">=9.1.0",
"prettier": "^3.2.5",
"prettier-plugin-sql": "^0.18.0",
"puppeteer": "^24.35.0",
"remark": "^15.0.1",
"remark-frontmatter": "^5.0.0",
"remark-gfm": "^4.0.1",
"remark-parse": "^11.0.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.32.1",
"unified": "^11.0.5",
"winston": "^3.16.0"
},
"dependencies": {
"@types/turndown": "^5.0.6",
"axios": "^1.15.0",
"glob": "^13.0.6",
"gray-matter": "^4.0.3",
"jquery": "^3.7.1",
"js-cookie": "^3.0.5",
"js-yaml": "^4.1.1",
"jsdom": "^27.2.0",
"lefthook": "^1.10.10",
"markdown-link": "^0.1.1",
"mermaid": "^11.10.0",
"p-limit": "^5.0.0",
"playwright": "^1.58.1",
"turndown": "^7.2.2",
"vanillajs-datepicker": "^1.3.4"
},
"scripts": {
"postinstall": "node scripts/setup-local-bin.js",
"docs": "node scripts/docs-cli/docs-cli.js",
"docs:create": "node scripts/docs-cli/docs-cli.js create",
"docs:edit": "node scripts/docs-cli/docs-cli.js edit",
"docs:placeholders": "node scripts/docs-cli/docs-cli.js placeholders",
"docs:add-placeholders": "node scripts/docs-cli/docs-cli.js add-placeholders",
"docs:audit": "node scripts/docs-cli/docs-cli.js audit",
"docs:release-notes": "node scripts/docs-cli/docs-cli.js release-notes",
"build:api-docs": "cd api-docs && bash generate-api-docs.sh",
"build:api-docs:scripts": "tsc --project api-docs/scripts/tsconfig.json",
"build:pytest:image": "docker build -t influxdata/docs-pytest:latest -f Dockerfile.pytest .",
"build:agent:instructions": "node ./helper-scripts/build-agent-instructions.js",
"build:ts": "tsc --project tsconfig.json --outDir dist",
"build:ts:watch": "tsc --project tsconfig.json --outDir dist --watch",
"build:md": "node scripts/build-llm-markdown.js",
"build:md:legacy": "node scripts/html-to-markdown.js",
"build:md:verbose": "node scripts/html-to-markdown.js --verbose",
"deploy:staging": "sh scripts/deploy-staging.sh",
"lint": "LEFTHOOK_EXCLUDE=test lefthook run pre-commit && lefthook run pre-push",
"pre-commit": "lefthook run pre-commit",
"test": "echo \"Run 'yarn test:e2e', 'yarn test:links', 'yarn test:codeblocks:all' or a specific test command. e2e and links test commands can take a glob of file paths to test. Some commands run automatically during the git pre-commit and pre-push hooks.\" && exit 0",
"test:codeblocks": "echo \"Run a specific codeblocks test command (e.g., yarn test:codeblocks:influxdb3_core)\" && exit 0",
"test:codeblocks:all": "docker compose --profile test up",
"test:codeblocks:default": "yarn test:codeblocks:influxdb3_core & P1=$! ; yarn test:codeblocks:telegraf & P2=$! ; wait $P1 ; E1=$? ; wait $P2 ; E2=$? ; exit $((E1 | E2))",
"test:codeblocks:parallel": "docker compose run --rm cloud-pytest & docker compose run --rm v2-pytest & docker compose run --rm telegraf-pytest & wait",
"test:codeblocks:influxdb3_core": "docker compose run --rm --name influxdb3-core-pytest influxdb3-core-pytest",
"test:codeblocks:influxdb3_enterprise": "docker compose run --rm --name influxdb3-enterprise-pytest influxdb3-enterprise-pytest",
"test:codeblocks:cloud": "docker compose run --rm --name cloud-pytest cloud-pytest",
"test:codeblocks:cloud-dedicated": "./test/scripts/monitor-tests.sh start cloud-dedicated-pytest && docker compose run --name cloud-dedicated-pytest cloud-dedicated-pytest",
"test:codeblocks:cloud-serverless": "docker compose run --rm --name cloud-serverless-pytest cloud-serverless-pytest",
"test:codeblocks:clustered": "./test/scripts/monitor-tests.sh start clustered-pytest && docker compose run --name clustered-pytest clustered-pytest",
"test:codeblocks:explorer": "echo '⚠️ InfluxDB 3 Explorer pytest service not yet configured. Add explorer-pytest to compose.yaml.' && exit 0",
"test:codeblocks:telegraf": "docker compose run --rm --name telegraf-pytest telegraf-pytest",
"test:codeblocks:v1": "echo '⚠️ InfluxDB v1 pytest service not yet configured. Add v1-pytest to compose.yaml.' && exit 0",
"test:codeblocks:v2": "docker compose run --rm --name v2-pytest v2-pytest",
"test:codeblocks:stop-monitors": "./test/scripts/monitor-tests.sh stop cloud-dedicated-pytest && ./test/scripts/monitor-tests.sh stop clustered-pytest",
"test:codeblocks:python": "echo 'Testing Python code blocks...' && docker compose run --rm cloud-pytest bash -c './test/scripts/test-by-language.sh python content/influxdb/cloud/**/*.md'",
"test:codeblocks:bash": "echo 'Testing Bash/Shell code blocks...' && docker compose run --rm cloud-pytest bash -c './test/scripts/test-by-language.sh bash content/influxdb/cloud/**/*.md'",
"test:codeblocks:sql": "echo 'Testing SQL code blocks...' && docker compose run --rm cloud-pytest bash -c './test/scripts/test-by-language.sh sql content/influxdb/cloud/**/*.md'",
"test:cache:stats": "./test/scripts/manage-test-cache.sh stats",
"test:cache:clean": "./test/scripts/manage-test-cache.sh clean",
"test:cache:clear": "./test/scripts/manage-test-cache.sh clear",
"test:cache:list": "./test/scripts/manage-test-cache.sh list",
"test:e2e": "node cypress/support/run-e2e-specs.js",
"test:render-regression": "node cypress/support/run-e2e-specs.js --spec \"cypress/e2e/content/render-regression.cy.js\" --no-mapping",
"test:render-artifacts": ".ci/scripts/check-render-artifacts.sh public",
"test:shortcode-examples": "node cypress/support/run-e2e-specs.js --spec \"cypress/e2e/content/index.cy.js\" content/example.md",
"sync-plugins": "cd helper-scripts/influxdb3-plugins && node port_to_docs.js",
"sync-plugins:dry-run": "cd helper-scripts/influxdb3-plugins && node port_to_docs.js --dry-run",
"validate-plugin-config": "cd helper-scripts/influxdb3-plugins && node port_to_docs.js --validate",
"debug:browser": "node scripts/puppeteer/debug-browser.js",
"debug:screenshot": "node scripts/puppeteer/screenshot.js",
"debug:inspect": "node scripts/puppeteer/inspect-page.js"
},
"type": "module",
"browserslist": [
"last 2 versions",
"not dead",
"not IE 11"
],
"engines": {
"node": ">=16.0.0"
},
"directories": {
"test": "test"
},
"keywords": [],
"author": "",
"optionalDependencies": {}
}