├── .commitlintrc.json ├── .editorconfig ├── .eslintignore ├── .eslintrc.base.json ├── .eslintrc.json ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── 1-bug.yml │ ├── 2-feature.md │ ├── 3-documentation.md │ └── config.yml ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── ci.yml │ └── release.yml ├── .gitignore ├── .husky └── commit-msg ├── .npmrc ├── .nvmrc ├── .prettierignore ├── .prettierrc ├── .verdaccio └── config.yml ├── .vscode ├── extensions.json └── settings.json ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── examples └── cloudflare-next-app │ ├── .eslintrc.json │ ├── index.d.ts │ ├── jest.config.ts │ ├── next-env.d.ts │ ├── next.config.js │ ├── package.json │ ├── pnpm-lock.yaml │ ├── project.json │ ├── public │ ├── .gitkeep │ └── favicon.ico │ ├── src │ └── app │ │ ├── api │ │ └── hello │ │ │ └── route.ts │ │ ├── global.css │ │ ├── layout.tsx │ │ ├── page.module.css │ │ └── page.tsx │ ├── tsconfig.json │ └── tsconfig.spec.json ├── jest.config.ts ├── jest.preset.js ├── nx.json ├── package.json ├── packages ├── e2e-utils │ ├── .eslintrc.json │ ├── README.md │ ├── project.json │ ├── src │ │ ├── index.ts │ │ └── lib │ │ │ ├── create-test-project.ts │ │ │ ├── get-env-info.ts │ │ │ ├── log-utils.ts │ │ │ ├── process-utils.ts │ │ │ └── run-nx-commands.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── tsconfig.spec.json ├── gonx-e2e │ ├── .eslintrc.json │ ├── jest.config.ts │ ├── project.json │ ├── src │ │ ├── application.spec.ts │ │ └── library.spec.ts │ ├── tsconfig.json │ └── tsconfig.spec.json ├── gonx │ ├── .eslintrc.json │ ├── README.md │ ├── docs │ │ ├── executors │ │ │ ├── build.md │ │ │ ├── lint.md │ │ │ ├── nx-release-publish.md │ │ │ ├── serve.md │ │ │ ├── test.md │ │ │ └── tidy.md │ │ ├── generators │ │ │ ├── application.md │ │ │ ├── convert-to-one-mod.md │ │ │ ├── init.md │ │ │ ├── library.md │ │ │ └── preset.md │ │ └── options.md │ ├── executors.json │ ├── generators.json │ ├── jest.config.ts │ ├── package.json │ ├── project.json │ ├── src │ │ ├── constants.ts │ │ ├── executors │ │ │ ├── build │ │ │ │ ├── executor.spec.ts │ │ │ │ ├── executor.ts │ │ │ │ ├── schema.d.ts │ │ │ │ └── schema.json │ │ │ ├── lint │ │ │ │ ├── executor.spec.ts │ │ │ │ ├── executor.ts │ │ │ │ ├── schema.d.ts │ │ │ │ └── schema.json │ │ │ ├── nx-release-publish │ │ │ │ ├── nx-release-publish.spec.ts │ │ │ │ ├── nx-release-publish.ts │ │ │ │ ├── schema.d.ts │ │ │ │ └── schema.json │ │ │ ├── serve │ │ │ │ ├── executor.spec.ts │ │ │ │ ├── executor.ts │ │ │ │ ├── schema.d.ts │ │ │ │ └── schema.json │ │ │ ├── test │ │ │ │ ├── executor.spec.ts │ │ │ │ ├── executor.ts │ │ │ │ ├── schema.d.ts │ │ │ │ └── schema.json │ │ │ └── tidy │ │ │ │ ├── executor.spec.ts │ │ │ │ ├── executor.ts │ │ │ │ ├── schema.d.ts │ │ │ │ └── schema.json │ │ ├── generators │ │ │ ├── application │ │ │ │ ├── files │ │ │ │ │ ├── main.go.template │ │ │ │ │ └── main_test.go.template │ │ │ │ ├── generator.spec.ts │ │ │ │ ├── generator.ts │ │ │ │ ├── schema.d.ts │ │ │ │ └── schema.json │ │ │ ├── convert-to-one-mod │ │ │ │ ├── generator.spec.ts │ │ │ │ ├── generator.ts │ │ │ │ ├── schema.d.ts │ │ │ │ └── schema.json │ │ │ ├── init │ │ │ │ ├── generator.spec.ts │ │ │ │ ├── generator.ts │ │ │ │ ├── schema.d.ts │ │ │ │ └── schema.json │ │ │ ├── library │ │ │ │ ├── files │ │ │ │ │ ├── __projectName__.go.template │ │ │ │ │ └── __projectName___test.go.template │ │ │ │ ├── generator.spec.ts │ │ │ │ ├── generator.ts │ │ │ │ ├── schema.d.ts │ │ │ │ └── schema.json │ │ │ └── preset │ │ │ │ ├── generator.spec.ts │ │ │ │ ├── generator.ts │ │ │ │ ├── schema.d.ts │ │ │ │ └── schema.json │ │ ├── graph │ │ │ ├── create-dependencies.ts │ │ │ ├── createNodesV2.ts │ │ │ ├── types │ │ │ │ ├── go-import-with-module.ts │ │ │ │ ├── go-list-type.ts │ │ │ │ ├── go-module.ts │ │ │ │ ├── go-plugin-options.ts │ │ │ │ └── project-root-map.ts │ │ │ └── utils │ │ │ │ ├── compute-go-modules.ts │ │ │ │ ├── create-nodes-internal.ts │ │ │ │ ├── extract-project-root-map.ts │ │ │ │ ├── get-file-module-imports.ts │ │ │ │ ├── get-go-modules.ts │ │ │ │ ├── get-project-name-for-go-imports.ts │ │ │ │ ├── has-main-package.ts │ │ │ │ ├── parse-go-list.ts │ │ │ │ ├── regexs.ts │ │ │ │ └── targets │ │ │ │ ├── build.ts │ │ │ │ ├── get-targets-by-project-type.ts │ │ │ │ ├── lint.ts │ │ │ │ ├── release-publish.ts │ │ │ │ ├── serve.ts │ │ │ │ ├── test-target.ts │ │ │ │ └── tidy.ts │ │ ├── index.ts │ │ ├── release │ │ │ └── go-version-actions.ts │ │ └── utils │ │ │ ├── execute-command.spec.ts │ │ │ ├── execute-command.ts │ │ │ ├── find-main-go-files.ts │ │ │ ├── get-project-root-from-schema.ts │ │ │ ├── get-project-tag-from-schema.ts │ │ │ ├── go-bridge.spec.ts │ │ │ ├── go-bridge.ts │ │ │ ├── index.ts │ │ │ ├── normalize-options.spec.ts │ │ │ ├── normalize-options.ts │ │ │ ├── npm-bridge.spec.ts │ │ │ ├── npm-bridge.ts │ │ │ ├── nx-bridge.spec.ts │ │ │ └── nx-bridge.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── tsconfig.spec.json ├── nx-cloudflare-e2e │ ├── .eslintrc.json │ ├── jest.config.ts │ ├── project.json │ ├── src │ │ ├── application.spec.ts │ │ └── library.spec.ts │ ├── tsconfig.json │ └── tsconfig.spec.json └── nx-cloudflare │ ├── .eslintrc.json │ ├── README.md │ ├── executors.json │ ├── generators.json │ ├── jest.config.ts │ ├── package.json │ ├── plugins │ ├── with-nx.spec.ts │ └── with-nx.ts │ ├── project.json │ ├── src │ ├── executors │ │ ├── deploy │ │ │ ├── executor.ts │ │ │ ├── schema.d.ts │ │ │ └── schema.json │ │ ├── next-build │ │ │ ├── executor.ts │ │ │ ├── lib │ │ │ │ ├── check-project.ts │ │ │ │ ├── create-next-config-file.spec.ts │ │ │ │ ├── create-next-config-file.ts │ │ │ │ ├── test-fixtures │ │ │ │ │ ├── config-js │ │ │ │ │ │ ├── nested.c.cjs │ │ │ │ │ │ ├── nested │ │ │ │ │ │ │ ├── a.cjs │ │ │ │ │ │ │ └── b.cjs │ │ │ │ │ │ └── next.config.cjs │ │ │ │ │ ├── config-mjs │ │ │ │ │ │ ├── a.mjs │ │ │ │ │ │ └── next.config.mjs │ │ │ │ │ └── ensure-exts │ │ │ │ │ │ ├── bar.mjs │ │ │ │ │ │ ├── baz.json │ │ │ │ │ │ ├── faz.cjs │ │ │ │ │ │ ├── foo.cjs │ │ │ │ │ │ └── nested │ │ │ │ │ │ └── baz.cjs │ │ │ │ └── update-package-json.ts │ │ │ └── schema.json │ │ └── serve │ │ │ ├── executor.ts │ │ │ ├── schema.d.ts │ │ │ └── schema.json │ ├── generators │ │ ├── application │ │ │ ├── files │ │ │ │ ├── common │ │ │ │ │ ├── .gitignore__tmpl__ │ │ │ │ │ ├── package.json__tmpl__ │ │ │ │ │ ├── vitest.config.ts__tmpl__ │ │ │ │ │ └── wrangler.toml__tmpl__ │ │ │ │ ├── fetch-handler │ │ │ │ │ ├── index.integration.test.ts__tmpl__ │ │ │ │ │ ├── index.test.ts__tmpl__ │ │ │ │ │ └── index.ts__tmpl__ │ │ │ │ ├── hono │ │ │ │ │ ├── index.test.ts__tmpl__ │ │ │ │ │ └── index.ts__tmpl__ │ │ │ │ └── scheduled-handler │ │ │ │ │ ├── index.integration.test.ts__tmpl__ │ │ │ │ │ ├── index.test.ts__tmpl__ │ │ │ │ │ └── index.ts__tmpl__ │ │ │ ├── generator.spec.ts │ │ │ ├── generator.ts │ │ │ ├── schema.d.ts │ │ │ ├── schema.json │ │ │ └── utils │ │ │ │ ├── get-account-id.ts │ │ │ │ └── vitest-imports.ts │ │ ├── init │ │ │ ├── generator.spec.ts │ │ │ ├── generator.ts │ │ │ ├── schema.d.ts │ │ │ └── schema.json │ │ └── library │ │ │ ├── __snapshots__ │ │ │ └── generator.spec.ts.snap │ │ │ ├── generator.spec.ts │ │ │ ├── generator.ts │ │ │ ├── schema.d.ts │ │ │ └── schema.json │ └── utils │ │ ├── compose-plugins.ts │ │ ├── config.ts │ │ ├── create-cli-options.ts │ │ ├── create-copy-plugin.ts │ │ ├── types.ts │ │ └── versions.ts │ ├── tsconfig.json │ ├── tsconfig.lib.json │ └── tsconfig.spec.json ├── pnpm-lock.yaml ├── project.json ├── tools ├── scripts │ ├── registry.d.ts │ ├── start-local-registry.ts │ ├── stop-local-registry.ts │ └── unit-test-setup.js └── tsconfig.tools.json ├── tsconfig.base.json └── vitest.workspace.ts /.commitlintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["@commitlint/config-conventional"], 3 | "rules": {} 4 | } 5 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # Editor configuration, see http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | indent_size = 2 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | max_line_length = off 13 | trim_trailing_whitespace = false 14 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | -------------------------------------------------------------------------------- /.eslintrc.base.json: -------------------------------------------------------------------------------- 1 | { 2 | "root": true, 3 | "ignorePatterns": ["**/*"], 4 | "plugins": ["@nx"], 5 | "overrides": [ 6 | { 7 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 8 | "rules": { 9 | "@nx/enforce-module-boundaries": [ 10 | "error", 11 | { 12 | "enforceBuildableLibDependency": true, 13 | "allow": [], 14 | "depConstraints": [ 15 | { 16 | "sourceTag": "*", 17 | "onlyDependOnLibsWithTags": ["*"] 18 | } 19 | ] 20 | } 21 | ] 22 | } 23 | }, 24 | { 25 | "files": ["*.ts", "*.tsx"], 26 | "extends": ["plugin:@nx/typescript"], 27 | "rules": {} 28 | }, 29 | { 30 | "files": ["*.js", "*.jsx"], 31 | "extends": ["plugin:@nx/javascript"], 32 | "rules": {} 33 | }, 34 | { 35 | "files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"], 36 | "env": { 37 | "jest": true 38 | }, 39 | "rules": {} 40 | } 41 | ] 42 | } 43 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "ignorePatterns": ["**/*"], 3 | "overrides": [ 4 | { 5 | "files": "*.json", 6 | "parser": "jsonc-eslint-parser", 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 11 | "rules": { 12 | "@nx/enforce-module-boundaries": [ 13 | "error", 14 | { 15 | "enforceBuildableLibDependency": true, 16 | "allow": [], 17 | "depConstraints": [ 18 | { 19 | "sourceTag": "*", 20 | "onlyDependOnLibsWithTags": ["*"] 21 | } 22 | ] 23 | } 24 | ] 25 | } 26 | }, 27 | { 28 | "files": ["*.ts", "*.tsx"], 29 | "rules": {} 30 | }, 31 | { 32 | "files": ["*.js", "*.jsx"], 33 | "rules": {} 34 | }, 35 | { 36 | "files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"], 37 | "env": { 38 | "jest": true 39 | }, 40 | "rules": {} 41 | }, 42 | { 43 | "files": ["./package.json", "./generators.json"], 44 | "parser": "jsonc-eslint-parser", 45 | "rules": { 46 | "@nx/nx-plugin-checks": "error" 47 | } 48 | } 49 | ], 50 | "extends": ["./.eslintrc.base.json"] 51 | } 52 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [NachoVazquez] 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/1-bug.yml: -------------------------------------------------------------------------------- 1 | name: 🐞 Bug Report 2 | description: This form is to report unexpected behavior in the nx-cloudflare plugin. 3 | labels: ['type: bug'] 4 | body: 5 | - type: markdown 6 | attributes: 7 | value: | 8 | Thank you for taking your precious time to file an issue! 🙏 We are sorry for the inconvenience this issue has caused you and want to resolve it as soon as possible. 9 | 10 | Help us help you! We know that your time is precious and hate to ask for any more of it, but the first step in fixing this issue is to understand the issue. Taking some extra time to ensure that we are able to reproduce the issue will help us significantly in resolving the issue. 11 | - type: textarea 12 | id: current-behavior 13 | attributes: 14 | label: Current Behavior 15 | description: What is the behavior that currently you experience? 16 | validations: 17 | required: true 18 | - type: textarea 19 | id: expected-behavior 20 | attributes: 21 | label: Expected Behavior 22 | description: What is the behavior that you expect to happen? 23 | validations: 24 | required: true 25 | - type: input 26 | id: repo 27 | attributes: 28 | label: GitHub Repo 29 | description: | 30 | This is extremely important! If this issue is reproduce-able on https://github.com/nrwl/nx-examples, you may use that as the repo. 31 | If not, please do take a few minutes of your time to create a repo to help us reproduce the issue. 32 | This is the best way to help us reproduce the issue and fix it as soon as possible. 33 | - type: textarea 34 | id: reproduction 35 | attributes: 36 | label: Steps to Reproduce 37 | description: Please provide some instructions to reproduce the issue in the repo provided above. Be as detailed as possible. 38 | value: | 39 | 1. 40 | validations: 41 | required: true 42 | - type: textarea 43 | id: nx-report 44 | attributes: 45 | label: Nx Report 46 | description: Please paste the contents shown by `nx report`. This will be automatically formatted into code, so no need for backticks. 47 | render: shell 48 | validations: 49 | required: true 50 | - type: textarea 51 | id: logs 52 | attributes: 53 | label: Failure Logs 54 | description: Please include any relevant log snippets or files here. This will be automatically formatted into code, so no need for backticks. 55 | render: shell 56 | - type: checkboxes 57 | id: os 58 | attributes: 59 | label: Operating System 60 | description: What Operating System are you using? 61 | options: 62 | - label: macOS 63 | - label: Linux 64 | - label: Windows 65 | - label: Other (Please specify) 66 | - type: textarea 67 | id: additional 68 | attributes: 69 | label: Additional Information 70 | description: Is there any additional information that you can provide? 71 | - type: markdown 72 | id: disclaimer 73 | attributes: 74 | value: | 75 | > If we are not able to reproduce the issue, we will likely prioritize fixing other issues we can reproduce. Please do your best to fill out all of the sections above. 76 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/2-feature.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: "\U0001F680 Feature Request" 3 | about: Suggest a new feature. 4 | labels: "type: feature" 5 | 6 | --- 7 | 8 | 9 | 10 | - [ ] I'd be willing to implement this feature ([contributing guide](https://github.com/naxodev/oss/blob/main/CONTRIBUTING.md)) 11 | 12 | 13 | ## Description 14 | 15 | 16 | ## Motivation 17 | 18 | 19 | ## Suggested Implementation 20 | 21 | 22 | ## Alternate Implementations 23 | 24 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/3-documentation.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: "📖 Documentation issue" 3 | about: Help improve our docs. 4 | labels: "type: docs" 5 | --- 6 | ### Documentation issue 7 | 8 | 9 | 10 | - [ ] Reporting a typo 11 | - [ ] Reporting a documentation bug 12 | - [ ] Documentation improvement 13 | - [ ] Documentation feedback 14 | 15 | 19 | 20 | ### Is there a specific documentation page you are reporting? 21 | 22 | Enter the URL or documentation section here. 23 | 24 | ### Additional context or description 25 | 26 | Provide any additional details here as needed. 27 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## PR Checklist 2 | 3 | Please check if your PR fulfills the following requirements: 4 | 5 | - [ ] The commit message follows our guidelines: CONTRIBUTING.md#commit 6 | - [ ] Tests for the changes have been added (for bug fixes / features) 7 | - [ ] Docs have been added / updated (for bug fixes / features) 8 | 9 | ## PR Type 10 | 11 | What kind of change does this PR introduce? 12 | 13 | 14 | 15 | ``` 16 | [ ] Bugfix 17 | [ ] Feature 18 | [ ] Code style update (formatting, local variables) 19 | [ ] Refactoring (no functional changes, no api changes) 20 | [ ] Build related changes 21 | [ ] CI related changes 22 | [ ] Documentation content changes 23 | [ ] Other... Please describe: 24 | ``` 25 | 26 | ## What is the current behavior? 27 | 28 | 29 | 30 | Issue Number: N/A 31 | 32 | ## What is the new behavior? 33 | 34 | ## Does this PR introduce a breaking change? 35 | 36 | ``` 37 | [ ] Yes 38 | [ ] No 39 | ``` 40 | 41 | 42 | 43 | ## Other information 44 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | name: CI 2 | 3 | on: 4 | push: 5 | branches: 6 | - main 7 | pull_request: 8 | 9 | permissions: 10 | actions: read 11 | contents: read 12 | 13 | concurrency: 14 | # Group concurrency on workflow, then: 15 | # - Is merge run? Group on branch name (`refs/heads/main`) 16 | # - Is pull request? Group on pull request branch name, for example `feat/add-awesome-feature` 17 | group: >- 18 | ${{ github.workflow }}-${{ 19 | github.event_name == 'push' 20 | && github.ref 21 | || github.head_ref 22 | }} 23 | # Run merge workflows in sequence to prevent parallel deployments and releases 24 | # Cancel stale pull request runs in progress for the same branch 25 | cancel-in-progress: ${{ github.event_name != 'push' }} 26 | 27 | env: 28 | NODE_OPTIONS: --max-old-space-size=6144 29 | 30 | 31 | jobs: 32 | main: 33 | runs-on: ubuntu-latest 34 | steps: 35 | - uses: actions/checkout@v4 36 | with: 37 | fetch-depth: 0 38 | 39 | - uses: pnpm/action-setup@v2 40 | with: 41 | version: 9 42 | # Cache node_modules 43 | - uses: actions/setup-node@v4 44 | with: 45 | node-version: 20 46 | cache: 'pnpm' 47 | - run: pnpm install --frozen-lockfile 48 | 49 | # Connect your workspace on nx.app and uncomment this to enable task distribution. 50 | # The "--stop-agents-after" is optional, but allows idle agents to shut down once the "build" targets have been requested 51 | # - run: pnpm dlx nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="build" 52 | 53 | 54 | - uses: nrwl/nx-set-shas@v4 55 | 56 | # - run: pnpm exec nx-cloud record -- nx format:check 57 | - run: pnpm exec nx format:check 58 | - run: pnpm exec nx affected -t lint test build e2e 59 | -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: Release 2 | 3 | on: 4 | release: 5 | types: [published] 6 | 7 | jobs: 8 | release: 9 | runs-on: ubuntu-latest 10 | permissions: 11 | contents: read 12 | id-token: write # needed for provenance data generation 13 | 14 | steps: 15 | - name: Checkout repository 16 | uses: actions/checkout@v4 17 | with: 18 | fetch-depth: 0 19 | filter: tree:0 20 | 21 | - uses: pnpm/action-setup@v2 22 | with: 23 | version: 9 24 | 25 | - uses: actions/setup-node@v4 26 | with: 27 | node-version: 20 28 | cache: 'pnpm' 29 | registry-url: 'https://registry.npmjs.org' 30 | 31 | - run: pnpm install --frozen-lockfile 32 | 33 | - name: Print Environment Info 34 | run: npx nx report 35 | shell: bash 36 | 37 | - name: Extract Project from GitHub Release Tag 38 | id: extract-project 39 | run: | 40 | RELEASE_TAG=${{ github.event.release.tag_name }} 41 | PROJECT_NAME=$(echo $RELEASE_TAG | sed -E 's/(.+)@v.*/\1/') 42 | echo "PROJECT_NAME=$PROJECT_NAME" >> $GITHUB_ENV 43 | echo "RELEASE_TAG=$RELEASE_TAG" >> $GITHUB_ENV 44 | echo "Project name: $PROJECT_NAME extracted from tag: $RELEASE_TAG" 45 | shell: bash 46 | 47 | - name: Determine if Prerelease 48 | id: check-prerelease 49 | run: | 50 | IS_PRERELEASE=${{ github.event.release.prerelease }} 51 | NPM_TAG="latest" 52 | if [ "$IS_PRERELEASE" = "true" ]; then 53 | NPM_TAG="next" 54 | fi 55 | echo "NPM_TAG=$NPM_TAG" >> $GITHUB_ENV 56 | echo "Publishing with NPM tag: $NPM_TAG" 57 | shell: bash 58 | 59 | - name: Build 60 | run: pnpm exec nx build ${{ env.PROJECT_NAME }} 61 | shell: bash 62 | 63 | - name: Publish Package 64 | shell: bash 65 | run: pnpm exec nx release publish --projects=${{ env.PROJECT_NAME }} --tag=${{ env.NPM_TAG }} 66 | env: 67 | NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} 68 | NPM_CONFIG_PROVENANCE: true 69 | # This is needed for actions/setup-node authentication to work 70 | npm_config_registry: https://registry.npmjs.org 71 | 72 | 73 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See http://help.github.com/ignore-files/ for more about ignoring files. 2 | 3 | # compiled output 4 | dist 5 | tmp 6 | /out-tsc 7 | 8 | # dependencies 9 | node_modules 10 | 11 | # IDEs and editors 12 | /.idea 13 | .project 14 | .classpath 15 | .c9/ 16 | *.launch 17 | .settings/ 18 | *.sublime-workspace 19 | 20 | # IDE - VSCode 21 | .vscode/* 22 | !.vscode/settings.json 23 | !.vscode/tasks.json 24 | !.vscode/launch.json 25 | !.vscode/extensions.json 26 | 27 | # misc 28 | /.sass-cache 29 | /connect.lock 30 | /coverage 31 | /libpeerconnection.log 32 | npm-debug.log 33 | yarn-error.log 34 | testem.log 35 | /typings 36 | 37 | # System Files 38 | .DS_Store 39 | Thumbs.db 40 | 41 | .nx/cache 42 | .nx/workspace-data 43 | 44 | # Next.js 45 | .next 46 | .vercel 47 | 48 | .angular 49 | 50 | vite.config.*.timestamp* 51 | vitest.config.*.timestamp* 52 | .opencode 53 | 54 | **/.claude/settings.local.json 55 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npx --no-install commitlint --edit $1 5 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | strict-peer-dependencies=false 2 | auto-install-peers=true 3 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 20.13 2 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | # Add files here to ignore them from prettier formatting 2 | /dist 3 | /coverage 4 | /tmp 5 | /.github 6 | pnpm-lock.yaml 7 | .vercel 8 | .next 9 | 10 | **/CHANGELOG.md 11 | 12 | /.nx/cache 13 | 14 | .angular 15 | 16 | /.nx/workspace-data -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": true 3 | } 4 | -------------------------------------------------------------------------------- /.verdaccio/config.yml: -------------------------------------------------------------------------------- 1 | # path to a directory with all packages 2 | storage: ../tmp/local-registry/storage 3 | 4 | # a list of other known repositories we can talk to 5 | uplinks: 6 | npmjs: 7 | url: https://registry.npmjs.org/ 8 | maxage: 60m 9 | 10 | packages: 11 | '**': 12 | # give all users (including non-authenticated users) full access 13 | # because it is a local registry 14 | access: $all 15 | publish: $all 16 | unpublish: $all 17 | 18 | # if package is not available locally, proxy requests to npm registry 19 | proxy: npmjs 20 | 21 | # log settings 22 | logs: 23 | type: stdout 24 | format: pretty 25 | level: warn 26 | 27 | publish: 28 | allow_offline: true # set offline to true to allow publish offline 29 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": [ 3 | "nrwl.angular-console", 4 | "esbenp.prettier-vscode", 5 | "dbaeumer.vscode-eslint", 6 | "firsttris.vscode-jest-runner" 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "eslint.validate": ["json"] 3 | } 4 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Contributor Covenant Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. 6 | 7 | ## Our Standards 8 | 9 | Examples of behavior that contributes to creating a positive environment include: 10 | 11 | - Using welcoming and inclusive language 12 | - Being respectful of differing viewpoints and experiences 13 | - Gracefully accepting constructive criticism 14 | - Focusing on what is best for the community 15 | - Showing empathy towards other community members 16 | 17 | Examples of unacceptable behavior by participants include: 18 | 19 | - The use of sexualized language or imagery and unwelcome sexual attention or advances 20 | - Trolling, insulting/derogatory comments, and personal or political attacks 21 | - Public or private harassment 22 | - Publishing others' private information, such as a physical or electronic address, without explicit permission 23 | - Other conduct which could reasonably be considered inappropriate in a professional setting 24 | 25 | ## Our Responsibilities 26 | 27 | Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. 28 | 29 | Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. 30 | 31 | ## Scope 32 | 33 | This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. 34 | 35 | ## Enforcement 36 | 37 | Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at nacho.vazquez.dev@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. 38 | 39 | Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. 40 | 41 | ## Attribution 42 | 43 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] 44 | 45 | [homepage]: http://contributor-covenant.org 46 | [version]: http://contributor-covenant.org/version/1/4/ 47 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to these OSS projects 2 | 3 | 🙏 We would ❤️ for you to contribute to these OSS projects and help make them even better than it is today! 4 | 5 | ## Developing 6 | 7 | Start by installing all dependencies: 8 | 9 | ```bash 10 | pnpm 11 | ``` 12 | 13 | Run the tests: 14 | 15 | ```bash 16 | pnpm nx test 17 | pnpm nx e2e 18 | ``` 19 | 20 | ## Coding Rules 21 | 22 | To ensure consistency throughout the source code, keep these rules in mind as you are working: 23 | 24 | - All features or bug fixes **must be tested** by one or more specs (unit-tests). 25 | - All public API methods **must be documented**. 26 | 27 | ## Commit Message Guidelines 28 | 29 | We have very precise rules over how our git commit messages can be formatted. This leads to **more 30 | readable messages** that are easy to follow when looking through the **project history**. But also, 31 | we use the git commit messages to **generate the Lumberjack changelog**. 32 | 33 | ### Commit Message Format 34 | 35 | Each commit message consists of a **header**, a **body** and a **footer**. The header has a special 36 | format that includes a **type**, a **scope** and a **subject**: 37 | 38 | ``` 39 | (): 40 | 41 | 42 | 43 |