Commit c4479af
Fix package manager installation for v1.0.8-3 (#62)
* feat: added install script and updated docs
* docs: fixups to README
* docs: added edit_command_buffer to README.md
* fix: `fish-lsp info` logsfile location & readme wording
* fix: `package.json` removed linking, reworded setup section `README.md`
* fix: `package.json` pkg config
* fix: audit `yarn.lock` removed deprecated `cross-spawn`
* fix: removed unused fish-lsp enviornment variables w/ README changes
- removed `fish_lsp_format_tabsize` & `fish_lsp_format_switch_case`
- fixed `src/cli.ts` formatting for `fish-lsp info`
- added `fish-lsp complete` completions for `-v/--version`, `-h/--help`,
`--help-*`, when 0 subcommands and/or flags are given
* docs: fixed `README.md` section order
* fix: `yarn pack` and `package.json` scripts appear to be working
- `yarn pack` creates a tarball of the package
- `package.json` scripts are updated to properly build the tarball
- added `files` field to `package.json` to include the directories
necessary for the package to work *(main features working, but
more testing is needed)*. See [package.json](./package.json) line 25
for more details.
---
**What is this commit fixing?**
when a user tries to install the fish-lsp npm package, through their
package manager using something like:
```bash
npm install -g fish-lsp
pnpm install -g fish-lsp
yarn global add fish-lsp
```
The package manager previously needs to use typescript to build the
`src/**` directory, which is not necessary. This branch is testing
various methods of improving the package manager installation
experience.
---
**TODO/Notes**
- if we can get the wasm file to be included in the published
package, then we can remove most of the `postinstall` related
workarounds in the `package.json` scripts, which would be nice.
- previous attempts at publishing the `tree-sitter-fish.wasm` file
have been made. Most noteably, in versions `v1.0.0`, `v1.0.1`, etc...
the `wasm` file included did not properly bundle a wasm file with
a correct [magic-number](https://www.google.com/search?client=firefox-b-1-d&q=wasm+magic+number)
- once the `postinstall`/`wasm` issues are resolved, building from
source will no longer be necessary to install the package.
* fix: conf.d not included in background analysis
- removed yarn.lock
- added files to package.json
- removed .yarnrc.yml
- successfully built on npm, yarn, & pnpm by `pack` testings
- fixed minor misnumbered error code `src/diagnostics/errorCodes.ts`
- removed packageManager key from package.json because of corepack
* fix: rm *.wasm from .gitignore, added wasm to repo
- added yarn.lock back to .gitignore
* fix: added startup time w/ logger + popup support to `src/analyzer.ts`
- changes made to `package.json` scripts
- `dev` script for local development
- `dev:watch` script for local development
- `tsconfig.json` now contains a key for building `.tsbuildinfo` file
and `clean` package.json removes it
- `README.md` comments removed + fixes to other minor typo changes
* fix: deps in package.json `typescript version too hight for eslint`
- moved marked-man to `devDependencies`
- typescript now using 5.5.4 in `devDependencies`
* fix: ci.yml and added .npmignore
* fix: added tests to ci.yml and yarn.lock
* fix: fast-glob moved to dependencies
* docs: minor comment to README.md
* feat: fixed `src/execute-handler.ts` for testing
- issue visible in [pr #61](https://github.com/ndonfris/fish-lsp/pull/61/files)
Co-authored-by: branchvincent <[email protected]>
* docs: fix `README.md` Client Configurations (REQUIRED)
* chore: added @branchvincent to `.all-contributorsrc`
Signed-off-by: nick donfris <[email protected]>
* fix: `npm publish` should now work, `docs/MAN_FILE.md` updates, complete changes
- `fish-lsp complete` now outputs completions for `fish-lsp env
--no-global --no-local --no-comments --no-export`
- `fish-lsp info --time-startup` is now a valid operation
- man page was updated
- updated .npmignore & .gitignore
- updated README.md
- added functions to `src/cli.ts` for `--time-startup` operation
- added arguments to functions in `src/config.ts` for `fish-lsp env`
behavior
- pkg behaviour is still not working correctly
* fix: removed tests from `.github/workflows/ci.yaml` because of race condition
* docs: updated `docs/CHANGLOG.md`, `docs/CONTRIBUTING.md` and `README.md`
* docs: updated `docs/CHANGELOG.md` & `package.json` for v1.0.8-3
---------
Signed-off-by: nick donfris <[email protected]>
Co-authored-by: branchvincent <[email protected]>1 parent c73c985 commit c4479af
File tree
29 files changed
+2023
-1462
lines changed- .github/workflows
- docs
- man
- scripts
- src
- diagnostics
- snippets
- utils
29 files changed
+2023
-1462
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
86 | 95 | | |
87 | 96 | | |
88 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
39 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
| 9 | + | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
This file was deleted.
0 commit comments