Skip to content

Commit 815b194

Browse files
chore: restructure repository into packages/ folder (#3197)
We're having a growing number of packages in this repository. This PR moves them into a `packages/` directory like it's commonly done in other projects.
1 parent 27e407a commit 815b194

184 files changed

Lines changed: 94 additions & 82 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/post_publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ jobs:
2828

2929
- name: Upload version file to dl.deno.land
3030
run: |
31-
cat versions.json | jq -r ".[0]" > release-latest.txt
31+
cat packages/fresh/deno.json | jq -r ".version" > release-latest.txt
3232
gsutil -h "Cache-Control: no-cache" cp release-latest.txt gs://dl.deno.land/fresh/release-latest.txt

.github/workflows/publish.yml

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -23,33 +23,5 @@ jobs:
2323
with:
2424
cache: true
2525

26-
- name: Publish Fresh
27-
run: deno publish
28-
29-
- name: Publish @fresh/build-id
30-
working-directory: ./build-id
31-
run: deno publish
32-
33-
- name: Publish @fresh/init
34-
working-directory: ./init
35-
run: deno publish
36-
37-
- name: Publish @fresh/plugin-tailwindcss
38-
working-directory: ./plugin-tailwindcss
39-
run: deno publish
40-
41-
- name: Publish @fresh/plugin-tailwindcss-v3
42-
working-directory: ./plugin-tailwindcss-v3
43-
run: deno publish
44-
45-
- name: Publish @fresh/update
46-
working-directory: ./update
47-
run: deno publish
48-
49-
- name: Publish @fresh/plugin-vite
50-
working-directory: ./plugin-vite
51-
run: deno publish
52-
53-
- name: Publish @fresh/examples
54-
working-directory: ./examples
26+
- name: Publish
5527
run: deno publish

_typos.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[files]
22
extend-exclude = [
3-
"tests/fixture_partials/routes/scroll_restoration/index.tsx",
3+
"packages/fresh/tests/fixture_partials/routes/scroll_restoration/index.tsx",
44
"www/static/fonts/FixelVariable.woff2",
55
"www/static/fonts/FixelVariableItalic.woff2",
6-
"tests/lorem_ipsum.txt",
6+
"packages/fresh/tests/lorem_ipsum.txt",
77
]
88

99
[default]

deno.json

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,11 @@
11
{
22
"nodeModulesDir": "auto",
33
"workspace": [
4-
"./build-id",
5-
"./examples",
6-
"./init",
7-
"./plugin-tailwindcss",
8-
"./plugin-tailwindcss-v3",
9-
"./plugin-vite",
10-
"./update",
4+
"./packages/*",
115
"./www"
126
],
13-
"name": "@fresh/core",
14-
"version": "2.0.0-alpha.56",
15-
"license": "MIT",
16-
"exports": {
17-
".": "./src/mod.ts",
18-
"./runtime": "./src/runtime/shared.ts",
19-
"./runtime-client": "./src/runtime/client/mod.tsx",
20-
"./dev": "./src/dev/mod.ts",
21-
"./compat": "./src/compat.ts",
22-
"./internal": "./src/internals.ts",
23-
"./internal-dev": "./src/internals_dev.ts"
24-
},
257
"tasks": {
268
"test": "deno test -A --parallel",
27-
"fixture": "deno run -A --watch=static/,routes/ tests/fixture/dev.ts",
289
"www": "deno task --cwd=www start",
2910
"build-www": "deno task --cwd=www build",
3011
"screenshot": "deno run -A www/utils/screenshot.ts",

deno.lock

Lines changed: 16 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)