-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: migrate individual DFX workspaces into single root workspace
- Loading branch information
1 parent
e059531
commit dc03f04
Showing
70 changed files
with
1,289 additions
and
3,002 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,25 @@ | ||
.idea | ||
.cargo | ||
.env | ||
target | ||
dist | ||
node_modules | ||
# Various IDEs and Editors | ||
.vscode/ | ||
.idea/ | ||
**/*~ | ||
|
||
# Mac OSX temporary files | ||
.DS_Store | ||
/tmp | ||
pkg | ||
**/.DS_Store | ||
|
||
# DFX | ||
.dfx/ | ||
.env | ||
|
||
# Rust | ||
.cargo/ | ||
target/ | ||
|
||
# NPM | ||
node_modules/ | ||
|
||
# Other build files | ||
declarations/ | ||
dist/ | ||
tmp/ | ||
pkg/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
{ | ||
"dfx": "0.23.0", | ||
"output_env_file": ".env", | ||
"version": 1, | ||
"networks": { | ||
"local": { | ||
"bind": "127.0.0.1:8000", | ||
"type": "ephemeral" | ||
} | ||
}, | ||
"canisters": { | ||
"certification_certified_counter_backend": { | ||
"type": "rust", | ||
"candid": "examples/certification/certified-counter/src/backend/backend.did", | ||
"package": "certification_certified_counter_backend", | ||
"declarations": { | ||
"bindings": ["js", "ts"], | ||
"output": "examples/certification/certified-counter/src/declarations" | ||
}, | ||
"gzip": true, | ||
"shrink": true, | ||
"optimize": "cycles" | ||
}, | ||
"certification_certified_counter_frontend": { | ||
"type": "assets", | ||
"dependencies": ["certification_certified_counter_backend"], | ||
"source": ["examples/certification/certified-counter/src/frontend/dist"], | ||
"build": "pnpm -F certification-certified-counter-frontend build", | ||
"declarations": { | ||
"bindings": [] | ||
}, | ||
"gzip": true, | ||
"shrink": true, | ||
"optimize": "cycles" | ||
}, | ||
"http_certification_assets_backend": { | ||
"type": "custom", | ||
"candid": "examples/http-certification/assets/src/backend/backend.did", | ||
"wasm": "target/wasm32-unknown-unknown/release/http_certification_assets_backend.wasm", | ||
"build": [ | ||
"pnpm -F http-certification-assets-frontend build", | ||
"cargo build --target wasm32-unknown-unknown --release -p http_certification_assets_backend --locked" | ||
], | ||
"declarations": { | ||
"bindings": ["ts", "js"], | ||
"output": "examples/http-certification/assets/src/declarations" | ||
}, | ||
"gzip": true, | ||
"shrink": true, | ||
"optimize": "cycles" | ||
}, | ||
"http_certification_custom_assets_backend": { | ||
"type": "custom", | ||
"candid": "examples/http-certification/custom-assets/src/backend/backend.did", | ||
"wasm": "target/wasm32-unknown-unknown/release/http_certification_custom_assets_backend.wasm", | ||
"build": [ | ||
"pnpm -F http-certification-custom-assets-frontend build", | ||
"cargo build --target wasm32-unknown-unknown --release -p http_certification_custom_assets_backend --locked" | ||
], | ||
"declarations": { | ||
"bindings": ["ts", "js"], | ||
"output": "examples/http-certification/custom-assets/src/declarations" | ||
}, | ||
"gzip": true, | ||
"shrink": true, | ||
"optimize": "cycles" | ||
}, | ||
"http_certification_json_api_backend": { | ||
"type": "rust", | ||
"package": "http_certification_json_api_backend", | ||
"candid": "examples/http-certification/json-api/src/backend/backend.did", | ||
"declarations": { | ||
"bindings": ["ts", "js"], | ||
"output": "examples/http-certification/json-api/src/declarations" | ||
}, | ||
"gzip": true, | ||
"shrink": true, | ||
"optimize": "cycles" | ||
}, | ||
"http_certification_skip_certification_backend": { | ||
"type": "rust", | ||
"package": "http_certification_skip_certification_backend", | ||
"candid": "examples/http-certification/skip-certification/src/backend/backend.did", | ||
"declarations": { | ||
"bindings": ["ts", "js"], | ||
"output": "examples/http-certification/skip-certification/src/declarations" | ||
}, | ||
"gzip": true, | ||
"shrink": true, | ||
"optimize": "cycles" | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
examples/certification/certified-counter/src/backend/src/lib.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
examples/certification/certified-counter/src/frontend/.ic-assets.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"match": "**/*", | ||
"security_policy": "hardened", | ||
"headers": { | ||
"content-security-policy": "default-src 'self'; form-action 'self'; object-src 'none'; frame-ancestors 'none'; upgrade-insecure-requests; block-all-mixed-content; script-src 'self' 'unsafe-eval'; connect-src 'self' http://localhost:8000", | ||
"cross-origin-embedder-policy": "require-corp" | ||
} | ||
} | ||
] |
Oops, something went wrong.