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

feat: remove postinstall script, update readme.md #53

Merged
merged 2 commits into from
Jul 14, 2023

Conversation

NikitaShkaruba
Copy link
Collaborator

No description provided.

@NikitaShkaruba NikitaShkaruba self-assigned this Jul 14, 2023
@@ -18,7 +18,6 @@
"types": "./dist/index.d.ts",
"scripts": {
"prepare": "husky install",
"postinstall": "cd src/generator && npm install",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

When we're installing new package, we get a new error

4610 error path /Users/n-shkaruba/Code/websql/node_modules/sql-autocomplete-parsers
4611 error command failed
4612 error command sh -c cd src/generator && npm install
4613 error sh: line 0: cd: src/generator: No such file or directory
4614 verbose exit 1

We don't include src/generator in our build proof, so postinstall doesn't work.

@@ -59,6 +59,6 @@ jobs:
node-version: '18.x'
cache: 'npm'
- name: Install Packages
run: npm ci
run: npm ci && cd src/generator/ && npm ci
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's not very pretty, but it'll do for now

@NikitaShkaruba NikitaShkaruba merged commit 2ac6e20 into main Jul 14, 2023
3 checks passed
@NikitaShkaruba NikitaShkaruba deleted the new_build_release_fix branch July 14, 2023 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants