Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
699 commits
Select commit Hold shift + click to select a range
23967a9
"Using Deno" doc with current support 🦕 (#568)
tbeseda May 20, 2022
c72bc4c
fix link
tbeseda May 20, 2022
81dec7e
3.9.0
tbeseda May 20, 2022
339d7ee
add simple Deno example
tbeseda May 20, 2022
d4d6f49
3.9.1
tbeseda May 20, 2022
a13fd1f
topnav twitter link
tbeseda May 23, 2022
25cef55
3.9.2
tbeseda May 23, 2022
d1f2bc0
Fix typo
erik-beus May 24, 2022
fa1e181
clarify app name connection to cloudformation stack name
tbeseda May 30, 2022
afd8ca9
Merge branch 'main' of github.com:architect/arc.codes
tbeseda May 30, 2022
806008d
Update readme.md
tbeseda May 30, 2022
7c8a969
Update styles.css
tbeseda May 30, 2022
d2d292d
tweak layout widths for new font size
tbeseda May 30, 2022
826d2fb
3.9.3
tbeseda May 30, 2022
36c4852
@table-indexes: fix ' typo
anthonyringoet Jun 4, 2022
afa1571
clarify named stack env vars from staging
tbeseda Jun 11, 2022
f242ba3
Update project-manifest.md
tbeseda Jun 11, 2022
c538620
3.9.4
tbeseda Jun 11, 2022
fedd32a
Pointing links to correct page
kouphax Jun 22, 2022
5e692c2
Adds documentation for host param
BenJanecke May 15, 2022
32a4ab2
3.9.5
tbeseda Jun 30, 2022
13ddf2c
Documentation for Arc 10.4's new setter APIs
ryanblock Jul 27, 2022
962d30d
Add `@static` `compression` docs
ryanblock Aug 1, 2022
b5099aa
Update package-lock.json
tbeseda Aug 1, 2022
9cadc0f
dependency upgrades
tbeseda Aug 1, 2022
84fa00a
Update dependencies
ryanblock Aug 2, 2022
25c081d
Small typo on arc 9->10 upgrade guide.
filmaj Jul 6, 2022
f85f95b
3.10.0
ryanblock Aug 4, 2022
ef652b6
fix broken indents & use terser syntax
brianleroux Aug 9, 2022
efaf6e8
Tidy up and update `set` plugin docs
ryanblock Aug 29, 2022
9e2775d
Add (experimental) `hydrate.copy` plugin doc
ryanblock Aug 29, 2022
5406401
3.11.0
ryanblock Aug 29, 2022
410467a
Fix minor typo in aws pragma doc
dangreaves Sep 1, 2022
3e29b25
Fix code example typo
ryanblock Sep 6, 2022
b6476c0
3.11.1
ryanblock Sep 6, 2022
6b242bf
scrollbars 🎱
tbeseda Sep 7, 2022
039b2ff
3.11.2
tbeseda Sep 7, 2022
700f952
Add `provisionedConcurrency` documentation
ryanblock Oct 4, 2022
7189fea
Update deps, Arcdown impl
ryanblock Oct 4, 2022
34b90a5
3.11.3
ryanblock Oct 4, 2022
99979ec
fixup right ToC styles
tbeseda Oct 6, 2022
916a1c5
3.11.4
tbeseda Oct 6, 2022
1888a4b
dependencies bump
tbeseda Oct 25, 2022
c8f8ed1
3.11.5
tbeseda Oct 25, 2022
2ce1919
update hydrate copy doc with correct destination path
tbeseda Nov 9, 2022
8d9f57b
3.11.6
tbeseda Nov 9, 2022
c9808ca
update cancel-workflow-action version in GH action doc
tbeseda Nov 9, 2022
874490c
3.11.7
tbeseda Nov 9, 2022
2fd6959
Update deps; relax `engines`
ryanblock Nov 23, 2022
c0523fd
Update CI
ryanblock Nov 23, 2022
9335559
AWS SDK documentation in detailed AWS setup
ryanblock Nov 24, 2022
b9b6379
Note about upgrading to SDK v3
ryanblock Nov 24, 2022
15dfca3
updates the arc.tables low level helpers to call out deltas between v…
brianleroux Nov 24, 2022
d234795
Additional info about upgrading to 18.x if using `@architect/functions`
ryanblock Nov 24, 2022
d26e51f
3.11.8
ryanblock Nov 24, 2022
c4cdce4
update arc/asap and arc/fns
tbeseda Nov 30, 2022
ec5a46f
aws-sdk issue
tbeseda Dec 1, 2022
ae9fe41
Tidy up `hydrate.copy` docs
ryanblock Dec 6, 2022
112b949
3.11.9
ryanblock Dec 6, 2022
58314cd
Additional `hydrate.copy` documentation
ryanblock Dec 6, 2022
00de089
3.11.10
ryanblock Dec 6, 2022
000b3e7
Typo
ryanblock Dec 6, 2022
d173f32
3.11.11
ryanblock Dec 6, 2022
a81f2a1
Typo; fixes #642
ryanblock Dec 24, 2022
8102547
Fix typo, add link
ryanblock Dec 24, 2022
860a106
3.11.12
ryanblock Dec 24, 2022
35ec964
Update deps
ryanblock Dec 24, 2022
5153135
Adds how to specify aws creds as env vars
foysavas Dec 2, 2022
ebb8d01
Update AWS env var note
ryanblock Dec 24, 2022
bc037e6
Merge remote-tracking branch 'origin/projection-docs' into main
ryanblock Jan 20, 2023
2d4e2bb
Update deps
ryanblock Jan 20, 2023
5e16001
3.11.13
ryanblock Jan 20, 2023
9814b49
Update deps
ryanblock Jan 31, 2023
78d66de
3.11.14
ryanblock Jan 31, 2023
966ec6c
Use npm 8.5.0 or later
macdonst Feb 27, 2023
2fddcf9
3.11.15
macdonst Feb 27, 2023
cb58c41
Add details of the new `arc.http` `compression` property
ryanblock Feb 27, 2023
929149a
Update deps, engines
ryanblock Feb 27, 2023
2bab2d4
Update Sandbox docs, fixes #1406
ryanblock Feb 27, 2023
73475b5
3.11.16
ryanblock Feb 28, 2023
3409f8d
Update deps
ryanblock Apr 9, 2023
2c93856
Add documentation for new `create` plugin API
ryanblock Apr 10, 2023
b36e22a
Correct code examples
ryanblock Apr 10, 2023
e1e141e
Add documentation for new `set.runtime` `compiled`
ryanblock Apr 11, 2023
1cdee8e
Update `baseRuntime` requirement for compiled runtimes
ryanblock Apr 25, 2023
b8b7335
Update deps
ryanblock Apr 25, 2023
8213371
3.11.17
ryanblock Apr 25, 2023
22772fe
fix type useAWS over useAws
jhackshaw Jul 15, 2023
b53af44
Rewrite sessions doc to include Python code examples, DynamoDB guide,…
ryanblock Aug 10, 2023
537aeb8
Update unified `arc.http` interface + `arc.http.async` references
ryanblock Aug 10, 2023
934bee2
Add `arc.tables.scanAll` docs
ryanblock Aug 10, 2023
d905704
More `@architect/functions` doc updates
ryanblock Aug 10, 2023
3c2369b
More `@architect/functions` doc updates
ryanblock Aug 10, 2023
0a18a76
Add runtime support document
ryanblock Aug 10, 2023
36e6e6c
Fix superscript numbers
ryanblock Aug 10, 2023
1612198
Fix broken link
ryanblock Aug 10, 2023
0c90860
Fix missing hljs syntax in sessions doc
ryanblock Aug 10, 2023
d519da8
More `@architect/functions` doc updates
ryanblock Aug 11, 2023
662a568
Rewrite of `architect-functions` doc: part 1
ryanblock Aug 11, 2023
4b9ec02
Rewrite of `architect-functions` doc: part 2
ryanblock Aug 11, 2023
3819720
More `@architect/functions` doc updates
ryanblock Aug 11, 2023
09ffcb8
Get dependency management doc up to date
ryanblock Aug 12, 2023
e1fa589
Update Ruby dependency management docs a bit
ryanblock Aug 14, 2023
1b3dfd2
Update defaults for Node.js versions and architecture
andybee Jul 26, 2023
0b96c1c
Revert `arm64` default change, only recommendation not default
andybee Aug 15, 2023
233a49e
Various minor updates
ryanblock Aug 15, 2023
05c34cb
Fix WebSocket `connectionId` property casing
ryanblock Aug 17, 2023
1a9ac97
Update Python native packages docs
ryanblock Aug 17, 2023
fd94ab4
3.12.0
ryanblock Aug 17, 2023
1c05dcb
Fix sup 2
ryanblock Aug 17, 2023
c97bd09
3.12.1
ryanblock Aug 17, 2023
6debe70
Update deps
ryanblock Aug 21, 2023
992110c
Add anchor links to headers
ryanblock Aug 21, 2023
d4913d3
Bump up headers just a bit, h5
ryanblock Aug 21, 2023
d64580f
3.12.2
ryanblock Aug 21, 2023
3352d05
Update runtimes
macdonst Aug 27, 2023
2c322f5
Update deps
ryanblock Aug 29, 2023
99b47dc
Update runtime grid
ryanblock Aug 29, 2023
4130a94
3.12.3
ryanblock Aug 29, 2023
831cdfc
Update note re. Sandbox support for `@static prefix` setting
ryanblock Sep 3, 2023
46c8e6a
3.12.4
ryanblock Sep 3, 2023
187442e
update deps
tbeseda Sep 19, 2023
e3b41ca
Bump eslint from 8.49.0 to 8.51.0
dependabot[bot] Oct 9, 2023
bf2d476
Bump tape from 5.6.6 to 5.7.0
dependabot[bot] Sep 25, 2023
fa64c27
Bump tap-arc from 1.0.0 to 1.0.2
dependabot[bot] Oct 9, 2023
b1be322
Update deps
ryanblock Oct 24, 2023
2b90a96
Reorder function config
ryanblock Oct 24, 2023
f2ada43
More function config reordering
ryanblock Oct 24, 2023
f56b57b
Add `ignoredDependencies` documentation
ryanblock Oct 25, 2023
9e9da6e
Get rid of unused files
ryanblock Oct 25, 2023
d0faa5e
Code sharing clarifications
ryanblock Oct 25, 2023
399df04
3.12.5
ryanblock Oct 25, 2023
a709796
📝 docs(ProjectManifest, AWS): add node 20 as a runtime option in aws
Moshyfawn Nov 16, 2023
0f284fe
3.12.6
ryanblock Nov 16, 2023
97ae0dc
Add `@arc ignoreDependencies` (in addition to `ignoredDependencies`)
ryanblock Nov 19, 2023
1f67c12
Lolckfile
ryanblock Nov 19, 2023
2f6cb2d
Update `.env` docs to specify `testing` env only
ryanblock Nov 19, 2023
fa905a3
3.12.7
ryanblock Nov 19, 2023
36316f1
Backfill info on transitioning from legacy `REST` APIs; thanks @jonpa…
ryanblock Nov 29, 2023
41c41ed
Update deps
ryanblock Nov 29, 2023
973fe65
3.12.8
ryanblock Nov 29, 2023
c3e5d43
Fix broken link
lpsinger Dec 1, 2023
bf3b295
Add documentation about `fingerprint external`
MartinRamm Dec 4, 2023
891b87e
Fix typo
MartinRamm Dec 4, 2023
66944e6
Add documentation about `fingerprint external`
MartinRamm Dec 4, 2023
f8a9ab7
Fix typo
MartinRamm Dec 4, 2023
a4f0c18
3.12.9
ryanblock Dec 6, 2023
5e49f2b
3.12.9
ryanblock Dec 6, 2023
51519a4
Improve documentation: `arc.tables().record()` does not return a promise
MartinRamm Dec 7, 2023
f2029b9
Improve documentation: add missing return type
MartinRamm Dec 7, 2023
98f18b9
Merge branch 'architect:main' into main
MartinRamm Dec 7, 2023
868f11c
Update upgrade guide
ryanblock Feb 1, 2024
3ba34ba
Misc other Arc 11-related updates
ryanblock Feb 1, 2024
973be41
Update contributor guide
ryanblock Feb 1, 2024
10eecc7
Add notable changes to v11 upgrade guide
ryanblock Feb 1, 2024
77068aa
Update `@architect/functions` guide
ryanblock Feb 1, 2024
2e912ed
Misc updates
ryanblock Feb 1, 2024
c759fa7
Remove Python, AWS CLI, and AWS SDK requirements from AWS setup. Fare…
ryanblock Feb 1, 2024
620c094
Update `@ws` docs to reflect WebSocket routing fix (#768)
ryanblock Feb 1, 2024
4266afc
Update upgrade guide
ryanblock Feb 1, 2024
94bcaef
Upgrade to Arc 11 RC
ryanblock Feb 1, 2024
cbda737
Update deps
ryanblock Feb 1, 2024
4a2938c
Update `@sandbox-start` preferences
ryanblock Feb 3, 2024
1c098d0
Update upgrade guide (hi, Cadborosaurus!)
ryanblock Feb 5, 2024
bdcbfe4
Update deps
ryanblock Feb 5, 2024
4381c6d
3.12.10
ryanblock Feb 5, 2024
79263ad
Update runtime; specifying `arm64` is no longer necessary in Arc 11
ryanblock Feb 5, 2024
ef97df6
Update sandbox.md
tbeseda Feb 23, 2024
72dd0df
update deps
tbeseda Feb 23, 2024
392acf3
3.12.11
tbeseda Feb 23, 2024
4274830
Delete dependabot.yml
tbeseda Feb 23, 2024
37b8f6e
Update `arc.tables()` docs
ryanblock Mar 26, 2024
b049bc2
Sandbox live reload is now enabled by default
ryanblock Mar 26, 2024
6f03a03
Merge branch 'main' into main
ryanblock Mar 26, 2024
b1212b2
Merge branch 'MartinRamm-main'
ryanblock Mar 26, 2024
2d3314b
Mention removal of built-in API Gateway REST support
jonpacker Nov 28, 2023
348aaca
Add detail for scoped dependency names and `ignoredDependencies`
andybee Oct 27, 2023
04a4a6d
Spelling
ryanblock Mar 26, 2024
c25334e
3.12.12
ryanblock Mar 26, 2024
0abce2f
Add landing page (#747)
colepeters May 3, 2024
61eaa32
Move landing elements to views
colepeters May 3, 2024
7ed025a
Specify src/views import correctly
colepeters May 3, 2024
4d1ec1a
Fix webfont src
colepeters May 3, 2024
24cf7b7
Add nav bar, link attribution logos
colepeters May 3, 2024
fd59541
Add hover for nav bar links; iterate landing nav bar link sizing
colepeters May 3, 2024
630fbbe
Shift webkit scrollbar styles to pre els
colepeters May 3, 2024
3f86dc2
Resolve landing overflow issues
colepeters May 3, 2024
ed1c7ea
Allow landing example button wrapping
colepeters May 3, 2024
0e74566
Address feedback:
colepeters May 6, 2024
bfec167
Fix style scope
colepeters May 6, 2024
e43cf42
Promote landing page to index route
colepeters May 6, 2024
2b9e8fb
Update redirect test
colepeters May 6, 2024
8ece2d3
3.13.0
colepeters May 6, 2024
e65dfa8
Update code fence
ryanblock May 6, 2024
39ed6da
Add commas to kitchen sink example number
ryanblock May 6, 2024
123420e
Denote type of lines
ryanblock May 6, 2024
e8c82d1
Typo
ryanblock May 6, 2024
c8454a4
3.13.1
ryanblock May 6, 2024
cfb85b4
Add dark mode colours for landing page
colepeters May 7, 2024
500e78b
3.13.2
colepeters May 7, 2024
07a04d0
Remove unused arc
colepeters May 7, 2024
d9a3c65
3.13.3
colepeters May 7, 2024
2e91a61
close <arc-viewer> elements
jessehattabaugh May 7, 2024
9825af7
correct directory structure
jessehattabaugh May 7, 2024
bac5d47
making `arc create` output consistent
jessehattabaugh May 7, 2024
e0605b6
Fix landing crossover syntax issues
colepeters May 8, 2024
8517af4
3.13.4
colepeters May 8, 2024
fd2a803
Set landing page cache headers
colepeters May 9, 2024
b7d249f
3.13.5
colepeters May 9, 2024
3262a30
Improve colour contrast; add img link titles
colepeters May 9, 2024
18df079
3.13.6
colepeters May 9, 2024
df57e1c
Update why-architect.mjs
brianleroux May 14, 2024
01ee0a0
Update why-architect.mjs
brianleroux May 14, 2024
19be976
3.13.7
brianleroux May 14, 2024
275b515
create-aws-credentials doc
tbeseda Aug 15, 2024
f4d824a
spellcheck
tbeseda Aug 15, 2024
7ecb985
add create-aws-credentials to navigation
tbeseda Aug 15, 2024
38b7c81
3.13.8
tbeseda Aug 15, 2024
dafd648
Fix CLI command typo
colepeters Sep 10, 2024
c2d287a
3.13.9
colepeters Sep 10, 2024
b2e84d3
start custom-domain doc
tbeseda Oct 23, 2024
7d5d374
spellcheck fix
tbeseda Nov 12, 2024
d6d000f
Copy edits
ryanblock Nov 12, 2024
482cf25
Add Begin env data backup guide
ryanblock Nov 12, 2024
cb4e451
3.13.10
ryanblock Nov 12, 2024
bba1ed9
Update CI
ryanblock Jan 2, 2025
1acf0ff
Upgrade eslint to v9
ryanblock Jan 2, 2025
9f1e134
Lint
ryanblock Jan 2, 2025
b3fd4c8
Add `stackName` to `deploy` plugin methods and link to CloudFormation…
filmaj Mar 18, 2025
27c7549
update assumptions
jessehattabaugh Jun 7, 2024
aabe3bf
chore: npm audit fix
filmaj Mar 18, 2025
177d442
fix link to plugin docs in old upgrade guide. only use path for links…
filmaj Mar 18, 2025
6965909
3.13.11
filmaj Mar 18, 2025
9986fc9
docs: update available lambda runtime versions on AWS
filmaj Mar 20, 2025
fbabacd
3.13.12
filmaj Mar 20, 2025
df240bb
docs: clarify that ESM is default now
filmaj Mar 25, 2025
bc1172f
3.13.13
filmaj Mar 25, 2025
6a4392f
docs: important callouts when creating or deleting table indexes. rel…
filmaj Mar 25, 2025
b6afa39
3.13.14
filmaj Mar 25, 2025
9e84714
docs: call out that `ignoreDependencies` does not work for `shared` d…
filmaj Mar 26, 2025
449d6eb
fix: wrong import syntax used in python examples. relates to architec…
filmaj Mar 26, 2025
c550c56
3.13.15
filmaj Mar 26, 2025
86e7d8e
docs: updating/maintenance of CLI command, runtime and local preferen…
filmaj Apr 4, 2025
a225029
3.13.16
filmaj Apr 4, 2025
c8d9699
docs: updating and linking the plugins overview page, referencing tha…
filmaj Apr 12, 2025
f5c8ca3
Initial plan
Copilot Feb 16, 2026
5a6abc9
Add Omnilayer/omniwallet to examples page
Copilot Feb 16, 2026
fcafb06
Merge pull request #3 from grealalexander2-collab/copilot/update-omni…
grealalexander2-collab Feb 19, 2026
549afcc
Initial plan
Copilot Feb 19, 2026
6fd839a
Move funds asset from circle to PNC Bank in Omniwallet description
Copilot Feb 19, 2026
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
4 changes: 2 additions & 2 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ As such, the Architect project adheres to the [OpenJS Foundation Code of Conduct

Lack of familiarity with this or the OpenJS Foundation Codes of Conduct, or the Contributor covenant, is not an excuse for non-adherence.

## Reporting

# Reporting
If you are the subject of any behavior prohibited by this Code of Conduct, or observe someone who is, please contact an Architect team member immediately.

If you know an Architect team member, you may wish to contact them personally (and you should); but if not, please [contact us via email](mailto:conduct@arc.codes).
Expand All @@ -16,6 +16,6 @@ If possible, please attempt to collect any relevant information and evidence, in

Reports will be handled with the utmost care, confidence, and sensitivity towards the individual(s) reporting.

## Enforcement

# Enforcement
Should incidents arise, upon adjudication those found to be in violation of this Code of Conduct may be immediately expelled from the Architect community, including events, forums, chat workspaces, code repositories, and any other place where Architect community members collaborate.
2 changes: 1 addition & 1 deletion .github/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
## First: go read the [Architect Code of Conduct](/.github/CODE_OF_CONDUCT.md)

### Agreement to the Architect Code of Conduct
By participating in and contributing to the Architect community — including, but not limited to its open source projects, any related online venues such as GitHub, Slack, and in-person events, etc. — you agree to the [Architect Code of Conduct](/.github/CODE_OF_CONDUCT.md).
By participating in and contributing to the Architect community — including, but not limited to its open source projects, any related online venues such as GitHub, Discord, and in-person events, etc. — you agree to the [Architect Code of Conduct](/.github/CODE_OF_CONDUCT.md).

Lack of familiarity with this Code of Conduct is not an excuse for not adhering to it.
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

To maintain a high standard of quality in our releases, before merging every pull request we ask that you've completed the following:

- [ ] Forked the repo and created your branch from `master`
- [ ] Forked the repo and created your branch from `main`
- [ ] Made sure tests pass (run `npm it` from the repo root)
- [ ] Updated relevant documentation internal to this repo (e.g. `readme.md`, help docs, inline docs & comments, etc.)
- [ ] Linked to any related issues, PRs, etc. below that may relate to, consume, or necessitate these changes

Please also be sure to completed the CLA as it's required for your PR to be merged. A github comment will prompt you if you haven't already.

Learn more about [contributing to Architect here](https://arc.codes/intro/community).
Learn more about [contributing to Architect here](/docs/en/about/contribute).

Thanks again!
93 changes: 28 additions & 65 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,97 +3,60 @@ name: Node CI
# Push tests pushes; PR tests merges
on: [ push, pull_request ]

defaults:
run:
shell: bash

jobs:

# Test the build
build:
# Setup
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [ 12.x, 14.x ]
os: [ ubuntu-latest ]
runs-on: ubuntu-latest

# Go
steps:
- name: Check out repo
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v1
- name: Build App
uses: architect/action-build@v3
with:
node-version: ${{ matrix.node-version }}
node-version: lts/*

- name: Env
run: |
echo "Event name: ${{ github.event_name }}"
echo "Git ref: ${{ github.ref }}"
echo "GH actor: ${{ github.actor }}"
echo "SHA: ${{ github.sha }}"
VER=`node --version`; echo "Node ver: $VER"
VER=`npm --version`; echo "npm ver: $VER"

- name: Install
run: npm install

- name: Hydrate
run: npx arc hydrate
env:
CI: true

- name: Test
run: npm test
env:
CI: true

- name: Notify
uses: homoluctus/slatify@master
# Only fire alert once
if: github.ref == 'refs/heads/main' && failure() && matrix.node-version == '12.x' && matrix.os == 'ubuntu-latest'
with:
type: ${{ job.status }}
job_name: '*Build*'
url: ${{ secrets.SLACK_WEBHOOK }}
commit: true
token: ${{ secrets.GITHUB_TOKEN }}

# Assuming all that went fine (and it's master): deploy!
# Assuming all that went fine (and it's main): deploy!
deploy:
# Setup
needs: build
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest

# Go
steps:
- name: Check out repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 12
node-version: lts/*

- name: Install
run: npm i --production
run: npm i

- name: Staging Deploy
if: github.ref == 'refs/heads/main'
run: npx arc deploy --staging
env:
CI: true
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

- name: Deploy
run: npm run deploy
- name: Production Deploy
if: startsWith(github.ref, 'refs/tags/v')
run: npx arc deploy --production
env:
CI: true
AWS_ACCESS_KEY_ID: ${{ secrets.V8_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.V8_AWS_SECRET_ACCESS_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

- name: Notify
uses: homoluctus/slatify@master
uses: sarisia/actions-status-discord@v1
if: always()
with:
type: ${{ job.status }}
job_name: '*Deploy*'
url: ${{ secrets.SLACK_WEBHOOK }}
commit: true
token: ${{ secrets.GITHUB_TOKEN }}
webhook: ${{ secrets.DISCORD_WEBHOOK }}
title: "deploy build"
color: 0x222222
username: GitHub Actions
16 changes: 16 additions & 0 deletions .github/workflows/link-checker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: "Arc.codes Link Checker"
on: [ pull_request ]
defaults:
run:
shell: bash
jobs:
linkchecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: lts/*
- run: npm i
- run: npx arc hydrate
- run: npm run link-checker
30 changes: 30 additions & 0 deletions .github/workflows/woke.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 'woke'
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
woke:
name: 'woke'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v3

- name: 'Changed files'
uses: jitterbit/get-changed-files@v1
id: files
continue-on-error: true

- name: 'woke'
uses: get-woke/woke-action@v0
with:
github-token: ${{ github.token }}
# Cause the check to fail on any broke rules
fail-on-error: true
# See https://github.com/marketplace/actions/get-all-changed-files
# for more options
woke-args: ${{ steps.files.outputs.added_modified }}
9 changes: 6 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
.arc-env
.DS_Store
**/static.json
node_modules
package-lock.json
scratch
sam.json
sam.yaml
public/static.json
**/static.json
src/http/get-docs-000lang-catchall/highlight/
.enhance
src/shared/enhance-styles
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
23 changes: 23 additions & 0 deletions app.arc
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
@app
arc-codes

@aws
region us-west-2
profile openjsf

@static
fingerprint true

@http
get /
get /docs/:lang/*
get /api/package
any /*

@plugins
spellcheck
architect/plugin-node-prune
enhance/arc-plugin-styles

@enhance-styles
config theme.json
26 changes: 26 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import arc from '@architect/eslint-config'
import importPlugin from 'eslint-plugin-import'

export default [
...arc,
{
languageOptions: {
parserOptions: {
ecmaVersion: 2022,
sourceType: 'module'
}
},
plugins: {
import: importPlugin.flatConfigs.recommended.plugins.import
},
rules: {
'import/no-commonjs': 'error',
'import/extensions': [
'error',
'ignorePackages'
],
// Additive to our old `import` config, but everything seems quite sane!
...importPlugin.flatConfigs.recommended.rules,
}
},
]
Loading