@adaptic/backend-legacy 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -0
- package/index.js +12 -0
- package/package.json +26 -0
package/README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# @adaptic/backend-legacy (DEPRECATED)
|
|
2
|
+
|
|
3
|
+
## ⚠️ DEPRECATION NOTICE
|
|
4
|
+
|
|
5
|
+
This package has been deprecated and is no longer maintained. Please use the official `adaptic-backend` package instead.
|
|
6
|
+
|
|
7
|
+
## Migration Instructions
|
|
8
|
+
|
|
9
|
+
1. Uninstall the legacy package:
|
|
10
|
+
```bash
|
|
11
|
+
npm uninstall @adaptic/backend-legacy
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
2. Install the new package:
|
|
15
|
+
```bash
|
|
16
|
+
npm install adaptic-backend
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
3. Update your imports:
|
|
20
|
+
```javascript
|
|
21
|
+
// Old (deprecated)
|
|
22
|
+
const adaptic = require('@adaptic/backend-legacy');
|
|
23
|
+
|
|
24
|
+
// New
|
|
25
|
+
const adaptic = require('adaptic-backend');
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Support
|
|
29
|
+
|
|
30
|
+
For support and documentation, please visit: https://github.com/adapticai/adaptic-backend
|
|
31
|
+
|
|
32
|
+
## Why the Change?
|
|
33
|
+
|
|
34
|
+
We've consolidated our npm packages under a single, unscoped package name for simplicity and better discoverability.
|
package/index.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
console.warn('DEPRECATION WARNING: @adaptic/backend-legacy has been deprecated. Please install and use "adaptic-backend" instead.');
|
|
2
|
+
console.warn('Run: npm uninstall @adaptic/backend-legacy && npm install adaptic-backend');
|
|
3
|
+
|
|
4
|
+
// Re-export everything from the main package if it's installed
|
|
5
|
+
try {
|
|
6
|
+
module.exports = require('adaptic-backend');
|
|
7
|
+
} catch (error) {
|
|
8
|
+
throw new Error(
|
|
9
|
+
'@adaptic/backend-legacy has been deprecated. Please install "adaptic-backend" instead.\n' +
|
|
10
|
+
'Run: npm uninstall @adaptic/backend-legacy && npm install adaptic-backend'
|
|
11
|
+
);
|
|
12
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@adaptic/backend-legacy",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Legacy backend package for Adaptic - deprecated, please use adaptic-backend instead",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
|
+
},
|
|
9
|
+
"keywords": [
|
|
10
|
+
"adaptic",
|
|
11
|
+
"backend",
|
|
12
|
+
"legacy",
|
|
13
|
+
"deprecated"
|
|
14
|
+
],
|
|
15
|
+
"author": "Adaptic AI",
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "https://github.com/adapticai/adaptic-backend.git"
|
|
20
|
+
},
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/adapticai/adaptic-backend/issues"
|
|
23
|
+
},
|
|
24
|
+
"homepage": "https://github.com/adapticai/adaptic-backend#readme",
|
|
25
|
+
"deprecated": "This package has been deprecated. Please use 'adaptic-backend' instead."
|
|
26
|
+
}
|