Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
30c1ad5
chore: ivy compatibility
Jan 19, 2024
3fbe1d6
feat: upgrade for angular 18
steveblue Sep 26, 2024
a860ef5
feat: upgrade cli
steveblue Jan 31, 2025
6125172
feat: upgrade dependencies
steveblue Jan 31, 2025
b3f1781
feat: angular 19
steveblue Feb 1, 2025
6eae7b3
upgraded angular cli to v20 and node to v20.19
MarkColeman1 Jun 25, 2025
26bef51
upgrade node version on workflow action
MarkColeman1 Jun 25, 2025
49f42a4
upgraded to angular 20 and migrated control flow syntax
MarkColeman1 Jun 25, 2025
7ceb045
upgrade angular-builders package to support angular v20
MarkColeman1 Jun 25, 2025
e8ac423
upgraded node to v22.16
MarkColeman1 Jun 25, 2025
9ba3a0d
(release): 11.0.0-alpha.0
MarkColeman1 Jun 25, 2025
b947b5d
comment broken cypress test
MarkColeman1 Jun 25, 2025
cb32913
(release): 11.0.0
MarkColeman1 Aug 20, 2025
c3bf970
Storybook v1
jogaj Apr 29, 2026
8b0d4c3
Storybook v2
jogaj Apr 29, 2026
fdf3757
Storybook v3
jogaj Apr 29, 2026
6e9710d
Storybook v4
jogaj Apr 29, 2026
515a855
Cypress v1
jogaj Apr 30, 2026
3f0a2c7
Removing docSpa site
jogaj Apr 30, 2026
be34802
Removing docSpa v2
jogaj Apr 30, 2026
5b1b15b
Angular upgrade v1
jogaj Apr 30, 2026
297a787
Angular upgrade v2
jogaj Apr 30, 2026
c603030
Changelog update
jogaj Apr 30, 2026
9e3fa2b
Github actions v1
jogaj Apr 30, 2026
d2df51b
Packages sync
jogaj Apr 30, 2026
484e593
Github actions v2
jogaj Apr 30, 2026
38e4fb0
Gitignore v1
jogaj Apr 30, 2026
2d37ce0
Cypress v2
jogaj Apr 30, 2026
1939850
Removed duplicate method
jogaj Apr 30, 2026
82ef4bc
Test with chrome
jogaj Apr 30, 2026
03ebd79
Updating package json
jogaj Apr 30, 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
29 changes: 29 additions & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ extends:
overrides:
- files:
- '*.ts'
- '!projects/swimlane/ngx-dnd/src/**/*.stories.ts'
- '!projects/swimlane/ngx-dnd/.storybook/**/*.ts'
parser: '@typescript-eslint/parser'
parserOptions:
project:
Expand All @@ -16,8 +18,35 @@ overrides:
- plugin:@angular-eslint/template/process-inline-templates
- prettier
rules:
'@angular-eslint/prefer-standalone': off
'@angular-eslint/prefer-inject': off
'@typescript-eslint/no-explicit-any': off
'@typescript-eslint/no-var-requires': off
'@typescript-eslint/no-require-imports': off
'@angular-eslint/no-output-native': off
'@angular-eslint/no-input-rename': off
- files:
- 'projects/swimlane/ngx-dnd/src/lib/declarations.d.ts'
rules:
no-var: off
- files:
- 'projects/swimlane/ngx-dnd/src/**/*.stories.ts'
- 'projects/swimlane/ngx-dnd/.storybook/**/*.ts'
parser: '@typescript-eslint/parser'
parserOptions:
project:
- projects/swimlane/ngx-dnd/tsconfig.storybook.json
createDefaultProgram: true
extends:
- '@swimlane/eslint-config/typescript'
- plugin:@angular-eslint/recommended
- prettier
rules:
'@angular-eslint/prefer-standalone': off
'@angular-eslint/prefer-inject': off
'@typescript-eslint/no-explicit-any': off
'@typescript-eslint/no-var-requires': off
'@typescript-eslint/no-require-imports': off
- files:
- '*.html'
extends:
Expand Down
21 changes: 17 additions & 4 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 12.x
node-version: '22.16'
cache: npm

- name: Install
uses: bahmutov/npm-install@v1
Expand All @@ -22,16 +26,25 @@ jobs:
env:
CI: true

- name: Build Storybook
run: |
npm run build:storybook
env:
CI: true

