diff --git a/CHANGELOG.md b/CHANGELOG.md index e37a887..d903133 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 1.1.0 (tbd) + +- Use new codegen plugin + ## 1.0.0 (December 9, 2024) - Initial release diff --git a/LICENSE b/LICENSE index 7f4e972..a6d1c24 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019 - 2024 smapiot +Copyright (c) 2019 - 2025 smapiot Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 77c7bc6..9e68d81 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -43,9 +43,9 @@ stages: inputs: Arguments: install - task: Yarn@2 - displayName: Test Code + displayName: Test Build inputs: - Arguments: test + Arguments: build - stage: CanaryRelease diff --git a/jest.config.js b/jest.config.js deleted file mode 100644 index 3d5e22a..0000000 --- a/jest.config.js +++ /dev/null @@ -1,19 +0,0 @@ -module.exports = { - collectCoverage: true, - setupFiles: [], - roots: ['packages/'], - transform: { - '^.+\\.tsx?$': 'ts-jest', - '^.+\\.jsx?$': 'babel-jest', - }, - testRegex: '(/__tests__/.*|\\.(test|spec))\\.(jsx?|tsx?)$', - moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], - globals: { - NODE_ENV: 'test', - 'ts-jest': { - diagnostics: false, - }, - }, - testURL: 'http://localhost', - verbose: true, -}; diff --git a/package.json b/package.json index ea58a0d..e78a9d1 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,6 @@ "build": "lerna run build", "lint": "tslint -c tslint.json 'src/**/*.{ts,tsx}' --project tsconfig.json", "prettify": "prettier --config prettier.config.js --write \"src/**/*.{ts,tsx}\"", - "test": "jest --forceExit --passWithNoTests", "prepublish": "yarn build", "release": "lerna publish", "ci:version": "node tools/changelog-version.js", @@ -18,13 +17,10 @@ "ci:release": "lerna publish $(yarn --silent ci:version) --yes --force-publish --message '[skip ci] publish %s'" }, "devDependencies": { - "@types/node": "^22", + "@types/node": "^16", "@types/yargs": "^17", - "jest": "^29", - "jest-cli": "^29", "lerna": "^8", "prettier": "^3", - "ts-jest": "^29", "tslint": "^6", "tslint-config-prettier": "^1", "tslint-plugin-prettier": "^2", diff --git a/packages/piral-cli-vite5/LICENSE b/packages/piral-cli-vite5/LICENSE index 7f4e972..a6d1c24 100644 --- a/packages/piral-cli-vite5/LICENSE +++ b/packages/piral-cli-vite5/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019 - 2024 smapiot +Copyright (c) 2019 - 2025 smapiot Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/packages/piral-cli-vite5/package.json b/packages/piral-cli-vite5/package.json index 12894e5..92c2df2 100644 --- a/packages/piral-cli-vite5/package.json +++ b/packages/piral-cli-vite5/package.json @@ -36,16 +36,15 @@ "url": "https://github.com/smapiot/piral-cli-vite6/issues" }, "scripts": { - "build": "tsc", - "test": "echo \"Error: run tests from root\" && exit 1" + "build": "tsc" }, "devDependencies": { - "piral-cli": "^1" + "piral-cli": "1.7.3" }, "dependencies": { "sass": "^1", "vite": "^6", - "vite-plugin-codegen": "^1", + "vite-plugin-codegen": "^2", "vite-plugin-environment": "^1", "vite-plugin-pilet": "^1" }