这是indexloc提供的服务,不要输入任何密码
Skip to content

Move to a packages directory #708

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

Merged
merged 1 commit into from
Feb 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@ vendor/
dist
data
node_modules
packages/turbo-server/data/
packages/turbo-server/uploads/
packages/*/node_modules
packages/*/data
apps/*/data
docs/public/*.st
docs/public/*.toml

Expand Down Expand Up @@ -56,7 +53,7 @@ store
!http_cache/cache/cache.go
*.log
.npmrc
!create-turbo/templates/**/*
!packages/create-turbo/templates/**/*
todos.md
examples/*/*.lock
examples/*/*-lock.yaml
Expand Down
8 changes: 4 additions & 4 deletions cli/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ platform-neutral: | turbo
node ./scripts/bump-version.js

platform-create-turbo:
cd ../create-turbo && npm version "$(TURBO_VERSION)" --allow-same-version && npm run build
cd ../packages/create-turbo && npm version "$(TURBO_VERSION)" --allow-same-version && npm run build

platform-turbo-codemod:
cd ../create-turbo && npm version "$(TURBO_VERSION)" --allow-same-version && npm run build
cd ../packages/turbo-codemod && npm version "$(TURBO_VERSION)" --allow-same-version && npm run build

test-prepublish:
rm -rf demo/turbo
Expand Down Expand Up @@ -230,10 +230,10 @@ publish-neutral: platform-neutral
make test && cd npm/turbo-install && npm publish --tag $(TURBO_TAG)

publish-create-turbo: platform-create-turbo
cd ../create-turbo && npm publish --tag $(TURBO_TAG)
cd ../packages/create-turbo && npm publish --tag $(TURBO_TAG)

publish-turbo-codemod: platform-turbo-codemod
cd ../turbo-codemod && npm publish --tag $(TURBO_TAG)
cd ../packages/turbo-codemod && npm publish --tag $(TURBO_TAG)

demo/lage: | scripts/node_modules
node scripts/generate.mjs lage
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"packages": [
"docs",
"cli",
"create-turbo",
"turbo-codemod"
"packages/*"
]
},
"scripts": {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.