- name: Test
run: |
npm run ci --if-present
env:
CI: true

- name: Prepare and deploy
run: |
npm run deploy --if-present -- --name="Swimlane" --email="swimlane-devops@swimlane.com"
if: ${{ github.ref == 'refs/heads/master' }}
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: ./dist/storybook/ngx-dnd
clean: true
env:
CI: true
GH_TOKEN: ${{ secrets.GH_TOKEN }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ node_modules/
/coverage
/libpeerconnection.log
npm-debug.log
/.yarn
yarn-error.log
testem.log
/typings
Expand All @@ -42,6 +43,5 @@ Thumbs.db

# Cypress
cypress/videos
cypress/support
cypress/plugins
cypress/screenshots
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@

## HEAD (Unreleased)

- Bump to Cypress version 10.6.0
## 12.0.0-alpha.0 (2026-04-30)

- Added support for Angular 21
- Replaced docSpa with storybook
- Removed support for Angular 18
- Updated cypress tests to run against storybook

## 11.0.0 (2025-08-20)

- Added support for Angular 20
- Removed support for Angular 17 and earlier versions

## 9.0.0 (2021-03-30)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ This project uses [heff/chg](https://github.com/heff/chg), a simple changelog/re
- Clean and test (Optional)
- Run `rm -rf node_modules`
- Run `npm i`
- Run tests (`npm run test:ci`)
- Run tests (`npm run test:release`)
- Examine CHANGELOG.md to determine next version (X.Y.Z)
- Run `git checkout -b release/X.Y.Z`
- Update version using `npm version [<newversion> | major | minor | patch]`
Expand Down
51 changes: 37 additions & 14 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": 1,
"newProjectRoot": "projects",
"cli": {
"defaultCollection": "@angular-eslint/schematics"
"analytics": false
},
"projects": {
"ngx-dnd": {
Expand All @@ -14,9 +14,11 @@
"schematics": {},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"builder": "@angular-builders/custom-webpack:browser",
"options": {
"aot": false,
"customWebpackConfig": {
"path": "./webpack.config.js"
},
"outputPath": "dist/ngx-dnd",
"index": "src/index.html",
"main": "src/main.ts",
Expand Down Expand Up @@ -99,29 +101,23 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "ngx-dnd:build"
"buildTarget": "ngx-dnd:build"
},
"configurations": {
"production": {
"browserTarget": "ngx-dnd:build:production"
"buildTarget": "ngx-dnd:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "ngx-dnd:build"
"buildTarget": "ngx-dnd:build"
}
},
"deploy": {
"builder": "angular-cli-ghpages:deploy",
"options": {}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
}
}
}
},
Expand All @@ -143,9 +139,36 @@
"tsConfig": "projects/swimlane/ngx-dnd/tsconfig.lib.prod.json"
}
}
},
"storybook": {
"builder": "@storybook/angular:start-storybook",
"options": {
"configDir": "projects/swimlane/ngx-dnd/.storybook",
"browserTarget": "@swimlane/ngx-dnd:build",
"tsConfig": "projects/swimlane/ngx-dnd/tsconfig.storybook.json",
"compodoc": false,
"port": 6006,
"styles": ["projects/swimlane/ngx-dnd/src/lib/ngx-dnd.scss"]
}
},
"build-storybook": {
"builder": "@storybook/angular:build-storybook",
"options": {
"configDir": "projects/swimlane/ngx-dnd/.storybook",
"browserTarget": "@swimlane/ngx-dnd:build",
"tsConfig": "projects/swimlane/ngx-dnd/tsconfig.storybook.json",
"compodoc": false,
"outputDir": "dist/storybook/ngx-dnd",
"styles": ["projects/swimlane/ngx-dnd/src/lib/ngx-dnd.scss"]
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": ["projects/swimlane/ngx-dnd/**/*.ts"]
}
}
}
}
},
"defaultProject": "ngx-dnd"
}
}
8 changes: 6 additions & 2 deletions cypress.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
import { defineConfig } from 'cypress';

/**
* E2E tests run against Storybook’s preview iframe
*/
export default defineConfig({
e2e: {
supportFile: false,
setupNodeEvents(on, config) {}
baseUrl: 'http://localhost:6006',
supportFile: 'cypress/support/e2e.ts',
setupNodeEvents(on) {}
}
});
Loading
Loading