Move types and plan back to main dagger package

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This commit is contained in:
Helder Correia
2022-03-28 12:02:39 +00:00
parent b3bdd347e7
commit 5abd77f4f2
15 changed files with 132 additions and 131 deletions

View File

@@ -13,7 +13,7 @@ dagger.#Plan & {
_nodeModulesMount: "/src/node_modules": {
dest: "/src/node_modules"
type: "cache"
contents: dagger.#CacheDir & {
contents: core.#CacheDir & {
id: "todoapp-modules-cache"
}
@@ -57,7 +57,7 @@ dagger.#Plan & {
"/cache/yarn": {
dest: "/cache/yarn"
type: "cache"
contents: dagger.#CacheDir & {
contents: core.#CacheDir & {
id: "todoapp-yarn-cache"
}
}

View File

@@ -3,6 +3,7 @@ package go
import (
"dagger.io/dagger"
"dagger.io/dagger/core"
"universe.dagger.io/docker"
)
@@ -30,7 +31,7 @@ import (
contents: source
}
"go assets cache": {
contents: dagger.#CacheDir & {
contents: core.#CacheDir & {
id: "\(name)_assets"
}
dest: _cachePath