diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index 9113e11..0000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Publish and Release - -on: - pull_request: - types: [closed] - branches: - - master - - alpha-* - -jobs: - publish-and-release: - runs-on: ubuntu-latest - if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/') - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - with: - fetch-depth: 0 - - - name: Setup Node.js - uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3 - with: - node-version: '18.20.0' - registry-url: 'https://npm.pkg.github.com' - scope: '@brainly' - env: - NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - uses: pnpm/action-setup@v4 - with: - version: 9.12.0 - - name: Restore cached npm dependencies - uses: actions/cache/restore@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3 - with: - path: node_modules - key: npm-dependencies-${{ hashFiles('pnpm-lock.yaml') }} - - name: Install dependencies - run: pnpm install --frozen-lockfile - - name: Cache npm dependencies - uses: actions/cache/save@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3 - with: - path: node_modules - key: npm-dependencies-${{ hashFiles('pnpm-lock.yaml') }} diff --git a/.npmrc b/.npmrc index 6e33dcb..18b7029 100644 --- a/.npmrc +++ b/.npmrc @@ -1,5 +1,3 @@ -//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN} -@brainly:registry=https://npm.pkg.github.com auto-install-peers=true engine-strict=true save-exact=true diff --git a/package.json b/package.json index 273d78c..a9288fa 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,12 @@ { - "version": "0.0.1", + "version": "0.1.0", + "license": "Apache-2.0", "scripts": { "generate-package": "nx generate library --publishable --buildable", "build": "pnpm nx run-many --target=build --all", "test": "pnpm nx run-many --target=test --all", "lint": "pnpm nx run-many --target=lint --all" }, - "license": "Apache-2.0", - "private": true, "pnpm": { "overrides": { "react": "18.3.1", diff --git a/packages/eslint-plugin-gene/package.json b/packages/eslint-plugin-gene/package.json index f22ba1f..bf6b91f 100644 --- a/packages/eslint-plugin-gene/package.json +++ b/packages/eslint-plugin-gene/package.json @@ -1,6 +1,7 @@ { "name": "@brainly-gene/eslint-plugin-gene", - "version": "0.0.1", + "version": "0.1.0", + "license": "Apache-2.0", "main": "src/index.js", "generators": "./generators.json", "executors": "./executors.json", @@ -12,4 +13,4 @@ "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^28.8.3" } -} \ No newline at end of file +} diff --git a/packages/gene-apollo/package.json b/packages/gene-apollo/package.json index 0f2495b..06bf735 100644 --- a/packages/gene-apollo/package.json +++ b/packages/gene-apollo/package.json @@ -1,9 +1,5 @@ { "name": "@brainly-gene/apollo", - "version": "0.0.1", - "publishConfig": { - "registry": "https://npm.pkg.github.com/", - "access": "restricted", - "@brainly:registry": "https://npm.pkg.github.com/" - } -} \ No newline at end of file + "version": "0.1.0", + "license": "Apache-2.0" +} diff --git a/packages/gene-next/package.json b/packages/gene-next/package.json index 95bf914..7ea221b 100644 --- a/packages/gene-next/package.json +++ b/packages/gene-next/package.json @@ -1,12 +1,8 @@ { "name": "@brainly-gene/next", - "version": "0.0.1", - "publishConfig": { - "registry": "https://npm.pkg.github.com/", - "access": "restricted", - "@brainly:registry": "https://npm.pkg.github.com/" - }, + "version": "0.1.0", + "license": "Apache-2.0", "dependencies": { "@next/bundle-analyzer": "12.3.4" } -} \ No newline at end of file +} diff --git a/packages/gene-sentry/package.json b/packages/gene-sentry/package.json index 0f02ef2..46715ca 100644 --- a/packages/gene-sentry/package.json +++ b/packages/gene-sentry/package.json @@ -1,9 +1,5 @@ { "name": "@brainly-gene/sentry", - "version": "0.0.1", - "publishConfig": { - "registry": "https://npm.pkg.github.com/", - "access": "restricted", - "@brainly:registry": "https://npm.pkg.github.com/" - } -} \ No newline at end of file + "version": "0.1.0", + "license": "Apache-2.0" +} diff --git a/packages/gene-tools/package.json b/packages/gene-tools/package.json index 570530d..5f347e8 100644 --- a/packages/gene-tools/package.json +++ b/packages/gene-tools/package.json @@ -1,13 +1,9 @@ { "name": "@brainly-gene/tools", - "version": "0.0.1", + "version": "0.1.0", + "license": "Apache-2.0", "generators": "./generators.json", "executors": "./executors.json", - "publishConfig": { - "registry": "https://npm.pkg.github.com/", - "access": "restricted", - "@brainly:registry": "https://npm.pkg.github.com/" - }, "bin": { "create-gene-workspace": "./bin/create-gene-workspace.js" }, @@ -23,4 +19,4 @@ "@angular-devkit/core": "11.2.0", "@angular-devkit/schematics": "11.2.0" } -} \ No newline at end of file +} diff --git a/packages/gene/package.json b/packages/gene/package.json index a17d35f..a9c7b23 100644 --- a/packages/gene/package.json +++ b/packages/gene/package.json @@ -1,10 +1,6 @@ { "name": "@brainly-gene/core", - "version": "0.0.1", - "main": "./src/index.js", - "publishConfig": { - "registry": "https://npm.pkg.github.com/", - "access": "restricted", - "@brainly:registry": "https://npm.pkg.github.com/" - } -} \ No newline at end of file + "version": "0.1.0", + "license": "Apache-2.0", + "main": "./src/index.js" +}