@nx/shared-fs-cache 1.3.0-beta.1 → 1.3.0-beta.2
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/package.json +2 -2
- package/src/generators/init/generator.js +1 -1
- package/src/index.js +1 -1
- package/src/remote-cache.js +1 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nx/shared-fs-cache",
|
3
|
-
"version": "1.3.0-beta.
|
3
|
+
"version": "1.3.0-beta.2",
|
4
4
|
"description": "A Nx plugin to enable you to use a shared file system directory",
|
5
5
|
"type": "commonjs",
|
6
6
|
"main": "src/index.js",
|
@@ -21,7 +21,7 @@
|
|
21
21
|
],
|
22
22
|
"dependencies": {
|
23
23
|
"@nx/devkit": ">= 19 < 21",
|
24
|
-
"@nx/key": "1.3.0-beta.
|
24
|
+
"@nx/key": "1.3.0-beta.2",
|
25
25
|
"semver": "7.5.4"
|
26
26
|
}
|
27
27
|
}
|
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const a0_0x760da4=a0_0x17ae;(function(_0x407813,_0x251aa6){const _0x5aa64f=a0_0x17ae,_0x3e73d8=_0x407813();while(!![]){try{const _0x4e05c5=parseInt(_0x5aa64f(0x13e))/0x1*(-parseInt(_0x5aa64f(0x14a))/0x2)+parseInt(_0x5aa64f(0x137))/0x3*(-parseInt(_0x5aa64f(0x132))/0x4)+-parseInt(_0x5aa64f(0x13d))/0x5*(-parseInt(_0x5aa64f(0x138))/0x6)+parseInt(_0x5aa64f(0x13c))/0x7*(parseInt(_0x5aa64f(0x12d))/0x8)+parseInt(_0x5aa64f(0x131))/0x9*(parseInt(_0x5aa64f(0x134))/0xa)+parseInt(_0x5aa64f(0x142))/0xb*(-parseInt(_0x5aa64f(0x133))/0xc)+-parseInt(_0x5aa64f(0x139))/0xd*(-parseInt(_0x5aa64f(0x148))/0xe);if(_0x4e05c5===_0x251aa6)break;else _0x3e73d8['push'](_0x3e73d8['shift']());}catch(_0x2ed25d){_0x3e73d8['push'](_0x3e73d8['shift']());}}}(a0_0x4d2a,0x57503));Object[a0_0x760da4(0x141)](exports,a0_0x760da4(0x12f),{'value':!0x0}),exports[a0_0x760da4(0x147)]=t;function a0_0x17ae(_0x2a412b,_0x27e1b9){const _0x4d2a39=a0_0x4d2a();return a0_0x17ae=function(_0x17aeda,_0x5be859){_0x17aeda=_0x17aeda-0x12c;let _0x3cc127=_0x4d2a39[_0x17aeda];return _0x3cc127;},a0_0x17ae(_0x2a412b,_0x27e1b9);}const e=require(a0_0x760da4(0x14c)),n=require('@nx/key'),a=require('semver'),s=require(a0_0x760da4(0x13a));function a0_0x4d2a(){const _0x5d9303=['169596oZrAwu','package.json','382682KmzaSX','exists','@nx/devkit','name','1008680ddBGec','formatFiles','__esModule','gte','477WarDty','28tcmmXe','12CRoENo','91210zmjVat','updateJson','dependencies','264174glRvgF','96EuyITh','702XfPgtQ','../../../package.json','devDependencies','14PfRoPt','135055MrOppd','1ZiqKSg','20.0.0','updateNxJson','defineProperty','7221863Jkxuyf','getNxKeyInformationAsync','You\x20must\x20have\x20a\x20valid\x20Nx\x20key\x20to\x20use\x20@nx/shared-fs-cache,\x20read\x20more\x20about\x20Nx\x20keys\x20on\x20https://nx.dev/powerpack','workspaceRoot','readNxJson','initGenerator'];a0_0x4d2a=function(){return _0x5d9303;};return a0_0x4d2a();}async function t(_0x3f3388){const _0xdda4=a0_0x760da4;let _0x3ba6e6;if(!await(0x0,n[_0xdda4(0x143)])(e[_0xdda4(0x145)]))throw Error(_0xdda4(0x144));!function(_0x780e30){const _0x7b2bc8=_0xdda4;if((0x0,a[_0x7b2bc8(0x130)])(e['NX_VERSION'],_0x7b2bc8(0x13f)))return;let _0x26d3cd=(0x0,e[_0x7b2bc8(0x146)])(_0x780e30);_0x26d3cd['enableDbCache']=!0x0,(0x0,e[_0x7b2bc8(0x140)])(_0x780e30,_0x26d3cd);}(_0x3f3388);let _0x386e64=_0x3f3388[_0xdda4(0x14b)](_0xdda4(0x149))?(_0x3ba6e6=!0x1,(0x0,e[_0xdda4(0x135)])(_0x3f3388,'package.json',_0x134863=>(_0x134863[_0xdda4(0x136)]=_0x134863[_0xdda4(0x136)]||{},_0x134863['devDependencies']=_0x134863[_0xdda4(0x13b)]||{},_0x134863[_0xdda4(0x136)][s[_0xdda4(0x12c)]]&&(_0x134863[_0xdda4(0x13b)][s['name']]=_0x134863['dependencies'][s[_0xdda4(0x12c)]],delete _0x134863[_0xdda4(0x136)][s[_0xdda4(0x12c)]],_0x3ba6e6=!0x0),_0x134863)),_0x3ba6e6?()=>(0x0,e['installPackagesTask'])(_0x3f3388):()=>{}):()=>{};return await(0x0,e[_0xdda4(0x12e)])(_0x3f3388),_0x386e64;}exports['default']=t;
|
package/src/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';
|
1
|
+
'use strict';function a1_0x228d(_0x4e2919,_0xeb578f){const _0x4b205a=a1_0x4b20();return a1_0x228d=function(_0x228d53,_0x1739ec){_0x228d53=_0x228d53-0x64;let _0x44cdbc=_0x4b205a[_0x228d53];return _0x44cdbc;},a1_0x228d(_0x4e2919,_0xeb578f);}const a1_0x9e396c=a1_0x228d;(function(_0x521008,_0x27b89d){const _0x32eda6=a1_0x228d,_0x162a87=_0x521008();while(!![]){try{const _0x1a0cde=parseInt(_0x32eda6(0x65))/0x1+-parseInt(_0x32eda6(0x66))/0x2+parseInt(_0x32eda6(0x71))/0x3+-parseInt(_0x32eda6(0x64))/0x4+parseInt(_0x32eda6(0x6c))/0x5+-parseInt(_0x32eda6(0x6e))/0x6+parseInt(_0x32eda6(0x69))/0x7;if(_0x1a0cde===_0x27b89d)break;else _0x162a87['push'](_0x162a87['shift']());}catch(_0xcbfac6){_0x162a87['push'](_0x162a87['shift']());}}}(a1_0x4b20,0xdeafd));function a1_0x4b20(){const _0x58432c=['4796619YlilwX','getNxKeyInformationAsync','__esModule','2459980WhkGyM','475630ULSTNN','545948MgJpVN','SharedFsCache','nx/src/utils/is-ci','681184pKEqpA','./remote-cache','defineProperty','6743745Ntyzhl','assertFeaturePermission','10322820IyAaQv','FeaturePermission','@nx/devkit'];a1_0x4b20=function(){return _0x58432c;};return a1_0x4b20();}Object[a1_0x9e396c(0x6b)](exports,a1_0x9e396c(0x73),{'value':!0x0}),exports['getRemoteCache']=i;const e=require(a1_0x9e396c(0x70)),r=require('@nx/key'),t=require(a1_0x9e396c(0x68)),s=require(a1_0x9e396c(0x6a));async function i(){const _0x5952ab=a1_0x9e396c;let _0x2bdaf2=await(0x0,r[_0x5952ab(0x72)])(e['workspaceRoot']);return(0x0,t['isCI'])()&&_0x2bdaf2?((0x0,r[_0x5952ab(0x6d)])(_0x2bdaf2,r[_0x5952ab(0x6f)]['SelfHostedCache']),new s[(_0x5952ab(0x67))]()):null;}
|
package/src/remote-cache.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';const
|
1
|
+
'use strict';const a2_0x5e1ca7=a2_0x15ab;(function(_0x73c609,_0xc6955c){const _0x50ff31=a2_0x15ab,_0x305380=_0x73c609();while(!![]){try{const _0x1ceda5=-parseInt(_0x50ff31(0x1ec))/0x1*(-parseInt(_0x50ff31(0x1ef))/0x2)+parseInt(_0x50ff31(0x1f0))/0x3*(-parseInt(_0x50ff31(0x1f4))/0x4)+parseInt(_0x50ff31(0x1ed))/0x5+-parseInt(_0x50ff31(0x1f2))/0x6+-parseInt(_0x50ff31(0x1e7))/0x7+-parseInt(_0x50ff31(0x1e5))/0x8+parseInt(_0x50ff31(0x1f1))/0x9*(parseInt(_0x50ff31(0x1df))/0xa);if(_0x1ceda5===_0xc6955c)break;else _0x305380['push'](_0x305380['shift']());}catch(_0x2432db){_0x305380['push'](_0x305380['shift']());}}}(a2_0x1ecc,0xa7317));function a2_0x1ecc(){const _0x2e31b8=['@nx/devkit','cacheDir','nx/src/utils/db-connection','getDbConnection','SharedFsCache','8030640WsCEwR','cache','346864raLfoa','-backup','put','renameSync','defineProperty','1024327IZIiYU','6421045WeKaGn','path','2LYzeBV','39ihZZTv','36HYIcIi','5185044AwQfqw','get','308564GeCDcB','rmdirSync','join','shared','3241690uCmeeM'];a2_0x1ecc=function(){return _0x2e31b8;};return a2_0x1ecc();}function a2_0x15ab(_0x4cae3e,_0x4c6e51){const _0x1eccab=a2_0x1ecc();return a2_0x15ab=function(_0x15ab1c,_0x2efde9){_0x15ab1c=_0x15ab1c-0x1de;let _0x48c6e2=_0x1eccab[_0x15ab1c];return _0x48c6e2;},a2_0x15ab(_0x4cae3e,_0x4c6e51);}Object[a2_0x5e1ca7(0x1eb)](exports,'__esModule',{'value':!0x0}),exports['SharedFsCache']=void 0x0;const e=require(a2_0x5e1ca7(0x1e0)),r=require('fs'),c=require('nx/src/native'),t=require(a2_0x5e1ca7(0x1e2)),a=require(a2_0x5e1ca7(0x1ee));class i{['cache']=new c['NxCache'](e['workspaceRoot'],e[a2_0x5e1ca7(0x1e1)],(0x0,t[a2_0x5e1ca7(0x1e3)])({'directory':e[a2_0x5e1ca7(0x1e1)],'dbName':a2_0x5e1ca7(0x1de)}),!0x1);async['retrieve'](_0x26fb88){const _0x4e469d=a2_0x5e1ca7;return this[_0x4e469d(0x1e6)][_0x4e469d(0x1f3)](_0x26fb88);}async['store'](_0x7305c6,_0x1e8611,_0x28cef6,_0xb34188){const _0x53aa5d=a2_0x5e1ca7;try{let _0x42e44c=(0x0,a[_0x53aa5d(0x1f6)])(this[_0x53aa5d(0x1e6)]['cacheDirectory'],_0x7305c6),_0x5c204f=_0x42e44c+_0x53aa5d(0x1e8);return(0x0,r[_0x53aa5d(0x1ea)])(_0x42e44c,_0x5c204f),this[_0x53aa5d(0x1e6)][_0x53aa5d(0x1e9)](_0x7305c6,_0x28cef6,[],_0xb34188),(0x0,r[_0x53aa5d(0x1f5)])(_0x42e44c,{'recursive':!0x0}),(0x0,r[_0x53aa5d(0x1ea)])(_0x5c204f,_0x42e44c),!0x0;}catch(_0x1fab19){return!0x1;}}}exports[a2_0x5e1ca7(0x1e4)]=i;
|