Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds scaffolding for publishing #124

Merged
merged 24 commits into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
b867ee3
Adds and inits changesets
ncordon Oct 22, 2023
4baf75d
Adds changeset
ncordon Oct 22, 2023
dd418f7
Fixes versions on 1.0.0
ncordon Oct 22, 2023
649f6a6
Enters pre-release 2.0.0-next.0
ncordon Oct 22, 2023
cc9566c
Fixes versions of typescript, compiles antlr4-c3 to cjs and esm
ncordon Oct 22, 2023
18d9521
Bundles language support with antlr4 and antlr4-c3
ncordon Oct 22, 2023
5a2e982
Fixes build types in react-codemirror package
ncordon Oct 22, 2023
59a0871
Adds more changes to the packaging
ncordon Oct 23, 2023
bcfb4e1
Doesn't check the semantic analysis, compiles the vscode-extension be…
ncordon Oct 23, 2023
b5321f5
Makes changeset publishing access public
ncordon Oct 23, 2023
e72a2e9
Adds .npmignore and more nits
ncordon Oct 23, 2023
039de60
Corrects name of global project
ncordon Oct 23, 2023
dfd300b
concurrently exits in antlr4-c3 before it generates the output 😢
ncordon Oct 23, 2023
e4d2b31
Adds license to every sub package
ncordon Oct 23, 2023
70dc788
Cleans dep files
ncordon Oct 23, 2023
58ac662
Changes CypherLSP config options
ncordon Oct 23, 2023
9c6ca8e
Ignores packages we do not want to publish in changeset
ncordon Oct 23, 2023
bed1f3a
Updates package lock
ncordon Oct 23, 2023
5407155
Makes the vscode extension use a different compilation for debug and run
ncordon Oct 23, 2023
4713b14
Fixes VSCode e2e tests build steps
ncordon Oct 23, 2023
a5f34e2
Adds holder of the copyright to the LICENSEs
ncordon Oct 23, 2023
0ef0883
Adds last nits
ncordon Oct 23, 2023
9714b8c
Fixes debugging of the codemirror extension
ncordon Oct 24, 2023
921424f
Ignores dist folder in c3
ncordon Oct 24, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
10 changes: 10 additions & 0 deletions .changeset/fuzzy-rice-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@neo4j-cypher/language-server': major
'@neo4j-cypher/language-support': major
'@neo4j-cypher/react-codemirror': major
'@neo4j-cypher/react-codemirror-playground': major
'@neo4j-cypher/schema-poller': major
'@neo4j-cypher/vscode-extension': major
---

First alpha release of the new Neo4j's Cypher Language Support, including syntax highlighting, auto-completion and linting as features
15 changes: 15 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"mode": "pre",
"tag": "next",
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know how it works but my intuition tells me we should be using this next tag instead of the alpha one? At least that's what they even describe in the changesets documentation

"initialVersions": {
"@neo4j-cypher/language-server": "1.0.0",
"@neo4j-cypher/language-support": "1.0.0",
"@neo4j-cypher/react-codemirror": "1.0.0",
"@neo4j-cypher/react-codemirror-playground": "1.0.0",
"@neo4j-cypher/schema-poller": "1.0.0",
"@neo4j-cypher/vscode-extension": "1.0.0",
"antlr4": "4.13.1",
"antlr4-c3": "3.0.1"
},
"changesets": ["fuzzy-rice-train"]
}
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ dist/
esm/
packages/language-support/src/generated-parser/*
jest.config.js
jest.config.cjs
rollup.config.js
index.html
packages/language-support/src/highlighting/semanticAnalysis.js
Expand Down
11 changes: 6 additions & 5 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@
"args": [
"--extensionDevelopmentPath=${workspaceRoot}/packages/vscode-extension"
],
"outFiles": ["${workspaceRoot}/packages/vscode-extension/dist/**/*.js"],
"outFiles": [
"${workspaceRoot}/packages/vscode-extension/**/*.js",
"${workspaceRoot}/packages/language-support/**/*.cjs",
"${workspaceRoot}/packages/schema-poller/**/*.cjs"
],
"autoAttachChildProcesses": true,
"preLaunchTask": {
"type": "npm",
"script": "watch"
}
Comment on lines -22 to -24
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure whether we need the watch but it seems broken to me locally

"sourceMaps": true
Comment on lines +19 to +25
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes the VSCode debugging

}
],
"type": "pwa-node",
Expand Down
Loading