Skip to content

Commit

Permalink
major reworks
Browse files Browse the repository at this point in the history
- rename DEV.md to DEVELOPMENT.md
- add comments to build script
- update to [email protected]
- remove unused rollup config
- renamed "Reload" command to "Restart"
- add "Generate K8s Schemas" command to bootstrap k8s schema mappings
- remove unused utility code
- npm install directly in extension storage or locally in development
- removed unused LSP code
- simplify tsconfig.json
- prep CHANGELOG for 1.2.0
- update extension README.md
  • Loading branch information
robb-j committed Aug 25, 2021
1 parent 6b09b85 commit ee762c9
Show file tree
Hide file tree
Showing 21 changed files with 864 additions and 5,166 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json

name: "build"

on: [push]
Expand Down
38 changes: 26 additions & 12 deletions .nova/Configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,30 @@
"workspace.color": 0,
"workspace.name": "yaml",
"yaml.customTags": ["!secret scalar"],
"yaml.schemas": {},
"yaml.validate": true,
"yaml.hover": true,
"yaml.completion": true,
"yaml.format": { "enable": true },

"[yaml].editor.insertSpaces": true,
"[yaml].editor.tabSize": 2,
"[yaml].editor.autoIndent": true,

"http.proxy": null,
"http.proxyStrictSSL": null
"yaml.schemas": {
"https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.20.5-standalone-strict/all.json": [
"*deployment.yml",
"*deploy.yml",
"*configmap.yml",
"*cm.yml",
"*namespace.yml",
"*ns.yml",
"*persistentvolumeclaim.yml",
"*pvc.yml",
"*pod.yml",
"*po.yml",
"*secret.yml",
"*service.yml",
"*svc.yml",
"*serviceaccount.yml",
"*sa.yml",
"*daemonset.yml",
"*ds.yml",
"*cronjob.yml",
"*cj.yml",
"*job.yml",
"*ingress.yml",
"*ing.yml"
]
}
}
File renamed without changes.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
A YAML language server/client for [Nova IDE](https://nova.app).

- [Extension readme →](/yaml.novaextension)
- [Development notes →](/DEV.md)
- [Development notes →](/DEVELOPMENT.md)
3 changes: 3 additions & 0 deletions bin/build.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
#!/usr/bin/env bash

# Ensure the build fails if TypeScript fails
set -e

# Lint TypeScript source code
npx tsc --noEmit --pretty

# Bundle into JavaScript
npx esbuild \
--bundle \
--format=cjs \
Expand Down
Loading

0 comments on commit ee762c9

Please sign in to comment.